/* Estratégia: resumo em palavras simples no alto, partes do estudo como abas secundárias, "pedir o estudo" como herói. */
.study-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr); gap: 28px; align-items: center; padding: 28px 30px; border-color: var(--orange-line); background: linear-gradient(135deg, #fff 0%, var(--orange-soft) 100%); }
.study-hero-main h3 { font-size: 24px; letter-spacing: -.03em; margin: 6px 0 8px; max-width: 560px; }
.study-hero-main > p { margin: 0 0 14px; max-width: 560px; }
.study-hero-warn { display: flex; gap: 8px; align-items: center; margin: 0 0 14px !important; padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); border: 1px solid var(--warn-line); font-size: 13.5px; }
.study-hero-warn .icon { color: var(--warn); flex: none; }
.study-hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.study-hero-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.study-hero-steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.study-hero-steps .step-n { width: 26px; height: 26px; font-size: 12.5px; background: var(--surface); }
.btn-lg { padding: 13px 22px; font-size: 15.5px; border-radius: 999px; }

.study-overview { padding: 22px 26px; border-left: 4px solid var(--orange); margin-bottom: 16px; }
.study-overview .kicker { margin-bottom: 8px; }
.study-overview .kicker .icon { color: var(--orange); }
.study-overview-promise { font: 700 21px/1.35 var(--font-display); letter-spacing: -.02em; margin: 0 0 8px; max-width: 900px; }
.study-overview-text { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 900px; }
.study-fake { margin: -6px 0 10px; display: flex; align-items: center; gap: 5px; }

.study-tabs { margin-bottom: 18px; flex-wrap: wrap; }
.study-tabs .pipeline-step { display: inline-flex; align-items: center; gap: 7px; }
.pipeline-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); flex: none; }
.pipeline-step.is-done .pipeline-dot { background: var(--ok); }
.pipeline-step.is-running .pipeline-dot, .pipeline-step.is-queued .pipeline-dot { background: var(--warn); animation: pulse 1s ease-in-out infinite alternate; }
.pipeline-step.is-failed .pipeline-dot { background: var(--err); }

.study { display: flex; flex-direction: column; gap: 16px; }
.study-intro { margin: -6px 0 14px; max-width: 720px; }
.study-empty { padding: 48px 20px; }
.study-summary { background: var(--surface); border-left: 4px solid var(--orange); }
.study-summary-text { font-size: 18px; line-height: 1.5; letter-spacing: -.01em; margin: 4px 0 10px; }
.study-summary-more { margin: 0; color: var(--ink-2); }
.study-list { list-style: none; counter-reset: s; margin: 4px 0 0; padding: 0; }
.study-list li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.study-list li:first-child { border-top: 0; padding-top: 2px; }
.study-list li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-top: 1px; }
.study-list strong { display: block; font-size: 14.5px; grid-column: 2; }
.study-list p { grid-column: 2; margin: 2px 0 0; color: var(--ink-2); font-size: 13.5px; }
.study-list li::before { grid-row: span 2; }

.swot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.swot-q { border-radius: var(--radius); padding: 14px 16px; background: var(--surface-3); border: 1px solid var(--line); }
.swot-q h4 { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 14px; }
.swot-s h4 { color: var(--ok); } .swot-w h4 { color: var(--err); } .swot-o h4 { color: var(--ink); } .swot-t h4 { color: var(--warn); }
.swot-s h4 .icon { color: var(--ok); } .swot-w h4 .icon { color: var(--err); } .swot-o h4 .icon { color: var(--orange); } .swot-t h4 .icon { color: var(--warn); }
.swot-q .bullets { font-size: 13.5px; }

