:root {
    --bg: #0f1a16;
    --bg-soft: #15241e;
    --panel: #f4f7f5;
    --ink: #122018;
    --muted: #5b6b62;
    --line: #d5e0da;
    --brand: #1f6b4a;
    --brand-deep: #0d3d2c;
    --accent: #c6f26d;
    --danger: #b42318;
    --success: #067647;
    --info: #175cd3;
    --shadow: 0 24px 60px rgba(8, 20, 14, 0.35);
    --radius: 18px;
    --font: "Manrope", sans-serif;
    --display: "Syne", sans-serif;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --bottomnav-h: 64px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    max-width: 100%;
    display: block;
}

/* ========== AUTH ========== */
.auth-body {
    min-height: 100vh;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

.auth-brand {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 1.25rem 1.75rem;
    color: #eef7f1;
    background:
        radial-gradient(circle at 20% 20%, rgba(198, 242, 109, 0.18), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(31, 107, 74, 0.45), transparent 45%),
        linear-gradient(160deg, #0d3d2c 0%, #122018 55%, #0a1612 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 32vh;
}

.auth-brand__glow {
    position: absolute;
    inset: auto -10% -20% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 242, 109, 0.28), transparent 65%);
    pointer-events: none;
}

.auth-brand__eyebrow {
    position: relative;
    margin: 0 0 0.75rem;
    font-family: var(--display);
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    color: var(--accent);
}

.auth-brand__title {
    position: relative;
    margin: 0;
    max-width: 14ch;
    font-family: var(--display);
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    line-height: 0.98;
    font-weight: 800;
}

.auth-brand__text {
    position: relative;
    margin: 0.9rem 0 0;
    max-width: 34ch;
    color: rgba(238, 247, 241, 0.78);
    font-size: 0.98rem;
    line-height: 1.55;
}

.auth-panel {
    display: grid;
    place-items: start center;
    padding: 1.25rem;
    background: linear-gradient(180deg, #f7faf8 0%, #eef3f0 100%);
}

.auth-card {
    width: min(100%, 420px);
    animation: rise 0.45s ease both;
    padding-bottom: 2rem;
}

.auth-card__title {
    margin: 0;
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 700;
}

.auth-card__subtitle {
    margin: 0.45rem 0 1.35rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-card__footer {
    margin: 1.25rem 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 0.95rem;
}

.form {
    display: grid;
    gap: 0.9rem;
}

.form__row {
    display: flex;
    justify-content: flex-end;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #304038;
}

.field input,
.field select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font: inherit;
    font-size: 16px; /* evita zoom no iOS */
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
    border-color: #2f8a60;
    box-shadow: 0 0 0 4px rgba(31, 107, 74, 0.12);
}

.link {
    color: var(--brand);
    font-weight: 600;
}

.link--light {
    color: var(--accent);
}

.btn {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    min-height: 48px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #f4fff8;
}

.btn--danger {
    background: linear-gradient(135deg, #d92d20 0%, #912018 100%);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: #e8f2ec;
    border: 1px solid rgba(232, 242, 236, 0.25);
}

.btn--sm {
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
}

.btn--block {
    width: 100%;
}

/* ========== APP (aluno simples) ========== */
.app-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(198, 242, 109, 0.08), transparent 30%),
        linear-gradient(180deg, #102018 0%, #0b1411 100%);
    color: #eef7f1;
}

.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(238, 247, 241, 0.08);
}

.app-topbar__brand {
    font-family: var(--display);
    font-weight: 700;
}

.app-main {
    min-height: calc(100vh - 64px);
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.blank-stage {
    text-align: center;
    animation: rise 0.45s ease both;
}

.blank-stage h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    font-weight: 700;
    max-width: 18ch;
    line-height: 1.15;
}

/* ========== ADMIN SHELL (mobile-first) ========== */
.admin-body {
    overflow-x: hidden;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(82vw, 300px);
    z-index: 40;
    background: #0c1713;
    border-right: 1px solid rgba(238, 247, 241, 0.08);
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
}

.admin-shell.is-sidebar-open .admin-sidebar {
    transform: translateX(0);
}

.admin-sidebar__brand {
    display: grid;
    gap: 0.2rem;
}

.admin-sidebar__logo {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.2rem;
}

.admin-sidebar__role {
    color: rgba(238, 247, 241, 0.55);
    font-size: 0.85rem;
}

.admin-nav {
    display: grid;
    gap: 0.4rem;
    flex: 1;
}

.admin-nav__link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    color: rgba(238, 247, 241, 0.78);
    font-weight: 600;
}

