/* ==========================================================================
   Página de planos (Home/Planos) — redesign alinhado ao consumer.com.br.
   Tudo fica sob .planos-v2 e com prefixo pv2- para não colidir com o
   Bootstrap 3 e o tema Unicore (que já definem .nav, .badge, .lead, .intro...).
   ========================================================================== */

.planos-v2 {
    --red: #F42717;
    --red-strong: #D91B1B;
    --red-soft: #FDECEA;
    --ink: #1C1716;
    --ink-2: #3B3432;
    --muted: #6E6563;
    --line: #E8E2E0;
    --surface: #FAF7F6;
    --card: #FFFFFF;
    --ok: #1F8A4C;
    --info: #1E6FD9;
    --info-strong: #1557B0;
    --shadow: 0 1px 2px rgba(28,23,22,.04), 0 8px 24px rgba(28,23,22,.06);
    --display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --body: "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #fff;
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: normal;
    -webkit-font-smoothing: antialiased;
}

/* O wrapper .body do layout usa overflow:hidden, o que impede o header sticky. */
.body { overflow: visible; overflow-x: clip; }

/* ── Neutraliza estilos globais do tema (p, a, h1-h3, footer) ── */
.planos-v2 *, .planos-v2 *::before, .planos-v2 *::after { box-sizing: border-box; }
.planos-v2 p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; letter-spacing: normal; font-family: inherit; }
.planos-v2 a, .planos-v2 a:hover, .planos-v2 a:focus, .planos-v2 a:active { color: inherit; }
.planos-v2 h1, .planos-v2 h2, .planos-v2 h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
.planos-v2 :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.pv2-wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.pv2-nw { white-space: nowrap; }

/* ── Header ── */
.pv2-top { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pv2-top .pv2-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.pv2-logo img { height: 26px; width: auto; display: block; }
.pv2-client { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid var(--line); padding: 9px 16px; border-radius: 8px; background: var(--card); font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.planos-v2 .pv2-client { color: var(--ink-2); }
.planos-v2 .pv2-client:hover { color: var(--red); border-color: var(--ink-2); text-decoration: none; }

/* ── Hero ── */
.pv2-hero { padding-block: 72px 40px; text-align: center; }
.pv2-eyebrow { display: inline-block; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.planos-v2 .pv2-hero h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; line-height: 1.1; margin-inline: auto; }
.pv2-hero h1 em { font-style: normal; color: var(--red); }
@media (min-width: 760px) { .pv2-hero h1 .pv2-ln { display: block; } }
.planos-v2 .pv2-lead { margin: 22px auto 0; max-width: 72ch; color: var(--muted); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; }
.pv2-lead b { color: var(--ink-2); font-weight: 600; }

/* ── Cards de planos ── */
.pv2-plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); margin-top: 8px; }
.pv2-plan { padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 24px; position: relative; }
.pv2-plan + .pv2-plan { border-left: 1px solid var(--line); }
.pv2-plan.pv2-plan--featured { background: var(--card); border: 2px solid var(--red); border-radius: 20px; margin: -14px -1px; padding-top: 46px; padding-bottom: 50px; box-shadow: 0 18px 44px rgba(244,39,23,.18), 0 2px 6px rgba(28,23,22,.06); z-index: 1; }
.pv2-plan--featured + .pv2-plan { border-left: none; }

.pv2-badge { position: absolute; top: 16px; right: 20px; display: inline-flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--red); color: #fff; }

.pv2-plan-head { display: flex; flex-direction: column; gap: 6px; }
.pv2-plan-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 1px solid var(--line); margin-bottom: 10px; }
.pv2-plan-icon svg { width: 24px; height: 24px; }
.pv2-plan--featured .pv2-plan-icon { background: var(--red-soft); border-color: transparent; color: var(--red-strong); }
.planos-v2 .pv2-plan h3 { font-size: 22px; font-weight: 700; }
.planos-v2 .pv2-for { color: var(--muted); font-size: 15px; }

