/* /planos — página própria, por cima de caderno.css.
   Classes novas usam o prefixo pg- para não brigar com .preco, .tab, .duvidas e .fecho da home. */
body.pagina-planos {
  overflow-x: clip;
}
body.pagina-planos h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--navy);
}
body.pagina-planos .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
}
body.pagina-planos .btn-sm {
  min-height: 44px;
}
body.pagina-planos .logo {
  min-height: 44px;
}
body.pagina-planos .nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
body.pagina-planos .nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--sage);
}
body.pagina-planos .top-cta .link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
body.pagina-planos .rod a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
}
body.pagina-planos .pg-obra :focus-visible {
  outline-color: var(--cream);
}

.pg-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.pg-pular {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 50;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}
.pg-pular:focus { top: 12px; color: var(--cream); }

.pg-kicker, .pg-eye {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage-d);
  font-weight: 600;
  margin: 0;
}
.pg-lead { font-size: 18px; color: var(--mute); max-width: 62ch; }
.pg-nota { font-size: 14px; color: var(--mute); }
.pg-sec { display: grid; gap: 8px; margin-bottom: 28px; }
.pg-sec h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0; }

.pg-abre {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 28px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.pg-abre h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1; margin: 0; }
.pg-ciclo {
  margin: 14px 0 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}
.pg-ciclo legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.pg-ciclo label { position: relative; cursor: pointer; }
.pg-ciclo input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pg-ciclo span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 15px;
  color: var(--ink);
}
.pg-ciclo b { font-weight: 600; color: var(--sage-d); font-size: 13px; }
.pg-ciclo input:checked + span { background: var(--navy); color: var(--cream); }
.pg-ciclo input:checked + span b { color: #C9D0C1; }
.pg-ciclo input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.pg-grade-wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 56px;
  outline: none;
}
.pg-grade { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pg-grade { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .pg-grade { grid-template-columns: repeat(4, 1fr); } }

.pg-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pg-card h3 { font-size: 32px; line-height: 1; margin: 0; }
@media (min-width: 1120px) { .pg-card h3 { font-size: clamp(26px, 2.3vw, 32px); } }
.pg-desc { color: var(--mute); font-size: 15px; }
@media (min-width: 1120px) { .pg-card .pg-desc { min-height: 4.7em; } }
.pg-destaque { border: 2px solid var(--navy); padding: 25px 21px 23px; }
.pg-tag {
  position: absolute;
  top: -13px;
  left: 20px;
  background: var(--navy);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: none;
}
.pg-preco {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 2px;
  color: var(--navy);
  margin-top: 6px;
  white-space: normal;
  font: inherit;
}
.pg-preco .rs { font-size: 18px; font-weight: 500; margin-right: 4px; }
.pg-preco .v {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: .95;
  font-variant-numeric: lining-nums;
}
.pg-preco .c { font-size: 18px; font-weight: 500; }
.pg-preco .mes { font-size: 14px; color: var(--mute); margin-left: 8px; font-family: var(--sans); font-weight: 400; }
.pg-preco .pre { width: 100%; font-size: 13px; color: inherit; opacity: .85; font-family: var(--sans); font-weight: 400; }
.pg-preco-sob { font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1.05; }
.pg-periodo { font-size: 14px; color: var(--mute); min-height: 2.9em; }
.pg-tam { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.pg-tam select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 0 40px 0 12px;
  border: 1px solid #9C9789;
  border-radius: 4px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1F3A' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center;
  font: 500 15px var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.pg-bloco { display: flex; width: 100%; }
.pg-lim-t { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.pg-lim {
  list-style: none;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
  font-size: 15px;
}
.pg-lim li { position: relative; padding-left: 24px; }
.pg-lim li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--sage-d);
  border-bottom: 2px solid var(--sage-d);
  transform: rotate(-45deg);
}
.pg-lim strong { font-weight: 600; color: var(--navy); }
.pg-mais { margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--mute); }
.pg-mais a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
}
.pg-extra {
  margin: 22px auto 0;
  max-width: 74ch;
  text-align: center;
  font-size: 15px;
  color: var(--mute);
}

