/* ================================================================
   COLE NO FINAL do seu style/style.css
   Seção: #ml-partner + Modal gamificado
   ================================================================ */


/* ──────────────────────────────────────────────
   #ML-PARTNER — Seção parceria Mercado Livre
   ────────────────────────────────────────────── */

#ml-partner {
  background: var(--gradient-hero);
  padding: 80px 6%;        
  position: relative;
  overflow: hidden;
}

/* Grid de fundo decorativo */
.mlp-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,230,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,230,0,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Brilhos laterais */
.mlp-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .12;
  pointer-events: none;
}
.mlp-glow--left  { background: #FFE600; top: -100px; left: -150px; }
.mlp-glow--right { background: #0DCDC8; bottom: -100px; right: -150px; }

.mlp-inner {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;                  
}
/* ── Badge parceiro oficial ── */
.mlp-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,230,0,.3);
  border-radius: 60px;
  padding: 7px 18px 7px 7px;  
  position: relative;
}

.mlp-badge-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.mlp-badge-icon img {
  width: 34px; height: 34px;
  object-fit: contain;
}

.mlp-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mlp-badge-label {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
  color: #FFE600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mlp-badge-sub {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

.mlp-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FFE600;
  animation: pulse 2s ease-in-out infinite;
  margin-left: 4px;
}

/* ── Headline ── */
.mlp-headline { text-align: center; }

.mlp-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);   
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 10px;        
}

.mlp-accent { color: #FFE600; }

.mlp-subtitle {
  font-size: 0.88rem;         
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

.mlp-subtitle strong { color: var(--white); }

/* ── Card central de benefícios ── */
.mlp-card-wrap { width: 100%; max-width: 760px; }

.mlp-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,230,0,.2);
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.mlp-card-header {
  background: rgba(255,230,0,.08);
  border-bottom: 1px solid rgba(255,230,0,.15);
  padding: 14px 28px;       
  text-align: center;
}

.mlp-card-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #FFE600;
  background: rgba(255,230,0,.12);
  border: 1px solid rgba(255,230,0,.25);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.mlp-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;         
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

.mlp-benefits {
  padding: 14px 28px;         
  display: flex;
  flex-direction: column;
  gap: 10px;                 
}

.mlp-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.mlp-benefit-icon {
  width: 30px; height: 30px;  
  border-radius: 8px;
  background: rgba(255,230,0,.1);
  border: 1px solid rgba(255,230,0,.2);
  display: flex; align-items: center; justify-content: center;
  color: #FFE600;
  flex-shrink: 0;
}

.mlp-benefit-text strong {
  font-size: .82rem;       
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
}

.mlp-benefit-text strong {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  color: var(--white);
}

.mlp-benefit-text span {
  font-size: .72rem;          
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
/* ── Footer do card ── */
.mlp-card-footer {
  padding: 12px 28px 20px;    /* ← era 24px 36px 32px */
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;                  /* ← era 20px */
}

.mlp-vagas {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}

.mlp-vagas-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.4);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.mlp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;       
  background: #FFE600;
  color: #1A0F3C;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(255,230,0,.35);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.mlp-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255,230,0,.55);
  background: #fff176;
}


/* ──────────────────────────────────────────────
   MODAL GAMIFICADO
   ────────────────────────────────────────────── */

.mlp-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10, 5, 30, .85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.mlp-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mlp-modal {
  background: #12082e;
  border: 1px solid rgba(107,33,214,.3);
  border-radius: 28px;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
  transform: translateY(24px) scale(.97);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}

.mlp-modal-overlay.open .mlp-modal {
  transform: translateY(0) scale(1);
}

/* Scrollbar do modal */
.mlp-modal::-webkit-scrollbar { width: 4px; }
.mlp-modal::-webkit-scrollbar-track { background: transparent; }
.mlp-modal::-webkit-scrollbar-thumb { background: rgba(107,33,214,.4); border-radius: 4px; }

/* ── Header do modal ── */
.mlp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 0;
}

.mlp-modal-logo img { height: 26px; object-fit: contain; }

