/* ==========================================================================
   Pagina de Parceiros — Layout Compactado e Cards de Modalidades Estilizados
   ========================================================================== */

/* ---------- Hero Principal Reduzido em 30% ---------- */
.parceiros-hero {
  position: relative;
  background: url('../../img/banner_fundo01.png') center top / cover no-repeat,
              linear-gradient(135deg, #4A0306 0%, #2A0104 50%, #120002 100%);
  color: #FFFFFF;
  padding: calc(var(--altura-header) + 16px) 0 28px;
  overflow: hidden;
}

.parceiros-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Selo / Badge do Hero */
.parceiros-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(215, 25, 32, 0.35);
  border: 1px solid rgba(255, 77, 73, 0.4);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(215, 25, 32, 0.25);
}

.parceiros-hero__badge i {
  color: #FF716D;
  font-size: 0.8rem;
}

/* Titulo H1 Principal (-30%) */
.parceiros-hero__titulo {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.parceiros-hero__descricao {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  max-width: 460px;
  margin-bottom: 16px;
}

/* Botoes de Acao do Hero (-30%) */
.parceiros-hero__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.parceiros-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.parceiros-btn--primario {
  background: #D71920;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(215, 25, 32, 0.4);
}

.parceiros-btn--primario:hover {
  background: #B51218;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.55);
  color: #FFFFFF;
}

.parceiros-btn--secundario {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.parceiros-btn--secundario:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* Pipeline Venda • Implante • Receba recorrencia (-30%) */
.parceiros-hero__pipeline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.pipeline-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
}

.pipeline-icone {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(215, 25, 32, 0.6);
  border: 1px solid rgba(255, 113, 109, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.75rem;
}

.pipeline-divisor {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ---------- Coluna Direita: Composicao Reduzida em 30% ---------- */
.parceiros-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 350px;
}

/* Stack de Produtos com ícone e texto (-30%) */
.parceiros-pills-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: rgba(20, 2, 4, 0.88);
  border: 1px solid rgba(255, 77, 73, 0.4);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(215, 25, 32, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pill-item:hover {
  transform: translateX(4px);
  border-color: #FF4D49;
}

.pill-icone {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #D71920;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.pill-texto strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
}

.pill-texto span {
  display: block;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Composicao de Dispositivos (-30%) */
.parceiros-dispositivos {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.img-notebook {
  width: 78%;
  height auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 15px 22px rgba(0, 0, 0, 0.6));
}

.img-celular {
  width: 30%;
  height: auto;
  position: absolute;
  right: 18%;
  bottom: -4%;
  z-index: 3;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.7));
}

.img-oxpay {
  width: 26%;
  height: auto;
  position: absolute;
  right: 0;
  bottom: -6%;
  z-index: 4;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.8));
}