.pg-incluso {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.pg-inc { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
@media (min-width: 720px) { .pg-inc { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1120px) { .pg-inc { grid-template-columns: repeat(3, 1fr); } }
.pg-inc div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pg-inc dt { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--navy); line-height: 1.15; }
.pg-inc dd { margin: 6px 0 0; color: var(--mute); font-size: 15px; }
.pg-incluso .pg-nota { margin-top: 16px; }

.pg-compara {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.pg-abas {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.pg-abas button {
  min-height: 48px;
  padding: 0 18px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  font: 500 15px var(--sans);
  color: var(--mute);
  cursor: pointer;
  margin-bottom: -1px;
  border-radius: 4px 4px 0 0;
}
.pg-abas button[aria-selected="true"] {
  color: var(--navy);
  border-bottom-color: var(--navy);
  font-weight: 600;
}
.pg-painel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.pg-painel th, .pg-painel td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.pg-painel thead th {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--navy);
  font-weight: 500;
}
.pg-painel tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.pg-lin-preco td { font-weight: 600; color: var(--navy); font-size: 17px; }
.pg-ok {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--sage-d);
  border-bottom: 2px solid var(--sage-d);
  transform: rotate(-45deg);
  margin-top: 4px;
}
.pg-compara .pg-nota { margin-top: 12px; }

.pg-obra { background: var(--navy); color: var(--cream); padding: 72px 0; }
.pg-obra-in { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
body.pagina-planos .pg-obra h2,
body.pagina-planos .pg-obra h3 { color: var(--cream); }
.pg-obra .pg-kicker, .pg-obra .pg-eye { color: var(--sage); }
.pg-obra-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.pg-obra-head h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0; }
.pg-obra .pg-lead { color: #D9DCD5; }
.pg-obra-grade { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pg-obra-grade { grid-template-columns: 1fr 1fr; } }
.pg-obra-rec { grid-column: 1 / -1; padding: 28px 0 0; margin-top: 8px; border-top: 1px solid rgba(247, 245, 240, .22); }
.pg-oplano {
  border: 1px solid rgba(247, 245, 240, .28);
  border-radius: 4px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pg-oplano h3 { font-size: 36px; line-height: 1; margin: 0; }
.pg-oplano .pg-desc { color: #D9DCD5; font-size: 15px; }
.pg-oplano .pg-preco { color: var(--cream); }
.pg-oplano .pg-preco .mes, .pg-oplano .pg-periodo { color: #C9CEC4; }
.pg-oplano .pg-lim { border-top-color: rgba(247, 245, 240, .22); }
.pg-oplano .pg-lim strong { color: var(--cream); }
.pg-oplano .pg-lim li::before { border-color: var(--sage); }
.pg-oplano .btn { margin-top: auto; }
.pg-rec-t { font-size: 26px; margin: 0 0 16px; }
.pg-rec {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 14px 32px;
  font-size: 15px;
  color: #D9DCD5;
}
@media (min-width: 720px) { .pg-rec { grid-template-columns: 1fr 1fr; } }
.pg-rec strong { color: var(--cream); font-weight: 600; }
.pg-link-claro {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  font-weight: 500;
  text-underline-offset: 4px;
}

.pg-como {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) { .pg-como { grid-template-columns: 1fr 1fr; gap: 56px; } }
.pg-como-foto { margin: 0; }
.pg-como-foto img { border-radius: 4px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.pg-como-foto figcaption { position: static; background: none; color: var(--mute); font-size: 13px; margin-top: 8px; padding: 0; }
.pg-como-txt { display: grid; gap: 14px; }
.pg-como-txt h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0; }
.pg-passos { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 16px; }
.pg-passos li { counter-increment: p; position: relative; padding-left: 48px; color: var(--mute); }
.pg-passos li strong { color: var(--navy); font-weight: 600; }
.pg-passos li::before {
  content: counter(p);
  position: absolute;
  left: 0;
  top: -4px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  border-radius: 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
}
.pg-business {
  margin-top: 12px;
  padding: 16px 18px;
  border-left: 3px solid var(--sage);
  background: var(--paper);
  border-radius: 0 4px 4px 0;
  display: grid;
  gap: 4px;
  font-size: 15px;
}

.pg-duvidas {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  align-items: start;
}
@media (min-width: 900px) { .pg-duvidas { grid-template-columns: 1fr 2fr; gap: 56px; } }
.pg-faq { border-top: 1px solid var(--line); }
.pg-faq details { border-bottom: 1px solid var(--line); }
.pg-faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 56px;
  padding: 16px 40px 16px 0;
  position: relative;
  font-weight: 500;
  font-size: 17px;
  color: var(--navy);
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
}
.pg-faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.pg-faq details p { padding: 0 0 18px; color: var(--mute); max-width: 64ch; }

.pg-fecho {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 64px;
  padding: 44px 28px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.pg-fecho h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 0; color: var(--navy); }
.pg-fecho p { color: var(--mute); max-width: 56ch; }
.pg-fecho p a { color: var(--navy); display: inline-block; padding: 12px 0; }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }

@media (max-width: 820px) {
  body.pagina-planos .top-cta .btn { display: none; }
}
@media (max-width: 600px) {
  .pg-ciclo { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .pg-ciclo span { justify-content: center; width: 100%; }
  .pg-periodo, .pg-desc { min-height: 0; }
  .pg-painel table { table-layout: fixed; }
  .pg-painel th, .pg-painel td { padding: 10px 4px; font-size: 13px; overflow-wrap: anywhere; }
  .pg-painel thead th { font-size: 16px; overflow-wrap: normal; }
  .pg-painel tbody th { width: 28%; padding-left: 8px; }
  .pg-lin-preco td { font-size: 14px; }
}

/* 20261126g auditoria: o e-mail na nota Legal do rodapé não pode alargar a grade no celular */
.pagina-planos .rod > div{min-width:0}
.pagina-planos .rod .legal-nota,.pagina-planos .rod a{overflow-wrap:anywhere}
/* fase2: Entrar com 44px de largura; rodapé em uma coluna no celular */
body.pagina-planos .top-cta .link { min-width: 44px; justify-content: center; padding: 0 4px; }
@media (max-width: 560px) {
  body.pagina-planos .rod { grid-template-columns: 1fr; gap: 20px; }
}
