/* ==========================================================================
   PORTAL PATRIOTAS - ESTILOS DO FUNIL RESPONSIVO
   ========================================================================== */

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

:root {
  --primary-green: #00cc0e;
  --primary-green-dark: #00990a;
  --primary-green-glow: rgba(0, 204, 14, 0.4);
  --accent-gold: #f59e0b;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* === CONTAINER CENTRALIZADO TIPO APP === */
.app-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 16px 12px 40px;
  background-color: #f1f5f9;
}

.funnel-container {
  width: 100%;
  max-width: 520px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* === CABEÇALHO COM LOGO === */
.funnel-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 8px;
}

.funnel-logo {
  max-width: 110px;
  height: auto;
  display: block;
}

/* === CONTROLE DE ETAPAS (STEPS) === */
.step-pane {
  display: none;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.step-pane.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* === IMAGENS GERAIS E FAIXAS === */
.img-responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  margin: 0 auto;
}

.divider-ribbon {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 4px auto;
  display: block;
  opacity: 0.9;
}

/* === TIPOGRAFIA === */
.title-main {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  color: #0f172a;
  line-height: 1.35;
}

.title-sub {
  font-size: 14px;
  text-align: center;
  color: var(--text-muted);
}

.text-highlight-green {
  color: #00ba0d;
  font-weight: 700;
}

.text-highlight-red {
  color: #dc2626;
  font-weight: 800;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background-color: #f8fafc;
  border-left: 4px solid var(--primary-green);
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #1e293b;
}

/* === BOTÕES DE AÇÃO PRINCIPAIS === */
.btn-primary {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(180deg, #00d610 0%, #00aa0c 100%);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px var(--primary-green-glow), 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.2;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px var(--primary-green-glow);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 2px 6px var(--primary-green-glow);
}

.pulse-animation {
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 204, 14, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 204, 14, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 204, 14, 0);
  }
}

/* ==========================================================================
   URNA ELETRÔNICA SIMULADOR
   ========================================================================== */
#urna-root {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: #1b2433;
  border-radius: var(--radius-md);
  width: 100%;
  margin: 6px 0;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
}

