/* ==========================================================================
   LISAFLIX - CLONE FIEL MOBILE (375px - 430px)
   ========================================================================== */

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

body {
  margin: 0;
  padding: 0;
  background-color: #000; /* Fundo predominantemente escuro como na referência */
  color: #fff;
  font-family: 'Roboto', sans-serif;
  /* IMPORTANTE (iOS BUG FIX): Remover display flex do body. Causa travamentos absurdos de scroll e touch no iPhone! */
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
}

/* Contêiner principal restrito à largura mobile */
.mobile-wrapper {
  width: 100%;
  max-width: 430px; 
  min-height: 100vh;
  background-color: #000000; /* 100% preto */
  position: relative;
  overflow-x: hidden;
  margin: 0 auto; /* Centralização clássica, perfeita e sem bugs de scroll no iOS */
}

/* 1. Header mobile fixo */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 430px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1000;
  border-bottom: 1px solid #1a1a1a;
}

.header .logo img {
  height: 24px; /* Proporção de logo de header */
  display: block;
}

.header .btn-assinar {
  background-color: #ff0a45; /* Tom vibrante encontrado em plataformas similares */
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
}

/* 2. Hero principal */
.hero {
  margin-top: 60px; /* Altura do header */
  position: relative;
  width: 100%;
  height: 65vh; /* Ocupando grande parte da tela inicial */
  max-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-banner-only {
  position: relative;
  width: 100%;
  height: 65vh;
  max-height: 550px;
  overflow: hidden;
  margin-top: 50px;
  margin-bottom: 50px;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente para garantir legibilidade da chamada principal */
  background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
}

.hero-banner-only .hero-overlay {
  display: none;
}

#banner-4 .banner-overlap-img,
#banner-6 .banner-overlap-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  width: 85%;
  max-width: 320px;
  height: auto;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 16px 30px 16px;
  text-align: center;
}

.hero-title {
  margin: 0 0 16px 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-content .btn-assinar-lg {
  background-color: #ff0a45;
  color: #fff;
  border: none;
  padding: 14px 0;
  width: 100%;
  max-width: 300px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 10, 69, 0.3);
}

/* 3 e 4. Seções estilo catálogo (Filas Horizontais) */
.catalog-container {
  padding: 10px 16px 0 16px;
  overflow: hidden; /* Garante que qualquer conteúdo que passe a margem de 16px seja clipado elegantemente */
}