.admin-nav__link.is-active,
.admin-nav__link:hover {
    background: rgba(198, 242, 109, 0.12);
    color: #fff;
}

.admin-nav__icon {
    color: var(--accent);
}

.admin-sidebar__footer {
    display: grid;
    gap: 0.75rem;
}

.admin-sidebar__user {
    margin: 0;
    color: rgba(238, 247, 241, 0.7);
    font-size: 0.9rem;
}

.admin-overlay {
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(0, 0, 0, 0.45);
}

.admin-content {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 32, 24, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(238, 247, 241, 0.08);
}

.admin-topbar__title {
    flex: 1;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-topbar__logout {
    display: none;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(238, 247, 241, 0.08);
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
}

.icon-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: #eef7f1;
    border-radius: 2px;
}

.admin-main {
    padding: 1rem 1rem calc(var(--bottomnav-h) + var(--safe-bottom) + 1rem);
}

.admin-bottomnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.25rem;
    padding: 0.45rem 0.75rem calc(0.45rem + var(--safe-bottom));
    background: rgba(12, 23, 19, 0.96);
    border-top: 1px solid rgba(238, 247, 241, 0.08);
    backdrop-filter: blur(10px);
}

.admin-bottomnav__link {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(238, 247, 241, 0.65);
}

.admin-bottomnav__link.is-active {
    background: rgba(198, 242, 109, 0.14);
    color: #fff;
}

/* ========== PAGE / STATS / LISTS ========== */
.page {
    display: grid;
    gap: 1rem;
    animation: rise 0.35s ease both;
}

.page__header {
    display: grid;
    gap: 0.35rem;
}

.page__eyebrow {
    margin: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.page__title {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.45rem, 5.5vw, 2rem);
    line-height: 1.15;
}

.page__subtitle {
    margin: 0;
    color: rgba(238, 247, 241, 0.65);
    font-size: 0.95rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.stat-card {
    background: rgba(238, 247, 241, 0.05);
    border: 1px solid rgba(238, 247, 241, 0.08);
    border-radius: 16px;
    padding: 0.95rem;
}

.stat-card__label {
    margin: 0;
    color: rgba(238, 247, 241, 0.6);
    font-size: 0.82rem;
    font-weight: 600;
}

.stat-card__value {
    margin: 0.35rem 0 0;
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.panel {
    background: rgba(238, 247, 241, 0.04);
    border: 1px solid rgba(238, 247, 241, 0.08);
    border-radius: 16px;
    padding: 0.95rem;
}

.panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.panel__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.empty {
    margin: 0;
    color: rgba(238, 247, 241, 0.6);
    font-size: 0.95rem;
}

.filters {
    display: grid;
    gap: 0.75rem;
    background: rgba(238, 247, 241, 0.04);
    border: 1px solid rgba(238, 247, 241, 0.08);
    border-radius: 16px;
    padding: 0.95rem;
}

.filters .field span {
    color: rgba(238, 247, 241, 0.75);
}

.admin-main .panel .field span,
.admin-main .form .field span {
    color: rgba(238, 247, 241, 0.75);
}

.admin-main .btn--ghost {
    color: #e8f2ec;
}

.list {
    display: grid;
    gap: 0.65rem;
}

.list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(238, 247, 241, 0.06);
}

.list-item--actions {
    flex-direction: column;
}

.list-item__body {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.list-item__title {
    margin: 0;
    font-weight: 700;
}

.list-item__meta {
    margin: 0;
    color: rgba(238, 247, 241, 0.58);
    font-size: 0.88rem;
    word-break: break-word;
}

.list-item__side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(238, 247, 241, 0.1);
}

.badge--active {
    background: rgba(6, 118, 71, 0.22);
    color: #abefc6;
}

.badge--inactive {
    background: rgba(180, 35, 24, 0.22);
    color: #fda29b;
}

.badge--pending_plan {
    background: rgba(23, 92, 211, 0.22);
    color: #b2ccff;
}

.badge--awaiting_payment {
    background: rgba(181, 125, 14, 0.25);
    color: #fec84b;
}

.page__header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(238, 247, 241, 0.85);
    font-size: 0.95rem;
}

.blank-stage__meta {
    margin: 0.75rem 0 0;
    color: rgba(238, 247, 241, 0.65);
}

.page--light .page__title,
.page--light .page__subtitle {
    color: #eef7f1;
}

.plan-grid {
    display: grid;
    gap: 0.9rem;
}

