/* Página pública do programa de afiliados. Escopo restrito a .aff-program. */
.aff-program{--aff-orange:#c94600;--aff-orange-dark:#b84100;--aff-orange-deep:#8f3300;--aff-orange-soft:#fff3eb;--aff-orange-light:#ffb384;--aff-navy:#1b212f;--aff-text:#19283f;--aff-body:#4a5466;--aff-muted:#626b7a;--aff-line:#e5e7ec;--aff-line-soft:#eef0f4;--aff-bg:#f7f8fb;--aff-green:#146c43;background:var(--aff-bg);color:var(--aff-text);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:1rem;line-height:1.6;overflow-x:clip}
.aff-program *,.aff-program *::before,.aff-program *::after{box-sizing:border-box}
.aff-program h1,.aff-program h2,.aff-program h3{font-family:Manrope,Inter,"Segoe UI",Arial,sans-serif;color:var(--aff-navy);margin:0;letter-spacing:-.015em}
.aff-program p{margin:0}
/* Largura: o .container do portal (mesmas quebras do cabeçalho e do rodapé). */
.aff-wrap{min-width:0}
.aff-accent{color:var(--aff-orange)}
/* Links sem sublinhado; sublinhado só ao passar o mouse ou no foco do teclado. Botões nunca. */
.aff-program a{text-decoration:none}
.aff-program a:hover,.aff-program a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.aff-program a.aff-btn,.aff-program a.aff-btn:hover,.aff-program a.aff-btn:focus-visible{text-decoration:none}
.aff-card{background:#fff;border:1px solid var(--aff-line);border-radius:24px}

/* Botões */
.aff-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:48px;padding:0 22px;border-radius:14px;font-weight:600;font-size:1rem;line-height:1.2;text-decoration:none;border:1px solid transparent;transition:background-color .15s,border-color .15s,color .15s}
.aff-btn--lg{min-height:54px;padding:0 26px}
.aff-btn--primary{background:var(--aff-orange);color:#fff}
.aff-btn--primary:hover,.aff-btn--primary:focus-visible{background:var(--aff-orange-deep);color:#fff}
.aff-btn--ghost{background:#fff;border-color:#d5d9e1;color:var(--aff-text)}
.aff-btn--ghost:hover,.aff-btn--ghost:focus-visible{border-color:var(--aff-orange);color:var(--aff-orange-dark)}
.aff-btn--outline-light{border-color:rgba(255,255,255,.35);color:#fff}
.aff-btn--outline-light:hover,.aff-btn--outline-light:focus-visible{border-color:#fff;color:#fff;background:rgba(255,255,255,.08)}
.aff-actions{display:flex;flex-wrap:wrap;gap:12px}

/* Hero */
.aff-hero{padding:72px 0 56px}
.aff-hero__grid{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.aff-hero__copy{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:24px}
.aff-hero__visual{flex:1 1 400px;min-width:0;display:flex;flex-direction:column;gap:16px}
.aff-pill{align-self:flex-start;padding:6px 14px;border-radius:999px;background:var(--aff-orange-soft);color:var(--aff-orange-dark);font-size:.8125rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.aff-hero h1{font-size:clamp(2.25rem,5vw,3.75rem);line-height:1.06;font-weight:800;letter-spacing:-.02em}
.aff-lead{font-size:1.1875rem;line-height:1.6;color:var(--aff-body);max-width:560px}
.aff-checks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 22px;font-size:.9375rem;color:var(--aff-body)}
.aff-checks li{display:inline-flex;align-items:center;gap:8px}
.aff-checks i,.aff-list i{color:#198754}

.aff-linkcard{padding:28px;display:flex;flex-direction:column;gap:20px;box-shadow:0 24px 60px -28px rgba(25,40,63,.28)}
.aff-linkcard__head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.875rem;font-weight:600;color:var(--aff-muted)}
.aff-tag{padding:4px 10px;border-radius:999px;background:#f1f3f7;color:var(--aff-muted);font-size:.75rem;font-weight:700}
.aff-tag--ok{background:#e8f5ee;color:var(--aff-green)}
.aff-linkcard__url{display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:12px;background:var(--aff-bg);border:1px dashed #d5d9e1;font-family:"Cascadia Code",Consolas,monospace;font-size:.9375rem;color:var(--aff-navy);overflow-wrap:anywhere}
.aff-linkcard__url b{color:var(--aff-orange)}
.aff-linkcard__example{border-top:1px solid var(--aff-line-soft);padding-top:18px;display:flex;flex-direction:column;gap:12px}
.aff-label{font-size:.8125rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--aff-muted)}
.aff-row{display:flex;justify-content:space-between;gap:12px;font-size:.9375rem;color:var(--aff-body)}
.aff-row s{color:var(--aff-muted)}
.aff-row b{color:var(--aff-navy)}
.aff-row--highlight{align-items:center;padding:14px 16px;border-radius:14px;background:var(--aff-orange-soft);color:var(--aff-orange-deep);font-weight:600}
.aff-row--highlight b{font-family:Manrope,Inter,sans-serif;font-size:1.25rem;color:var(--aff-orange-deep)}
.aff-minis{display:flex;flex-wrap:wrap;gap:16px}
.aff-mini{flex:1 1 180px;display:flex;gap:14px;align-items:center;padding:18px 20px;border-radius:18px;background:#fff;border:1px solid var(--aff-line);font-size:.875rem;line-height:1.4}
.aff-mini i{font-size:1.5rem;color:var(--aff-orange)}
.aff-mini--dark{background:var(--aff-navy);border-color:var(--aff-navy);color:#fff}
.aff-mini--dark i{color:var(--aff-orange-light)}

/* Seções */
.aff-section{padding:48px 0}
.aff-section--tight{padding:0 0 24px}
.aff-section--last{padding-bottom:96px}
.aff-head{display:flex;flex-direction:column;gap:12px;max-width:640px;margin-bottom:40px}
.aff-head--compact{margin-bottom:0}
.aff-head p{color:var(--aff-body);font-size:.9375rem}
.aff-eyebrow{font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--aff-orange-dark)}
.aff-section h2{font-size:clamp(1.75rem,3.2vw,2.5rem);line-height:1.15;font-weight:800}

.aff-facts{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));background:#fff;border:1px solid var(--aff-line);border-radius:24px;overflow:hidden}
.aff-facts>div{padding:28px;display:flex;flex-direction:column;gap:6px;border-right:1px solid var(--aff-line-soft);border-bottom:1px solid var(--aff-line-soft)}
.aff-facts dt{font-family:Manrope,Inter,sans-serif;font-size:2.5rem;font-weight:800;line-height:1;color:var(--aff-navy)}
.aff-facts dd{margin:0;display:flex;flex-direction:column;gap:4px}
.aff-facts dd b{color:var(--aff-navy);font-weight:600}
.aff-facts dd span{font-size:.875rem;color:var(--aff-muted)}

.aff-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.aff-steps li{background:#fff;border:1px solid var(--aff-line);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:14px}
.aff-steps h3{font-size:1.25rem;font-weight:700}
.aff-steps p{font-size:.9375rem;line-height:1.6;color:var(--aff-body)}
.aff-step__num{width:44px;height:44px;border-radius:12px;background:var(--aff-navy);color:#fff;display:flex;align-items:center;justify-content:center;font-family:Manrope,Inter,sans-serif;font-weight:800;font-size:1.125rem}
.aff-steps .aff-step--accent{background:var(--aff-orange);border-color:var(--aff-orange)}
.aff-step--accent h3,.aff-step--accent p{color:#fff}
.aff-step--accent .aff-step__num{background:#fff;color:var(--aff-orange-deep)}

/* Simulador */
.aff-sim{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}
.aff-sim__inputs{flex:1 1 520px;min-width:0;padding:36px;display:flex;flex-direction:column;gap:28px}
.aff-range{display:flex;flex-direction:column;gap:10px}
.aff-range__label{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.aff-range label{font-weight:600;color:var(--aff-navy)}
.aff-range small{font-weight:400;font-size:.9375rem;color:var(--aff-muted)}
.aff-range output{font-family:Manrope,Inter,sans-serif;font-size:1.375rem;font-weight:800;color:var(--aff-navy)}
.aff-range input[type=range]{width:100%;height:28px;accent-color:var(--aff-orange);cursor:pointer}
.aff-sim__result{flex:1 1 360px;min-width:0;background:var(--aff-navy);color:#fff;border-radius:24px;padding:36px;display:flex;flex-direction:column;gap:22px;justify-content:space-between}
.aff-sim__result>div:first-child{display:flex;flex-direction:column;gap:8px}
.aff-sim__muted{font-size:.9375rem;color:rgba(255,255,255,.75)}
.aff-sim__total{font-family:Manrope,Inter,sans-serif;font-size:clamp(2.5rem,5vw,3.5rem);font-weight:800;line-height:1;color:var(--aff-orange-light)}
.aff-sim__lines{display:flex;flex-direction:column;gap:10px;border-top:1px solid rgba(255,255,255,.14);padding-top:18px;font-size:.9375rem}
.aff-sim__lines>div{display:flex;justify-content:space-between}
.aff-sim__lines>div>span:first-child{color:rgba(255,255,255,.75)}
.aff-sim__note{font-size:.8125rem;line-height:1.55;color:rgba(255,255,255,.72)}

/* Painel */
.aff-split{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.aff-split__text{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:18px}
.aff-split__text>p{font-size:1rem;line-height:1.65;color:var(--aff-body)}
.aff-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;font-size:.9375rem}
.aff-list li{display:flex;gap:12px;align-items:center}
.aff-list i{color:var(--aff-orange)}
.aff-panel{flex:1 1 560px;min-width:0;margin:0;padding:24px;display:flex;flex-direction:column;gap:18px;box-shadow:0 24px 60px -30px rgba(25,40,63,.3)}
.aff-panel__head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.aff-panel__head b{font-family:Manrope,Inter,sans-serif;font-size:1.125rem;color:var(--aff-navy)}
.aff-panel__kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.aff-kpi{border-radius:16px;padding:16px;background:var(--aff-bg);display:flex;flex-direction:column;gap:6px}
.aff-kpi span{font-size:.8125rem;font-weight:600;color:var(--aff-body)}
.aff-kpi b{font-family:Manrope,Inter,sans-serif;font-size:1.375rem;color:var(--aff-navy)}
.aff-kpi--accent{background:var(--aff-orange-soft)}
.aff-kpi--accent span{color:var(--aff-orange-deep)}
.aff-panel__chart{border:1px solid var(--aff-line-soft);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:14px}
.aff-panel__chart>span{font-size:.8125rem;font-weight:600;color:var(--aff-body)}
.aff-bars{height:120px;display:flex;align-items:flex-end;gap:10px}
.aff-bars i{flex:1 1 0;border-radius:6px 6px 2px 2px;background:#ffd2b5}
.aff-bars i.is-current{background:var(--aff-orange)}

/* Divulgação e regras */
.aff-duo{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}
.aff-duo__item{flex:1 1 460px;min-width:0;padding:32px;display:flex;flex-direction:column;gap:18px}
.aff-duo__item h2{font-size:1.75rem}
.aff-bubble{background:var(--aff-bg);border-radius:18px 18px 18px 4px;padding:18px 20px;font-size:.9375rem;line-height:1.6;color:var(--aff-text)}
.aff-bubble b{color:var(--aff-orange-dark);overflow-wrap:anywhere}
.aff-muted{font-size:.875rem;color:var(--aff-muted)}
.aff-lead-sm{font-size:.9375rem;line-height:1.6;color:var(--aff-body)}
.aff-channels{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.aff-channels li{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--aff-line);border-radius:999px;background:var(--aff-bg);font-size:.9375rem;font-weight:600;color:var(--aff-navy)}
.aff-channels i{font-size:1.125rem;color:var(--aff-orange)}
.aff-rules{margin:0;padding-left:1.1rem;display:flex;flex-direction:column;gap:14px;font-size:.9375rem;line-height:1.55;color:var(--aff-body)}
.aff-rules li::marker{color:var(--aff-orange)}

/* FAQ */
.aff-faq{max-width:880px;display:flex;flex-direction:column;gap:12px}
.aff-faq h2{text-align:center;margin-bottom:16px}
.aff-faq details{background:#fff;border:1px solid var(--aff-line);border-radius:16px;padding:0 24px}
.aff-faq summary{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-weight:600;font-size:1.0625rem;color:var(--aff-navy);cursor:pointer;list-style:none}
.aff-faq summary::-webkit-details-marker{display:none}
.aff-faq summary::after{content:"+";flex:0 0 auto;font-size:1.625rem;font-weight:400;line-height:1;color:var(--aff-orange);transition:transform .2s}
.aff-faq details[open] summary::after{transform:rotate(45deg)}
.aff-faq summary:focus-visible{outline:2px solid var(--aff-orange);outline-offset:4px;border-radius:8px}
.aff-faq details p{margin:0 0 22px;font-size:.9375rem;line-height:1.65;color:var(--aff-body)}

/* Chamada final */
.aff-cta{background:var(--aff-navy);border-radius:28px;padding:clamp(36px,6vw,72px);display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}
.aff-cta>div:first-child{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:14px}
.aff-program .aff-cta h2{color:#fff;font-size:clamp(1.875rem,3.6vw,2.875rem);line-height:1.1}
.aff-cta h2 span{color:var(--aff-orange-light)}
.aff-cta p{font-size:1.0625rem;color:rgba(255,255,255,.78)}

@media (max-width:600px){
  .aff-hero{padding:40px 0 32px}
  .aff-hero__grid{gap:32px}
  .aff-btn--lg{width:100%}
  .aff-sim__inputs,.aff-sim__result,.aff-duo__item{padding:24px}
  .aff-facts>div{padding:22px}
  .aff-range__label{flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){.aff-program *{transition:none!important}}