.competitors { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 6px; }
.competitor { background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.competitor h4 { margin-bottom: 2px; }
.competitor > p { font-size: 13.5px; margin-bottom: 8px; }
.competitor-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.competitor-cols .bullets { font-size: 13px; padding-left: 16px; }
.competitor-cols .label-sm { margin-top: 0; }
.study-sources { padding: 0 20px; }
.study-sources summary, .study-regen summary { display: flex; align-items: center; gap: 8px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; }
.study-sources summary::-webkit-details-marker, .study-regen summary::-webkit-details-marker { display: none; }
.study-sources summary .icon, .study-regen summary .icon { color: var(--orange); }
.study-sources summary small, .study-regen summary small { margin-left: auto; font-weight: 500; }
.study-sources .bullets { padding-bottom: 14px; }

/* posicionamento */
.pos-hero { background: var(--ink); border-color: var(--ink); color: #f4f1ea; padding: 26px 28px; }
.pos-hero .kicker { color: #a9acb7; }
.pos-hero .label-sm { color: #8d909a; margin-top: 16px; }
.pos-value { font: 700 22px/1.3 var(--font-display); letter-spacing: -.02em; margin: 0; max-width: 860px; color: #fff; }
.pos-statement p { margin: 0; padding: 12px 16px; border-left: 3px solid var(--orange); background: rgba(255,255,255,.06); border-radius: 0 10px 10px 0; font-size: 15px; line-height: 1.55; }
.pos-tagline { background: transparent; color: #fff; border-color: #3d404b; font-weight: 500; height: auto; padding: 5px 12px; white-space: normal; }
.pos-segments { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.pos-segment { padding: 12px 14px; background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--radius); }
.pos-segment p { margin: 4px 0 0; }
.pos-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pos-checks li { display: flex; gap: 10px; align-items: flex-start; }
.pos-checks .icon { color: var(--ok); margin-top: 3px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 6px; }
.pillar { background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.pillar-n { width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.pillar h4, .pillar p { margin: 0; }
.pillar .quotes { margin-top: 6px; }
.pos-do, .pos-dont { border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--line); background: var(--surface-3); }
.pos-do h4, .pos-dont h4 { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 14px; }
.pos-do h4 { color: var(--ok); } .pos-dont h4 { color: var(--err); }

/* dicas */
.tips-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.tip { display: flex; flex-direction: column; gap: 6px; }
.tip-head { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.tip h3 { font-size: 16px; margin: 0; }
.tip > p { margin: 0; color: var(--ink-2); font-size: 14px; }
.tip-impact { font-size: 13px; color: var(--ink-2); padding: 8px 12px; background: var(--surface-3); border-radius: 10px; }
.tip .btn { align-self: flex-start; margin-top: 6px; }

/* sugestões de campanha (na estratégia e em Campanhas) */
.suggestions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 12px; }
.suggestion { display: flex; flex-direction: column; gap: 6px; }
.suggestion-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.suggestion h3 { font-size: 17px; margin: 0; }
.suggestion > p { margin: 0; font-size: 14px; }
.suggestion-objective { display: flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ink); }
.suggestion-objective .icon { color: var(--orange); }
.suggestion-more summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 6px 0; }
.suggestion-more summary::-webkit-details-marker { display: none; }
.suggestion-more summary .icon { transition: transform .15s; }
.suggestion-more[open] summary .icon { transform: rotate(180deg); }
.suggestion-more .label-sm { margin-top: 8px; }
.suggestion-more .bullets, .suggestion-more .quotes { font-size: 13.5px; }
.suggestion-foot { margin-top: auto; padding-top: 10px; }

/* rodapé: refazer com instruções + versões; exemplo na página inicial */
.study-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.study-regen { padding: 0 20px; }
.study-regen summary small { margin-left: 0; }
.regen { display: flex; gap: 8px; padding-bottom: 14px; }
.regen .input { flex: 1; }
.study-versions { display: flex; align-items: center; gap: 10px; padding: 0 0 14px; }
.showcase-consent { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.showcase-consent.is-on { border-color: var(--ok-line); }
.showcase-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--surface-2); color: var(--muted); display: grid; place-items: center; flex: none; }
.showcase-consent.is-on .showcase-ic { background: var(--ok-soft); color: var(--ok); }
.showcase-text { flex: 1; min-width: 0; }
.showcase-text strong { font-size: 14px; }
.showcase-text p { margin: 2px 0 0; }
.showcase-consent form { flex: none; }

@media (max-width: 960px) {
    .study-hero { grid-template-columns: 1fr; padding: 22px; }
    .study-hero-steps { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }
    .swot, .competitor-cols { grid-template-columns: 1fr; }
    .pos-hero { padding: 20px; }
    .regen { flex-direction: column; }
    .showcase-consent { flex-wrap: wrap; }
}
