/* ============================================================
   Radar de Dividendo — Calculadoras
   Todos os estilos escopados em .rdd-calc para não conflitar com temas WP
   ============================================================ */

.rdd-calc {
  --rdd-bg:       #0D0D0D;
  --rdd-card:     #1A1A1A;
  --rdd-input:    #111111;
  --rdd-text:     #FFFFFF;
  --rdd-muted:    #A0A0A0;
  --rdd-dim:      #555555;
  --rdd-green:    #00FF88;
  --rdd-gold:     #FFD700;
  --rdd-border:   #2A2A2A;
  --rdd-error:    #FF4D4D;
  --rdd-radius:   10px;
  --rdd-radius-s: 6px;
  --rdd-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  background: var(--rdd-bg);
  color: var(--rdd-text);
  font-family: var(--rdd-font);
  font-size: 16px;
  line-height: 1.6;
  padding: 32px 16px 48px;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.rdd-calc *, .rdd-calc *::before, .rdd-calc *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Page header ── */
.rdd-calc .rdd-page-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--rdd-text);
}
.rdd-calc .rdd-hl-g { color: var(--rdd-green); }
.rdd-calc .rdd-hl-d { color: var(--rdd-gold); }

.rdd-calc .rdd-page-desc {
  color: var(--rdd-muted);
  font-size: .93rem;
  margin-bottom: 28px;
  max-width: 560px;
}

/* ── Layout grid ── */
.rdd-calc .rdd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 768px) {
  .rdd-calc .rdd-grid { grid-template-columns: 370px 1fr; }
}
@media (min-width: 1024px) {
  .rdd-calc .rdd-grid { grid-template-columns: 400px 1fr; }
}

/* ── Card ── */
.rdd-calc .rdd-card {
  background: var(--rdd-card);
  border: 1px solid var(--rdd-border);
  border-radius: var(--rdd-radius);
  padding: 22px;
}
.rdd-calc .rdd-card + .rdd-card { margin-top: 14px; }
.rdd-calc .rdd-card-lbl {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--rdd-dim);
  margin-bottom: 16px;
}

/* ── Form ── */
.rdd-calc .rdd-group { margin-bottom: 16px; }

.rdd-calc .rdd-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--rdd-muted);
  margin-bottom: 5px;
}
.rdd-calc .rdd-label .rdd-hint {
  display: block;
  font-size: .73rem;
  font-weight: 400;
  color: var(--rdd-dim);
  margin-top: 2px;
}

.rdd-calc .rdd-input {
  width: 100%;
  background: var(--rdd-input);
  border: 1px solid var(--rdd-border);
  border-radius: var(--rdd-radius-s);
  padding: 11px 13px;
  color: var(--rdd-text);
  font-size: .93rem;
  font-family: var(--rdd-font);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.rdd-calc .rdd-input:focus {
  border-color: var(--rdd-green);
  box-shadow: 0 0 0 3px rgba(0,255,136,.1);
}
.rdd-calc .rdd-input::placeholder { color: var(--rdd-dim); }
.rdd-calc .rdd-input.rdd-err      { border-color: var(--rdd-error); }

/* Period toggle */
.rdd-calc .rdd-period {
  display: flex;
  background: var(--rdd-input);
  border: 1px solid var(--rdd-border);
  border-radius: var(--rdd-radius-s);
  overflow: hidden;
  margin-bottom: 6px;
}
.rdd-calc .rdd-period input[type="radio"] { display: none; }
.rdd-calc .rdd-period label {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--rdd-dim);
  transition: all .15s;
  user-select: none;
  font-family: var(--rdd-font);
}
.rdd-calc .rdd-period input[type="radio"]:checked + label {
  background: var(--rdd-green);
  color: #000;
}

