/* ==========================================================
   documentos.css — Área protegida, seções, estatuto e convite
========================================================== */

.docs-page {
  --docs-topbar-offset: 56px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--azul-claro);
  padding-top: calc(var(--docs-topbar-offset) + env(safe-area-inset-top, 0px));
}

/* ---------- Topbar logada (mobile first) ---------- */
.docs-topbar {
  --docs-topbar-h: 56px;
  background: var(--azul-escuro);
  color: var(--branco);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  padding-top: env(safe-area-inset-top, 0px);
}

.docs-topbar__inner {
  max-width: 1080px;
  margin: 0 auto;
  min-height: var(--docs-topbar-h);
  padding: 0 .85rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "brand greeting menu";
  align-items: center;
  gap: .5rem .65rem;
  box-sizing: border-box;
}

.docs-topbar:not(.is-menu-open) .docs-topbar__inner {
  height: var(--docs-topbar-h);
}

.docs-topbar__brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .82rem;
  min-width: 0;
}

.docs-topbar__brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: rgba(255, 255, 255, .97);
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
}

.docs-topbar__brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-topbar__greeting {
  grid-area: greeting;
  justify-self: end;
  font-size: .8rem;
  font-weight: 600;
  opacity: .9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.docs-topbar__menu-btn {
  grid-area: menu;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1);
  color: var(--branco);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.docs-topbar__menu-btn svg {
  width: 18px;
  height: 18px;
}

.docs-topbar__menu-btn:hover,
.docs-topbar__menu-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, .2);
}

.docs-topbar__actions {
  grid-column: 1 / -1;
  display: none;
  flex-direction: column;
  gap: .45rem;
  padding: .35rem 0 .15rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.docs-topbar.is-menu-open .docs-topbar__actions {
  display: flex;
}

.btn-docs-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  color: var(--branco);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
  min-height: 40px;
}

.btn-docs-nav:hover { background: rgba(255, 255, 255, .2); }

.docs-topbar__actions .btn-logout {
  width: 100%;
  min-height: 40px;
}

.btn-logout {
  background: rgba(255,255,255,.12);
  color: var(--branco);
  border: 1px solid rgba(255,255,255,.25);
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
}

.btn-logout:hover { background: rgba(255,255,255,.2); }

/* ---------- Layout do conteúdo ---------- */
.docs-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: .85rem .85rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: calc(var(--docs-topbar-offset) + env(safe-area-inset-top, 0px) + .5rem);
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  z-index: 2;
}

.docs-sidebar h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cinza-600);
  margin-bottom: .9rem;
}

.docs-sidebar ul { display: flex; flex-direction: column; gap: .25rem; }

.docs-sidebar a {
  display: block;
  padding: .55rem .7rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--azul-escuro);
  transition: background var(--transition);
}

.docs-sidebar a:hover,
.docs-sidebar a.is-active { background: rgba(0,59,143,.08); color: var(--azul); }

.docs-sidebar a.docnav-whatsapp {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: #128c4a;
  background: #e9fbf0;
  border: 1px solid #86efac;
}

.docs-sidebar a.docnav-whatsapp svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.docs-sidebar a.docnav-whatsapp:hover,
.docs-sidebar a.docnav-whatsapp.is-active {
  background: #25d366;
  border-color: #25d366;
  color: var(--branco);
}

/* ---------- Viewer protegido ---------- */
.docs-viewer {
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-margin-top: calc(var(--docs-topbar-offset) + env(safe-area-inset-top, 0px) + .75rem);
}

.docs-viewer__bar {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.5rem;
  border-bottom: 1px solid #e8edf5;
  background: var(--cinza-100);
}

.docs-viewer__bar h2 { font-size: 1.05rem; color: var(--azul-escuro); }

.docs-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--cinza-600);
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: .3rem .6rem;
  border-radius: 999px;
}

.docs-badge svg { width: 14px; height: 14px; }