.plan-card {
    background: #f4f7f5;
    color: var(--ink);
    border-radius: 18px;
    padding: 1rem;
    display: grid;
    gap: 0.35rem;
}

.plan-card__name {
    margin: 0;
    font-family: var(--display);
    font-size: 1.35rem;
}

.plan-card__price {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-deep);
}

.plan-card__cycle {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-card__desc {
    margin: 0 0 0.5rem;
    color: #3d4d44;
    font-size: 0.95rem;
    line-height: 1.45;
}

.plan-card .field span {
    color: #304038;
}

.hint-box {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(198, 242, 109, 0.12);
    border: 1px solid rgba(198, 242, 109, 0.25);
    color: rgba(238, 247, 241, 0.88);
    font-size: 0.92rem;
    line-height: 1.45;
}

.panel--light {
    background: #f4f7f5;
    color: var(--ink);
    border: 1px solid rgba(13, 61, 44, 0.08);
}

.panel--light .panel__title {
    color: var(--ink);
}

.detail-grid--light .detail-row {
    color: var(--muted);
    border-bottom-color: var(--line);
}

.detail-grid--light .detail-row strong {
    color: var(--ink);
}

.empty--dark {
    color: rgba(238, 247, 241, 0.7);
}

.app-main:has(.page) {
    display: block;
    place-items: stretch;
    align-content: start;
    padding: 1rem 1rem 1.5rem;
}

/* ========== ALUNO AREA ========== */
.aluno-body {
    padding-bottom: calc(72px + var(--safe-bottom));
}

.aluno-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(16, 32, 24, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(238, 247, 241, 0.08);
}

.aluno-topbar__brand {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1rem;
}

.aluno-topbar__hello {
    margin: 0.15rem 0 0;
    color: rgba(238, 247, 241, 0.6);
    font-size: 0.85rem;
}

.aluno-sticky {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(12, 23, 19, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(238, 247, 241, 0.08);
}

.aluno-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem 0.55rem;
}

.aluno-main {
    padding: 1rem 1rem 1.25rem;
}

.hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.hub-card {
    display: grid;
    gap: 0.28rem;
    padding: 1.1rem 1.15rem;
    border-radius: 18px;
    text-decoration: none;
    color: #eef7f1;
    background: linear-gradient(145deg, #1a6b4a 0%, #0f3d2c 100%);
    border: 1px solid rgba(198, 242, 109, 0.35);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.hub-card:nth-child(2) {
    background: linear-gradient(145deg, #2a8f5c 0%, #14553c 100%);
}

.hub-card:nth-child(3) {
    background: linear-gradient(145deg, #1e7a62 0%, #0d4a3c 100%);
}

.hub-card:nth-child(6) {
    background: linear-gradient(145deg, #2f6b4a 0%, #163d2c 100%);
}

.hub-card:active {
    transform: scale(0.98);
}

.hub-card--primary {
    background: linear-gradient(135deg, #c6f26d 0%, #7ecf4a 45%, #1f6b4a 100%);
    border-color: rgba(255, 255, 255, 0.35);
    color: #0d2418;
    box-shadow: 0 10px 28px rgba(126, 207, 74, 0.35);
}

.hub-card--primary .hub-card__eyebrow {
    color: rgba(13, 36, 24, 0.72);
}

.hub-card--primary .hub-card__desc {
    color: rgba(13, 36, 24, 0.78);
}

.hub-card--soon {
    background: linear-gradient(145deg, #2a4a3c 0%, #1a3028 100%);
    border-color: rgba(238, 247, 241, 0.18);
    opacity: 0.92;
}

.hub-card__eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(198, 242, 109, 0.95);
}

.hub-card__title {
    font-family: var(--display);
    font-size: 1.28rem;
    font-weight: 800;
}

.hub-card__desc {
    font-size: 0.9rem;
    color: rgba(238, 247, 241, 0.86);
    line-height: 1.35;
}

@media (min-width: 520px) {
    .hub-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hub-card--primary {
        grid-column: 1 / -1;
    }
}

.aluno-bottomnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem;
    padding: 0.45rem 0.5rem calc(0.45rem + var(--safe-bottom));
    background: rgba(12, 23, 19, 0.97);
    border-top: 1px solid rgba(238, 247, 241, 0.08);
    backdrop-filter: blur(10px);
}

.install-pulse {
    margin: 0.45rem 0.85rem 0;
    border-radius: 14px;
    overflow: hidden;
}

.install-pulse__btn {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.65rem;
    border: 0;
    cursor: pointer;
    text-align: left;
    padding: 0.75rem 0.85rem;
    background: linear-gradient(90deg, rgba(198, 242, 109, 0.22), rgba(31, 107, 74, 0.35));
    color: #eef7f1;
    font: inherit;
    animation: install-glow 1.4s ease-in-out infinite;
}

.install-pulse__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(198, 242, 109, 0.7);
    animation: install-ping 1.4s ease-out infinite;
}

.install-pulse__text {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.3;
}

.install-pulse__action {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(13, 61, 44, 0.55);
}

.install-pulse__ios {
    margin: 0;
    padding: 0.55rem 0.85rem 0.7rem;
    background: rgba(198, 242, 109, 0.12);
    color: rgba(238, 247, 241, 0.88);
    font-size: 0.82rem;
    line-height: 1.4;
}

@keyframes install-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.18); }
}

@keyframes install-ping {
    0% { box-shadow: 0 0 0 0 rgba(198, 242, 109, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(198, 242, 109, 0); }
    100% { box-shadow: 0 0 0 0 rgba(198, 242, 109, 0); }
}

.aluno-hero__profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.aluno-hero__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(198, 242, 109, 0.55);
    background: #0d3d2c;
}

.aluno-hero__welcome {
    margin: 0;
    color: rgba(238, 247, 241, 0.62);
    font-size: 0.82rem;
}

.aluno-hero__name {
    margin: 0.1rem 0 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52vw;
}

.aluno-planbar {
    margin: 0 1rem 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(238, 247, 241, 0.06);
    border: 1px solid rgba(238, 247, 241, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.aluno-planbar__label {
    margin: 0;
    color: rgba(238, 247, 241, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
}

.aluno-planbar__value {
    margin: 0.15rem 0 0;
    font-weight: 800;
}

.aluno-planbar__note {
    margin: 0;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
}

.tour-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(5, 12, 9, 0.72);
    display: grid;
    place-items: end center;
    padding: 1rem;
    padding-bottom: calc(1rem + var(--safe-bottom));
}

.tour-card {
    width: min(100%, 440px);
    background: #f4f7f5;
    color: var(--ink);
    border-radius: 22px;
    padding: 1.2rem;
    display: grid;
    gap: 0.65rem;
    animation: rise 0.3s ease both;
}

.tour-card__step {
    margin: 0;
    color: var(--brand);
    font-weight: 800;
    font-size: 0.85rem;
}

.tour-card__title {
    margin: 0;
    font-family: var(--display);
    font-size: 1.4rem;
}

.tour-card__text {
    margin: 0;
    color: #3d4d44;
    line-height: 1.5;
}

.tour-card__actions {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.tour-card .btn--ghost {
    color: var(--brand-deep);
    border-color: rgba(13, 61, 44, 0.2);
}

.avatar-edit {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
}

.avatar-edit__preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(31, 107, 74, 0.25);
}

.avatar-edit__btn {
    position: relative;
    overflow: hidden;
}

.aluno-bottomnav__link {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(238, 247, 241, 0.62);
}

.aluno-bottomnav__link.is-active {
    background: rgba(198, 242, 109, 0.14);
    color: #fff;
}

/* ========== ONBOARDING PWA ========== */
.onboarding-body {
    min-height: 100vh;
}

.onboarding-main {
    min-height: 100vh;
    padding: 1rem 1rem 1.5rem;
    display: grid;
    align-content: start;
}

.onboarding-boot {
    min-height: 70vh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.75rem;
    text-align: center;
    color: rgba(238, 247, 241, 0.8);
}

.onboarding-logo {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.onboarding-hero {
    justify-items: center;
    text-align: center;
}

.onboarding-hero .page__title,
.onboarding-hero .page__subtitle {
    text-align: center;
}

.onboarding-page {
    max-width: 480px;
    margin: 0 auto;
}

.onboarding-bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(238, 247, 241, 0.86);
    line-height: 1.55;
}

.onboarding-steps {
    margin: 0;
    padding-left: 1.2rem;
    color: rgba(238, 247, 241, 0.86);
    line-height: 1.6;
}

.onboarding-steps li + li {
    margin-top: 0.65rem;
}

.field-help {
    display: block;
    margin-top: 0.25rem;
    color: rgba(238, 247, 241, 0.55);
    font-size: 0.8rem;
    line-height: 1.35;
}

.plan-card--free {
    outline: 2px solid rgba(31, 107, 74, 0.35);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chip {
    cursor: pointer;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(238, 247, 241, 0.1);
    font-size: 0.88rem;
    font-weight: 700;
}

.chip.is-active span,
.chip input:checked + span {
    background: rgba(198, 242, 109, 0.2);
    border-color: rgba(198, 242, 109, 0.5);
}

.filters--evo {
    gap: 0.75rem;
}

.onboarding-main .field-help {
    color: var(--muted);
}

.onboarding-main .panel--light .field span,
.onboarding-page .panel--light .field span,
.plan-card .field span {
    color: #1a2e24;
    font-weight: 700;
}

.onboarding-main .panel--light .field-help {
    color: #5b6b62;
}

.wizard-progress {
    margin: 0.35rem 0 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.wizard-step__title {
    margin: 0 0 0.85rem;
    font-family: var(--display);
    font-size: 1.15rem;
    color: var(--ink);
}

.wizard-actions {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.35rem;
}

.wizard-form .btn--ghost {
    color: var(--brand-deep);
    border-color: rgba(13, 61, 44, 0.2);
}

.plans-showcase {
    display: grid;
    gap: 1rem;
}

.plan-offer {
    position: relative;
    background: #f4f7f5;
    color: var(--ink);
    border-radius: 22px;
    padding: 1.25rem 1.15rem 1.15rem;
    display: grid;
    gap: 0.55rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.plan-offer--free {
    background: linear-gradient(180deg, #f7fff0 0%, #eef7f1 100%);
    border: 2px solid rgba(31, 107, 74, 0.25);
}

.plan-offer--paid {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7f5 100%);
    border: 2px solid rgba(13, 61, 44, 0.12);
}

.plan-offer__badge {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(31, 107, 74, 0.12);
    color: var(--brand-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.plan-offer__badge--paid {
    background: rgba(198, 242, 109, 0.55);
}

.plan-offer__name {
    margin: 0.15rem 0 0;
    font-family: var(--display);
    font-size: 1.55rem;
}

.plan-offer__price {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-deep);
    line-height: 1;
}

.plan-offer__price small {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
}

.plan-offer__desc {
    margin: 0;
    color: #3d4d44;
    font-size: 0.95rem;
    line-height: 1.45;
}

.plan-offer__list {
    margin: 0.25rem 0 0.5rem;
    padding-left: 1.1rem;
    color: #304038;
    line-height: 1.5;
}

.btn--ghost-dark {
    background: transparent;
    color: var(--brand-deep);
    border: 1.5px solid rgba(13, 61, 44, 0.28);
}

@media (min-width: 720px) {
    .plans-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
}

.stats-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card__value--text {
    font-size: 1.15rem;
    padding-top: 0.35rem;
}

.day-block__kicker {
    margin: 0.55rem 0 0.45rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.day-block__body {
    color: rgba(238, 247, 241, 0.86);
    font-size: 0.95rem;
    line-height: 1.55;
    white-space: normal;
}

.scale-field {
    border: 0;
    margin: 0;
    padding: 0;
}

.scale-field legend {
    margin-bottom: 0.55rem;
    font-weight: 700;
    color: rgba(238, 247, 241, 0.9);
}

.scale-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
}

.scale-option {
    cursor: pointer;
}

.scale-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.scale-option span {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(238, 247, 241, 0.1);
    font-weight: 700;
}

.scale-option input:checked + span {
    background: rgba(198, 242, 109, 0.2);
    border-color: rgba(198, 242, 109, 0.55);
    color: #fff;
}

.scale-hint {
    margin: 0.4rem 0 0;
    color: rgba(238, 247, 241, 0.55);
    font-size: 0.82rem;
}

.choice-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.choice-chip {
    cursor: pointer;
}

.choice-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-chip span {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(238, 247, 241, 0.1);
    font-weight: 700;
    font-size: 0.9rem;
}

.choice-chip input:checked + span {
    background: rgba(198, 242, 109, 0.2);
    border-color: rgba(198, 242, 109, 0.55);
}

.badge--yes {
    background: rgba(6, 118, 71, 0.22);
    color: #abefc6;
}

.badge--partial {
    background: rgba(181, 125, 14, 0.25);
    color: #fec84b;
}

.badge--no {
    background: rgba(180, 35, 24, 0.22);
    color: #fda29b;
}

@media (min-width: 720px) {
    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aluno-main {
        max-width: 720px;
        margin: 0 auto;
        padding: 1.25rem 1.5rem 1.5rem;
    }
}

@media (min-width: 960px) {
    .aluno-bottomnav {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(720px, calc(100% - 2rem));
        border-radius: 16px 16px 0 0;
    }
}

@media (min-width: 720px) {
    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========== TOAST ========== */

.detail-grid {
    display: grid;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(238, 247, 241, 0.08);
    color: rgba(238, 247, 241, 0.65);
    font-size: 0.92rem;
}

.detail-row strong {
    color: #fff;
    font-weight: 700;
    text-align: right;
}

.actions-stack {
    margin-top: 1rem;
    display: grid;
    gap: 0.65rem;
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    top: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    z-index: 60;
    width: auto;
    max-width: 420px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 6px 1fr auto;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
    animation: slide-in 0.35s ease both;
}

.toast__bar {
    width: 6px;
    min-height: 100%;
    border-radius: 999px;
    background: var(--info);
}

.toast--success .toast__bar { background: var(--success); }
.toast--error .toast__bar { background: var(--danger); }
.toast--info .toast__bar { background: var(--info); }

.toast__message {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 600;
}

.toast__close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.toast.is-hiding {
    animation: slide-out 0.28s ease forwards;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-out {
    to { opacity: 0; transform: translateY(-12px); }
}

/* ========== TABLET+ ========== */
@media (min-width: 720px) {
    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .list-item--actions {
        flex-direction: row;
        align-items: center;
    }

    .admin-main {
        padding: 1.25rem 1.5rem calc(var(--bottomnav-h) + var(--safe-bottom) + 1.25rem);
    }
}

/* ========== DESKTOP ========== */
@media (min-width: 960px) {
    .auth-shell {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .auth-brand {
        min-height: 100vh;
        padding: clamp(2rem, 5vw, 4.5rem);
    }

    .auth-brand__title {
        font-size: clamp(2.4rem, 4.5vw, 4rem);
        max-width: 12ch;
    }

    .auth-panel {
        place-items: center;
        padding: 2rem;
    }

    .admin-shell {
        grid-template-columns: 260px 1fr;
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        width: auto;
        transform: none;
    }

    .admin-overlay,
    .admin-bottomnav,
    .icon-btn {
        display: none !important;
    }

    .admin-topbar__logout {
        display: block;
    }

    .admin-main {
        padding: 1.5rem 1.75rem 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .filters {
        grid-template-columns: 1.4fr 0.8fr auto;
        align-items: end;
    }

    .filters .btn {
        width: auto;
        min-width: 120px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== COACH CHAT (plano pago — tela dedicada) ========== */
.aluno-body--coach {
    padding-bottom: 0;
    height: 100dvh;
    overflow: hidden;
    background: #0b1612;
}

.aluno-main--coach {
    padding: 0;
    height: 100dvh;
}

.page--coach {
    display: block;
    height: 100%;
    min-height: 0;
    padding: 0;
    margin: 0;
}

.coach-chat {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100dvh;
    min-height: 0;
}

.coach-topbar {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.75rem;
    padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
    background: #0d3d2c;
    border-bottom: 1px solid rgba(238, 247, 241, 0.08);
    z-index: 20;
}

.coach-topbar__menu {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(238, 247, 241, 0.08);
    color: #eef7f1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.coach-topbar__title {
    margin: 0;
    text-align: center;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #eef7f1;
}

.coach-topbar__spacer {
    width: 42px;
    height: 42px;
}

.coach-menu[hidden] {
    display: none !important;
}

.coach-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.coach-menu__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.coach-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 300px);
    background: #12241c;
    border-right: 1px solid rgba(238, 247, 241, 0.1);
    padding: 1rem 0.85rem calc(1rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateX(0);
}

.coach-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #eef7f1;
    font-family: var(--display);
    font-size: 1.1rem;
}

.coach-menu__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: rgba(238, 247, 241, 0.08);
    color: #eef7f1;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.coach-menu__nav {
    display: grid;
    gap: 0.35rem;
}

.coach-menu__nav a {
    display: block;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    background: rgba(238, 247, 241, 0.06);
    color: #eef7f1;
    font-weight: 600;
}

.coach-menu__logout {
    margin-top: auto;
}

.coach-menu__logout button {
    width: 100%;
    padding: 0.85rem;
    border: 0;
    border-radius: 12px;
    background: rgba(180, 35, 24, 0.2);
    color: #ffb4a8;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.coach-chat__warn {
    margin: 0.5rem 0.75rem 0;
}

.coach-chat__messages {
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem 0.85rem 1rem;
    -webkit-overflow-scrolling: touch;
    background:
        radial-gradient(circle at 10% 0%, rgba(31, 107, 74, 0.18), transparent 45%),
        #0b1612;
}

.coach-bubble {
    max-width: 85%;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    line-height: 1.45;
    font-size: 0.95rem;
}

.coach-bubble p {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.coach-bubble--assistant {
    align-self: flex-start;
    background: #1a4a36;
    color: #eef7f1;
    border-bottom-left-radius: 4px;
}

.coach-bubble--user {
    align-self: flex-end;
    background: #205c3f;
    color: #eef7f1;
    border-bottom-right-radius: 4px;
}

.coach-bubble__meta {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.7rem;
    opacity: 0.65;
}

.coach-choices {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0.15rem 0 0.35rem;
    animation: coachChoicesIn 0.35s ease;
}

@keyframes coachChoicesIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.coach-choices__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.coach-choices__btn {
    appearance: none;
    border: 1px solid rgba(198, 242, 109, 0.35);
    background: rgba(26, 74, 54, 0.85);
    color: #eef7f1;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.coach-choices__btn:hover,
.coach-choices__btn:focus-visible {
    background: rgba(32, 92, 63, 0.95);
    border-color: rgba(198, 242, 109, 0.7);
    outline: none;
}

.coach-choices__btn:active {
    transform: scale(0.97);
}

.coach-choices__btn.is-selected {
    background: #c6f26d;
    color: #0b1612;
    border-color: #c6f26d;
}

.coach-choices__confirm {
    appearance: none;
    align-self: stretch;
    border: 0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    background: #c6f26d;
    color: #0b1612;
    cursor: pointer;
}

.coach-choices__confirm:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.coach-choices__btn--primary {
    background: #c6f26d;
    color: #0b1612;
    border-color: #c6f26d;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
}

.coach-chat__composer.is-locked {
    opacity: 0.45;
    pointer-events: none;
}

.coach-dock {
    position: sticky;
    bottom: 0;
    z-index: 25;
    padding: 0.35rem 0.55rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: #0f1f19;
    border-top: 1px solid rgba(238, 247, 241, 0.08);
}

.coach-chat__status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.15rem 0.45rem 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    min-height: 1.25rem;
}

.coach-chat__status.is-idle {
    color: rgba(238, 247, 241, 0.5);
}

.coach-chat__status.is-idle .coach-typing-dots {
    display: none;
}

.coach-chat__status.is-writing {
    color: rgba(198, 242, 109, 0.95);
}

.coach-chat__status.is-writing .coach-typing-dots {
    display: inline-flex;
}

.coach-typing-dots {
    display: inline-flex;
    gap: 4px;
}

.coach-typing-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c6f26d;
    display: block;
    animation: coach-dot 1.2s ease-in-out infinite;
}

.coach-typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.coach-typing-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes coach-dot {
    0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

.coach-chat__composer {
    display: grid;
    grid-template-columns: 1fr 48px;
    grid-template-rows: auto;
    gap: 0.45rem;
    align-items: end;
}

.coach-chat__field {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    background: #1a2b24;
    border-radius: 24px;
    border: 1px solid rgba(238, 247, 241, 0.1);
    padding: 0.15rem 0.85rem;
}

.coach-chat__composer.is-recording {
    display: none;
}

.coach-chat__field textarea {
    width: 100%;
    resize: none;
    border: 0;
    outline: 0;
    background: transparent;
    color: #eef7f1;
    font: inherit;
    font-size: 0.98rem;
    line-height: 1.35;
    padding: 0.65rem 0;
    max-height: 110px;
}

.coach-chat__field textarea::placeholder {
    color: rgba(238, 247, 241, 0.42);
}

.coach-chat__action {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #0d2418;
    background: #25d366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
}

.coach-chat__action[hidden] {
    display: none !important;
}

.coach-chat__action:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.coach-rec[hidden] {
    display: none !important;
}

.coach-rec {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    gap: 0.55rem;
    align-items: center;
    padding: 0.35rem 0.15rem 0.15rem;
}

.coach-rec__trash {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    background: rgba(255, 100, 100, 0.18);
    color: #ff8f8f;
}

.coach-rec__mid {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: #1a2b24;
    border: 1px solid rgba(238, 247, 241, 0.1);
}

.coach-rec__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e53935;
    flex-shrink: 0;
    animation: coach-rec-blink 1s ease-in-out infinite;
}

@keyframes coach-rec-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.coach-rec__timer {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #eef7f1;
    font-size: 0.95rem;
    min-width: 2.4rem;
}

.coach-rec__wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
    margin-left: auto;
    opacity: 0.9;
}

.coach-rec__wave i {
    width: 3px;
    border-radius: 2px;
    background: #25d366;
    display: block;
    animation: coach-wave 1s ease-in-out infinite;
}

.coach-rec__wave i:nth-child(1) { height: 6px; animation-delay: 0s; }
.coach-rec__wave i:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.coach-rec__wave i:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.coach-rec__wave i:nth-child(4) { height: 16px; animation-delay: 0.05s; }
.coach-rec__wave i:nth-child(5) { height: 10px; animation-delay: 0.15s; }
.coach-rec__wave i:nth-child(6) { height: 14px; animation-delay: 0.25s; }
.coach-rec__wave i:nth-child(7) { height: 7px; animation-delay: 0.08s; }
.coach-rec__wave i:nth-child(8) { height: 11px; animation-delay: 0.18s; }

@keyframes coach-wave {
    0%, 100% { transform: scaleY(0.55); }
    50% { transform: scaleY(1); }
}

.coach-rec__send {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #0d2418;
    background: #25d366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.coach-chat code {
    font-size: 0.85em;
    color: #c6f26d;
}

.choice-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coach-topbar__logout {
    margin: 0;
    justify-self: end;
}

.coach-topbar__sair {
    border: 0;
    background: rgba(238, 247, 241, 0.1);
    color: #eef7f1;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    cursor: pointer;
}

.coach-limited {
    padding: 2rem 1.25rem;
    text-align: center;
    color: #eef7f1;
}

.coach-limited__title {
    font-family: var(--display);
    font-size: 1.4rem;
    margin: 0 0 0.75rem;
}

.coach-limited__text {
    color: rgba(238, 247, 241, 0.72);
    line-height: 1.45;
    margin: 0 0 1.5rem;
}

.celebrate {
    position: relative;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 1.5rem 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 20%, rgba(198, 242, 109, 0.22), transparent 45%),
        #0b1612;
}

.celebrate__stars span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #c6f26d;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: celebrate-twinkle 1.8s ease-in-out infinite;
    opacity: 0.85;
}

.celebrate__stars span:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.celebrate__stars span:nth-child(2) { top: 18%; right: 16%; animation-delay: 0.2s; width: 12px; height: 12px; }
.celebrate__stars span:nth-child(3) { top: 28%; left: 10%; animation-delay: 0.4s; }
.celebrate__stars span:nth-child(4) { top: 35%; right: 12%; animation-delay: 0.1s; width: 10px; height: 10px; }
.celebrate__stars span:nth-child(5) { bottom: 28%; left: 14%; animation-delay: 0.35s; }
.celebrate__stars span:nth-child(6) { bottom: 22%; right: 18%; animation-delay: 0.55s; width: 14px; height: 14px; }
.celebrate__stars span:nth-child(7) { top: 48%; left: 8%; animation-delay: 0.7s; }
.celebrate__stars span:nth-child(8) { top: 55%; right: 8%; animation-delay: 0.15s; }

@keyframes celebrate-twinkle {
    0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0.35; }
    50% { transform: scale(1.15) rotate(20deg); opacity: 1; }
}

.celebrate__card {
    position: relative;
    z-index: 2;
    width: min(100%, 380px);
    text-align: center;
    padding: 1.75rem 1.25rem 1.35rem;
    border-radius: 24px;
    background: #12241c;
    border: 1px solid rgba(198, 242, 109, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    color: #eef7f1;
    animation: celebrate-pop 0.55s ease-out;
}

@keyframes celebrate-pop {
    0% { transform: scale(0.86); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.celebrate__badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    color: #0d2418;
    background: linear-gradient(145deg, #c6f26d, #7ecf4a);
    box-shadow: 0 8px 24px rgba(126, 207, 74, 0.35);
}

.celebrate__eyebrow {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(198, 242, 109, 0.9);
}

.celebrate__title {
    margin: 0.45rem 0 0.65rem;
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 800;
}

.celebrate__text {
    margin: 0 0 1rem;
    color: rgba(238, 247, 241, 0.78);
    line-height: 1.45;
    font-size: 0.98rem;
}

.celebrate__rating {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1.15rem;
}

.celebrate__rating i {
    width: 18px;
    height: 18px;
    background: #c6f26d;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: celebrate-star 0.9s ease both;
}

.celebrate__rating i:nth-child(1) { animation-delay: 0.1s; }
.celebrate__rating i:nth-child(2) { animation-delay: 0.2s; }
.celebrate__rating i:nth-child(3) { animation-delay: 0.3s; }
.celebrate__rating i:nth-child(4) { animation-delay: 0.4s; }
.celebrate__rating i:nth-child(5) { animation-delay: 0.5s; }

@keyframes celebrate-star {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