.mlp-modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.mlp-modal-close:hover { background: rgba(255,255,255,.14); color: var(--white); }

/* ── Barra de progresso ── */
.mlp-progress-wrap {
  padding: 20px 28px 0;
}

.mlp-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

.mlp-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-btn);
  border-radius: 6px;
  transition: width .6s cubic-bezier(.22,1,.36,1);
}

.mlp-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mlp-progress-label {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
}

.mlp-progress-pct {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  color: var(--cyan);
}

/* ── Container de steps ── */
.mlp-steps-container {
  padding: 28px 28px 32px;
}

/* ── Step individual ── */
.mlp-step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1;
}

.mlp-step-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
}

.mlp-step-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── Opções de resposta ── */
.mlp-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mlp-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 14px;
  color: rgba(255,255,255,.8);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}

.mlp-option:hover {
  background: rgba(107,33,214,.15);
  border-color: rgba(107,33,214,.5);
  color: var(--white);
  transform: translateX(4px);
}

.mlp-option.selected {
  background: rgba(107,33,214,.2);
  border-color: var(--purple-vivid);
  color: var(--white);
}

.mlp-option-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

/* ── ETAPA FINAL — Aprovação ── */
.mlp-step--final {}

.mlp-approved-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.3);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.mlp-approved-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(74,222,128,.15);
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
  flex-shrink: 0;
}

.mlp-approved-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mlp-approved-text strong {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: #4ade80;
}

.mlp-approved-text span {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

/* ── Formulário ── */
.mlp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mlp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mlp-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mlp-form-group label {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mlp-form-group input {
  padding: 12px 16px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .92rem;
  outline: none;
  transition: border-color .2s, background .2s;
}

.mlp-form-group input::placeholder { color: rgba(255,255,255,.25); }

.mlp-form-group input:focus {
  border-color: var(--purple-vivid);
  background: rgba(107,33,214,.1);
}

.mlp-form-group input.error {
  border-color: #f87171;
}

.mlp-form-disclaimer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  line-height: 1.5;
}

.mlp-form-disclaimer svg { flex-shrink: 0; color: var(--cyan); }

.mlp-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--gradient-btn);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(107,33,214,.4);
  transition: transform .2s, box-shadow .2s, opacity .2s;
  margin-top: 4px;
}

.mlp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(107,33,214,.55);
}

.mlp-submit-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* ── TELA DE SUCESSO ── */
.mlp-step--success {
  text-align: center;
  padding: 16px 0;
}

.mlp-success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(74,222,128,.12);
  border: 2px solid rgba(74,222,128,.3);
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
  margin: 0 auto 24px;
}

.mlp-success-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.mlp-success-text {
  font-size: .92rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto 28px;
}

.mlp-success-text strong { color: var(--white); }

.mlp-success-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.mlp-success-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

.mlp-success-item svg { color: var(--cyan); }

.mlp-close-success {
  padding: 12px 32px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px;
  color: rgba(255,255,255,.7);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.mlp-close-success:hover {
  background: rgba(255,255,255,.14);
  color: var(--white);
}

/* Animação de entrada do step */
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.mlp-step { animation: stepIn .35s ease forwards; }


/* ──────────────────────────────────────────────
   RESPONSIVO — ML Partner & Modal
   ────────────────────────────────────────────── */

@media (max-width: 768px) {
  #ml-partner { padding: 70px 5%; }

  .mlp-card-header,
  .mlp-benefits,
  .mlp-card-footer { padding-left: 22px; padding-right: 22px; }

  .mlp-title { font-size: clamp(1.7rem, 5vw, 2.4rem); }

  .mlp-modal { border-radius: 20px; }

  .mlp-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mlp-steps-container { padding: 20px 20px 28px; }

  .mlp-step-title { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .mlp-partner-badge { flex-wrap: wrap; justify-content: center; text-align: center; }

  .mlp-cta-btn { padding: 14px 28px; font-size: .82rem; }

  .mlp-option { font-size: .85rem; padding: 12px 14px; }
}