/* Floating Callout Badges (-30%) */
.floating-badge {
  position: absolute;
  background: rgba(20, 2, 4, 0.92);
  border: 1px solid rgba(255, 77, 73, 0.4);
  border-radius: 10px;
  padding: 7px 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 15px rgba(215, 25, 32, 0.25);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-badge--top {
  top: 2%;
  right: 8%;
}

.floating-badge--right {
  top: 22%;
  right: -10px;
}

.floating-badge__icone {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(215, 25, 32, 0.2);
  border: 1px solid rgba(255, 77, 73, 0.5);
  color: #FF716D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.floating-badge__texto strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
}

.floating-badge__texto span {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Grid Inferior do Hero (3 Boxes de Recursos) (-30%) ---------- */
.parceiros-hero__recursos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: 26px;
  position: relative;
  z-index: 2;
}

.recurso-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(20, 2, 4, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.recurso-box:hover {
  border-color: rgba(255, 77, 73, 0.5);
  transform: translateY(-2px);
}

.recurso-box__icone {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.recurso-box strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1px;
}

.recurso-box span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.25;
}

/* ---------- Bloco Área Exclusiva do Parceiro Comprimido com Botoes de Alto Contraste ---------- */
.caixa-portal {
  background: var(--ox-gradient-hero);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  color: var(--ox-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 0;
}

.caixa-portal h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ox-white);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.caixa-portal p {
  color: rgba(248, 250, 252, 0.85);
  font-size: 0.78rem;
  margin: 0;
}

.caixa-portal__acoes {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.caixa-portal__acoes .botao--primario {
  background: #FFFFFF;
  color: #D71920;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.caixa-portal__acoes .botao--primario:hover {
  background: #F8FAFC;
  color: #B51218;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.caixa-portal__acoes .botao--contorno {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.caixa-portal__acoes .botao--contorno:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ---------- Titulo "Diferenciais do Programa" Comprimido Sem Espaco em Branco ---------- */
.secao-titulo--comprimida {
  max-width: 680px;
  margin: 0 auto var(--spacing-md);
  text-align: center;
}

.secao-titulo--comprimida .selo {
  margin-bottom: 4px;
}

.secao-titulo--comprimida h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.secao-titulo--comprimida p {
  color: var(--ox-text-light);
  font-size: 0.85rem;
}

/* ==========================================================================
   Cards de Modalidades de Negócio — Design Organizado e Elegante
   ========================================================================== */

.modalidade-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #1C1917;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.modalidade-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 73, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(215, 25, 32, 0.15);
}

/* Card Destaque (Revendedor / Integrador) */
.modalidade-card--destaque {
  background: linear-gradient(180deg, rgba(215, 25, 32, 0.18) 0%, #1E1718 100%);
  border: 1px solid #D71920;
  box-shadow: 0 8px 30px rgba(215, 25, 32, 0.3);
}

.modalidade-card--destaque:hover {
  border-color: #FF4D49;
  box-shadow: 0 14px 35px rgba(215, 25, 32, 0.45);
}

/* Badges das Modalidades */
.modalidade-card__badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 14px;
}

.modalidade-card--destaque .modalidade-card__badge {
  background: #D71920;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(215, 25, 32, 0.4);
}

/* Titulos dos Cards */
.modalidade-card__titulo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

/* Texto Descritivo */
.modalidade-card__texto {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Lista com Checkmarks */
.modalidade-card__lista {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.modalidade-card__lista li {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
}

.modalidade-card__lista li i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Botoes de Acao nos Cards */
.modalidade-card .botao {
  width: 100%;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   Timeline de Passos em Cards Elegantes com Símbolos/Ícones
   ========================================================================== */

.passos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.passo-card {
  background: var(--ox-bg-alt);
  border: 1px solid var(--ox-gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.passo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ox-primary);
}

.passo-card__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.passo-icone {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFF1F1;
  border: 1px solid rgba(215, 25, 32, 0.2);
  color: #D71920;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.15);
}

.passo-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--ox-gray-100);
  color: var(--ox-text-light);
  border: 1px solid var(--ox-gray-200);
}

.passo-titulo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ox-graphite);
  margin-bottom: 8px;
}

.passo-texto {
  font-size: 0.85rem;
  color: var(--ox-text-light);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   FAQ & CTA Final — Espacamento Comprimido e Cards Estilizados
   ========================================================================== */

.faq-secao {
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.acordeao {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.acordeao__item {
  background: #FFFFFF;
  border: 1px solid var(--ox-gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.acordeao__item[open] {
  border-color: var(--ox-primary);
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.1);
}

.acordeao__titulo {
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ox-graphite);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.acordeao__titulo::-webkit-details-marker {
  display: none;
}

.acordeao__icone {
  color: var(--ox-primary);
  font-size: 0.82rem;
  transition: transform 0.2s ease;
}

.acordeao__item[open] .acordeao__icone {
  transform: rotate(180deg);
}

.acordeao__conteudo {
  padding: 0 18px 14px;
  font-size: 0.85rem;
  color: var(--ox-text-light);
  line-height: 1.45;
  border-top: 1px solid var(--ox-gray-100);
  margin-top: -2px;
  padding-top: 10px;
}

.acordeao__conteudo p {
  margin: 0;
}

.cta-final-secao {
  padding: var(--spacing-md) 0 var(--spacing-xl);
}

/* ---------- Responsividade ---------- */
@media (max-width: 1024px) {
  .parceiros-hero__grid {
    grid-template-columns: 1fr;
  }
  .parceiros-showcase {
    justify-content: center;
    min-height: auto;
    margin-top: 20px;
  }
  .parceiros-pills-stack {
    position: static;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
    left: 0;
  }
  .parceiros-hero__recursos {
    grid-template-columns: 1fr;
  }
  .passos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .caixa-portal {
    flex-direction: column;
    text-align: center;
  }
  .caixa-portal h3 {
    justify-content: center;
  }
  .caixa-portal__acoes {
    width: 100%;
    flex-direction: column;
  }
  .passos-grid {
    grid-template-columns: 1fr;
  }
}