.catalog {
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.catalog-title {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px 0; /* Alinhado perfeitamente à margem interna de 16px da catalog-container */
  color: #f0f0f0;
}

.catalog-carousel {
  display: flex;
  gap: 8px; /* Espaçamento entre categorias igual ao observado */
  padding: 26px 0; /* Aumentado padding vertical para dar espaço para o zoom e o box-shadow completo */
  margin: -26px -16px -26px 0; /* Anula o padding vertical e estende a margem direita até a borda suprema */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.catalog-carousel::-webkit-scrollbar {
  display: none;
}

.catalog-card {
  flex: 0 0 115px; /* Proporção clássica de thumb de vídeo/filme no mobile */
  aspect-ratio: 2 / 3;
  border-radius: 4px; /* Bordas suaves */
  background-color: #1a1a1a;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:active {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.catalog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Estilo para a nova seção Grid de 21 capas (3x7) */
.catalog-grid-section {
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px; /* Espaçamento idêntico ao carrossel */
  padding: 0; /* Removido para usar a margem de 16px da catalog-container */
}

.catalog-grid-card {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  background-color: #1a1a1a;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-grid-card:active {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.catalog-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Novo Carrossel Ampliado (2.5 capas visíveis) */
.catalog-carousel-lg {
  display: flex;
  gap: 10px; /* Margem ligeiramente maior para o tamanho expandido */
  padding: 28px 0; /* Aumentado padding vertical para dar espaço para o zoom e o box-shadow completo */
  margin: -28px -16px -28px 0; /* Anula o padding vertical e estende a margem direita até a borda suprema */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.catalog-carousel-lg::-webkit-scrollbar {
  display: none;
}

.catalog-card-lg {
  flex: 0 0 155px; /* Mostra exatamente 2.5 capas em telas mobile (~375px a 430px) */
  aspect-ratio: 808 / 1619; /* Proporção exata vertical ultra alta (808 x 1619) */
  border-radius: 6px; /* Cantos arredondados ligeiramente maiores */
  background-color: #1a1a1a;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card-lg:active {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.catalog-card-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Seção Top 10 - Estilo Premium Netflix */
.top10-carousel {
  display: flex;
  gap: 8px; /* Espaçamento idêntico ao carrossel padrão */
  padding: 26px 0 30px 0; /* Aumentado padding-top e bottom para dar espaço completo para o zoom e a sombra do Top 10 */
  margin-top: -16px; /* Anula o deslocamento de layout superior */
  margin-right: -16px; /* Estende a margem direita até a borda suprema */
  margin-bottom: -10px; /* Anula o deslocamento de layout inferior */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.top10-carousel::-webkit-scrollbar {
  display: none;
}

.top10-card {
  position: relative;
  flex: 0 0 115px; /* Exatamente 3.5 capas visíveis, igual aos carrosséis padrão */
  aspect-ratio: 2 / 3;
  scroll-snap-align: start;
}

.top10-img-box {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  background-color: #1a1a1a;
  position: relative;
  z-index: 5; /* Fica acima da parte interna do número */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top10-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top10-number {
  position: absolute;
  left: 0; /* Encosta perfeitamente na margem esquerda de cada capa, sem ultrapassar para a esquerda */
  bottom: -15px; /* Transborda sutilmente para baixo */
  font-size: 85px;
  font-weight: 900; /* Nativamente carregado para evitar distorções do navegador */
  color: #000000; /* Cor de preenchimento preta sólida */
  -webkit-text-fill-color: #000000; /* Força preenchimento preto puro sem transparências */
  -webkit-text-stroke: 3px rgba(255, 255, 255, 0.9); /* Contorno externo branco premium e brilhante */
  paint-order: stroke fill; /* DESENHA O CONTORNO POR TRÁS DO PREENCHIMENTO: Isso elimina qualquer linha ou risco branco dentro de números como 3, 4 e 6! */
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
  z-index: 10; /* Fica sobreposto à parte inferior-esquerda da capa */
  pointer-events: none;
  font-family: 'Roboto', sans-serif;
  line-height: 0.8;
  letter-spacing: -6px; /* Junta bem os dígitos do '10' */
}

/* Efeito Premium de Hover no Top 10 */
.top10-card:active .top10-img-box {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Espaçamento extra ou seção de planos (opcional no layout longo) */
.planos-section {
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.planos-section img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* 5. Rodapé */
.footer {
  padding: 40px 16px 50px 16px;
  background-color: #000;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}

.footer img {
  height: 30px;
  opacity: 0.5;
  margin-bottom: 20px;
}

.footer p {
  color: #666;
  font-size: 11px;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   ADVANTAGES SECTION (4 CATEGORY BOXES)
   ========================================================================== */
.advantages-container {
  padding: 16px;
  background-color: #000000; /* 100% preto */
  box-sizing: border-box;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.advantages-card {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b1b1b 0%, #0d0d0d 100%);
  border: 1.5px solid #222;
  display: block; /* Alterado de grid para block para comportar imagens cheias */
  padding: 0; /* Removido padding para a imagem preencher até a borda */
  box-sizing: border-box;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  
  /* Estados iniciais de entrada (Slide in sutil da esquerda e leve zoom out) */
  opacity: 0;
  transform: translateX(-15px) scale(0.96);
  will-change: opacity, transform;
  
  /* Transição de entrada super suave */
  transition: 
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
    border-color 0.2s ease, 
    box-shadow 0.2s ease;
}

.advantages-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ativação por cascata (Staggered Entrance da esquerda para a direita) */
.advantages-container.reveal-active .advantages-card {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.advantages-container.reveal-active .advantages-card:nth-child(1) {
  transition-delay: 0.08s;
}
.advantages-container.reveal-active .advantages-card:nth-child(2) {
  transition-delay: 0.18s;
}
.advantages-container.reveal-active .advantages-card:nth-child(3) {
  transition-delay: 0.28s;
}
.advantages-container.reveal-active .advantages-card:nth-child(4) {
  transition-delay: 0.38s;
}

/* Reseta o delay imediatamente no active para que a resposta tátil seja instantânea */
.advantages-card:active {
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7); /* Sombra escura elegante e neutra estilo Apple */
  transition-delay: 0s !important;
}

.advantages-card .card-badge-l {
  position: absolute;
  top: 6px;
  left: 8px;
  color: #ff0a45;
  font-weight: 900;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  line-height: 1;
  user-select: none;
}

.advantages-card .card-title {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.9;
  letter-spacing: -0.6px;
  word-wrap: break-word;
  width: 100%;
  margin: 0;
}

/* Adjustments for extra small mobile widths */
@media screen and (max-width: 360px) {
  .advantages-card .card-title {
    font-size: 11px;
    letter-spacing: -0.4px;
  }
  .advantages-card .card-badge-l {
    font-size: 13px;
    top: 4px;
    left: 6px;
  }
}

/* ==========================================================================
   PREMIUM PLANS CARD (APPLE + NETFLIX ESTHETICS)
   ========================================================================== */
.plans-card {
  width: 100%;
  max-width: 380px; /* Perfeitamente ajustado ao mobile 375px-430px */
  background: linear-gradient(180deg, #2C2C2E 0%, #1C1C1E 50%, #121212 100%); /* Gradiente premium iOS Dark */
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 32px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  margin: 10px 0;
}

.plans-card-title {
  color: #ffffff;
  font-size: 21px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 24px 0;
  letter-spacing: -0.4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* iOS Segmented Control */
.segmented-control {
  position: relative;
  display: flex;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 3px;
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  margin-bottom: 22px;
}

.segmented-control .slider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
  border-radius: 13px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), 0 3px 1px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.segmented-control .slider.mensal {
  transform: translateX(0);
}

.segmented-control .slider.anual {
  transform: translateX(100%);
}

.control-btn {
  position: relative;
  flex: 1;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.control-btn.active {
  transition-delay: 0.05s;
}

/* Active text colors dynamically selected */
#btn-mensal-static.active,
#btn-mensal-modal.active {
  color: #E50914; /* Vermelho Netflix sobre a aba branca ativa */
}

#btn-anual-static.active,
#btn-anual-modal.active {
  color: #E50914; /* Vermelho Netflix sobre a aba branca ativa */
}

/* Star Badge */
.badge-selo {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.badge-selo .star {
  color: #E50914; /* Estrela vermelha Netflix */
}

/* Price Container */
.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
}

.price-main {
  display: flex;
  align-items: center; /* Centraliza verticalmente o R$ com o preço */
  justify-content: center;
  line-height: 0.95;
}

.price-main .currency {
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  margin-right: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.price-main .price-value {
  font-size: 82px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -2px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.price-period {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 14px; /* Afasta um pouco o "ao mês" da base do preço */
  text-align: center;
}

.price-divider {
  width: 100%;
  max-width: 190px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 18px 0;
}

.price-subtext {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  min-height: 18px;
  transition: color 0.3s ease;
}

/* Benefits list */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: auto; /* Permite centralizar o bloco e alinhar itens à esquerda */
  align-items: flex-start; /* Alinha ambos os ícones e textos à esquerda */
  margin-bottom: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 400;
  width: fit-content;
}

.benefit-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Premium iOS Submit Button */
.btn-submit {
  width: 100%;
  padding: 15px 0; /* Preenchimento simétrico para centralização perfeita do círculo e texto */
  border-radius: 26px;
  background: linear-gradient(180deg, #E50914 0%, #B90710 100%);
  color: #ffffff;
  border: none;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1; /* Garante alinhamento vertical absoluto do texto */
  gap: 6px;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.25);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  outline: none;
}

.btn-submit:active {
  transform: scale(0.97);
}

.btn-play-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-right: 2px; /* Pequeno ajuste de respiro óptico com o texto */
}

/* Fullscreen iOS Modal Overlay System */
.plans-modal-overlay {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%); /* Escondido abaixo da tela */
  width: 100%;
  max-width: 430px; /* Restrito ao design do mobile principal */
  height: 100%;
  background-color: #000000;
  z-index: 2000;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  pointer-events: none; /* CRÍTICO: Previne interceptação fantasma de cliques no iOS */
  visibility: hidden; /* CRÍTICO: Impede que a camada bloqueie a página */
}

.plans-modal-overlay.active {
  transform: translateX(-50%) translateY(0); /* Desliza suavemente para cima */
  pointer-events: auto; /* Restaura cliques */
  visibility: visible;
}

/* Classes de suporte compactas com important para contornar estilos inline do HTML */
.plans-header-container {
  padding-top: 15px !important;
  padding-bottom: 5px !important;
}

.plans-section-header {
  text-align: center;
  margin-bottom: 10px; /* Reduzido de 24px */
  width: 100%;
  max-width: 380px; /* Alinhado com a largura do cartão */
  padding: 0 16px; /* Adicionado padding para proteção do texto do título nas bordas */
  box-sizing: border-box;
}

.plans-section-title {
  font-size: 30px !important; /* Estilo Apple Display premium */
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 10px !important; /* Aumentado para melhor respiro visual */
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
}

.plans-section-desc {
  font-size: 17px !important; /* Aumentado proporcionalmente */
  font-weight: 400;
  color: #86868b; /* Lindo cinza ardósia oficial da Apple */
  line-height: 1.3;
  letter-spacing: -0.1px;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
}

/* iOS Modal Navbar Superior */
.plans-modal-navbar {
  position: relative; /* Âncora para o posicionamento absoluto da logo */
  width: 100%;
  height: 60px;
  background-color: #000000;
  border-bottom: 1px solid #1c1c1e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.btn-close-modal {
  background: none;
  border: none;
  color: #ffffff; /* Texto Voltar em Branco absoluto como solicitado */
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px; /* Respiro perfeito entre o círculo e o texto */
  padding: 10px 12px; /* Generoso hit area de toque para mobile/desktop */
  margin-left: -12px; /* Compensa o padding esquerdo para manter o alinhamento visual exato na borda da barra */
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  outline: none;
  z-index: 3; /* Garante que fique por cima de tudo na barra e responda instantaneamente aos cliques */
}

.btn-back-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15); /* Cinza translúcido idêntico ao mockup */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.btn-close-modal:active .btn-back-circle {
  background-color: rgba(255, 255, 255, 0.25);
}

.chevron-left-icon {
  width: 14px; /* Seta ligeiramente maior para melhor clareza visual */
  height: 14px;
  stroke: #ffffff; /* Seta branca de alto contraste */
  stroke-width: 3px; /* Espessura balanceada com o novo tamanho */
  display: block; /* Remove baseline font spacing */
  transform: translate(1px, 1px); /* Ajuste óptico milimétrico para centralização vertical e horizontal absoluta do triângulo */
}

.plans-modal-nav-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2; /* Garante que a logo fique sobreposta de forma limpa */
  pointer-events: none; /* Crucial: cliques passam através da logo para os botões abaixo na barra */
}

.plans-modal-nav-logo img {
  height: 22px; /* Mantém a proporção exata e delicada do logo original */
  display: block;
}

/* Conteúdo interno do Modal */
.plans-modal-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 40px;
  box-sizing: border-box;
  width: 100%;
  -webkit-overflow-scrolling: touch; /* Rolagem inercial nativa e fluida no iOS */
}

/* Modal Security Trust Footer */
.plans-modal-footer {
  text-align: center;
  padding: 20px 16px 40px 16px;
  box-sizing: border-box;
}

.footer-security-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
}

.footer-security-subtext {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
}

.lock-icon {
  width: 12px;
  height: 12px;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2px;
}

/* Efeito de clique Bouncy Zoom Premium */
@keyframes bouncyZoom {
  0% {
    transform: scale(1.05);
  }
  30% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1.05);
  }
}

.card-pop {
  animation: bouncyZoom 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
  z-index: 100 !important;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (APPLE & NETFLIX HIGH-END STYLE)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   LAZY LOADING & NETFLIX-STYLE PREMIUM SKELETONS
   ========================================================================== */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity;
}

.lazy-img.loaded {
  opacity: 1;
}

.skeleton-card {
  background: linear-gradient(90deg, #0e0e0e 25%, #181818 50%, #0e0e0e 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  position: relative;
  pointer-events: none !important; /* CRÍTICO: Impede que o skeleton bloqueie o arraste do usuário */
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
