/* APRESENTAÇÃO COMERCIAL — documento em folhas A4 (apresentacao-comercial.php).
   Sóbrio: fundo cinza, folhas brancas, verde da marca só nos detalhes. Sem animação.
   Na impressão / "Salvar em PDF": uma folha por página A4, sem a barra do topo. */

:root {
  --floresta: #0b3b2c;
  --verde: #0c7a54;
  --verde-claro: #e6f4ee;
  --tinta: #14211b;
  --texto: #3b4842;
  --suave: #6b7872;
  --linha: #dfe6e2;
  --fundo: #e9edeb;
  --titulo: "Montserrat", system-ui, sans-serif;
  --fonte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--fonte); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--verde); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titulo); color: var(--tinta); letter-spacing: -.015em; line-height: 1.2; }

/* barra do topo (só na tela) */
.barra { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 10px 24px; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--linha); backdrop-filter: blur(8px); }
.barra__marca img { height: 24px; width: auto; }
.barra__titulo { font-size: .85rem; font-weight: 600; color: var(--suave); padding-left: 16px; border-left: 1px solid var(--linha); }
.barra__acoes { margin-left: auto; display: flex; gap: 8px; }
.barra__btn { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--linha); background: #fff; color: var(--tinta); font: 600 .85rem var(--fonte); text-decoration: none; cursor: pointer; }
.barra__btn:hover { border-color: var(--verde); }
.barra__btn--cheio { background: var(--verde); border-color: var(--verde); color: #fff; }
.barra__btn--cheio:hover { background: var(--floresta); }

/* folhas */
.folhas { display: grid; gap: 28px; justify-content: center; padding: 32px 16px 24px; }
.folha { position: relative; width: min(820px, 100%); min-height: 1160px; aspect-ratio: 210 / 297; display: flex; flex-direction: column; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 12px 32px -18px rgba(0, 0, 0, .25); padding: 52px 64px 40px; }
.folha__topo { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--linha); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); }
.folha__marca img { height: 20px; width: auto; }
.folha__corpo { flex: 1; padding-top: 36px; }
.folha__pe { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--linha); font-size: .72rem; color: var(--suave); }

.folha h2 { font-size: 1.85rem; font-weight: 800; margin-bottom: 14px; }
.folha h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 14px; background: var(--verde); }
.lead { font-size: 1.02rem; color: var(--texto); max-width: 62ch; margin-bottom: 28px; }
.sub { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--verde); margin: 30px 0 12px; }
.pequeno { font-size: .86rem; color: var(--suave); }
.nota { margin-top: 22px; padding: 12px 16px; border-left: 3px solid var(--verde); background: var(--verde-claro); font-size: .9rem; color: var(--tinta); }

.cols { display: grid; gap: 16px; }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--2 { grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
.bloco { padding: 18px; border: 1px solid var(--linha); border-radius: 6px; }
.bloco h3 { font-size: 1rem; margin-bottom: 6px; }
.bloco p { font-size: .9rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 12px; border: 1px solid var(--linha); border-radius: 999px; font-size: .84rem; }

.sumario li { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; font-size: .95rem; color: var(--tinta); }
.sumario li span { font-family: var(--titulo); font-weight: 700; color: var(--verde); min-width: 2ch; }
.sumario li i { flex: 1; border-bottom: 1px dotted #b9c4be; transform: translateY(-4px); }
.sumario li b { font-weight: 600; color: var(--suave); }

/* tabelas */
.tab { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tab th { text-align: left; padding: 10px 14px; background: var(--floresta); color: #fff; font: 600 .78rem var(--fonte); letter-spacing: .06em; text-transform: uppercase; }
.tab td { padding: 13px 14px; border-bottom: 1px solid var(--linha); vertical-align: top; }
.tab td:first-child { width: 46%; color: var(--suave); }
.tab td:last-child { color: var(--tinta); font-weight: 500; }
.tab tbody tr:nth-child(even) td { background: #f7f9f8; }
.tab--planos td { font-size: .86rem; }
.tab--planos td:first-child { width: 16%; color: var(--tinta); }
.tab--planos td:nth-child(2) { width: 32%; color: var(--texto); }
.tab--planos td:last-child { font-weight: 400; color: var(--texto); }
.tab--planos b { font-family: var(--titulo); font-size: 1rem; }
.tab small { display: block; margin-top: 3px; font-size: .78rem; color: var(--suave); }

/* módulos */
.modulos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.modulo { padding: 14px 0; border-top: 1px solid var(--linha); }
.modulo h3 { font-size: .98rem; margin-bottom: 4px; }
.modulo h3::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--verde); transform: translateY(-2px); }
.modulo p { font-size: .88rem; }

/* fluxo e etapas */
.fluxo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fluxo li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--linha); border-radius: 6px; }
.fluxo li > span { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--floresta); color: #fff; font: 700 .85rem var(--titulo); }
.fluxo h3 { font-size: .95rem; margin-bottom: 4px; }
.fluxo p { font-size: .84rem; }
.lista li { position: relative; padding: 6px 0 6px 20px; }
.lista li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 2px; background: var(--verde); }
.lista strong { color: var(--tinta); }
.etapas { counter-reset: e; border-left: 2px solid var(--linha); margin-left: 6px; }
.etapas li { position: relative; padding: 0 0 18px 26px; counter-increment: e; }
.etapas li::before { content: counter(e); position: absolute; left: -14px; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--verde); color: var(--verde); font: 700 .8rem var(--titulo); }
.etapas b { display: block; font-family: var(--titulo); color: var(--tinta); }
.etapas span { font-size: .9rem; }