.protected-content {
  position: relative;
  padding: 1.25rem 1rem;
  overflow: visible;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.protected-content.is-convite-view {
  padding: .75rem .5rem 1rem;
}

.protected-content::before {
  content: 'INSTITUTO PROTEGE BRASIL · CONFIDENCIAL';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(0, 59, 143, .05);
  white-space: normal;
  width: 90%;
  pointer-events: none;
  z-index: 1;
  text-align: center;
}

/* ---------- Seções (alternância) ---------- */
.docs-section {
  display: none;
  position: relative;
  z-index: 2;
}

.docs-section.is-active { display: block; }

.docs-section h3 {
  font-size: 1.15rem;
  color: var(--azul-escuro);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--amarelo);
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.docs-section h4 { color: var(--azul); margin: 1.2rem 0 .5rem; font-size: .98rem; }
.docs-section p { color: var(--cinza-800); margin-bottom: .9rem; font-size: .96rem; line-height: 1.65; }
.docs-section ul:not(.pilares-list) { list-style: disc; padding-left: 1.4rem; margin-bottom: .9rem; }
.docs-section li { margin-bottom: .4rem; color: var(--cinza-800); }
.doc-meta { font-size: .82rem; color: var(--cinza-600); font-style: italic; margin-bottom: 1.2rem; }

/* Sobre o Instituto */
.docs-section .pilares-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.25rem;
}

.pilares-list li {
  position: relative;
  padding: .65rem .85rem .65rem 2rem;
  margin-bottom: .5rem;
  background: rgba(0, 59, 143, .05);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--azul-escuro);
}

.pilares-list li::before {
  content: '';
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amarelo);
}

.sobre-assinatura {
  font-weight: 700;
  color: var(--azul);
  font-size: 1.02rem;
  border-left: 4px solid var(--amarelo);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

/* ---------- Membros do Conselho Nacional (tabelas) ---------- */
#sec-blocos .blocos-wrap,
#sec-fiscal .blocos-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#sec-blocos .blocos-table,
#sec-fiscal .blocos-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  margin: 0 0 1.5rem;
  border: 1px solid #1a1a1a;
  background: #fff;
}

#sec-blocos .blocos-table col,
#sec-fiscal .blocos-table col {
  width: 33.333%;
}

#sec-blocos .blocos-table--cols-1,
#sec-fiscal .blocos-table--cols-1 {
  min-width: 0;
}

#sec-blocos .blocos-table--cols-1 col,
#sec-fiscal .blocos-table--cols-1 col {
  width: 100%;
}

#sec-blocos .blocos-table--cols-2 col,
#sec-fiscal .blocos-table--cols-2 col {
  width: 50%;
}

#sec-blocos .blocos-table th,
#sec-blocos .blocos-table td,
#sec-fiscal .blocos-table th,
#sec-fiscal .blocos-table td {
  border: 1px solid #1a1a1a;
  text-align: center;
  vertical-align: top;
  padding: .85rem .55rem;
}

#sec-blocos .blocos-table th,
#sec-fiscal .blocos-table th {
  color: var(--azul-escuro);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .75rem .55rem;
  background: #fff;
}

#sec-blocos .bloco-avatar,
#sec-fiscal .bloco-avatar {
  display: block;
  width: 110px;
  height: 110px;
  max-width: 100%;
  margin: 0 auto .55rem;
  object-fit: contain;
}

#sec-blocos .bloco-avatar--foto,
#sec-fiscal .bloco-avatar--foto {
  object-fit: cover;
  border-radius: 50%;
}

#sec-blocos .bloco-nome,
#sec-fiscal .bloco-nome {
  font-size: .88rem;
  line-height: 1.35;
  color: var(--cinza-800);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ---------- Estatuto paginado ---------- */
.estatuto-viewer { margin-top: .5rem; }

.estatuto-page {
  display: none;
}

.estatuto-page.is-active { display: block; }

.estatuto-page .estatuto-heading {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--azul-escuro);
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.estatuto-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8edf5;
}

.estatuto-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--azul);
  background: var(--branco);
  color: var(--azul);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.estatuto-nav__btn svg { width: 20px; height: 20px; }

.estatuto-nav__btn:hover:not(:disabled) {
  background: var(--azul);
  color: var(--branco);
}

.estatuto-nav__btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  border-color: var(--cinza-600);
  color: var(--cinza-600);
}

.estatuto-nav__indicator {
  font-size: .92rem;
  font-weight: 600;
  color: var(--azul-escuro);
  min-width: 130px;
  text-align: center;
}

.estatuto-confirm {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8edf5;
}

