{% extends spa_base or "base.html"%} {% block title %}Planos{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
🔔 Apenas 1 dispositivo por vez. Se voce estiver assistindo em um aparelho e tentar abrir em outro, o segundo sera bloqueado. Encerra a sessao no primeiro para usar em outro.
Catálogo completo: {{ qtd_filmes }} filmes e {{ qtd_series }} séries por temporadas e episódios, além dos canais ao vivo. Ver Filmes Ver Séries
{% if current_user.is_paid and current_user.paid_until and current_user.paid_until_utc > now %}
✅ Voce e Premium! Acesso ilimitado ate {{ current_user.paid_until|brdate }}. {% set time_diff = (current_user.paid_until_utc - now) %} {% set remaining_days = time_diff.days %} {% if remaining_days <= 7 and remaining_days > 0 %} {% if payment_method == 'cakto' %} Renovar Plano {% else %} Renovar Plano {% endif %} {% endif %}
{% endif %} {% if pending_payment %}
🔄 Voce tem um pagamento pendente para o {{ pending_payment.plan_type|trim|capitalize }}.
{% if payment_method == 'cakto' %} Continuar Pagamento {% else %} Pagar via WhatsApp {% endif %}
{% if pending_payment.expires_at %}
Tempo restante para pagamento:
--:--
{% endif %} {% endif %}
🔓
Gratuito
R$ 0
para sempre
  • {{ free_hours }} horas de conteudo por dia
  • Canais, filmes e series
  • Favoritos e historico
Assistir Agora
{% for p in plans %}
{% if p.key == 'mensal' %}⭐{% elif p.key == 'trimestral' %}🚀{% elif p.key == 'semestral' %}🔥{% elif p.key == 'anual' %}👑{% else %}💎{% endif %}
{{ p.name }}
{% if p.promotion_enabled and p.promotion_price is not none %}R$ {{ "%.2f"|format(p.price) }}R$ {{ "%.2f"|format(p.effective_price) }}{% else %}R$ {{ "%.2f"|format(p.effective_price) }}{% endif %}
{% if p.promotion_enabled and p.promotion_label %}
{{ p.promotion_label }}
{% endif %}
/ {{ p.days }} dias
    {% if p.benefits %} {% for line in p.benefits.split('\n') %} {% if line.strip() %}
  • {{ line.strip() }}
  • {% endif %} {% endfor %} {% else %}
  • Acesso ilimitado ao catalogo
  • Filmes e series por temporadas e episodios
  • Canais ao vivo, favoritos e historico
  • 1 dispositivo por vez
  • {% endif %}
{% if current_user.is_paid and current_user.paid_until and current_user.paid_until_utc > now %} {% if current_plan_type == p.key %} {% if current_user.paid_until and (current_user.paid_until_utc - now).days <= 7 %} {% if payment_method == 'cakto' %} Renovar Agora {% else %} Renovar Agora {% endif %} {% else %}
✅ Plano Ativo
{% endif %} {% else %} {% if payment_method == 'cakto' %} Mudar de Plano {% else %} Mudar de Plano {% endif %} {% endif %} {% elif pending_payment and pending_payment.plan_type == p.key %} {% if payment_method == 'cakto' %} Continuar Pagamento {% else %} Pagar via WhatsApp {% endif %} {% else %} {% if payment_method == 'cakto' %} Pagar Agora {% else %} Assinar via WhatsApp {% endif %} {% endif %}
{% endfor %}
Historico de Planos Historico de Pagamentos
{% endblock %} {% block scripts %} {% if pending_payment and pending_payment.expires_at %} {% endif %} {% endblock %}