/* v0.64.0 — vitrine pública, planos e Central de Assinatura e Pagamentos */
html{scroll-behavior:smooth}
.commercial-public-page{background:#fff}
.commercial-login-hero{min-height:100vh}
.commercial-hero-link{display:inline-flex;margin-top:24px;color:#fff;font-weight:800;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:3px}
.commercial-trial-box strong{color:var(--navy);font-size:1.04rem}.commercial-unavailable{font-weight:700;color:#8a5d14}
.commercial-showcase,.commercial-pricing-section{padding:78px max(24px,calc((100vw - 1180px)/2));background:#fff}
.commercial-pricing-section{background:#f4f7fa;border-top:1px solid var(--line)}
.commercial-section-heading{width:min(760px,100%);margin:0 auto 34px;text-align:center}.commercial-section-heading h2{margin:7px 0 10px;color:var(--navy);font-size:clamp(1.8rem,3vw,2.65rem)}.commercial-section-heading>p:not(.eyebrow){margin:0;color:var(--muted);line-height:1.65}
.commercial-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1180px;margin:0 auto}.commercial-feature-grid article{padding:25px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.commercial-feature-grid article>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--blue-light);color:var(--blue);font-weight:900;font-size:.78rem}.commercial-feature-grid h3{margin:17px 0 8px;color:var(--navy)}.commercial-feature-grid p{margin:0;color:var(--muted);line-height:1.55}
.commercial-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:1180px;margin:0 auto}.commercial-plan-card{position:relative;display:flex;flex-direction:column;min-height:290px;padding:25px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.commercial-plan-card.featured{border:2px solid var(--blue);transform:translateY(-6px)}.commercial-plan-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:6px 11px;border-radius:999px;background:var(--navy);color:#fff;font-size:.7rem;font-weight:800}.commercial-plan-period{margin:4px 0 12px;color:var(--navy);font-size:1.3rem;font-weight:850}.commercial-plan-price{color:var(--navy);font-size:2rem;font-weight:900}.commercial-plan-price small{font-size:.85rem}.commercial-plan-card>p:not(.commercial-plan-period){color:var(--muted);line-height:1.5}.commercial-plan-card>a{margin-top:auto;display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;border-radius:10px;background:var(--blue);color:#fff;text-decoration:none;font-weight:800}
.commercial-pricing-empty,.commercial-price-note{display:flex;flex-direction:column;gap:6px;max-width:760px;margin:0 auto;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:center}.commercial-pricing-empty span,.commercial-price-note span{color:var(--muted)}.commercial-price-note{margin-top:24px;background:var(--blue-light);border-color:#cfe0f3}.commercial-price-note strong{color:var(--navy)}
.commercial-public-footer{display:flex;justify-content:space-between;gap:20px;padding:24px max(24px,calc((100vw - 1180px)/2));background:var(--navy-dark);color:#b9cee3;font-size:.8rem}

.billing-page{display:flex;flex-direction:column;gap:22px}.billing-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.billing-header h1{margin:5px 0 6px;color:var(--navy);font-size:clamp(1.8rem,3vw,2.5rem)}.billing-header>div>p:last-child{margin:0;color:var(--muted)}.billing-system-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border-radius:10px;background:var(--navy);color:#fff;text-decoration:none;font-weight:800}
.billing-status-card{display:flex;justify-content:space-between;gap:28px;padding:24px;border:1px solid #bcd9c1;border-radius:18px;background:#f1faf3;box-shadow:var(--shadow)}.billing-status-card.restricted{border-color:#ead4a9;background:#fff9ec}.billing-status-main{display:flex;flex-direction:column;gap:5px}.billing-status-main>span,.billing-status-dates span{color:var(--muted);font-size:.76rem}.billing-status-main>strong{color:var(--navy);font-size:1.55rem}.billing-status-main>small{color:var(--muted)}.billing-status-dates{display:flex;gap:28px}.billing-status-dates>div{display:flex;flex-direction:column;gap:4px;min-width:95px}.billing-status-dates strong{color:var(--navy)}
.billing-lock-notice,.billing-admin-block,.billing-integration-note{display:flex;flex-direction:column;gap:5px;padding:17px 19px;border-radius:14px;line-height:1.5}.billing-lock-notice{border:1px solid #ead4a9;background:#fff8e8}.billing-lock-notice strong{color:#77500e}.billing-lock-notice span{color:#7a6542}.billing-admin-block{border:1px solid #e2bcbc;background:#fff2f2}.billing-admin-block strong{color:#8b2929}.billing-admin-block span{color:#765656}.billing-integration-note{border:1px solid #cfe0f3;background:var(--blue-light)}.billing-integration-note strong{color:var(--navy)}.billing-integration-note span{color:var(--muted)}
.billing-plans-section,.billing-history-section{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.billing-section-heading{margin-bottom:20px}.billing-section-heading.compact{margin-bottom:14px}.billing-section-heading h2{margin:4px 0 6px;color:var(--navy)}.billing-section-heading>p:not(.eyebrow){margin:0;color:var(--muted);line-height:1.5}
.billing-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.billing-plan-card{position:relative;display:flex;flex-direction:column;min-height:250px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fbfcfd}.billing-plan-card.featured{border:2px solid var(--blue);background:#f8fbff}.billing-plan-badge{position:absolute;top:-11px;right:14px;padding:5px 8px;border-radius:999px;background:var(--navy);color:#fff;font-size:.65rem;font-weight:800}.billing-plan-card h3{margin:4px 0 8px;color:var(--navy);font-size:1.3rem}.billing-plan-price{color:var(--navy);font-size:1.85rem;font-weight:900}.billing-plan-price small{font-size:.75rem}.billing-plan-card p{color:var(--muted);line-height:1.45}.billing-plan-card form{margin-top:auto}.billing-plan-card button{width:100%;min-height:42px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-weight:800;cursor:pointer}.billing-admin-only{margin-top:auto;color:var(--muted);font-size:.78rem}
.billing-empty-state{display:flex;flex-direction:column;gap:5px;padding:20px;border:1px dashed #b9c6d4;border-radius:14px;background:#f8fafc}.billing-empty-state strong{color:var(--navy)}.billing-empty-state span{color:var(--muted)}
.billing-table-wrap{overflow:auto}.billing-table{width:100%;border-collapse:collapse;min-width:840px}.billing-table th,.billing-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:.82rem}.billing-table th{color:var(--muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.04em}.billing-order-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef1f5;color:#526070;font-size:.7rem;font-weight:800}.billing-order-status.status-pago{background:#eaf6ec;color:#2e7d32}.billing-order-status.status-pendente{background:#fff4dd;color:#815a0a}.billing-order-status.status-cancelado,.billing-order-status.status-falhou{background:#fff0f0;color:#9b3030}

@media(max-width:1050px){.commercial-plan-grid,.billing-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.commercial-showcase,.commercial-pricing-section{padding:54px 18px}.commercial-feature-grid,.commercial-plan-grid,.billing-plan-grid{grid-template-columns:1fr}.commercial-plan-card.featured{transform:none}.commercial-public-footer{flex-direction:column;padding:22px 18px}.billing-header,.billing-status-card{flex-direction:column}.billing-status-dates{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.billing-plans-section,.billing-history-section{padding:18px}}


/* v0.64.0 — Central da Escola e três perfis de acesso */
.school-central-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.school-central-shortcuts a{display:flex;flex-direction:column;gap:5px;padding:18px 20px;border:1px solid var(--line);border-radius:15px;background:#fff;text-decoration:none;box-shadow:var(--shadow)}.school-central-shortcuts strong{color:var(--navy)}.school-central-shortcuts span{color:var(--muted);font-size:.82rem}.central-anchor-section{display:flex;flex-direction:column;gap:20px;scroll-margin-top:20px}.central-section-title h2{margin:4px 0 6px;color:var(--navy)}.central-section-title>p:not(.eyebrow){margin:0;color:var(--muted);line-height:1.55}
.access-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.access-profile-card{display:flex;flex-direction:column;gap:16px;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.access-profile-card.admin{background:#f8fbff;border-color:#cfe0f3}.access-profile-heading{display:flex;align-items:center;gap:12px}.access-profile-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--navy);color:#fff;font-weight:900}.access-profile-heading>div{display:flex;flex-direction:column;gap:2px}.access-profile-heading strong{color:var(--navy)}.access-profile-heading small{color:var(--muted)}.access-profile-card dl{display:grid;grid-template-columns:70px 1fr;gap:7px 10px;margin:0;padding:12px;border-radius:12px;background:#f7f9fb}.access-profile-card dt{color:var(--muted);font-size:.75rem}.access-profile-card dd{margin:0;color:var(--navy);font-weight:700;overflow-wrap:anywhere}.access-profile-card>p{margin:0;color:var(--muted)}.access-permission-summary{display:flex;flex-direction:column;gap:6px;padding-top:2px}.access-permission-summary span{color:#4d5c6b;font-size:.8rem;line-height:1.4}.access-account-form{display:flex;flex-direction:column;gap:7px;padding-top:13px;border-top:1px solid var(--line)}.access-account-form label{color:var(--navy);font-size:.76rem;font-weight:800}.access-account-form input{width:100%;min-height:42px;padding:9px 11px;border:1px solid #c5d0dc;border-radius:10px;background:#fff}.access-account-form small{color:var(--muted);font-size:.72rem}.access-account-form button,.access-toggle-form button{min-height:42px;margin-top:5px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-weight:800;cursor:pointer}.access-toggle-form{display:flex}.access-toggle-form button.secondary{width:100%;background:#eef2f6;color:var(--navy);border:1px solid #d4dde7}.access-shared-note{display:flex;flex-direction:column;gap:5px;padding:17px 19px;border:1px solid #d9e1e8;border-radius:14px;background:#f8fafc}.access-shared-note strong{color:var(--navy)}.access-shared-note span{color:var(--muted);line-height:1.5}.access-mode-banner{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding:10px 14px;border:1px solid #d4dde7;border-radius:11px;background:#f8fafc}.access-mode-banner strong{color:var(--navy);font-size:.8rem}.access-mode-banner span{color:var(--muted);font-size:.77rem}.access-denied-card{max-width:760px;padding:28px;border:1px solid #ead4a9;border-radius:18px;background:#fff9ec;box-shadow:var(--shadow)}.access-denied-card h1{color:var(--navy);margin:6px 0 12px}.access-denied-card p{color:var(--muted);line-height:1.6}.sidebar-year-readonly{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.06);font-size:.75rem}.top-year-pill.readonly{cursor:default}.top-year-pill.readonly:hover{transform:none}
@media(max-width:1050px){.access-profile-grid{grid-template-columns:1fr}.school-central-shortcuts{grid-template-columns:1fr}}
@media(max-width:700px){.access-mode-banner{align-items:flex-start;flex-direction:column}}

/* v0.64.2 — módulos visíveis por conta secundária */
.access-current-modules{display:flex;flex-direction:column;gap:5px;padding:11px 12px;border:1px solid #dde5ec;border-radius:11px;background:#fbfcfd}.access-current-modules strong{color:var(--navy);font-size:.76rem}.access-current-modules span{color:var(--muted);font-size:.76rem;line-height:1.45}.access-module-selector{display:flex;flex-direction:column;gap:12px;margin-top:7px;padding:14px;border:1px solid #d6e0ea;border-radius:13px;background:#f8fafc}.access-module-selector-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.access-module-selector-heading>div:first-child{display:flex;flex-direction:column;gap:3px}.access-module-selector-heading strong{color:var(--navy);font-size:.8rem}.access-module-selector-heading small{color:var(--muted);font-size:.7rem;line-height:1.4}.access-module-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.access-account-form .access-module-actions button.mini{min-height:30px;margin:0;padding:5px 9px;border-radius:8px;font-size:.68rem;background:var(--blue);color:#fff}.access-account-form .access-module-actions button.mini.secondary{background:#eef2f6;color:var(--navy);border:1px solid #d4dde7}.access-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.access-module-option{display:flex!important;align-items:center;gap:8px;min-height:36px;padding:7px 9px;border:1px solid #e0e6ec;border-radius:9px;background:#fff;color:#354556!important;font-size:.73rem!important;font-weight:700!important;cursor:pointer}.access-module-option input{width:16px!important;min-height:0!important;height:16px;margin:0;accent-color:var(--blue)}.access-fixed-module{display:flex;flex-direction:column;gap:4px;margin-top:7px;padding:12px;border:1px solid #bcd9c1;border-radius:11px;background:#f1faf3}.access-fixed-module strong{color:#285c34;font-size:.8rem}.access-fixed-module span{color:#55705b;font-size:.72rem}
@media(max-width:700px){.access-module-selector-heading{flex-direction:column}.access-module-actions{justify-content:flex-start}.access-module-grid{grid-template-columns:1fr}}