/* Toggle switch */
.rdd-calc .rdd-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}
.rdd-calc .rdd-toggle-txt { font-size: .83rem; color: var(--rdd-muted); }
.rdd-calc .rdd-sw { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.rdd-calc .rdd-sw input { opacity: 0; width: 0; height: 0; }
.rdd-calc .rdd-sw-track {
  position: absolute; inset: 0;
  background: var(--rdd-border);
  border-radius: 22px;
  cursor: pointer;
  transition: background .2s;
}
.rdd-calc .rdd-sw-track::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.rdd-calc .rdd-sw input:checked + .rdd-sw-track { background: var(--rdd-green); }
.rdd-calc .rdd-sw input:checked + .rdd-sw-track::before { transform: translateX(18px); }

/* Buttons */
.rdd-calc .rdd-btn-calc {
  width: 100%;
  background: var(--rdd-green);
  color: #000;
  border: none;
  border-radius: var(--rdd-radius-s);
  padding: 13px 22px;
  font-size: .93rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .2px;
  transition: background .15s, transform .1s, box-shadow .15s;
  margin-top: 8px;
  font-family: var(--rdd-font);
  display: block;
}
.rdd-calc .rdd-btn-calc:hover {
  background: #00e07a;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,255,136,.25);
}

.rdd-calc .rdd-btn-pdf {
  width: 100%;
  background: transparent;
  color: var(--rdd-gold);
  border: 1px solid var(--rdd-gold);
  border-radius: var(--rdd-radius-s);
  padding: 11px 22px;
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  margin-top: 8px;
  font-family: var(--rdd-font);
  display: block;
}
.rdd-calc .rdd-btn-pdf:hover {
  background: rgba(255,215,0,.08);
  box-shadow: 0 0 18px rgba(255,215,0,.2);
}

/* Errors */
.rdd-calc .rdd-alert-error {
  background: rgba(255,77,77,.08);
  border: 1px solid var(--rdd-error);
  border-radius: var(--rdd-radius-s);
  padding: 12px 16px;
  color: var(--rdd-error);
  font-size: .83rem;
  margin-bottom: 16px;
}
.rdd-calc .rdd-alert-error ul { padding-left: 18px; }

/* ── Summary cards ── */
.rdd-calc .rdd-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.rdd-calc .rdd-sc {
  background: var(--rdd-card);
  border: 1px solid var(--rdd-border);
  border-radius: var(--rdd-radius);
  padding: 15px;
  text-align: center;
}
.rdd-calc .rdd-sc.rdd-sc-g { border-color: var(--rdd-green); background: rgba(0,255,136,.04); }
.rdd-calc .rdd-sc.rdd-sc-d { border-color: var(--rdd-gold);  background: rgba(255,215,0,.04); }
.rdd-calc .rdd-sc .rdd-sc-lbl {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rdd-dim);
  margin-bottom: 7px;
}
.rdd-calc .rdd-sc .rdd-sc-val {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  word-break: break-word;
  color: var(--rdd-text);
}
.rdd-calc .rdd-sc.rdd-sc-g .rdd-sc-val { color: var(--rdd-green); }
.rdd-calc .rdd-sc.rdd-sc-d .rdd-sc-val { color: var(--rdd-gold); }

/* Hero card (FIRE) */
.rdd-calc .rdd-hero {
  background: var(--rdd-card);
  border: 2px solid var(--rdd-green);
  border-radius: var(--rdd-radius);
  padding: 28px;
  text-align: center;
  box-shadow: 0 0 24px rgba(0,255,136,.15);
}
.rdd-calc .rdd-hero-lbl {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--rdd-dim);
  margin-bottom: 10px;
}
.rdd-calc .rdd-hero-val {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--rdd-green);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.rdd-calc .rdd-hero-sub { color: var(--rdd-muted); font-size: .88rem; line-height: 1.5; }

/* Progress bar */
.rdd-calc .rdd-prog { margin-bottom: 12px; }
.rdd-calc .rdd-prog-meta {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  margin-bottom: 4px;
  color: var(--rdd-muted);
}
.rdd-calc .rdd-prog-bar {
  height: 7px;
  background: var(--rdd-border);
  border-radius: 7px;
  overflow: hidden;
}
.rdd-calc .rdd-prog-fill {
  height: 100%;
  background: var(--rdd-green);
  border-radius: 7px;
}

/* Chart */
.rdd-calc .rdd-chart {
  background: var(--rdd-card);
  border: 1px solid var(--rdd-border);
  border-radius: var(--rdd-radius);
  padding: 18px;
}
.rdd-calc .rdd-chart-lbl {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rdd-dim);
  margin-bottom: 12px;
}
.rdd-calc .rdd-chart-inner { position: relative; height: 250px; }