.pv2-price { display: flex; align-items: flex-start; gap: 4px; font-family: var(--display); line-height: 1; color: var(--ink); }
.pv2-price-cur { font-size: 18px; font-weight: 700; margin-top: 8px; }
.pv2-price-int { font-size: 60px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pv2-price-dec { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.pv2-price-dec b { font-size: 20px; font-weight: 700; }
.pv2-price-dec span { font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 500; }

/* ── Botões ── */
.pv2-cta { display: flex; justify-content: center; align-items: center; height: 50px; border-radius: 10px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.pv2-cta:hover, .pv2-cta:focus { text-decoration: none; }
.pv2-cta:active { transform: translateY(1px); }
.planos-v2 .pv2-cta--dark { background: var(--ink); color: #fff; border: 1.5px solid var(--ink); }
.planos-v2 .pv2-cta--dark:hover, .planos-v2 .pv2-cta--dark:focus { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.planos-v2 .pv2-cta--outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.planos-v2 .pv2-cta--outline:hover, .planos-v2 .pv2-cta--outline:focus { background: var(--ink); color: #fff; }

/* ── Lista de recursos ── */
.planos-v2 .pv2-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.planos-v2 .pv2-features li { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 0; list-style: none; }
.planos-v2 .pv2-features .pv2-inherit { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--ink-2); padding-bottom: 4px; }
.pv2-features li > svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
.pv2-features li > span { min-width: 0; }
.pv2-features small { color: var(--muted); font-size: 13.5px; }
.pv2-info { display: inline-flex; vertical-align: -3px; margin-left: 4px; width: 18px; height: 18px; border: none; padding: 0; background: none; color: var(--info); cursor: pointer; border-radius: 50%; line-height: 1; }
.pv2-info svg { width: 18px; height: 18px; }
.pv2-info:hover { color: var(--info-strong); }

.planos-v2 .pv2-perk { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pv2-perk b { color: var(--ink); font-weight: 600; }
.planos-v2 .pv2-perk a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.planos-v2 .pv2-perk a:hover { color: var(--red); text-decoration-color: currentColor; }

/* Variante com 2 planos (Home/Index) */
.pv2-plans.pv2-plans--2 { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; }
.pv2-price .pv2-info { align-self: flex-end; margin: 0 0 2px 6px; }

/* ── Seletor mensal / anual (abas do Bootstrap) ── */
.planos-v2 .pv2-billing { display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 5px; list-style: none; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.planos-v2 .pv2-billing li { margin: 0; padding: 0; list-style: none; }
.planos-v2 .pv2-billing a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.planos-v2 .pv2-billing a:hover { color: var(--ink); }
.planos-v2 .pv2-billing li.active a { background: var(--ink); color: #fff; }
.pv2-billing-pill { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 99px; background: var(--red-soft); color: var(--red-strong); }
.pv2-billing li.active .pv2-billing-pill { background: var(--red); color: #fff; }

/* O tema aplica padding genérico em .tab-content/.tab-pane. */
.planos-v2 .tab-content, .planos-v2 .tab-content > .tab-pane { padding: 0; }

@media (max-width: 480px) {
    .pv2-top .pv2-wrap { gap: 12px; }
    .pv2-logo img { height: 22px; }
    .planos-v2 .pv2-client { padding: 8px 10px; gap: 6px; font-size: 12px; letter-spacing: .02em; }
    .planos-v2 .pv2-billing a { height: 40px; padding: 0 12px; gap: 6px; font-size: 13px; }
    .pv2-billing-pill { font-size: 10px; padding: 3px 6px; }
}

.planos-v2 .pv2-free { margin-top: 28px; text-align: center; font-size: 15px; color: var(--muted); }
.planos-v2 .pv2-free a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.planos-v2 .pv2-free a:hover { color: var(--red); text-decoration-color: currentColor; }

@media (max-width: 900px) {
    .pv2-plans.pv2-plans--2 { grid-template-columns: 1fr; }
    .pv2-plans { grid-template-columns: 1fr; border: none; box-shadow: none; background: transparent; gap: 16px; }
    .pv2-plan, .pv2-plan + .pv2-plan { border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
    .pv2-plan.pv2-plan--featured { margin: 0; padding-top: 32px; padding-bottom: 36px; border: 2px solid var(--red); }
}

/* ── Monte um plano do seu jeito ── */
.pv2-custom { margin-top: 48px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.planos-v2 .pv2-custom h3 { font-size: 20px; font-weight: 700; }
.planos-v2 .pv2-custom p { color: var(--muted); margin-top: 4px; }
.pv2-custom .pv2-cta { padding-inline: 28px; }
@media (max-width: 640px) { .pv2-custom { grid-template-columns: 1fr; padding: 24px; } }

/* ── Selos ── */
.pv2-seals { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 20px 44px; flex-wrap: wrap; padding: 20px 40px; }
.pv2-seals img { width: auto; max-width: 100%; display: block; }
@media (max-width: 900px) { .pv2-seals { padding: 16px; } .pv2-seals img { transform: scale(.85); } }

/* ── Dúvidas frequentes ── */
.pv2-block { padding-top: 88px; }
.pv2-faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.pv2-block-head { display: flex; flex-direction: column; gap: 10px; }
.planos-v2 .pv2-block-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.planos-v2 .pv2-block-head p { color: var(--muted); max-width: 60ch; }
.pv2-faq details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.pv2-faq details:first-child { border-top: 1px solid var(--line); }
.pv2-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--ink); }
.pv2-faq summary::-webkit-details-marker { display: none; }
.pv2-faq summary::after { content: "+"; flex: none; font-weight: 500; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.pv2-faq details[open] summary::after { transform: rotate(45deg); }
.planos-v2 .pv2-faq details p { margin-top: 12px; color: var(--muted); max-width: 62ch; font-size: 16.5px; }
@media (max-width: 820px) { .pv2-faq { grid-template-columns: 1fr; gap: 24px; } }

/* ── Atendimento e suporte ── */
.pv2-support { margin-top: 72px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 56px; align-items: start; }
.planos-v2 .pv2-support h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.planos-v2 .pv2-support-intro p { color: var(--muted); margin-top: 12px; max-width: 44ch; }
.pv2-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pv2-channel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.pv2-channel svg { width: 22px; height: 22px; color: var(--red); margin-bottom: 6px; }
.pv2-channel b { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--ink); }
.pv2-channel span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.pv2-guarantee { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); }
.pv2-guarantee-seal { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1; text-align: center; }
.pv2-guarantee-seal small { display: block; font-size: 10px; letter-spacing: .08em; font-weight: 700; margin-top: 2px; }
.pv2-guarantee b { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--ink); }
.planos-v2 .pv2-guarantee p { color: var(--muted); font-size: 15px; }
.planos-v2 .pv2-guarantee a { color: var(--red); font-weight: 600; }
.planos-v2 .pv2-guarantee a:hover { color: var(--red-strong); }
@media (max-width: 820px) { .pv2-support { grid-template-columns: 1fr; padding: 28px 22px; } }
@media (max-width: 480px) { .pv2-channels { grid-template-columns: 1fr; } }

/* ── Rodapé ── */
.planos-v2 .pv2-footer { margin-top: 96px; padding: 0; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pv2-foot-main { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 48px 36px; text-align: center; }
.pv2-foot-main img { height: 28px; width: auto; display: block; }
.pv2-social { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.planos-v2 .pv2-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); transition: color .15s, border-color .15s; }
.planos-v2 .pv2-social a:hover { color: var(--red); border-color: var(--red); }
.pv2-social svg { width: 18px; height: 18px; }
.planos-v2 .pv2-renew a { color: var(--red); font-weight: 600; text-decoration: none; }
.planos-v2 .pv2-renew a:hover { color: var(--red-strong); text-decoration: underline; }
.planos-v2 .pv2-renew .pv2-renew-help { color: var(--muted); margin-left: 4px; }
.pv2-copy { border-top: 1px solid var(--line); padding: 18px 24px; text-align: center; font-family: var(--display); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) { .planos-v2 * { transition: none !important; } }
