/* ============================================================
   PLANOS (split from addons.css)
   ============================================================ */

/* ============================================================
   PLANOS (brascast-planos.html)
   ============================================================ */

/* --- HERO --- */
.pln-hero { padding: calc(var(--nav-h) + 80px) 0 32px; background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-soft) 100%); position: relative; overflow: hidden; isolation: isolate; z-index: 0; }
.pln-hero::before { content: ''; position: absolute; top: 10%; right: -100px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(42,173,142,.10), transparent 60%); pointer-events: none; z-index: -1; }
.pln-hero > * { position: relative; }
.pln-hero-inner { position: relative; text-align: center; }
.pln-hero h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--text); margin: 14px 0 14px; text-wrap: balance; }
.pln-hero h1 .accent { color: var(--green); }
.pln-hero .sub { font-size: 20px; color: var(--text-muted); max-width: 620px; margin: 0 auto; line-height: 1.6; text-wrap: pretty; }

/* Countdown - bold promo banner */
.pln-launch { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 8px; padding: 0; background: transparent; border: 0; box-shadow: none; position: relative; text-align: center; }
.pln-launch-count { display: inline-flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.pln-launch-num { font-size: 56px; font-weight: 900; color: var(--text); letter-spacing: -.045em; line-height: 1; }
.pln-launch-sep { font-size: 44px; font-weight: 800; color: var(--text); line-height: 1; }
.pln-launch-dots { font-size: 44px; font-weight: 800; color: var(--text); letter-spacing: -.04em; line-height: 1; }
.pln-launch-go { font-size: 60px; font-weight: 900; color: var(--green); letter-spacing: -.035em; line-height: 1; margin-left: 6px; background: linear-gradient(135deg, var(--green-mid) 0%, var(--green) 60%, var(--green-dark) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: plnLaunchPulse 1.4s ease-in-out infinite; transform-origin: center; display: inline-block; }
@keyframes plnLaunchPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.pln-hero .pln-launch-msg { font-size: clamp(20px, 2.4vw, 26px); font-weight: 400; color: var(--text); margin: 0; line-height: 1.4; letter-spacing: 0; text-wrap: balance; }
.pln-launch-msg .accent { color: inherit; }
.pln-launch-sub { font-size: 14px; color: var(--text-muted); margin: 0; font-weight: 500; letter-spacing: .02em; }

/* Billing toggle - compact pill */
.pln-toggle-wrap { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pln-toggle { display: inline-flex; padding: 5px; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; position: relative; box-shadow: var(--shadow-sm); }

/* Currency toggle (USD / EUR) — aparece só quando moeda ≠ BRL */
.pln-cur-toggle { display: inline-flex; padding: 5px; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm); gap: 2px; }
.pln-cur-btn { padding: 10px 16px; font-size: 14px; font-weight: 700; color: var(--text-muted); border-radius: 999px; line-height: 1; transition: background .2s, color .15s; letter-spacing: .04em; }
.pln-cur-btn:hover { color: var(--text); }
.pln-cur-btn.is-active { background: var(--green); color: #fff; box-shadow: 0 2px 8px rgba(23,141,114,.25); }
.pln-toggle-btn { position: relative; z-index: 2; padding: 10px 24px; font-size: 15px; font-weight: 700; color: var(--text); border-radius: 999px; transition: color .25s; display: inline-flex; align-items: center; gap: 8px; line-height: 1; white-space: nowrap; }
.pln-toggle-btn.is-active { color: #fff; }
.pln-toggle-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; background: var(--green); border-radius: 999px; transition: transform .35s cubic-bezier(.4,0,.2,1), width .25s; z-index: 1; box-shadow: 0 2px 8px rgba(23,141,114,.25); }
/* Save badge - only visible on the active (annual) state */
.pln-toggle-save { display: inline-flex; align-items: center; padding: 3px 9px; font-size: 14px; font-weight: 800; background: #ef4444; color: #fff; border-radius: 99px; letter-spacing: .02em; line-height: 1; white-space: nowrap; box-shadow: 0 2px 8px rgba(239,68,68,.35); transition: background .25s, color .25s; }
.pln-toggle-btn:not(.is-active) .pln-toggle-save { background: #ef4444; color: #fff; }

/* Widget cards strip - faithful mini-cards */
.pln-cards-strip { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; padding: 4px 0; }
.pln-cards-strip--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.pln-mini-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 16px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; transition: border-color .15s, transform .15s, box-shadow .15s; min-height: 100%; }
.pln-mini-card:hover { border-color: var(--green-mid); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,30,27,.05); }
.pln-mini-card-icon { width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: 0 0 44px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; background: var(--green-light); color: var(--green); border-radius: 12px; }
.pln-mini-card-icon > svg { width: 22px; height: 22px; display: block; flex-shrink: 0; stroke-width: 2; }
.pln-mini-card-title { font-size: 14.5px; font-weight: 700; color: var(--text); letter-spacing: -.005em; line-height: 1.25; }
.pln-mini-card-sub { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; margin-top: -4px; }

.pln-installments { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: #fff; padding: 7px 16px; background: var(--text); border-radius: 99px; margin-top: 18px; box-shadow: 0 4px 14px rgba(15,30,27,.18); transition: opacity .25s; }
.pln-installments svg { color: #4ed9b6; flex-shrink: 0; }
.pln-installments strong { color: #fff; font-weight: 700; }
.pln-installments::before { content: ""; position: absolute; top: -7px; left: calc(50% + 56px); transform: translateX(-50%); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid var(--text); }
.pln-installments.is-hidden { display: none; }

/* --- PLAN CARDS --- */
.pln-cards { padding: 24px 0 96px; background: var(--bg-soft); position: relative; z-index: 2; }
.pln-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pln-card { background: #fff; border: 1.5px solid var(--border); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pln-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-light); }
.pln-card--featured { border: 2px solid var(--green); box-shadow: 0 14px 40px rgba(23,141,114,.18); }
.pln-card-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 11px; font-weight: 800; padding: 6px 16px; border-radius: 99px; letter-spacing: .08em; white-space: nowrap; }
.pln-card-name { font-size: 18px; font-weight: 700; color: var(--text-muted); letter-spacing: .02em; text-transform: uppercase; }
.pln-card-price-block { margin: 16px 0 6px; min-height: 86px; }
.pln-card-price-monthly,
.pln-card-price-annual { display: none; }
.pln-card-price-monthly.is-on,
.pln-card-price-annual.is-on { display: block; }
.pln-card-price-old { font-size: 18px; color: var(--text-muted); text-decoration: line-through; opacity: .7; display: inline-block; margin-right: 10px; vertical-align: middle; }
.pln-card-price-discount { display: inline-flex; align-items: center; padding: 5px 11px; font-size: 14px; font-weight: 900; background: var(--green); color: #fff; border-radius: 99px; letter-spacing: .02em; vertical-align: middle; }
.pln-card-price-main { font-size: 44px; font-weight: 800; color: var(--text); letter-spacing: -.02em; line-height: 1.05; margin-top: 6px; }
.pln-card-price-main .currency { font-size: 22px; font-weight: 700; color: var(--text-muted); margin-right: 4px; vertical-align: top; line-height: 1.2; }
.pln-card-price-main .per { font-size: 17px; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.pln-card-price-sub { font-size: 15px; color: var(--text-muted); margin-top: 4px; }
.pln-card-cta { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; background: #22b455; color: #fff; font-size: 17px; font-weight: 700; border-radius: 12px; transition: background .15s; margin-top: 12px; }
.pln-card-cta:hover { background: #1a9a47; }
.pln-card--featured .pln-card-cta { background: #22b455; }
.pln-card--featured .pln-card-cta:hover { background: #1a9a47; }
.pln-card-features { list-style: none; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1px; flex: 1; }
.pln-card-features li { display: flex; align-items: center; gap: 1px; font-size: 16px; color: var(--text); line-height: 1.45; }
.pln-card-features li > .card-check,
.pln-card-features li > .card-x { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; }
.pln-card-features li > .card-check { color: var(--green); }
.pln-card-features li > .card-x { color: #98a3a0; }
.pln-card-features li > .card-check svg { width: 34px; height: 34px; display: block; }
/* X tem círculo maior dentro do viewBox - reduz só o svg pra ficar visualmente igual ao check */
.pln-card-features li > .card-x svg { width: 30px; height: 30px; display: block; }
.pln-card-features li.dim { color: var(--text-muted); }
.pln-flag-br { width: 18px; height: 13px; margin-left: 5px; border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* --- COMPARADOR --- */
.pln-compare { padding: 80px 0 100px; background: var(--bg); }
.pln-compare-head { text-align: center; margin-bottom: 56px; }
.pln-compare-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin-bottom: 10px; }
.pln-compare-head p { font-size: 17px; color: var(--text-muted); }

.pln-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #eef9f5; border: 1.5px solid var(--green-mid); border-radius: 18px; }
.pln-table-wrap { position: relative; }
.pln-table thead { position: sticky; top: 70px; z-index: 50; }
.pln-table thead th { background: #fff; padding: 22px 18px 20px; vertical-align: top; border-bottom: 1.5px solid var(--border); box-shadow: 0 6px 18px rgba(15,30,27,.06); }
.pln-table thead th:first-child { width: 32%; text-align: left; padding-left: 28px; vertical-align: middle; }
.pln-table thead th:not(:first-child) { width: 22.66%; text-align: center; border-left: 1px solid var(--border); }
.pln-th-label { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; }
.pln-th-label span.accent { color: var(--green); }
.pln-th-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.pln-th-name { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 4px; letter-spacing: -.005em; }
.pln-th-price { font-size: 28px; font-weight: 800; color: var(--green); letter-spacing: -.015em; display: none; line-height: 1.1; }
.pln-th-price.is-on { display: block; }
.pln-th-price .per { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-left: 2px; }
.pln-th-price .curr { font-size: 14px; color: var(--text-muted); font-weight: 600; margin-right: 2px; vertical-align: top; line-height: 1.4; }
.pln-th-period { font-size: 13.5px; color: var(--text-muted); margin-top: 2px; margin-bottom: 10px; display: none; }
.pln-th-period.is-on { display: block; }
.pln-th-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 22px; background: #22b455; color: #fff; font-size: 17px; font-weight: 700; border-radius: 8px; transition: background .15s, transform .15s; }
.pln-th-cta:hover { background: #1a9a47; transform: translateY(-1px); }

/* Section row - card-like banner */
.pln-table tbody tr.section-row td { background: #eef9f5; padding: 16px 28px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pln-table tbody tr.section-row .pln-section-cell { display: flex; align-items: center; gap: 12px; }
.pln-section-icon { width: 32px; height: 32px; border-radius: 9px; background: #fff; border: 1.5px solid var(--green-mid); display: inline-flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; }
.pln-section-icon svg { width: 16px; height: 16px; stroke-width: 2.2; }
.pln-section-title { font-size: 15.5px; font-weight: 800; color: var(--text); letter-spacing: -.005em; }
.pln-section-tag { display: inline-flex; align-items: center; padding: 3px 9px; font-size: 11px; font-weight: 700; background: var(--green); color: #fff; border-radius: 99px; letter-spacing: .02em; }
.pln-section-tag--soft { background: var(--green-light); color: var(--green-dark); }

.pln-table tbody tr.feat-row td { padding: 16px 18px; vertical-align: middle; border-bottom: 1px solid var(--border); font-size: 14.5px; color: var(--text); background: #fff; }
.pln-table tbody tr.feat-row td:first-child { padding-left: 28px; text-align: left; line-height: 1.45; font-weight: 500; }
.pln-table tbody tr.feat-row td:not(:first-child) { text-align: center; border-left: 1px solid var(--border); color: var(--text); font-weight: 500; }
.pln-table tbody tr.feat-row:last-child td { border-bottom: none; }
.pln-table tbody tr.feat-row:hover td { background: #fafdfb; }

/* Check & X - filled circles */
.pln-check { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; }
.pln-check svg { width: 13px; height: 13px; stroke-width: 3.2; }
.pln-dash { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #e8edeb; color: #98a3a0; }
.pln-dash svg { width: 12px; height: 12px; stroke-width: 3; }
.pln-val-strong { display: inline-block; font-weight: 800; color: var(--green-dark); font-size: 14px; letter-spacing: .03em; padding: 4px 10px; background: var(--green-light); border-radius: 6px; }
.pln-val-sub { display: block; font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 5px; letter-spacing: 0; }

/* --- FAQ --- */
.pln-faq { padding: 80px 0; background: var(--bg-soft); }
.pln-faq-head { text-align: center; margin-bottom: 48px; }
.pln-faq-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.pln-faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.pln-faq-item { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pln-faq-item:hover { border-color: var(--green-mid); }
.pln-faq-item.is-open { border-color: var(--green); box-shadow: var(--shadow-sm); }
.pln-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; font-size: 16.5px; font-weight: 700; color: var(--text); list-style: none; transition: color .15s; }
.pln-faq-q::-webkit-details-marker { display: none; }
.pln-faq-item.is-open .pln-faq-q { color: var(--green-dark); }
.pln-faq-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s; }
.pln-faq-icon svg { width: 16px; height: 16px; color: var(--green); }
.pln-faq-item.is-open .pln-faq-icon { background: var(--green); transform: rotate(45deg); }
.pln-faq-item.is-open .pln-faq-icon svg { color: #fff; }
.pln-faq-a { padding: 0 26px 22px; font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* --- CTA --- */
.pln-cta { padding: 90px 0; background: var(--bg); }
.pln-cta-card { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); border-radius: 28px; padding: 64px 56px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.pln-cta-card::before { content: ''; position: absolute; top: -100px; right: -100px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 60%); pointer-events: none; }
.pln-cta-card::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 60%); pointer-events: none; }
.pln-cta-card h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 12px; position: relative; }
.pln-cta-card p { font-size: 17px; opacity: .9; max-width: 520px; line-height: 1.6; position: relative; }
.pln-cta-actions { display: flex; gap: 12px; position: relative; flex-shrink: 0; }
.pln-cta-actions .btn--white { background: #fff; color: var(--green); padding: 16px 28px; font-size: 17px; border-radius: 12px; font-weight: 700; }
.pln-cta-actions .btn--white:hover { background: rgba(255,255,255,.92); transform: translateY(-1px); }
.pln-cta-actions .btn--ghost { padding: 16px 24px; font-size: 17px; border-radius: 12px; }

/* PLANOS - Responsive */
@media (max-width: 980px) {
  .pln-cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pln-cta-card { grid-template-columns: 1fr; padding: 48px 32px; }
  .pln-table thead th:first-child { padding-left: 18px; }
  .pln-table tbody tr.section-row td { padding: 12px 18px; }
  .pln-table tbody tr.feat-row td:first-child { padding-left: 18px; font-size: 13.5px; }
  .pln-th-label { font-size: 26px; white-space: normal; }
  .pln-th-price { font-size: 18px; }
  .pln-th-name { font-size: 14px; }
}

/* Mobile: ajusta .pln-cta-card pra caber em iPhone 13 (390px) */
@media (max-width: 540px) {
  .pln-installments { font-size: 13.5px; }
  .pln-cta-card { padding: 40px 24px; gap: 28px; }
  .pln-cta-card h2 { font-size: 26px; }
  .pln-cta-card p { font-size: 15px; }
  .pln-cta-actions { flex-direction: column; gap: 10px; width: 100%; }
  .pln-cta-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }
}
/* Fix mini-card icon sizing - strict containment */
.pln-table tbody tr.cards-row td { padding: 18px 20px 22px !important; background: #eef9f5; border-bottom: 1px solid var(--border); text-align: left !important; border-left: none !important; }
.pln-table tbody tr.cards-row td + td { display: none !important; }
/* Rounded corners on the table outer cells */
.pln-table thead tr th:first-child { border-top-left-radius: 18px; }
.pln-table thead tr th:last-child { border-top-right-radius: 18px; }
.pln-table thead.is-stuck tr th:first-child { border-top-left-radius: 0; border-bottom-left-radius: 18px; }
.pln-table thead.is-stuck tr th:last-child { border-top-right-radius: 0; border-bottom-right-radius: 18px; }
.pln-table tbody tr:last-child td:first-child { border-bottom-left-radius: 18px; }
.pln-table tbody tr:last-child td:last-child { border-bottom-right-radius: 18px; }

@media (max-width: 760px) {
  .pln-launch { gap: 14px; }
  .pln-launch-num { font-size: 42px; }
  .pln-launch-go { font-size: 46px; }
  .pln-launch-sep, .pln-launch-dots { font-size: 34px; }
  .pln-launch-sub { font-size: 12.5px; }
  .pln-cards-strip--5, .pln-cards-strip--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  /* Mobile compare: stack rows as cards per feature */
  .pln-table, .pln-table tbody, .pln-table tbody tr, .pln-table tbody tr td { display: block; width: 100%; box-sizing: border-box; }
  .pln-table { border: none; background: transparent; }
  .pln-table thead { display: none; }
  .pln-table tbody { display: flex; flex-direction: column; gap: 14px; }
  .pln-table tbody tr.section-row { display: block; margin-top: 8px; }
  .pln-table tbody tr.section-row:first-child { margin-top: 0; }
  .pln-table tbody tr.section-row td { background: transparent !important; border: none !important; padding: 4px 4px 6px !important; }
  .pln-table tbody tr.section-row .pln-section-title { font-size: 17px; }
  .pln-table tbody tr.feat-row { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 6px 16px; }
  .pln-table tbody tr.cards-row { background: transparent !important; border: none !important; padding: 0 !important; }
  .pln-table tbody tr.feat-row td { padding: 14px 0 !important; border: none !important; border-bottom: 1px dashed var(--border) !important; text-align: left !important; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
  .pln-table tbody tr.feat-row td:last-child { border-bottom: none !important; }
  .pln-table tbody tr.feat-row td:first-child { font-weight: 700; color: var(--text); padding: 14px 0 12px !important; border-bottom: 1.5px solid var(--border) !important; }
  .pln-table tbody tr.feat-row td:not(:first-child)::before { content: attr(data-plan); font-size: 13px; font-weight: 600; color: var(--text-muted); }
}
@media (max-width: 480px) {
  .pln-cards-strip--5, .pln-cards-strip--4 { grid-template-columns: 1fr; }
}