.estatuto-confirm[hidden] {
  display: none !important;
}

.estatuto-confirm [hidden] {
  display: none !important;
}

.estatuto-confirm .btn,
.estatuto-confirm__aviso,
.estatuto-confirm__selo {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.estatuto-confirm__aviso {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: clamp(.88rem, 2.5vw, .95rem);
  color: #854d0e;
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  margin: 0;
}

.estatuto-confirm__aviso svg { width: 20px; height: 20px; flex-shrink: 0; }

.estatuto-confirm__selo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: clamp(.88rem, 2.5vw, .95rem);
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
}

.estatuto-confirm__selo svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Modal termos de uso ---------- */
.termos-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.termos-modal[hidden] {
  display: none !important;
}

.termos-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 43, 90, .72);
  pointer-events: none;
}

.termos-modal__card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem 1.5rem;
}

.termos-modal__card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--azul-escuro);
  margin-bottom: .75rem;
}

.termos-modal__card p {
  color: var(--cinza-600);
  font-size: .95rem;
  line-height: 1.5;
  margin-bottom: .75rem;
}

.termos-modal__card a {
  color: var(--azul);
  font-weight: 600;
  text-decoration: underline;
}

.termos-modal__checkbox {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 1rem 0;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--cinza-600);
  cursor: pointer;
}

.termos-modal__checkbox input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .15rem;
  flex-shrink: 0;
  accent-color: var(--azul);
}

.termos-modal__error {
  color: #b91c1c;
  font-size: .88rem;
  margin-bottom: .75rem;
}

.termos-modal__error.is-hidden {
  display: none !important;
}

/* ---------- Convite destacado ---------- */
#sec-atividades.is-active,
#sec-eventos.is-active,
#sec-whatsapp.is-active {
  max-width: 640px;
  margin: 0 auto;
}

.atividades-texto {
  color: var(--cinza-800);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.atividades-lista {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.atividades-lista li {
  position: relative;
  padding: .85rem 1rem .85rem 2.6rem;
  background: rgba(0, 59, 143, .04);
  border: 1px solid rgba(0, 59, 143, .1);
  border-radius: 10px;
  color: var(--cinza-800);
  line-height: 1.5;
  font-size: clamp(.88rem, 2.5vw, .95rem);
}

.atividades-lista li::before {
  content: '';
  position: absolute;
  left: .9rem;
  top: 1.05rem;
  width: .85rem;
  height: .85rem;
  border-radius: 50%;
  background: #15803d;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #86efac;
}

.atividades-fechamento {
  color: var(--cinza-700);
  line-height: 1.55;
  margin: 0;
  font-size: clamp(.9rem, 2.5vw, .98rem);
}

.data-destaque {
  background: #fef08a;
  color: var(--azul-escuro);
  font-weight: 800;
  padding: .1em .35em;
  border-radius: 4px;
  text-decoration: underline;
  text-underline-offset: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.convite-card__status-realizada {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-weight: 800;
  font-size: clamp(.9rem, 2.6vw, 1rem);
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
  padding: .75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.4rem;
  text-align: center;
}

.convite-card__status-realizada svg { width: 20px; height: 20px; flex-shrink: 0; }

.convite-card {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
  background:
    linear-gradient(var(--branco), var(--branco)) padding-box,
    linear-gradient(135deg, var(--azul), var(--amarelo), var(--azul)) border-box;
  animation: convitein .45s ease, convitePulse 3s ease-in-out infinite;
}

@keyframes convitein {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes convitePulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0, 59, 143, .15); }
  50%      { box-shadow: 0 12px 40px rgba(0, 59, 143, .28); }
}

.convite-card__hero {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
  color: var(--branco);
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3vw, 2rem) clamp(1.1rem, 3vw, 1.75rem);
  text-align: center;
}

.convite-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--amarelo);
  color: var(--azul-escuro);
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}

.convite-card__hero h3 {
  font-size: clamp(1.15rem, 4.5vw, 1.6rem);
  line-height: 1.25;
  border: none;
  margin: 0;
  padding: 0;
  color: var(--branco);
  text-wrap: balance;
}

.convite-card__body {
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
}

.convite-card__intro {
  color: var(--cinza-600);
  margin-bottom: 1.4rem;
}