.u-urna {
  background: linear-gradient(170deg, #e4e1dc 0%, #d4d0c8 50%, #c7c3ba 100%);
  border-radius: 12px;
  border: 2px solid #aaa8a2;
  box-shadow: 0 12px 35px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 14px;
  width: 100%;
}

@media (min-width: 480px) {
  .u-urna {
    flex-direction: row;
    padding: 18px 20px;
  }
}

/* Tela LCD */
.u-tela-wrap {
  flex: 1.25;
  min-width: 0;
}

.u-tela {
  background: #d8e8c8;
  border: 3px solid #707070;
  border-radius: 4px;
  padding: 12px 14px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.u-cargo-label {
  font-size: 9px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.u-cargo {
  font-size: 15px;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.u-row {
  display: flex;
  gap: 10px;
  flex: 1;
}

.u-dados {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.u-label {
  font-size: 9px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.u-valor {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  min-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.u-num-display {
  display: flex;
  gap: 6px;
  margin-bottom: 2px;
}

.u-num-box {
  width: 34px;
  height: 42px;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #111;
  background: #f4f4e6;
  font-family: 'Courier New', Courier, monospace;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
}

.u-num-box.blinking {
  animation: blinkBorder 0.8s infinite;
}

@keyframes blinkBorder {
  0%, 100% { border-color: #333; }
  50% { border-color: transparent; }
}

.u-foto {
  width: 76px;
  height: 96px;
  border: 2px solid #666;
  background: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 2px;
}

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

.u-foto-ph {
  font-size: 9px;
  color: #777;
  text-align: center;
  font-weight: 700;
}

.u-instrucoes {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #b2c6a2;
  font-size: 9px;
  color: #444;
  line-height: 1.5;
}

.u-verde { color: #1e7a1e; font-weight: 800; }
.u-laranja { color: #d95a00; font-weight: 800; }

/* Overlay de validação na tela */
.u-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 232, 200, 0.96);
  z-index: 10;
  padding: 14px;
  animation: uFade 0.25s ease;
}

@keyframes uFade {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.u-msg {
  font-size: 18px;
  font-weight: 900;
  padding: 14px 18px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.3;
}

.u-msg-13 {
  color: #dc2626;
  background: rgba(254, 226, 226, 0.95);
  border: 3px solid #dc2626;
}

.u-msg-22 {
  color: #166534;
  background: rgba(220, 252, 231, 0.95);
  border: 3px solid #166534;
}

.u-msg-ok {
  color: #ffffff;
  background: #15803d;
  border: 3px solid #0d5427;
}

.u-msg-branco {
  color: #333333;
  background: #e2e8f0;
  border: 3px solid #94a3b8;
}

/* Painel do Teclado */
.u-painel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.u-je {
  display: flex;
  align-items: center;
  gap: 8px;
}

.u-je-icon {
  font-size: 22px;
}

.u-je-txt {
  font-size: 10px;
  font-weight: 800;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.2;
  text-align: center;
}

.u-teclado {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: #202020;
  padding: 8px;
  border-radius: 8px 8px 0 0;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.6);
}

.u-tecla {
  width: 44px;
  height: 40px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, #444 0%, #2b2b2b 100%);
  box-shadow: 0 3px 0 #111, 0 3px 5px rgba(0,0,0,0.3);
  user-select: none;
  touch-action: manipulation;
  transition: transform 0.08s, box-shadow 0.08s;
}

.u-tecla:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #111;
}

.u-zero {
  grid-column: 2;
}

.u-acoes {
  display: flex;
  gap: 4px;
  background: #202020;
  padding: 4px 8px 8px;
  border-radius: 0 0 8px 8px;
  width: 100%;
  justify-content: center;
}

.u-btn {
  padding: 8px 7px;
  border: none;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  touch-action: manipulation;
  transition: transform 0.08s;
  white-space: nowrap;
}

.u-btn:active {
  transform: translateY(2px);
}

.u-branco {
  background: linear-gradient(180deg, #f1f5f9, #cbd5e1);
  color: #1e293b;
  box-shadow: 0 2px 0 #94a3b8;
}

.u-corrige {
  background: linear-gradient(180deg, #f97316, #c2410c);
  box-shadow: 0 2px 0 #9a3412;
}

.u-confirma {
  background: linear-gradient(180deg, #22c55e, #15803d);
  box-shadow: 0 2px 0 #166534;
  padding: 8px 10px;
}

/* ==========================================================================
   VSL PLAYER
   ========================================================================== */
.vsl-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.vsl-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

/* ==========================================================================
   CARROSSEL DE PRESENTES E PATRIOTAS
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  padding: 8px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 4px;
}

.carousel-slide img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 5;
  transition: background 0.2s;
}

.carousel-nav-btn:hover {
  background: #ffffff;
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--primary-green);
  transform: scale(1.25);
}

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.depoimento-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.depoimento-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.depoimento-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.depoimento-nome {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.depoimento-user {
  font-size: 12px;
  color: var(--text-muted);
}

.depoimento-body {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

.depoimento-aspas {
  font-size: 20px;
  color: #cbd5e1;
  font-weight: bold;
}

/* ==========================================================================
   TRANSPARÊNCIA / TABELA DE CUSTOS
   ========================================================================== */
.transparencia-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custo-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.custo-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #1e293b;
}

.custo-valor {
  color: #dc2626;
  font-weight: 800;
}

.custo-desc {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================================================
   FAQ / ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--primary-green);
}

.faq-question {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-green);
}

.faq-answer {
  display: none;
  padding: 0 16px 14px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   CAIXA DE OFERTA E PREÇO
   ========================================================================== */
.offer-box {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border: 2px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.offer-label-strike {
  font-size: 14px;
  color: var(--text-muted);
}

.offer-incalculavel {
  font-size: 24px;
  font-weight: 900;
  color: #dc2626;
  text-decoration: underline;
  letter-spacing: 1px;
}

.offer-symbolic {
  font-size: 15px;
  font-weight: 600;
  color: #166534;
}

.offer-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--primary-green-dark);
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 153, 10, 0.15);
}

.offer-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin: 4px auto 0;
}

.security-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.security-seal img {
  max-width: 140px;
  height: auto;
}

.security-seal p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Rodapé */
.funnel-footer {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.vsl-video{
    width:100%;
    height:auto;
    display:block;
    object-fit:cover;
    border-radius:12px;
    background:transparent;
}

video::-webkit-media-controls-timeline{
    display:none;
}

video::-webkit-media-controls-current-time-display{
    display:none;
}

video::-webkit-media-controls-time-remaining-display{
    display:none;
}

[hidden] {
    display: none !important;
}