/* Table */
.rdd-calc .rdd-table-wrap {
  background: var(--rdd-card);
  border: 1px solid var(--rdd-border);
  border-radius: var(--rdd-radius);
  overflow: hidden;
}
.rdd-calc .rdd-table-hd {
  padding: 12px 18px;
  border-bottom: 1px solid var(--rdd-border);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rdd-dim);
}
.rdd-calc .rdd-table-scroll { overflow-x: auto; }
.rdd-calc table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.rdd-calc thead tr { background: rgba(0,255,136,.03); }
.rdd-calc th {
  padding: 9px 14px;
  text-align: right;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--rdd-dim);
  white-space: nowrap;
}
.rdd-calc th:first-child { text-align: left; }
.rdd-calc td {
  padding: 8px 14px;
  text-align: right;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--rdd-muted);
  white-space: nowrap;
}
.rdd-calc td:first-child { text-align: left; color: var(--rdd-text); font-weight: 600; }
.rdd-calc tr:last-child td { border-bottom: none; }
.rdd-calc tr:hover td { background: rgba(255,255,255,.025); color: var(--rdd-text); }
.rdd-calc .rdd-tr-g td { color: var(--rdd-green); font-weight: 700; }
.rdd-calc .rdd-tr-d td { color: var(--rdd-gold);  font-weight: 700; }

/* Ranking */
.rdd-calc .rdd-rank-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
  margin-right: 7px;
  background: var(--rdd-border);
  color: var(--rdd-muted);
}
.rdd-calc .rdd-r1 .rdd-rank-ico { background: var(--rdd-gold);  color: #000; }
.rdd-calc .rdd-r2 .rdd-rank-ico { background: #C0C0C0;          color: #000; }
.rdd-calc .rdd-r3 .rdd-rank-ico { background: #CD7F32;          color: #000; }

.rdd-calc .rdd-bar-cell { display: flex; align-items: center; gap: 8px; }
.rdd-calc .rdd-bar-bg   { flex: 1; height: 5px; background: var(--rdd-border); border-radius: 5px; overflow: hidden; min-width: 50px; }
.rdd-calc .rdd-bar-fg   { height: 100%; background: var(--rdd-green); border-radius: 5px; }

/* Note */
.rdd-calc .rdd-note {
  background: rgba(0,255,136,.05);
  border-left: 3px solid var(--rdd-green);
  padding: 10px 13px;
  border-radius: 0 var(--rdd-radius-s) var(--rdd-radius-s) 0;
  font-size: .8rem;
  color: var(--rdd-muted);
  line-height: 1.5;
}

/* Share box */
.rdd-calc .rdd-share-lbl {
  font-size: .68rem;
  color: var(--rdd-dim);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 6px;
  font-weight: 700;
}
.rdd-calc .rdd-share-box {
  background: var(--rdd-input);
  border: 1px solid var(--rdd-border);
  border-radius: var(--rdd-radius-s);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rdd-calc .rdd-share-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--rdd-dim);
  font-size: .76rem;
  font-family: monospace;
  outline: none;
  min-width: 0;
}
.rdd-calc .rdd-copy-btn {
  background: var(--rdd-border);
  border: none;
  color: var(--rdd-text);
  padding: 5px 11px;
  border-radius: 4px;
  font-size: .73rem;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--rdd-font);
  transition: background .15s;
}
.rdd-calc .rdd-copy-btn:hover { background: #333; }

/* Empty state */
.rdd-calc .rdd-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--rdd-dim);
}
.rdd-calc .rdd-empty-ico { font-size: 2.4rem; margin-bottom: 14px; }
.rdd-calc .rdd-empty p   { font-size: .88rem; line-height: 1.5; }

/* Results column */
.rdd-calc .rdd-results { display: flex; flex-direction: column; gap: 14px; }

/* ── Google AdSense slots ── */
.rdd-calc .rdd-ad { margin: 16px 0; min-height: 90px; }
.rdd-calc .rdd-ad--top { margin-bottom: 24px; }
.rdd-calc .rdd-ad--mid { margin: 16px 0; }
.rdd-calc .rdd-ad--bot { margin-top: 16px; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .rdd-calc .rdd-cards { grid-template-columns: 1fr 1fr; }
  .rdd-calc .rdd-sc-val { font-size: .98rem; }
  .rdd-calc th, .rdd-calc td { padding: 7px 10px; }
}