.event-detail {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: 1rem;
  font-size: clamp(.88rem, 2.5vw, .95rem);
  color: var(--cinza-800);
  line-height: 1.45;
}

.event-detail span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.event-detail svg { width: 22px; height: 22px; color: var(--azul); flex-shrink: 0; }
.event-detail strong { color: var(--azul-escuro); }

.btn--whatsapp {
  background: #25d366;
  color: var(--branco);
}

.btn--whatsapp:hover {
  background: #1ebe57;
}

.btn--whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Seção dedicada ao grupo do WhatsApp ---------- */
.whatsapp-card {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
  background:
    linear-gradient(var(--branco), var(--branco)) padding-box,
    linear-gradient(135deg, #25d366, #0f7a3d) border-box;
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2.25rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.whatsapp-card__hero svg {
  width: 52px;
  height: 52px;
  color: #25d366;
  margin-bottom: 1rem;
}

.whatsapp-card__hero h3 {
  font-size: clamp(1.2rem, 4.5vw, 1.55rem);
  color: var(--azul-escuro);
  border: none;
  margin: 0 0 .75rem;
  padding: 0;
}

.whatsapp-card__hero p {
  color: var(--cinza-600);
  margin-bottom: 1.6rem;
  font-size: .95rem;
  line-height: 1.6;
  max-width: 30rem;
}

.whatsapp-card__link {
  font-size: 1.05rem;
  padding: 1.05rem 2.25rem;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
}

.whatsapp-card__link svg {
  width: 24px;
  height: 24px;
}

.whatsapp-card__indisponivel {
  color: var(--cinza-600);
  font-size: .9rem;
  max-width: 28rem;
  margin: .5rem 0 0;
}

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.docs-sidebar ul {
  flex-direction: row;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: thin;
}

.docs-sidebar li { flex: 0 0 auto; }
.docs-sidebar a { white-space: nowrap; }

@media (max-width: 480px) {
  .docs-topbar__brand-text {
    max-width: 7.5rem;
  }

  .docs-topbar__greeting {
    font-size: .72rem;
    max-width: 100%;
  }

  #sec-blocos > h3,
  #sec-fiscal > h3 {
    font-size: .95rem;
  }

  #sec-blocos .blocos-table,
  #sec-fiscal .blocos-table {
    min-width: 420px;
  }

  #sec-blocos .bloco-avatar,
  #sec-fiscal .bloco-avatar {
    width: 88px;
    height: 88px;
  }

  #sec-blocos .bloco-nome,
  #sec-fiscal .bloco-nome {
    font-size: .78rem;
  }
}

@media (min-width: 768px) {
  .docs-page {
    --docs-topbar-offset: 64px;
  }

  .docs-topbar {
    --docs-topbar-h: 64px;
  }

  .docs-topbar__inner {
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .docs-topbar__brand {
    font-size: .95rem;
    gap: .6rem;
  }

  .docs-topbar__brand img {
    width: 34px;
    height: 34px;
    padding: 4px;
  }

  .docs-topbar__greeting {
    font-size: .88rem;
    opacity: .85;
    margin-left: auto;
    margin-right: .75rem;
  }

  .docs-topbar__menu-btn {
    display: none;
  }

  .docs-topbar__actions {
    display: flex !important;
    flex-direction: row;
    grid-column: auto;
    gap: .5rem;
    padding: 0;
    border-top: none;
    width: auto;
  }

  .docs-topbar__actions .btn-docs-nav,
  .docs-topbar__actions .btn-logout {
    width: auto;
    min-height: 40px;
  }

  .docs-shell {
    padding: 1.5rem 1.25rem 4rem;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
  }

  .docs-sidebar {
    padding: 1.25rem;
  }

  .docs-sidebar ul {
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .docs-sidebar li { flex: initial; }
  .docs-sidebar a { white-space: normal; }

  .protected-content {
    padding: 2.5rem 3rem;
  }

  .protected-content.is-convite-view {
    padding: 1.5rem;
  }

  .protected-content::before {
    font-size: 2.4rem;
    white-space: nowrap;
    width: auto;
  }

  .docs-viewer__bar {
    flex-direction: row;
    align-items: center;
  }

  .docs-section h3 { font-size: 1.3rem; }
  .docs-section h4 { font-size: 1.05rem; }
}
