@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-600-italic.woff2") format("woff2");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

:root {
    --paper: #ffffff;
    --white: #ffffff;
    --ink: #1c1c1c;
    --muted: #6d6a67;
    --line: #eee7e2;
    --orange: #ff6a00;
    --orange-deep: #ff6a00;
    --orange-ink: #e45700;
    --peach: #fff6f0;
    --sage: #fff1e8;
    --night: #171717;
    --radius: 18px;
    --shadow: 0 18px 40px rgba(28, 23, 20, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.connecta {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body.connecta h1,
body.connecta h2,
body.connecta h3,
body.connecta .brand strong {
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
}

body.connecta h1 {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1.05;
    margin: 0 0 1rem;
}

body.connecta h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    margin: 0 0 0.8rem;
}

body.connecta h3 {
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 0 0 0.45rem;
}

body.connecta p { margin: 0 0 0.8rem; }

body.connecta a {
    color: inherit;
    text-decoration: none;
}

body.connecta a:hover { color: inherit; }

body.connecta a.c-btn-dark,
body.connecta a.c-btn-dark:hover,
body.connecta a.c-btn-orange,
body.connecta a.c-btn-orange:hover,
body.connecta a.c-btn-top,
body.connecta a.c-btn-top:hover { color: #fff; }

body.connecta a.c-btn-soft,
body.connecta a.c-btn-soft:hover,
body.connecta a.c-btn-outline,
body.connecta a.c-btn-outline:hover { color: var(--ink); }

body.connecta .topbar a,
body.connecta .topbar a:hover { color: #fff; }

::selection {
    background: var(--orange);
    color: var(--ink);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 80;
    background: var(--ink);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 10px;
}

.skip-link:focus { top: 1rem; color: white; }

:focus-visible {
    outline: 3px solid var(--orange-ink);
    outline-offset: 3px;
}

.icon {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container { max-width: 1140px; }

.topbar {
    background: var(--orange);
    color: #fff;
    font-size: 0.86rem;
}

.topbar-inner,
.header-top,
.footer-base,
.aula-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.topbar-inner { min-height: 2.4rem; }

.topbar p { margin: 0; }

.topbar a { color: #fff; }

.site-chrome {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
}
body.nav-open .site-chrome { z-index: 32; }

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-bar,
.header-top { display: flex; align-items: center; gap: 1.2rem; padding: 0.75rem 0; }

.header-bar .site-nav { flex: 1; justify-content: center; padding: 0; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
}

.brand-mark svg { width: 2.7rem; height: 2.7rem; display: block; }

.brand strong,
.brand small { display: block; }

.brand strong {
    font-size: 1.25rem;
    line-height: 1;
}

.brand small {
    color: var(--muted);
    font-family: "Outfit", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.site-footer .brand strong,
.site-footer .brand small { color: #fff; }
.site-footer .brand small { color: #cfcfcf; }

.header-tools { display: flex; align-items: center; gap: 0.7rem; }

.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.7rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.c-btn:hover { transform: translateY(-2px); }

.c-btn-dark { background: var(--ink); color: white; }
.c-btn-dark:hover { background: #322b27; color: white; }
.c-btn-soft { background: #ffe8d6; color: var(--ink); }
.c-btn-soft:hover { background: #ffd7b8; color: var(--ink); }
.c-btn-orange { background: var(--orange); color: #fff; }
.c-btn-orange:hover { background: #e45700; color: #fff; }
.c-btn-outline { background: #fff; color: var(--ink); border-color: #d9d9d9; }
.c-btn-outline:hover { border-color: var(--orange); color: var(--ink); }
.c-btn-top {
    min-height: 2rem;
    padding: 0.35rem 0.85rem;
    background: #fff;
    color: var(--orange-ink);
    font-size: 0.86rem;
}
.c-btn-top:hover { background: #fff4ec; color: var(--orange-ink); }
body.connecta a.c-btn-top,
body.connecta a.c-btn-top:hover { color: var(--orange-ink); }

.nav-toggle {
    display: none;
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1.15rem;
    align-items: center;
    padding: 0.35rem 0 0.8rem;
}

.site-nav > a,
.nav-drop-toggle {
    padding: 0.4rem 0;
    font-weight: 500;
    color: var(--ink);
    background: transparent;
    border: 0;
}

.site-nav > a.is-current,
.nav-drop-toggle.is-current {
    box-shadow: inset 0 -2px 0 var(--orange-deep);
}

.nav-drop { position: relative; }

.nav-drop-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-drop-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    z-index: 5;
    min-width: 16rem;
    display: grid;
    gap: 0.15rem;
    padding: 0.45rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop.is-open .nav-drop-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav-drop-panel a {
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
}

.nav-drop-panel a:hover,
.nav-drop-panel a.is-current { background: var(--paper); }

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 25;
    border: 0;
    background: rgba(28, 23, 20, 0.46);
}

.hero { padding: 2.5rem 0 1rem; }

.hero-grid,
.split,
.content-grid,
.footer-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: end; }
.split { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.content-grid,
.footer-grid { grid-template-columns: 1.3fr 0.8fr; }
.footer-grid { grid-template-columns: 1.15fr 1.1fr 1fr 0.7fr; align-items: start; }

.kicker {
    margin: 0 0 0.8rem;
    color: var(--orange-ink);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lede,
.pending-line { color: var(--muted); max-width: 42rem; }

h1 em {
    font-style: italic;
    font-weight: 600;
    color: var(--orange-ink);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.hero-figure {
    margin: 0;
    padding: 0.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.hero-art svg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: #f6d8c0;
}

.hero-figure figcaption {
    padding: 0.75rem 0.35rem 0.2rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.section { padding: 3.2rem 0; }
.section-tight { padding-top: 0.5rem; }
.section-sage { background: var(--sage); }

.section-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 0.35rem 1rem;
    margin-bottom: 1.3rem;
}

.section-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.section-head h2 { margin: 0; }

body.connecta .section-head a {
    color: var(--orange-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.connecta .section-head a.c-btn,
body.connecta .section-head a.c-btn:hover {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.info-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 1rem;
}

.info-card,
.panel,
.story-card,
.empty-state,
.contact-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.info-card,
.panel,
.contact-panel,
.empty-state { padding: 1.3rem 1.35rem 1.15rem; }

.panel-warm { background: #fff4ea; }

.contact-list { margin: 0; }
.contact-list div { padding: 0.55rem 0; border-top: 1px solid var(--line); }
.contact-list div:first-child { border-top: 0; padding-top: 0; }
.contact-list dt { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.contact-list dd { margin: 0; font-weight: 600; }

.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
}

.social-list li {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--paper);
    font-size: 0.86rem;
}

.card-grid,
.shortcut-grid {
    display: grid;
    gap: 0.9rem;
}

.card-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.shortcut-grid { grid-template-columns: repeat(3, 1fr); }
.roles { align-items: stretch; }

.story-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.15rem;
    min-height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    border-color: #e2b08a;
    color: inherit;
}

.story-meta { margin: 0; color: var(--muted); font-size: 0.86rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.story-meta .icon { width: 0.9rem; height: 0.9rem; }
.story-cover,
.cover {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.story-placeholder {
    display: grid;
    place-items: center;
    min-height: 8rem;
    border-radius: 12px;
    background: var(--orange);
    color: var(--ink);
    font-weight: 600;
}

.provisional {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--orange);
    color: #3a2418;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.agenda { display: grid; gap: 0.6rem; }

.agenda-item {
    display: grid;
    grid-template-columns: 8.5rem 1fr auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.95rem 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.agenda-item:hover { border-color: #e2b08a; transform: translateX(3px); color: inherit; }
.agenda-item span { color: var(--orange-ink); font-weight: 600; }
.agenda-item p { margin: 0; color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.agenda-item strong { display: block; font-family: "Outfit", sans-serif; font-weight: 600; }

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pill-list a {
    display: inline-flex;
    padding: 0.7rem 0.9rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 600;
}

.pill-list a:hover { border-color: var(--orange-deep); }

.shortcut span {
    color: var(--orange-ink);
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.3rem;
}

.shortcut p { margin: 0.25rem 0 0; color: var(--muted); }

.aula-band {
    background: var(--night);
    color: #f6efe8;
}

.aula-band-inner { padding: 2.4rem 0; }
.aula-band h2,
.aula-band .kicker { color: white; }
.aula-band p { max-width: 38rem; margin: 0; color: #eadfd4; }

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.88rem;
}

.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.55rem; }
.crumbs a { text-decoration: underline; text-underline-offset: 2px; }

.page-hero { padding: 2.2rem 0 0.4rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }

.reading { max-width: 820px; }
.reading h1 { margin-bottom: 0.6rem; }

.prose p { font-size: 1.08rem; }

.meta-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin: 1.2rem 0 1.4rem;
}

.meta-row div {
    padding: 0.8rem 0.9rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.meta-row dt { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }
.meta-row dd { margin: 0.15rem 0 0; font-weight: 600; }

.stack { display: grid; gap: 0.9rem; }

.notice + .notice { margin-top: 0.9rem; }
.notice.is-important { padding-top: 0.2rem; }

.empty-state h2 { font-size: 1.7rem; }

.document-list,
.subject-list,
.related-list,
.footer-links,
.panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.document-list li,
.subject-list li,
.related-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
}

.document-list a,
.related-list a { color: var(--orange-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.panel ul li { position: relative; padding: 0.28rem 0 0.28rem 1rem; }
.panel ul li::before { content: ""; position: absolute; left: 0; top: 0.75rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--orange-deep); }

.course-card { position: relative; }
.course-year {
    font-family: "Fraunces", Georgia, serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--orange-ink);
}

.afa-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: 14px; }
.gallery figcaption { margin-top: 0.4rem; color: var(--muted); font-size: 0.86rem; }

.video-frame {
    position: relative;
    margin: 1.2rem 0;
    padding-top: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--night);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.login-note { margin-top: 1rem; }

.pager { margin-top: 1.4rem; }
.pager .pagination { gap: 0.35rem; margin: 0; }
.pager .page-link {
    border-radius: 10px;
    color: var(--ink);
    border-color: var(--line);
}
.pager .page-item.active .page-link {
    background: var(--ink);
    border-color: var(--ink);
}

.site-footer {
    margin-top: 1rem;
    padding-top: 2.6rem;
    padding-bottom: 0.4rem;
    background: var(--night);
    color: #f3f3f3;
}

body.connecta .site-footer,
body.connecta .site-footer p,
body.connecta .site-footer li,
body.connecta .site-footer a,
body.connecta .site-footer a:hover {
    color: #f3f3f3;
}

body.connecta .site-footer h2,
body.connecta .site-footer .brand strong,
body.connecta .site-footer h2.brand {
    color: #fff !important;
}

body.connecta .site-footer .brand small {
    color: #cfcfcf !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
}

body.connecta .site-footer .brand-mark {
    display: grid !important;
}

body.connecta .site-footer .footer-note,
body.connecta .site-footer .footer-base,
body.connecta .site-footer .footer-base p {
    color: #bdbdbd;
}

body.connecta .site-footer .footer-contact,
body.connecta .site-footer .footer-contact li {
    color: #e8e8e8;
}

body.connecta .site-footer .footer-links a:hover {
    color: var(--orange);
}

body.connecta .site-footer .footer-social a,
body.connecta .site-footer .footer-social span {
    color: #fff;
}

.site-footer h2,
body.connecta .site-footer h2 { color: #fff; font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.8rem; }

.footer-note { margin-top: 1rem; max-width: 22rem; }
.footer-links li { margin: 0 0 0.55rem; break-inside: avoid; }
.footer-base {
    margin-top: 1.5rem;
    padding-top: 0.9rem;
    padding-bottom: 1.2rem;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}
.footer-base p { margin: 0 0 0.35rem; }

@media (max-width: 1199.98px) {
    .nav-toggle { display: inline-grid; place-items: center; position: relative; z-index: 40; }
    .header-tools .c-btn { display: none; }
    .header-tools { margin-left: auto; }
    .header-bar .site-nav {
        flex: none;
        justify-content: flex-start;
        padding: 5.2rem 1.4rem 2rem;
    }
    .topbar-meta li:last-child { display: none; }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        width: min(22rem, 92vw);
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 0.35rem;
        padding: 5.2rem 1.4rem 2rem;
        overflow: auto;
        background: var(--white);
        transform: translateX(105%);
        transition: transform 0.25s ease;
    }

    .site-nav.is-open { transform: translateX(0); }

    .nav-drop-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        width: 100%;
        padding: 0.2rem 0 0.4rem;
        border: 0;
        box-shadow: none;
        background: transparent;
    }
}

@media (max-width: 991.98px) {
    .hero-grid,
    .split,
    .content-grid,
    .footer-grid,
    .info-grid,
    .card-grid { grid-template-columns: 1fr; }
    .shortcut-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid { align-items: start; }
}

@media (max-width: 640px) {
    .shortcut-grid,
    .agenda-item,
    .afa-block,
    .document-list li { grid-template-columns: 1fr; display: grid; }
    .topbar-inner,
    .aula-band-inner,
    .footer-base,
    .section-head { align-items: flex-start; flex-direction: column; }
    .header-top { align-items: center; }
    body.connecta h1 { font-size: 2.55rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
    .c-btn:hover,
    .story-card:hover,
    .agenda-item:hover { transform: none; }
}

.app-shell { min-height: 100vh; }
.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.app-header-inner,
.app-header-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.app-header-inner { padding: 0.9rem 0 0.7rem; }
.app-header-tools form { margin: 0; }
.app-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    padding: 0 0 0.85rem;
}
.app-nav a.is-current { box-shadow: inset 0 -2px 0 var(--orange-deep); }
.flash {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: var(--sage);
}
.field { margin-bottom: 0.9rem; }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    padding: 0.7rem 0.8rem;
}
.field-error { margin: 0.35rem 0 0; color: #8a1f1f; font-size: 0.9rem; }
.field-hint { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.86rem; }
.check {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0 0 1rem;
}

.topbar-inner { min-height: 2.7rem; }
.topbar-meta,
.topbar-social,
.footer-social,
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.topbar-meta li,
.footer-contact li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.topbar-actions,
.header-tools { display: flex; align-items: center; gap: 0.7rem; }
.topbar-social a,
.topbar-social span,
.footer-social a,
.footer-social span,
.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    color: inherit;
}
.icon-btn {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
}
.header-search { display: flex; }
.header-search[hidden] { display: none; }
.header-search input {
    width: min(16rem, 46vw);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
}
.site-nav { font-size: 0.95rem; }
.site-nav > a.is-current,
.nav-drop-toggle.is-current {
    color: var(--orange);
    box-shadow: inset 0 -2px 0 var(--orange);
}

.home-hero {
    background:
        radial-gradient(420px 220px at 8% 20%, #ffe3cf 0%, transparent 70%),
        linear-gradient(#fff7f2, #fff);
    overflow: hidden;
}
.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 1.5rem;
    align-items: center;
    min-height: 28rem;
    padding: 1.5rem 0 4.5rem;
}
.home-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); max-width: 12ch; }
.home-hero h1 span { color: var(--orange); display: block; }
.home-hero-sub { margin: 0 0 0.6rem; font-weight: 700; }
.home-hero-visual { margin: 0; position: relative; }
.home-hero-visual img {
    display: block;
    width: 100%;
    height: 22rem;
    object-fit: cover;
    object-position: 48% 42%;
    border-radius: 0 0 0 46% / 0 0 0 80%;
    background: #eaf4ff;
}
.quick-access {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.4rem;
    margin-top: -2.6rem;
    padding: 1rem 0.6rem;
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}
.quick-access a {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
}
.quick-access .icon {
    width: 1.6rem;
    height: 1.6rem;
    color: var(--orange);
}
.home-board { padding-top: 2.4rem; }
.home-board-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.9fr;
    gap: 1.6rem;
    align-items: start;
}
.home-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}
.home-news-card {
    display: grid;
    gap: 0.45rem;
    align-content: start;
}
.home-news-media {
    position: relative;
    display: block;
    height: 8.5rem;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffd7b8, #ff8a33 55%, #2f6b4f);
}
.home-news-media img { width: 100%; height: 100%; object-fit: cover; }
.badge-cat {
    position: absolute;
    left: 0.55rem;
    bottom: 0.55rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}
.home-news-card strong { font-size: 0.98rem; line-height: 1.3; }
.home-events { display: grid; gap: 0.7rem; }
.home-event {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.35rem 0;
}
.home-event-date {
    display: grid;
    justify-items: center;
    min-width: 3rem;
    color: var(--orange);
    line-height: 1;
}
.home-event-date strong { font-size: 1.35rem; color: var(--orange); }
.home-event-date small,
.home-event small { color: var(--muted); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.04em; }
.home-event span strong { display: block; }
.aula-promo {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 1.3rem 1.2rem;
    border-radius: 22px;
    background: linear-gradient(160deg, #ff8a1e, #ff6a00 55%, #ff9340);
    color: #fff;
}
.aula-promo h2,
.aula-promo p,
.aula-promo span { color: #fff; }
.aula-promo .icon { width: 1.8rem; height: 1.8rem; }
.aula-promo p { margin: 0; }
.aula-promo span { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; font-weight: 700; }
.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.15fr;
    gap: 0.9rem;
}
.offer-card,
.offer-visual {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(28, 23, 20, 0.04);
}
.offer-card { display: grid; gap: 0.35rem; align-content: start; padding: 1.2rem; }
.offer-card .icon { width: 1.8rem; height: 1.8rem; color: var(--orange); }
.offer-card p { margin: 0; color: var(--muted); }
.offer-visual { margin: 0; overflow: hidden; }
.offer-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 72%; min-height: 11rem; }
.footer-contact { display: grid; gap: 0.55rem; color: #e8e8e8; }
.footer-contact .icon { width: 1rem; height: 1rem; color: var(--orange); flex: none; }
.footer-links-split { columns: 2; }
.footer-social { gap: 0.45rem; }
.footer-social a,
.footer-social span {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: #2a2a2a;
    color: #fff;
}
.section-head a { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--orange-ink); font-weight: 700; }

@media (max-width: 1100px) {
    .quick-access { grid-template-columns: repeat(4, 1fr); row-gap: 0.9rem; }
    .home-hero-grid,
    .home-board-grid,
    .offer-grid { grid-template-columns: 1fr; }
    .home-news { grid-template-columns: 1fr 1fr; }
    .home-hero-visual img { border-radius: 20px; height: 16rem; }
}
@media (max-width: 640px) {
    .home-news { grid-template-columns: 1fr; }
    .quick-access { grid-template-columns: repeat(2, 1fr); }
    .topbar-meta { display: none; }
}

.aula-body { background: #f6f7f9; }
.aula-top {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.aula-top-inner,
.aula-top-user,
.aula-account {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.aula-top-inner { justify-content: space-between; padding: 0.7rem 1.2rem; }
.aula-top-nav { display: flex; gap: 0.9rem; align-items: center; font-size: 0.92rem; font-weight: 600; }
.aula-top-nav a.is-current { color: var(--orange); box-shadow: inset 0 -2px 0 var(--orange); }
.aula-account { min-width: 0; }
.aula-account span { min-width: 0; }
.aula-account strong,
.aula-account small { display: block; line-height: 1.15; }
.aula-account strong {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aula-account small { color: var(--muted); font-weight: 500; }
.aula-top-user .c-btn { flex-shrink: 0; }
.aula-avatar {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    background: #ffe1cc;
    color: var(--orange-ink);
    font-weight: 700;
}
.aula-dot {
    position: absolute;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--orange);
}
.aula-top-user .icon-btn { position: relative; }
.aula-shell { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 4.4rem); }
.aula-side {
    position: sticky;
    top: 4.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    max-height: calc(100vh - 4.4rem);
    padding: 1rem 0.8rem 1.2rem;
    overflow: auto;
    background: #171717;
    color: #f5f5f5;
}
.aula-nav { display: grid; gap: 0.25rem; }
.aula-nav-label {
    margin: 0.85rem 0.75rem 0.1rem;
    color: #9a9a9a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.aula-nav a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    color: #f3f3f3;
    font-weight: 600;
}
.aula-nav a.is-current { background: var(--orange); color: #fff; }
.aula-nav .icon { width: 1.35rem; height: 1.35rem; }
.aula-badge {
    margin-left: auto;
    min-width: 1.3rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
}
.aula-nav a.is-current .aula-badge { background: #fff; color: var(--orange); }
.aula-help {
    display: grid;
    gap: 0.35rem;
    margin: 0.4rem;
    padding: 1rem;
    border-radius: 16px;
    background: #242424;
}
.aula-help p { margin: 0; color: #cfcfcf; font-size: 0.9rem; }
.aula-help .icon { color: var(--orange); }
.aula-main { padding: 1.3rem 1.4rem 2rem; }
.aula-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 8.5rem;
    overflow: visible;
    border-radius: 24px;
    background: linear-gradient(100deg, #ff7a1a, #ff6a00 46%, #ffb067);
    color: #fff;
    box-shadow: 0 16px 36px rgba(255, 106, 0, 0.22);
}
.aula-banner h1,
.aula-banner p { color: #fff; margin: 0; }
.aula-banner h1 { font-size: clamp(2rem, 4vw, 3rem); }
.aula-banner div { padding: 1.4rem 0.5rem 1.4rem 1.6rem; }
.aula-banner p { margin-top: 0.35rem; max-width: 28rem; opacity: 0.95; }
.aula-banner img {
    width: 7.6rem;
    height: 7.6rem;
    margin: 0.9rem 1.2rem 0.9rem 0.4rem;
    border: 4px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    object-fit: cover;
    object-position: 54% 70%;
    box-shadow: 0 12px 28px rgba(28, 23, 20, 0.18);
}
.aula-hello,
.aula-stats,
.aula-board,
.bento-board { margin-top: 1rem; }
.aula-hello {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.25rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #f0ece8;
    box-shadow: 0 10px 28px rgba(28, 23, 20, 0.05);
}
.aula-hello h2 { margin: 0; }
.aula-hello p { margin: 0.15rem 0 0; color: var(--muted); }
.aula-group-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #fff4ec;
    color: var(--orange-ink);
    font-weight: 700;
    border: 1px solid #ffe1cc;
}
.aula-stats,
.bento-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.aula-stats article,
.bento-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.75rem;
    align-items: center;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: #fff6ee;
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(28, 23, 20, 0.04);
    color: inherit;
    text-decoration: none;
}
.aula-stats article:nth-child(4n+2),
.bento-stat:nth-child(4n+2) { background: #eef5ff; }
.aula-stats article:nth-child(4n+3),
.bento-stat:nth-child(4n+3) { background: #fff8e8; }
.aula-stats article:nth-child(4n+4),
.bento-stat:nth-child(4n+4) { background: #eefaf1; }
.bento-stat-icon {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    grid-row: 1 / span 2;
}
.bento-stat-icon .icon { width: 1.25rem; height: 1.25rem; color: var(--orange); }
.bento-stat:nth-child(4n+2) .bento-stat-icon .icon { color: #2f6fed; }
.bento-stat:nth-child(4n+3) .bento-stat-icon .icon { color: #c98a00; }
.bento-stat:nth-child(4n+4) .bento-stat-icon .icon { color: #1f8a4c; }
.aula-stats strong,
.bento-stat strong { font-size: 1.55rem; line-height: 1; }
.aula-stats span,
.bento-stat span { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.aula-stats .icon,
.aula-course .icon,
.aula-next .icon { width: 1.5rem; height: 1.5rem; color: var(--orange); }
.aula-board,
.bento-board {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.9fr);
    gap: 1rem;
    align-items: start;
}
.bento-main,
.bento-side { display: grid; gap: 1rem; min-width: 0; }
.bento-panel {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #f0ece8;
    box-shadow: 0 10px 28px rgba(28, 23, 20, 0.05);
}
.bento-panel > .section-head { margin-top: 0; }
.aula-courses,
.bento-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.aula-course,
.bento-course {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #efeae6;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(28, 23, 20, 0.04);
}
.bento-course-icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 14px;
    background: #f3f0ff;
    color: #6b5cff;
}
.bento-course:nth-child(3n+2) .bento-course-icon { background: #fff1e6; color: var(--orange-ink); }
.bento-course:nth-child(3n) .bento-course-icon { background: #eef5ff; color: #2f6fed; }
.bento-course-icon .icon { width: 1.2rem; height: 1.2rem; color: inherit; }
.aula-course .icon { color: var(--orange); }
.aula-course span,
.bento-course span { color: var(--muted); font-size: 0.86rem; }
.bento-course strong { font-size: 0.98rem; line-height: 1.25; }
.bento-meter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 0.5rem;
    align-items: center;
    margin-top: 0.25rem;
}
.bento-meter > span { font-size: 0.78rem; font-weight: 700; color: var(--orange-ink); }
.bento-meter-track {
    grid-column: 1 / -1;
    height: 0.45rem;
    border-radius: 999px;
    background: #f1ece8;
    overflow: hidden;
}
.bento-meter-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff8a2b, #ff6a00);
}
.aula-task-table,
.bento-tasks { margin: 0; padding: 0; list-style: none; }
.aula-task-table li,
.bento-tasks li {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 0.15rem;
    border-top: 1px solid #f0ece8;
}
.aula-task-table li:first-child,
.bento-tasks li:first-child { border-top: 0; padding-top: 0.2rem; }
.bento-check {
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid #d8d0c8;
    border-radius: 0.35rem;
    background: #fff;
}
.bento-tasks strong a { color: inherit; }
.bento-tasks small,
.bento-tasks span { color: var(--muted); font-size: 0.86rem; }
.aula-task-table em,
.bento-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #fff1e6;
    color: var(--orange-ink);
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.bento-pill.is-ok { background: #e7f6ea; color: #1d6b32; }
.bento-cal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.bento-cal-head h2 { margin: 0; font-size: 1.05rem; }
.bento-cal-head a { color: var(--orange-ink); font-weight: 700; font-size: 0.86rem; }
.aula-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.2rem; text-align: center; }
.aula-cal-label { color: var(--muted); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0; }
.aula-cal-day {
    padding: 0.4rem 0;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}
.aula-cal-day.is-out { color: #c5c5c5; font-weight: 500; }
.aula-cal-day.is-today { background: #fff1e6; color: var(--orange-ink); }
.aula-cal-day.has-event { background: var(--orange); color: #fff; font-weight: 700; }
.aula-cal-day.is-today.has-event { box-shadow: inset 0 0 0 2px #fff; }
.aula-next,
.bento-activity {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: center;
    padding: 0.55rem 0;
    color: inherit;
    text-decoration: none;
}
.bento-activity + .bento-activity { border-top: 1px solid #f0ece8; }
.bento-date {
    display: grid;
    justify-items: center;
    min-width: 2.7rem;
    padding: 0.35rem 0.4rem;
    border-radius: 12px;
    background: #fff1e6;
    color: var(--orange-ink);
    font-weight: 800;
    line-height: 1.05;
}
.bento-date small { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.aula-next .icon,
.bento-activity .icon { color: var(--orange); width: 1.25rem; height: 1.25rem; }
.aula-next small,
.bento-activity small { display: block; color: var(--muted); }
.bento-summary p { margin: 0; color: var(--muted); }
.bento-summary .bento-meter { margin-top: 0.85rem; }
.bento-summary a {
    display: inline-flex;
    margin-top: 0.85rem;
    color: var(--orange-ink);
    font-weight: 700;
}
.aula-progress p { color: var(--muted); }
.aula-side .nav-toggle,
.aula-toggle { display: none; }
.brand-cap,
.aula-phone,
.aula-tabbar,
.aula-side-logout { display: none; }

@media (max-width: 1100px) {
    .aula-top-nav a:nth-child(n+6) { display: none; }
    .aula-board,
    .bento-board,
    .aula-stats,
    .bento-stats,
    .aula-courses,
    .bento-courses { grid-template-columns: 1fr 1fr; }
    .aula-task-table li,
    .bento-tasks li { grid-template-columns: auto 1fr auto; }
}

@media (max-width: 780px) {
    .aula-shell { grid-template-columns: 1fr; }
    .aula-toggle { display: inline-grid; }
    .aula-side {
        position: fixed;
        z-index: 35;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(18rem, 88vw);
        max-height: none;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
    }
    .aula-side.is-open { transform: none; }
    .aula-body .nav-backdrop { z-index: 40; }
    .aula-side { z-index: 45; }
    .aula-top-nav,
    .aula-account,
    .aula-top-user form,
    .aula-desk,
    .brand-mark { display: none; }
    .aula-top-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.45rem;
    }
    .aula-top-user { display: contents; }
    .aula-toggle { order: -1; }
    .brand { min-width: 0; }
    .brand strong { font-size: 1rem; }
    .brand small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .brand-cap {
        display: grid;
        place-items: center;
        width: 2.3rem;
        height: 2.3rem;
        border-radius: 999px;
        background: #fff1e6;
        color: var(--orange);
    }
    .brand-cap .icon { width: 1.25rem; height: 1.25rem; }
    .aula-banner {
        position: relative;
        grid-template-columns: 1.2fr auto;
        min-height: 7.4rem;
        border-radius: 22px;
        overflow: visible;
        isolation: isolate;
    }
    .aula-banner::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -1px;
        left: 0;
        z-index: 1;
        height: 1.1rem;
        pointer-events: none;
        background: radial-gradient(120% 100% at 50% -10%, transparent 62%, #f6f7f9 63%);
    }
    body.connecta .aula-banner h1 { font-size: 1.55rem; line-height: 1.08; margin: 0; }
    .aula-banner div { padding: 1rem 0.35rem 1.35rem 1rem; }
    .aula-banner p { font-size: 0.8rem; max-width: 14rem; }
    .aula-banner img {
        width: 6.6rem;
        height: 6.6rem;
        margin: 0.75rem 0.9rem 0.75rem 0;
        border: 4px solid rgba(255, 255, 255, 0.42);
        border-radius: 999px;
        object-fit: cover;
        object-position: 54% 70%;
        box-shadow: 0 10px 24px rgba(28, 23, 20, 0.18);
    }
    .aula-main { padding: 0.85rem 0.85rem 5.6rem; }
    .aula-phone { display: grid; gap: 0.85rem; margin-top: -1.15rem; position: relative; z-index: 2; }
    .aula-phone-hello {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.9rem 0.95rem;
        border: 1px solid #f0ece8;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(28, 23, 20, 0.08);
    }
    body.connecta .aula-phone-hello h2 { margin: 0; font-size: 1.2rem; line-height: 1.15; }
    .aula-phone-hello > div { min-width: 0; flex: 1; }
    .aula-phone-hello p { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.86rem; }
    .aula-phone-hello .aula-avatar { width: 2.7rem; height: 2.7rem; background: #ffe8d6; }
    .aula-phone-gear {
        display: grid;
        place-items: center;
        width: 2.3rem;
        height: 2.3rem;
        margin-left: auto;
        border-radius: 999px;
        background: #fff6f0;
        color: var(--orange-ink);
    }
    .aula-shortcuts {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.55rem;
    }
    .aula-shortcut {
        position: relative;
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 0.35rem;
        min-height: 4.75rem;
        padding: 0.75rem 0.2rem;
        border: 1px solid #efeae6;
        border-radius: 18px;
        background: #fff;
        color: var(--ink);
        font-size: 0.68rem;
        font-weight: 700;
        text-align: center;
        box-shadow: 0 6px 16px rgba(28, 23, 20, 0.04);
    }
    .aula-shortcut .icon { width: 1.3rem; height: 1.3rem; color: #4b4b4b; }
    .aula-shortcut .aula-badge {
        position: absolute;
        top: 0.3rem;
        right: 0.3rem;
        margin: 0;
    }
    .aula-shortcut.is-current {
        border-color: transparent;
        background: var(--orange);
        color: #fff;
        box-shadow: 0 10px 20px rgba(255, 106, 0, 0.28);
    }
    .aula-shortcut.is-current .icon { color: #fff; }
    .aula-phone .section-head { margin: 0.2rem 0 0; }
    body.connecta .aula-phone .section-head h2 {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 1.15rem;
    }
    .aula-phone .section-head h2 .icon { width: 1.15rem; height: 1.15rem; color: var(--orange); }
    .aula-phone-courses {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(7.2rem, 42%);
        gap: 0.55rem;
        overflow-x: auto;
        padding-bottom: 0.15rem;
        scrollbar-width: none;
    }
    .aula-phone-courses::-webkit-scrollbar { display: none; }
    .aula-phone-course {
        display: grid;
        align-content: start;
        gap: 0.25rem;
        min-height: 6.6rem;
        padding: 0.8rem;
        border-radius: 18px;
        background: #f3f0ff;
        color: var(--ink);
        box-shadow: 0 6px 16px rgba(28, 23, 20, 0.04);
    }
    .aula-phone-course:nth-child(3n+2) { background: #fff1e6; }
    .aula-phone-course:nth-child(3n) { background: #eef5ff; }
    .aula-phone-course .icon { width: 1.4rem; height: 1.4rem; color: var(--orange-ink); }
    .aula-phone-course strong { font-size: 0.86rem; line-height: 1.2; }
    .aula-phone-course span { color: var(--muted); font-size: 0.74rem; }
    .aula-phone-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
    .aula-phone-sum {
        display: grid;
        gap: 0.25rem;
        padding: 0.9rem;
        border-radius: 18px;
        background: #fff;
        border: 1px solid #efeae6;
        color: var(--ink);
        box-shadow: 0 6px 16px rgba(28, 23, 20, 0.04);
    }
    .aula-phone-sum span {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        color: var(--muted);
        font-size: 0.75rem;
        font-weight: 700;
    }
    .aula-phone-sum .icon { width: 1rem; height: 1rem; color: var(--orange); }
    .aula-phone-sum strong { font-size: 0.95rem; }
    .aula-phone-sum small { color: var(--muted); }
    .aula-phone-progress {
        padding: 1rem;
        border-radius: 18px;
        background: #fff;
        border: 1px solid #efeae6;
        box-shadow: 0 6px 16px rgba(28, 23, 20, 0.04);
    }
    body.connecta .aula-phone-progress h2 {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        margin: 0 0 0.4rem;
        font-size: 1.05rem;
    }
    .aula-phone-progress .icon { color: var(--orange); }
    .aula-phone-progress p { margin: 0; color: var(--muted); font-size: 0.9rem; }
    .aula-phone-progress a {
        display: inline-flex;
        margin-top: 0.65rem;
        color: var(--orange-ink);
        font-weight: 700;
        font-size: 0.86rem;
    }
    .aula-phone .empty-state {
        padding: 0.9rem;
        border-radius: 16px;
        border: 1px dashed #e7e0da;
        background: #fff;
    }
    .aula-side-logout { display: block; margin: 0.2rem 0.4rem 0; }
    .aula-side-logout button {
        width: 100%;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: #fff;
        font-weight: 700;
        padding: 0.75rem;
    }
    .aula-tabbar {
        position: fixed;
        z-index: 34;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.15rem;
        padding: 0.35rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: #fff;
    }
    .aula-tabbar a {
        display: grid;
        justify-items: center;
        gap: 0.15rem;
        color: #8d8d8d;
        font-size: 0.68rem;
        font-weight: 700;
    }
    .aula-tab-icon {
        position: relative;
        display: grid;
        place-items: center;
        width: 2.5rem;
        height: 1.85rem;
        border-radius: 12px;
    }
    .aula-tab-icon .icon { width: 1.2rem; height: 1.2rem; }
    .aula-tab-icon .aula-badge {
        position: absolute;
        top: -0.2rem;
        right: -0.15rem;
        margin: 0;
    }
    .aula-tabbar a.is-current { color: var(--orange); }
    .aula-tabbar a.is-current .aula-tab-icon { background: var(--orange); color: #fff; }
}

.qa-icon-phone,
.qa-label-phone,
.qa-dots,
.home-agenda,
.site-tabbar,
.hero-phone-icon,
.hero-phone-mask,
.hero-phone-swoosh { display: none; }

@media (max-width: 1199.98px) {
    body.connecta:not(.aula-body) { padding-bottom: 0; }
    body.connecta:not(.aula-body) .site-footer { padding-bottom: 5.4rem; }
    body.connecta:not(.aula-body) nav.site-tabbar {
        position: fixed;
        z-index: 100;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
        min-height: 4.9rem;
        padding: 0.55rem 0.2rem calc(0.6rem + env(safe-area-inset-bottom));
        background: #121212;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
    }
    body.nav-open .site-tabbar { visibility: hidden; }
    body.connecta:not(.aula-body) .site-tabbar a,
    body.connecta:not(.aula-body) .site-tabbar a:hover {
        display: grid;
        justify-items: center;
        gap: 0.32rem;
        color: #fff;
        font-size: 0.78rem;
        font-weight: 600;
        line-height: 1;
        text-decoration: none;
    }
    body.connecta:not(.aula-body) .site-tab-ico {
        display: grid;
        place-items: center;
        width: 2.2rem;
        height: 1.9rem;
        color: #fff;
    }
    body.connecta:not(.aula-body) .site-tab-ico .icon {
        width: 1.6rem;
        height: 1.6rem;
        stroke: currentColor;
        stroke-width: 1.7;
        color: inherit;
    }
    body.connecta:not(.aula-body) .site-tabbar a.is-current,
    body.connecta:not(.aula-body) .site-tabbar a.is-current:hover,
    body.connecta:not(.aula-body) .site-tabbar a.is-current .site-tab-ico {
        color: var(--orange);
    }
}

@media (max-width: 900px) {
    body.connecta:not(.aula-body) .topbar,
    body.connecta:not(.aula-body) .home-side,
    body.connecta:not(.aula-body) .home-hero .provisional,
    body.connecta:not(.aula-body) .qa-icon-desk,
    body.connecta:not(.aula-body) .qa-label-desk,
    body.connecta:not(.aula-body) .hero-desk-icon { display: none; }
    body.connecta:not(.aula-body) .home-hero {
        background: linear-gradient(100deg, #fff 0%, #fff7f0 48%, #fff 100%);
        overflow: hidden;
    }
    body.connecta:not(.aula-body) .home-hero-grid {
        display: block;
        position: relative;
        min-height: 20.4rem;
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
        padding-left: 1.1rem;
        padding-right: 1rem;
        overflow: visible;
    }
    body.connecta:not(.aula-body) .home-hero-copy {
        position: relative;
        z-index: 1;
        max-width: 14rem;
    }
    body.connecta:not(.aula-body) .header-bar { padding: 0.7rem 0; }
    body.connecta:not(.aula-body) .header-bar .brand { gap: 0.5rem; }
    body.connecta:not(.aula-body) .header-bar .brand strong { font-size: 1.42rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
    body.connecta:not(.aula-body) .header-bar .brand small { color: #2b2b2b; font-size: 0.84rem; font-weight: 500; margin-top: 0.12rem; }
    body.connecta:not(.aula-body) .brand-cap {
        width: auto;
        height: auto;
        background: transparent;
        color: var(--orange);
    }
    body.connecta:not(.aula-body) .brand-cap .icon { width: 2.4rem; height: 2.4rem; stroke-width: 1.9; }
    body.connecta:not(.aula-body) .header-tools .icon-btn,
    body.connecta:not(.aula-body) .nav-toggle {
        width: 2.7rem;
        height: 2.7rem;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #1c1c1c;
    }
    body.connecta:not(.aula-body) .header-tools .icon-btn {
        background: #fff;
        box-shadow: 0 4px 14px rgba(28, 23, 20, 0.1);
    }
    body.connecta:not(.aula-body) .header-tools .icon { width: 1.45rem; height: 1.45rem; }
    body.connecta:not(.aula-body) .nav-toggle .icon { width: 1.7rem; height: 1.7rem; }
    body.connecta:not(.aula-body) .home-hero h1,
    body.connecta:not(.aula-body) .home-hero-sub,
    body.connecta:not(.aula-body) .home-hero .lede { padding-right: 0; }
    body.connecta:not(.aula-body) .home-hero h1 {
        font-size: 1.9rem;
        font-weight: 800;
        line-height: 1.12;
        max-width: none;
        margin-bottom: 0.8rem;
    }
    body.connecta:not(.aula-body) .home-hero h1 span { display: block; }
    body.connecta:not(.aula-body) .home-hero-sub {
        max-width: 11rem;
        margin: 0 0 0.6rem;
        font-size: 1.08rem;
        font-weight: 700;
        line-height: 1.28;
    }
    body.connecta:not(.aula-body) .home-hero .lede {
        display: block;
        max-width: 11.2rem;
        margin: 0;
        overflow: visible;
        color: #3d3a37;
        font-size: 0.8rem;
        line-height: 1.4;
        -webkit-line-clamp: unset;
    }
    body.connecta:not(.aula-body) .home-hero-visual {
        position: absolute;
        inset: 0;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        border-radius: 0;
        pointer-events: none;
        z-index: 0;
    }
    body.connecta:not(.aula-body) .hero-desk-visual { display: none; }
    body.connecta:not(.aula-body) .hero-phone-mask {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 19.6rem;
        overflow: hidden;
        border-radius: 62% 0 0 46% / 44% 0 0 56%;
        background: #d9ecfb;
    }
    body.connecta:not(.aula-body) .hero-phone-visual {
        display: block;
        position: absolute;
        top: -58%;
        left: -108%;
        width: 390%;
        height: auto;
        max-width: none;
        object-fit: fill;
        border-radius: 0;
    }
    body.connecta:not(.aula-body) .hero-phone-swoosh {
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        width: 72%;
        height: 2.2rem;
        background: var(--orange);
        border-top-left-radius: 100% 100%;
    }
    body.connecta:not(.aula-body) .hero-actions {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 11.6rem;
        gap: 0.7rem;
        margin-top: 1.1rem;
    }
    body.connecta:not(.aula-body) .nav-toggle { border: 0; background: transparent; }
    body.connecta:not(.aula-body) .hero-centro { order: -1; }
    body.connecta:not(.aula-body) a.hero-centro,
    body.connecta:not(.aula-body) a.hero-aula {
        justify-content: center;
        gap: 0.55rem;
        min-height: 2.6rem;
        padding-inline: 1rem;
        border-radius: 999px;
        font-size: 0.86rem;
        font-weight: 600;
        text-decoration: none;
    }
    body.connecta:not(.aula-body) a.hero-centro {
        background: var(--orange);
        color: #fff;
        border: 0;
        box-shadow: 0 8px 18px rgba(255, 106, 0, 0.25);
    }
    body.connecta:not(.aula-body) a.hero-aula {
        background: #fff;
        color: var(--ink);
        border: 1.5px solid #ffb27a;
        box-shadow: none;
    }
    body.connecta:not(.aula-body) .hero-phone-icon { display: inline-block; width: 1.1rem; height: 1.1rem; }
    .qa-wrap { position: relative; z-index: 2; margin-top: 0.4rem; }
    body.connecta:not(.aula-body) .quick-access {
        display: flex;
        grid-template-columns: none;
        gap: 0.5rem;
        margin: 0;
        padding: 0.2rem 0 0.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    body.connecta:not(.aula-body) .quick-access::-webkit-scrollbar { display: none; }
    body.connecta:not(.aula-body) .quick-access a {
        flex: 0 0 calc((100% - 1.5rem) / 4);
        scroll-snap-align: start;
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 0.55rem;
        min-height: 5.9rem;
        padding: 0.9rem 0.2rem 0.75rem;
        border: 1px solid #ffe2cc;
        border-radius: 16px;
        background: linear-gradient(180deg, #fff3ea 0%, #ffe8d7 100%);
        box-shadow: 0 6px 14px rgba(255, 106, 0, 0.08);
        color: var(--ink);
        font-size: 0.8rem;
        font-weight: 700;
        text-decoration: none;
    }
    body.connecta:not(.aula-body) .qa-eso { order: 1; }
    body.connecta:not(.aula-body) .qa-bach { order: 2; }
    body.connecta:not(.aula-body) .qa-fp { order: 3; }
    body.connecta:not(.aula-body) .qa-aula { order: 4; }
    body.connecta:not(.aula-body) .qa-act { order: 5; }
    body.connecta:not(.aula-body) .qa-news { order: 6; }
    body.connecta:not(.aula-body) .qa-afa { order: 7; }
    body.connecta:not(.aula-body) .qa-era { order: 8; }
    body.connecta:not(.aula-body) .qa-icon-phone,
    body.connecta:not(.aula-body) .qa-label-phone { display: block; }
    body.connecta:not(.aula-body) .quick-access .qa-icon-phone {
        width: 2.3rem;
        height: 2.3rem;
        margin-inline: auto;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: var(--orange);
        stroke: currentColor;
        stroke-width: 1.6;
    }
    .qa-dots { display: flex; justify-content: center; gap: 0.4rem; margin: 0.55rem 0 0.1rem; }
    .qa-dot {
        width: 0.5rem;
        height: 0.5rem;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #ffd9bf;
    }
    .qa-dot.is-current { background: var(--orange); }
    body.connecta:not(.aula-body) .home-board { padding-top: 1.1rem; }
    body.connecta:not(.aula-body) .home-board .section-head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.9rem;
    }
    body.connecta:not(.aula-body) .home-board .section-head h2 {
        margin: 0;
        width: fit-content;
        padding-bottom: 0.4rem;
        font-size: 1.4rem;
        font-weight: 800;
        box-shadow: none;
        background-image: linear-gradient(var(--orange), var(--orange));
        background-repeat: no-repeat;
        background-size: 82% 3px;
        background-position: left 100%;
    }
    body.connecta:not(.aula-body) .home-board .section-head h2::after { display: none; }
    body.connecta:not(.aula-body) .home-board .section-head a {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        color: var(--orange);
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
    }
    body.connecta:not(.aula-body) .home-board .empty-state {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    body.connecta:not(.aula-body) .home-board .empty-state .kicker { display: none; }
    body.connecta:not(.aula-body) .home-board .empty-state h2 { font-size: 1rem; margin-bottom: 0.15rem; }
    body.connecta:not(.aula-body) .home-board .empty-state p { margin: 0; font-size: 0.86rem; }
    body.connecta:not(.aula-body) .home-news {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 0.2rem;
    }
    body.connecta:not(.aula-body) .home-news::-webkit-scrollbar { display: none; }
    body.connecta:not(.aula-body) .home-news-card {
        flex: 0 0 68%;
        scroll-snap-align: start;
        gap: 0.4rem;
    }
    body.connecta:not(.aula-body) .home-news-media { height: 6.5rem; border-radius: 16px; }
    body.connecta:not(.aula-body) .badge-cat { top: 0.5rem; bottom: auto; }
    .home-agenda {
        display: grid;
        grid-template-columns: 1fr 6.6rem;
        align-items: center;
        gap: 0.35rem;
        margin-top: 1.1rem;
        padding: 1.1rem 0.8rem 1.1rem 1.4rem;
        border-radius: 20px;
        background: linear-gradient(90deg, #fff4ec 0%, #ffe6d4 100%);
        color: var(--ink);
        text-decoration: none;
    }
    .home-agenda-copy { display: grid; justify-items: start; gap: 0.35rem; }
    .home-agenda-copy strong { font-size: 1.3rem; font-weight: 700; line-height: 1.15; }
    .home-agenda-row { display: flex; align-items: center; gap: 0.9rem; }
    .home-agenda-copy small {
        display: block;
        max-width: 9.6rem;
        color: #3d3a37;
        font-size: 0.84rem;
        line-height: 1.35;
    }
    .home-agenda-art {
        display: block;
        width: 6.4rem;
        height: 6.4rem;
        background: transparent;
    }
    .agenda-cal { display: block; width: 100%; height: 100%; }
    .home-agenda-go {
        display: grid;
        flex: 0 0 auto;
        place-items: center;
        width: 2.1rem;
        height: 2.1rem;
        border-radius: 999px;
        background: var(--orange);
        color: #fff;
    }
    .home-agenda-go .icon { width: 0.95rem; height: 0.95rem; }
}

@keyframes connecta-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@keyframes connecta-slide {
    from { opacity: 0; transform: translateX(36px); }
    to { opacity: 1; transform: none; }
}

@keyframes connecta-pop {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@keyframes connecta-swoosh {
    from { transform: scaleX(0.15); }
    to { transform: none; }
}

body.connecta:not(.aula-body) .quick-access a,
body.connecta:not(.aula-body) .quick-access .icon,
body.connecta:not(.aula-body) .home-news-card,
body.connecta:not(.aula-body) .home-news-media img,
body.connecta:not(.aula-body) .offer-card,
body.connecta:not(.aula-body) .offer-card .icon,
body.connecta:not(.aula-body) .home-agenda,
body.connecta:not(.aula-body) .home-agenda-go,
body.connecta:not(.aula-body) .home-event,
body.connecta:not(.aula-body) .c-btn .icon,
body.connecta:not(.aula-body) .header-tools .icon-btn,
body.connecta:not(.aula-body) .site-tabbar a {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.2s ease;
}

body.connecta:not(.aula-body) .quick-access a:hover,
body.connecta:not(.aula-body) .home-news-card:hover,
body.connecta:not(.aula-body) .offer-card:hover,
body.connecta:not(.aula-body) .home-agenda:hover,
body.connecta:not(.aula-body) .home-event:hover {
    transform: translateY(-4px);
}

body.connecta:not(.aula-body) .quick-access a:hover .icon,
body.connecta:not(.aula-body) .offer-card:hover .icon {
    transform: translateY(-2px) scale(1.08);
}

body.connecta:not(.aula-body) .home-news-card:hover .home-news-media img { transform: scale(1.06); }
body.connecta:not(.aula-body) .home-agenda:hover .home-agenda-go { transform: translateX(4px); }
body.connecta:not(.aula-body) .c-btn:hover .icon { transform: translateX(3px); }
body.connecta:not(.aula-body) .header-tools .icon-btn:hover { transform: scale(1.08); }
body.connecta:not(.aula-body) .site-tabbar a:active { transform: scale(0.94); }

@media (prefers-reduced-motion: no-preference) {
    body.connecta:not(.aula-body) .home-hero-copy { animation: connecta-rise 0.7s ease backwards; }
    body.connecta:not(.aula-body) .home-hero-visual { animation: connecta-slide 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
    body.connecta:not(.aula-body) .header-bar .brand-cap { animation: connecta-pop 0.5s ease backwards; }
    body.connecta:not(.aula-body) .hero-phone-swoosh {
        transform-origin: 100% 100%;
        animation: connecta-swoosh 0.7s 0.35s ease backwards;
    }
    body.connecta:not(.aula-body) .quick-access a { animation: connecta-pop 0.5s ease backwards; }
    body.connecta:not(.aula-body) .qa-bach { animation-delay: 0.05s; }
    body.connecta:not(.aula-body) .qa-fp { animation-delay: 0.1s; }
    body.connecta:not(.aula-body) .qa-act { animation-delay: 0.15s; }
    body.connecta:not(.aula-body) .qa-news { animation-delay: 0.2s; }
    body.connecta:not(.aula-body) .qa-afa { animation-delay: 0.25s; }
    body.connecta:not(.aula-body) .qa-era { animation-delay: 0.3s; }
    body.connecta:not(.aula-body) .qa-aula { animation-delay: 0.35s; }
    body.connecta:not(.aula-body) .home-board { animation: connecta-rise 0.7s 0.15s ease backwards; }
    body.connecta:not(.aula-body) #oferta { animation: connecta-rise 0.7s 0.28s ease backwards; }
    body.connecta:not(.aula-body) .page-hero { animation: connecta-rise 0.65s ease backwards; }
    body.connecta:not(.aula-body) .site-footer { animation: connecta-rise 0.7s 0.2s ease backwards; }
    body.connecta:not(.aula-body) .site-tabbar a.is-current .site-tab-ico { animation: connecta-pop 0.45s ease backwards; }
}

.boot {
    position: fixed;
    z-index: 400;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #fff4ec 100%);
    color: var(--ink);
    text-align: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.boot.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body:has(.boot:not(.is-done)) { overflow: hidden; }

.boot-brand,
.boot-place,
.boot-note { margin: 0; }

.boot-brand {
    margin-top: 0.35rem;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.boot-place {
    margin-top: 0.35rem;
    color: #5c564f;
    font-size: 0.92rem;
    font-weight: 600;
}

.boot-line {
    width: 8.5rem;
    height: 0.28rem;
    margin: 1rem 0 0.7rem;
    overflow: hidden;
    border-radius: 999px;
    background: #ffd8bf;
}

.boot-line span {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: var(--orange);
}

.boot-note {
    color: var(--orange-ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@keyframes boot-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes boot-write {
    0% { transform: translateX(-140%); }
    100% { transform: translateX(280%); }
}

@media (prefers-reduced-motion: no-preference) {
    .boot-cap {
        transform-origin: 80px 60px;
        animation: boot-float 1.5s ease-in-out infinite;
    }

    .boot-line span { animation: boot-write 1.15s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
    .boot-line span { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
    body.connecta:not(.aula-body) .qa-aula { animation-delay: 0.16s; }
    body.connecta:not(.aula-body) .qa-act { animation-delay: 0.22s; }
    body.connecta:not(.aula-body) .qa-news { animation-delay: 0.28s; }
    body.connecta:not(.aula-body) .qa-afa { animation-delay: 0.34s; }
    body.connecta:not(.aula-body) .qa-era { animation-delay: 0.4s; }
}

.aula-nav {
    flex: 1 1 auto;
    min-height: 0;
    align-content: start;
    overflow: auto;
    padding-bottom: 0.35rem;
}
.aula-nav a { min-height: 2.65rem; }
.aula-nav a:hover { background: #2a2a2a; color: #fff; }
.aula-nav a.is-current,
.aula-nav a.is-current:hover { background: var(--orange); color: #fff; }

.admin-shortcuts { margin-top: 1rem; }
.admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-stats article { min-width: 0; }
.admin-stats span { overflow-wrap: anywhere; }
.aula-courses.admin-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-module { align-content: start; min-width: 0; }
.admin-module strong { overflow-wrap: anywhere; }
.admin-side-col { display: grid; gap: 1rem; align-content: start; }
.panel .document-list li { padding-left: 0; }
.panel .document-list li::before { display: none; }
.admin-side-col .panel + .panel { margin-top: 0; }

.admin-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(8rem, 0.7fr) minmax(8rem, 0.7fr) auto;
    gap: 0.7rem;
    align-items: end;
    margin: 0 0 1.1rem;
}
.admin-filters label {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}
.admin-filters input,
.admin-filters select {
    width: 100%;
    min-height: 2.7rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 500;
    padding: 0.4rem 0.7rem;
}
.aula-main .document-list li { align-items: center; }
.aula-main .document-list li > div { min-width: 0; }
.aula-main .document-list p { margin: 0.15rem 0 0; overflow-wrap: anywhere; }
.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    align-items: center;
}
.row-actions form { margin: 0; }
.row-actions button {
    min-height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--orange-ink);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: #f1f1f1;
    color: #3d3a37;
    font-size: 0.75rem;
    font-weight: 700;
}
.status-pill.is-on { background: #e7f6ea; color: #1d6b32; }
.status-pill.is-off { background: #fff1e8; color: var(--orange-ink); }

@media (min-width: 781px) {
    .admin-shortcuts,
    .teacher-shortcuts { display: none; }
}

@media (max-width: 900px) {
    .admin-filters { grid-template-columns: 1fr 1fr; }
    .admin-filters .field-grow { grid-column: 1 / -1; }
    .admin-stats,
    .aula-courses.admin-modules { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
    .aula-nav { flex: none; overflow: visible; }
    .aula-main .section-head { align-items: flex-start; }
    .aula-main .section-head .c-btn { min-height: 2.7rem; }
}

@media (max-width: 560px) {
    .admin-stats,
    .aula-courses.admin-modules,
    .admin-filters { grid-template-columns: 1fr; }
}

.aula-desk,
.teacher-home { display: grid; gap: 1rem; margin-top: 1rem; }
.teacher-home .aula-hello,
.aula-desk .aula-hello { margin: 0; }
.aula-stats.teacher-stats,
.aula-stats.admin-stats,
.bento-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aula-stats.teacher-stats article,
.teacher-board .panel,
.course-sections .panel,
.stack .panel,
.bento-panel { min-width: 0; }
.aula-stats.teacher-stats span,
.aula-task-table strong,
.aula-task-table span,
.bento-tasks strong,
.bento-tasks span,
.teacher-side p { overflow-wrap: anywhere; }
.teacher-board,
.admin-board { display: contents; }
.teacher-side,
.admin-side-col { display: contents; }
.aula-courses.teacher-courses,
.aula-courses.admin-modules,
.bento-courses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.teacher-shortcuts,
.admin-shortcuts { display: none; }
.teacher-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
}
.teacher-form h2,
.teacher-form .field-grow,
.teacher-form .form-actions { grid-column: 1 / -1; }
.teacher-form .field input,
.teacher-form .field select,
.teacher-form .field textarea,
.admin-filters input,
.admin-filters select { width: 100%; }
.check-line { display: flex; align-items: center; gap: 0.5rem; min-height: 2.7rem; font-weight: 700; }
.course-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1rem; }
.admin-filters .field { min-width: 0; }
.admin-filters .c-btn,
.teacher-form .c-btn { min-height: 2.7rem; }
.section-head { margin-top: 1rem; }

@media (max-width: 900px) {
    .aula-stats.teacher-stats,
    .aula-stats.admin-stats,
    .bento-stats,
    .aula-courses.teacher-courses,
    .aula-courses.admin-modules,
    .bento-courses,
    .course-sections { grid-template-columns: 1fr 1fr; }
    .bento-board,
    .teacher-form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .aula-stats.teacher-stats,
    .aula-stats.admin-stats,
    .bento-stats,
    .aula-courses.teacher-courses,
    .aula-courses.admin-modules,
    .bento-courses,
    .course-sections { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    body.connecta .aula-desk,
    body.connecta .aula-desk.teacher-home { display: none; }
    body.connecta .aula-phone { display: grid; }
}

.locale-switch {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.locale-switch-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    min-height: 1.7rem;
    padding: 0.15rem 0.4rem 0.15rem 0.35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    font-size: 0.64rem;
    letter-spacing: 0.02em;
    line-height: 1;
    cursor: pointer;
}
.locale-switch-toggle:hover { background: #fff6f0; }
.locale-switch-icon {
    display: grid;
    place-items: center;
    color: var(--orange);
}
.locale-switch-icon .icon { width: 0.82rem; height: 0.82rem; }
.locale-switch-current { min-width: 1.2rem; text-align: center; }
.locale-switch-caret {
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: transform 0.22s ease;
}
.locale-switch-caret .icon { width: 0.7rem; height: 0.7rem; }
.locale-switch.is-open .locale-switch-caret { transform: rotate(180deg); }
.locale-switch-menu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition: max-height 0.3s ease, opacity 0.22s ease, transform 0.22s ease;
}
.locale-switch.is-open .locale-switch-menu {
    max-height: 8rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
.locale-switch-menu-inner {
    display: grid;
    gap: 0.12rem;
    margin-top: 0.35rem;
    padding: 0.28rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(28, 23, 20, 0.12);
}
.locale-switch-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
}
.locale-switch-menu a:hover { color: var(--orange-ink); background: #fff6f0; }
.locale-switch-menu a.is-current {
    background: var(--orange);
    color: #fff;
}
.aula-top-user .locale-switch-toggle { border-color: #e8e2dc; }

.nav-locale {
    display: none;
    width: 100%;
    margin-top: 0.7rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}
.nav-locale-label {
    margin: 0 0 0.4rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aula-side-locale {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    margin: 0 0 0.35rem;
    padding: 0 0.35rem 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.aula-side-locale .nav-locale-label {
    margin-bottom: 0.3rem;
    color: #9a9a9a;
}
.aula-side-locale .locale-switch-toggle {
    border-color: #3a3a3a;
    background: #242424;
    color: #f3f3f3;
}
.aula-side-locale .locale-switch-toggle:hover { background: #333; }
.aula-side-locale .locale-switch-caret { color: #9a9a9a; }
.aula-side-locale .locale-switch-menu-inner {
    border-color: #3a3a3a;
    background: #242424;
    box-shadow: none;
}
.aula-side-locale .locale-switch-menu a { color: #d7d7d7; }
.aula-side-locale .locale-switch-menu a:hover {
    color: #fff;
    background: #333;
}
.aula-side-locale .locale-switch-menu a.is-current {
    background: var(--orange);
    color: #fff;
}
.aula-help { margin-top: auto; }

@media (max-width: 1199.98px) {
    .header-tools > .locale-switch { display: none; }
    .nav-locale { display: block; }
}

@media (max-width: 780px) {
    .aula-top-user > .locale-switch { display: none; }
}