/* capa */
.folha--capa { padding: 72px 72px 56px; background: linear-gradient(160deg, #0b3b2c 0%, #0c4f39 62%, #0c7a54 100%); color: #fff; }
.folha--capa::after { content: ""; position: absolute; right: 72px; top: 72px; width: 96px; height: 4px; background: #19c48c; }
.capa__marca img { height: 40px; width: auto; }
.capa__corpo { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.capa__rotulo { font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #9fe3c6; }
.folha--capa h1 { margin: 18px 0 22px; font-size: 3.1rem; font-weight: 800; line-height: 1.08; color: #fff; letter-spacing: -.025em; }
.capa__sub { max-width: 44ch; font-size: 1.08rem; color: rgba(255, 255, 255, .8); }
.capa__dados { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.capa__dados dt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.capa__dados dd { font-weight: 600; color: #fff; }

/* contato */
.contato { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; margin-top: 28px; padding: 24px; background: var(--floresta); color: rgba(255, 255, 255, .8); border-radius: 6px; }
.contato h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.contato dl { display: grid; gap: 8px; }
.contato dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; }
.contato dl div:last-child { border: 0; padding: 0; }
.contato dt { color: rgba(255, 255, 255, .6); }
.contato a { color: #fff; font-weight: 600; text-decoration: none; }

.doc__rodape { padding: 8px 16px 40px; text-align: center; font-size: .8rem; color: var(--suave); }

/* telas menores: as folhas viram blocos corridos (sem proporção A4) */
@media (max-width: 760px) {
  .barra { padding: 10px 16px; gap: 10px; }
  .barra__titulo { display: none; }
  .barra__btn { padding: 7px 10px; font-size: .8rem; }
  .folhas { padding: 16px 0; gap: 14px; }
  .folha { aspect-ratio: auto; min-height: 0; padding: 28px 16px 22px; }
  .folha--capa { min-height: 88svh; padding: 36px 20px 28px; }
  .folha--capa::after { right: 20px; top: 44px; width: 56px; }
  .folha--capa h1 { font-size: 2.2rem; }
  .capa__dados { grid-template-columns: 1fr; gap: 10px; }
  .folha__topo span:last-child { max-width: 55%; text-align: right; }
  .folha__corpo { padding-top: 24px; }
  .folha h2 { font-size: 1.5rem; }
  .cols--3, .cols--2, .modulos, .fluxo, .contato { grid-template-columns: 1fr; }
  .modulos { gap: 0; }
  .tab, .tab thead, .tab tbody, .tab tr, .tab td { display: block; width: auto !important; }
  .tab thead { display: none; }
  .tab tr { padding: 10px 0; border-bottom: 1px solid var(--linha); }
  .tab td { padding: 2px 0; border: 0; background: none !important; }
  .tab td:first-child { font-size: .84rem; }
}

/* impressão / Salvar em PDF: uma folha por página A4 */
@page { size: A4; margin: 0; }
@media print {
  body { background: #fff; font-size: 13.5px; }
  .barra, .doc__rodape, #cookie-banner, [data-cookies], .cookies { display: none !important; }
  .folhas { display: block; padding: 0; }
  .folha { width: 210mm; height: 297mm; min-height: 0; aspect-ratio: auto; box-shadow: none; margin: 0; padding: 16mm 18mm 12mm; page-break-after: always; break-after: page; overflow: hidden; }
  .folha:last-child { page-break-after: auto; break-after: auto; }
  .folha--capa, .tab th, .fluxo li > span, .contato, .nota, .tab tbody tr:nth-child(even) td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { text-decoration: none; }
}
.tab--planos td:first-child small { white-space: nowrap; }
.tab small.tab__base { margin: 0 0 3px; font-weight: 600; color: var(--verde); }
.so-p { display: none; }
@media (max-width: 760px) { .so-g { display: none; } .so-p { display: inline; } }