/* ── Print ── */
@media print {
  .rdd-calc .rdd-btn-calc,
  .rdd-calc .rdd-btn-pdf,
  .rdd-calc .rdd-share-box,
  .rdd-calc .rdd-share-lbl,
  .rdd-calc .rdd-ad,
  .rdd-calc form { display: none !important; }
  .rdd-calc { background: #fff; color: #000; }
  .rdd-calc .rdd-card,
  .rdd-calc .rdd-chart,
  .rdd-calc .rdd-table-wrap { border: 1px solid #ddd; background: #fff; }
  .rdd-calc th, .rdd-calc td { color: #000 !important; }
  .rdd-calc .rdd-sc-val { color: #000 !important; }
  @page { margin: 20mm; }
}

/* ============================================================
   Estilos de página — SEO content, FAQ, CTA, banners
   ============================================================ */

/* ── Seção genérica ── */
.rdd-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  border-left: 3px solid #00FF88;
  padding-left: 12px;
}

.rdd-seo-intro,
.rdd-howto-section,
.rdd-terms-section,
.rdd-faq-section {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  padding: 28px 24px;
  margin: 24px 0;
}

.rdd-intro-text p {
  color: #A0A0A0;
  font-size: .93rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.rdd-intro-text p:last-child { margin-bottom: 0; }
.rdd-intro-text strong { color: #FFFFFF; }

/* ── Como usar ── */
.rdd-steps-list {
  padding-left: 0;
  counter-reset: rdd-step;
  list-style: none;
}
.rdd-step {
  counter-increment: rdd-step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .88rem;
  color: #A0A0A0;
  line-height: 1.6;
}
.rdd-step::before {
  content: counter(rdd-step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  background: #00FF88;
  color: #000;
  font-size: .75rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}
.rdd-step strong { color: #FFFFFF; }

/* ── Termos populares ── */
.rdd-terms-section p {
  color: #A0A0A0;
  font-size: .88rem;
  line-height: 1.75;
}
.rdd-terms-section strong { color: #00FF88; }

/* ── FAQ ── */
.rdd-faq-list { display: flex; flex-direction: column; gap: 10px; }

.rdd-faq-item {
  background: #111;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  overflow: hidden;
}

.rdd-faq-q {
  width: 100%;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .15s;
  line-height: 1.4;
}
.rdd-faq-q:hover { color: #00FF88; }
.rdd-faq-q[aria-expanded="true"] { color: #00FF88; }

.rdd-faq-icon {
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .2s;
  color: #555;
}
.rdd-faq-q[aria-expanded="true"] .rdd-faq-icon {
  transform: rotate(45deg);
  color: #00FF88;
}

.rdd-faq-a {
  padding: 0 18px 16px;
  color: #A0A0A0;
  font-size: .87rem;
  line-height: 1.7;
}
.rdd-faq-a[hidden] { display: none; }
.rdd-faq-a p { margin: 0; }
.rdd-faq-a strong { color: #FFFFFF; }

/* ── CTA block ── */
.rdd-cta-block {
  background: linear-gradient(135deg, rgba(0,255,136,.08) 0%, rgba(0,0,0,0) 60%);
  border: 1px solid rgba(0,255,136,.25);
  border-radius: 12px;
  padding: 28px 24px;
  margin: 24px 0;
}
.rdd-cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.rdd-cta-text {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}
.rdd-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.rdd-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #000;
  font-size: .88rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.rdd-wa-btn:hover {
  background: #1ebe59;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  color: #000;
  text-decoration: none;
}

.rdd-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #00FF88;
  border: 1px solid #00FF88;
  font-size: .88rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
}
.rdd-site-btn:hover {
  background: rgba(0,255,136,.08);
  box-shadow: 0 0 16px rgba(0,255,136,.2);
  color: #00FF88;
  text-decoration: none;
}

/* ── LineOn banner ── */
.rdd-partner-banner {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0;
  position: relative;
}
.rdd-partner-banner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #FFD700, #FF8C00);
}
.rdd-partner-inner {
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.rdd-partner-tag {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  background: #111;
  border: 1px solid #2A2A2A;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
}
.rdd-partner-body { flex: 1; }
.rdd-partner-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 6px;
}
.rdd-partner-desc {
  font-size: .85rem;
  color: #A0A0A0;
  line-height: 1.6;
  margin-bottom: 14px;
}
.rdd-partner-desc strong { color: #FFFFFF; }
.rdd-partner-cta {
  display: inline-block;
  background: #FFD700;
  color: #000;
  font-size: .83rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
}
.rdd-partner-cta:hover {
  background: #f0c800;
  box-shadow: 0 4px 16px rgba(255,215,0,.3);
  color: #000;
  text-decoration: none;
}

/* ── Floating WhatsApp button (via WP footer) ── */
.rdd-float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #000;
  font-size: .85rem;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.rdd-float-wa:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  color: #000;
  text-decoration: none;
}
.rdd-float-wa svg { flex-shrink: 0; }
@media (max-width: 480px) {
  .rdd-float-wa span { display: none; }
  .rdd-float-wa { padding: 14px; border-radius: 50%; }
}

/* ── Print ── */
@media print {
  .rdd-cta-block, .rdd-partner-banner, .rdd-float-wa { display: none !important; }
}
/* ============================================================
   LineOn Banner — estilos completos
   Adicione ao final de assets/css/style.css
   ============================================================ */

/* ── Wrapper principal ── */
.rdd-lineon-wrap {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
  border: 1px solid rgba(107, 33, 168, 0.35);
  border-left: 4px solid #9333EA;
  border-radius: 0 14px 14px 0;
  padding: 22px 24px 20px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}

/* Glow sutil no canto superior esquerdo */
.rdd-lineon-wrap::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -20px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(147,51,234,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Header: logo + badge ── */
.rdd-lineon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rdd-lineon-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity .15s;
}
.rdd-lineon-logo-link:hover { opacity: .85; }

.rdd-lineon-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  object-position: left center;
}

.rdd-lineon-tag {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9333EA;
  background: rgba(147,51,234,.12);
  border: 1px solid rgba(147,51,234,.3);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Corpo ── */
.rdd-lineon-body { margin-bottom: 16px; }

.rdd-lineon-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px;
  letter-spacing: -.2px;
  line-height: 1.3;
}

.rdd-lineon-desc {
  font-size: .85rem;
  color: #9ca3af;
  line-height: 1.65;
  margin: 0 0 14px;
}
.rdd-lineon-desc strong { color: #e5e7eb; }

/* ── Chips de serviço ── */
.rdd-lineon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rdd-lineon-chips span {
  font-size: .72rem;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(167,139,250,.1);
  border: 1px solid rgba(167,139,250,.25);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Footer: CTA + domínio ── */
.rdd-lineon-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rdd-lineon-cta {
  display: inline-flex;
  align-items: center;
  background: #7C3AED;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: .2px;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.rdd-lineon-cta:hover {
  background: #6D28D9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124,58,237,.45);
  color: #fff;
  text-decoration: none;
}
.rdd-lineon-cta:active { transform: translateY(0); }

.rdd-lineon-domain {
  font-size: .78rem;
  color: #6b7280;
  font-family: monospace;
}

/* ── Responsivo ── */
@media (max-width: 480px) {
  .rdd-lineon-wrap { padding: 18px 16px 16px; }
  .rdd-lineon-logo { height: 22px; max-width: 150px; }
  .rdd-lineon-title { font-size: .92rem; }
  .rdd-lineon-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── Print ── */
@media print { .rdd-lineon-wrap { display: none !important; } }
/* ============================================================
   Estilos — Seção "Calculadoras relacionadas"
   Adicione ao final do arquivo:
   radar-dividendo-calculadoras/assets/css/style.css
   ============================================================ */

.rdd-related-section {
  margin: 32px 0 8px;
  padding: 24px;
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
}

.rdd-related-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2A2A2A;
}

.rdd-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .rdd-related-grid { grid-template-columns: repeat(3, 1fr); }
}

.rdd-related-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  padding: 14px;
  text-decoration: none;
  transition: border-color .15s, background .15s, transform .1s;
}
.rdd-related-card:hover {
  border-color: #00FF88;
  background: rgba(0,255,136,.04);
  transform: translateY(-2px);
  text-decoration: none;
}

.rdd-related-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.rdd-related-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rdd-related-name {
  font-size: .85rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.rdd-related-desc {
  font-size: .76rem;
  color: #666;
  line-height: 1.4;
}

.rdd-related-anchor {
  font-size: .73rem;
  color: #00FF88;
  font-weight: 600;
  margin-top: 2px;
}

@media print {
  .rdd-related-section { display: none; }
}
/* ============================================================
   Brand tag Radar de Dividendo — adicione ao final do style.css
   ============================================================ */

.rdd-calc { position: relative; }

.rdd-brand-tag {
  position: absolute;
  top: 10px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--rdd-dim, #555);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .4px;
  opacity: .7;
  transition: opacity .15s;
  z-index: 10;
}
.rdd-brand-tag:hover { opacity: 1; color: var(--rdd-gold, #FFD700); }
.rdd-brand-tag img   { border-radius: 2px; }
.rdd-calc-icon-img   { display: block; object-fit: contain; }

@media (max-width: 480px) { .rdd-brand-tag span { display: none; } }

/* Cabeçalho premium da calc. de subscrição com o ícone real */
.rdd-sub-hdr-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
