/* =============================================
   Plano de Matrículas 2027 — visual atmosférico
   ============================================= */

:root {
    --pm-primary: #083FCF;
    --pm-secondary: #FC7D55;
    --pm-tertiary: #B073FF;
    --pm-text: #1F2937;
    --pm-muted: #6b7280;
    --pm-border: rgba(8, 63, 207, 0.1);
    --pm-lilac: #EFE2FF;
    --pm-peach: #FFE4DC;
    --pm-canvas: #FAF9FF;
    --pm-success: #059669;
    --pm-warning: #D97706;
    --pm-danger: #DC2626;
    --pm-heading: 'Outfit', sans-serif;
    --pm-body: 'Nunito', sans-serif;
    --pm-shadow: 0 24px 60px rgba(80, 60, 140, 0.1);
    --pm-radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.plano-matriculas {
    margin: 0;
    color: var(--pm-text);
    font-family: var(--pm-body);
    line-height: 1.6;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 0% 0%, #EFE2FF 0%, rgba(239, 226, 255, 0) 45%),
        radial-gradient(circle at 100% 100%, #FFE4DC 0%, rgba(255, 228, 220, 0) 45%),
        #FAF9FF;
    background-attachment: fixed;
}

.pm-container {
    width: min(100% - 2rem, 1100px);
    margin: 0 auto;
}

.pm-narrow { width: min(100% - 2rem, 720px); }

.pm-hidden { display: none !important; }

/* ---------- Motion ---------- */
@keyframes pm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pm-float-slow {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes pm-pulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(252, 125, 85, 0.45); }
    50% { transform: scale(1.15); opacity: 0.85; box-shadow: 0 0 0 8px rgba(252, 125, 85, 0); }
}

@keyframes pm-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -18px) scale(1.06); }
}

@keyframes pm-bar-fill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes pm-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.pm-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.pm-reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

.pm-reveal-d1 { transition-delay: 0.08s; }
.pm-reveal-d2 { transition-delay: 0.16s; }
.pm-reveal-d3 { transition-delay: 0.24s; }
.pm-reveal-d4 { transition-delay: 0.32s; }
.pm-reveal-d5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .pm-reveal,
    .pm-reveal.is-in,
    .pm-orb,
    .pm-float-card,
    .pm-stage-card,
    .pm-pulse,
    .pm-stage-bar > * {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- Buttons ---------- */
.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 54px;
    padding: 0 1.5rem;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--pm-heading);
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.pm-btn:disabled {
    cursor: not-allowed;
    opacity: 0.68;
    transform: none;
}

.pm-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--pm-secondary), var(--pm-tertiary));
    box-shadow: 0 16px 36px rgba(252, 125, 85, 0.28);
}

.pm-btn-ghost {
    color: var(--pm-primary);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(8, 63, 207, 0.14);
    backdrop-filter: blur(8px);
}

.pm-btn-light {
    min-height: 44px;
    color: var(--pm-primary);
    background: rgba(239, 226, 255, 0.7);
}

.pm-btn-full { width: 100%; }

/* ---------- Hero ---------- */
.pm-hero {
    position: relative;
    padding: 2.5rem 0 2.75rem;
    text-align: center;
    overflow: hidden;
}

.pm-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
    animation: pm-orb 10s ease-in-out infinite;
}

.pm-orb--a {
    width: min(48vw, 420px);
    height: min(48vw, 420px);
    top: -12%;
    left: -8%;
    background: radial-gradient(circle, rgba(176, 115, 255, 0.35), transparent 70%);
}

.pm-orb--b {
    width: min(42vw, 380px);
    height: min(42vw, 380px);
    bottom: -8%;
    right: -6%;
    background: radial-gradient(circle, rgba(252, 125, 85, 0.28), transparent 70%);
    animation-delay: -3s;
}

.pm-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pm-brand {
    display: inline-flex;
    margin-bottom: 1.75rem;
    opacity: 0.9;
}

.pm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(176, 115, 255, 0.28);
    color: var(--pm-tertiary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.pm-hero-title {
    font-family: var(--pm-heading);
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--pm-primary);
    margin: 1.1rem 0 0.9rem;
    max-width: 16ch;
}

.pm-hero-title em {
    font-style: normal;
    background: linear-gradient(120deg, var(--pm-secondary), var(--pm-tertiary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pm-hero-subtitle {
    margin: 0 auto 1.6rem;
    max-width: 34rem;
    font-size: 1.12rem;
    color: var(--pm-muted);
}

.pm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.pm-hero-note {
    margin: 1rem 0 0;
    color: var(--pm-muted);
    font-size: 0.92rem;
}

/* Showcase: texto | meta */
.pm-showcase-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.pm-showcase-copy h2 {
    font-family: var(--pm-heading);
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--pm-primary);
    margin: 0 0 0.75rem;
    max-width: 28ch;
}

.pm-showcase-copy > p {
    margin: 0 0 1.1rem;
    color: var(--pm-muted);
    font-size: 1.05rem;
    max-width: 42rem;
}

.pm-showcase-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.pm-showcase-list li {
    position: relative;
    padding-left: 1.45rem;
    font-size: 0.98rem;
    color: var(--pm-text);
}

.pm-showcase-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pm-secondary), var(--pm-tertiary));
}

.pm-hero-stage {
    position: relative;
    width: min(100%, 440px);
    margin-left: auto;
    padding: 1.5rem 1.25rem 2rem 0.5rem;
}

.pm-stage-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(8, 63, 207, 0.08);
    border-radius: 24px;
    padding: 1.4rem 1.5rem 1.5rem;
    box-shadow: var(--pm-shadow);
    backdrop-filter: blur(14px);
    text-align: left;
    animation: pm-float 5.5s ease-in-out infinite;
}

.pm-stage-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pm-muted);
    font-weight: 700;
}

.pm-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pm-secondary);
    animation: pm-pulse 1.8s ease-in-out infinite;
}

.pm-stage-card > p {
    margin: 0;
    color: var(--pm-muted);
    font-size: 0.92rem;
}

.pm-stage-card > b {
    display: block;
    font-family: var(--pm-heading);
    font-size: clamp(3rem, 8vw, 4.2rem);
    line-height: 1;
    color: var(--pm-primary);
    letter-spacing: -0.04em;
    margin: 0.15rem 0 0.25rem;
}

.pm-stage-card > span {
    color: var(--pm-muted);
    font-size: 0.95rem;
}

.pm-stage-bar {
    display: flex;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef1f8;
    margin: 1.1rem 0 0.65rem;
}

.pm-stage-bar > * {
    display: block;
    height: 100%;
    transform-origin: left center;
    animation: pm-bar-fill 1.1s ease forwards;
}

.pm-stage-bar > i { background: var(--pm-success); }
.pm-stage-bar > u { background: var(--pm-warning); text-decoration: none; }
.pm-stage-bar > em { background: var(--pm-secondary); font-style: normal; }

.pm-stage-legend {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--pm-muted);
}

.pm-float-card {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(176, 115, 255, 0.2);
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    box-shadow: 0 14px 30px rgba(80, 60, 140, 0.12);
    text-align: left;
    animation: pm-float-slow 6.5s ease-in-out infinite;
}

.pm-float-card small {
    display: block;
    font-size: 0.72rem;
    color: var(--pm-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.pm-float-card strong {
    font-family: var(--pm-heading);
    font-size: 1.05rem;
    color: var(--pm-primary);
}

/* Floats orgânicos à direita — não alinhados entre si */
.pm-float-card--remat {
    right: -1.4rem;
    top: 8%;
    animation-delay: -1.5s;
    border-color: rgba(176, 115, 255, 0.28);
}

.pm-float-card--ritmo {
    right: 8%;
    bottom: -0.35rem;
    left: auto;
    animation-delay: -3s;
    border-color: rgba(252, 125, 85, 0.28);
}

/* ---------- Sections ---------- */
.pm-section {
    padding: 4.75rem 0;
}

.pm-section + .pm-section {
    border-top: 1px solid rgba(8, 63, 207, 0.06);
}

.pm-hero + .pm-showcase {
    border-top: 0;
}

.pm-eyebrow {
    margin: 0 0 0.55rem;
    color: var(--pm-tertiary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pm-head { margin-bottom: 1.75rem; }

.pm-head--center {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.pm-head h2,
.pm-tension-card h2,
.pm-gate-copy h2,
.pm-tool-header h2 {
    font-family: var(--pm-heading);
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--pm-primary);
    margin: 0 0 0.65rem;
}

.pm-head h2 em,
.pm-tension-card h2 em {
    font-style: normal;
    color: var(--pm-secondary);
}

.pm-head p,
.pm-tension-card p,
.pm-gate-copy > p {
    margin: 0;
    color: var(--pm-muted);
    font-size: 1.05rem;
}

.pm-tension-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(176, 115, 255, 0.18);
    border-radius: var(--pm-radius);
    padding: 1.8rem 1.7rem;
    box-shadow: var(--pm-shadow);
    backdrop-filter: blur(10px);
    text-align: center;
}

.pm-tension-card h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }

/* Deliverables */
.pm-deliver {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.pm-deliver-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--pm-border);
    border-radius: 18px;
    padding: 1.25rem 1.2rem 1.35rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pm-deliver-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--pm-shadow);
    border-color: rgba(252, 125, 85, 0.35);
}

.pm-deliver-n {
    display: inline-block;
    font-family: var(--pm-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--pm-secondary);
    margin-bottom: 0.55rem;
}

.pm-deliver-item h3 {
    font-family: var(--pm-heading);
    font-size: 1.08rem;
    margin: 0 0 0.4rem;
    color: var(--pm-text);
}

.pm-deliver-item p {
    margin: 0;
    color: var(--pm-muted);
    font-size: 0.94rem;
}

/* Steps */
.pm-how .pm-head {
    margin-bottom: 2.25rem;
}

.pm-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.pm-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--pm-border);
    border-radius: 18px;
    padding: 1.45rem 1.35rem 1.5rem;
}

.pm-step > span {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pm-primary), var(--pm-tertiary));
    color: #fff;
    font-family: var(--pm-heading);
    font-weight: 800;
    flex-shrink: 0;
}

.pm-step > div {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.pm-step h3 {
    font-family: var(--pm-heading);
    font-size: 1.08rem;
    margin: 0;
    line-height: 1.3;
}

.pm-step p {
    margin: 0;
    color: var(--pm-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

/* Gate — padrão Ranking / ferramentas */
.pm-gate {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(8, 63, 207, 0.1);
    box-shadow: var(--pm-shadow);
}

.pm-gate-side {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(160deg, var(--pm-primary) 0%, #0629a3 45%, var(--pm-tertiary) 100%);
    padding: 2.25rem 1.75rem;
}

.pm-gate-side::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    right: -110px;
    bottom: -110px;
    border-radius: 50%;
    background: rgba(252, 125, 85, 0.35);
    filter: blur(60px);
}

.pm-gate-side > * { position: relative; z-index: 1; }

.pm-gate-tag {
    display: inline-flex;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pm-gate-side h2 {
    font-family: var(--pm-heading);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: #fff;
    margin: 1rem 0 0.75rem;
    line-height: 1.2;
}

.pm-gate-side p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.pm-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.8rem;
}

.pm-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.pm-checklist li::before {
    content: '';
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23083FCF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.pm-gate-form {
    padding: 2rem 1.75rem;
}

.pm-form-grid,
.pm-input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 1rem;
}

.pm-span-2 { grid-column: 1 / -1; }

.pm-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.pm-field > label {
    font-family: var(--pm-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pm-text);
}

.pm-field label span { color: var(--pm-secondary); }

.pm-field input,
.pm-field select {
    width: 100%;
    min-height: 50px;
    padding: 0 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: var(--pm-body);
    font-size: 0.96rem;
    color: var(--pm-text);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.pm-field select {
    padding-right: 2.5rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 16px no-repeat;
}

.pm-field input::placeholder { color: #9ca3af; }

.pm-field input:hover,
.pm-field select:hover { border-color: #cfd6e6; }

.pm-field input:focus,
.pm-field select:focus {
    outline: none;
    border-color: var(--pm-primary);
    box-shadow: 0 0 0 4px rgba(8, 63, 207, 0.12);
}

.pm-field input.is-error {
    border-color: var(--pm-danger);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.pm-field-light input,
.pm-field-light select {
    background-color: rgba(250, 249, 255, 0.95);
}

.pm-field-help {
    margin: 0.55rem 0 0;
    color: var(--pm-muted);
    font-size: 0.82rem;
}

.pm-gate-form .pm-btn-full { margin-top: 1rem; }

.pm-form-feedback {
    color: var(--pm-danger);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.75rem;
}

.pm-form-feedback:empty,
.pm-form-feedback:not(.is-visible):empty { display: none; }

.pm-form-feedback.is-visible { display: block; }

.pm-form-note {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--pm-muted);
    margin-top: 0.85rem;
}

.pm-form-note svg {
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

.pm-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pm-tool-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(8, 63, 207, 0.08);
    border-radius: 24px;
    padding: 1.6rem;
    box-shadow: var(--pm-shadow);
}

/* Tool */
.pm-tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.pm-tool-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

/* Pop-up básico: como preencher (spotlight na coluna esquerda) */
.pm-tour {
    position: fixed;
    inset: 0;
    z-index: 140;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
}

.pm-tour.is-on {
    opacity: 1;
    visibility: visible;
}

.pm-tour-mask i {
    position: fixed;
    background: rgba(12, 18, 41, 0.5);
    backdrop-filter: blur(3px);
    pointer-events: auto;
}

.pm-tour-holo {
    position: fixed;
    pointer-events: none;
    border-radius: 18px;
    box-shadow:
        0 0 0 2px rgba(8, 63, 207, 0.45),
        0 0 0 8px rgba(176, 115, 255, 0.16),
        0 18px 40px rgba(8, 63, 207, 0.12);
    transition: left 0.18s ease, top 0.18s ease, width 0.18s ease, height 0.18s ease;
}

.pm-tour-card {
    position: fixed;
    width: min(400px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    overflow: auto;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(8, 63, 207, 0.1);
    box-shadow: 0 28px 60px rgba(12, 18, 41, 0.22);
    padding: 1.35rem 1.3rem 1.25rem;
    pointer-events: auto;
    z-index: 2;
}

body.pm-tour-on .pm-panel {
    position: relative;
    z-index: 141;
}

.pm-tour-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.pm-tour-tag {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(239, 226, 255, 0.85);
    color: var(--pm-tertiary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pm-tour-x {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--pm-muted);
    cursor: pointer;
}

.pm-tour-x:hover,
.pm-tour-x:focus-visible {
    outline: none;
    background: #e5e7eb;
    color: var(--pm-text);
}

.pm-tour-card h3 {
    font-family: var(--pm-heading);
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--pm-primary);
    margin: 0 0 0.55rem;
}

.pm-tour-card > p {
    margin: 0 0 1rem;
    color: var(--pm-muted);
    font-size: 0.96rem;
}

.pm-tour-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.pm-tour-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: start;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: rgba(250, 249, 255, 0.95);
    border: 1px solid rgba(8, 63, 207, 0.08);
}

.pm-tour-list strong {
    display: block;
    font-family: var(--pm-heading);
    font-size: 0.92rem;
    color: var(--pm-text);
    margin-bottom: 0.1rem;
}

.pm-tour-list li > div span {
    font-size: 0.84rem;
    color: var(--pm-muted);
    line-height: 1.45;
}

.pm-tour-n {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pm-primary), var(--pm-tertiary));
    color: #fff;
    font-family: var(--pm-heading);
    font-size: 0.82rem;
    font-weight: 800;
}

.pm-tour-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.pm-tour-foot .pm-btn {
    min-height: 46px;
}

.pm-welcome {
    display: inline-block;
    color: var(--pm-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pm-workspace {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 1.1rem;
    align-items: start;
}

.pm-panel {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.9rem;
}

.pm-panel-block {
    background: linear-gradient(160deg, rgba(239, 226, 255, 0.45), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--pm-border);
    border-radius: 16px;
    padding: 1rem;
}

.pm-panel-block h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-family: var(--pm-heading);
    font-size: 0.98rem;
    margin: 0 0 0.8rem;
    color: var(--pm-primary);
}

.pm-field label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.pm-info {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(8, 63, 207, 0.18);
    background: rgba(239, 226, 255, 0.55);
    color: var(--pm-primary);
    cursor: help;
    transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.pm-info:hover,
.pm-info:focus-visible,
.pm-info[aria-describedby] {
    outline: none;
    transform: scale(1.1);
    color: #fff;
    border-color: var(--pm-primary);
    background: linear-gradient(135deg, var(--pm-primary), var(--pm-tertiary));
}

.pm-dica {
    position: fixed;
    z-index: 130;
    width: min(280px, calc(100vw - 24px));
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(8, 63, 207, 0.18);
    background: #0C1229;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--pm-body);
    font-size: 0.8rem;
    line-height: 1.5;
    box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
    pointer-events: none;
}

.pm-dica.is-on {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pm-slider-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.pm-panel input[type="range"] {
    width: 100%;
    accent-color: var(--pm-secondary);
}

.pm-check-grid {
    display: grid;
    gap: 0.4rem;
}

.pm-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--pm-border);
    cursor: pointer;
    font-size: 0.88rem;
}

.pm-check input { margin-top: 0.15rem; }

.pm-resultado {
    display: grid;
    gap: 0.95rem;
}

.pm-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--pm-border);
    border-radius: 16px;
    padding: 1.2rem 1.25rem;
    animation: pm-fade-up 0.45s ease both;
}

.pm-card--hero {
    background: linear-gradient(160deg, rgba(239, 226, 255, 0.55), rgba(255, 255, 255, 0.92));
}

.pm-card-kicker {
    color: var(--pm-secondary);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.pm-card h3 {
    font-family: var(--pm-heading);
    font-size: 1.2rem;
    margin: 0 0 0.4rem;
    color: var(--pm-primary);
}

.pm-card-desc {
    margin: 0 0 0.95rem;
    color: var(--pm-muted);
}

.pm-stat-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: end;
}

.pm-hero-label {
    margin: 0;
    color: var(--pm-muted);
    font-size: 0.9rem;
}

.pm-hero-number {
    font-family: var(--pm-heading);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    line-height: 1;
    color: var(--pm-primary);
    margin: 0.1rem 0;
    letter-spacing: -0.04em;
}

.pm-hero-sub { margin: 0; color: var(--pm-muted); }

.pm-hero-meta { display: grid; gap: 0.5rem; }

.pm-hero-meta div {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--pm-border);
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
}

.pm-hero-meta span {
    display: block;
    font-size: 0.72rem;
    color: var(--pm-muted);
}

.pm-hero-meta strong {
    font-family: var(--pm-heading);
    font-size: 1.02rem;
}

.pm-stack {
    display: flex;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef1f8;
    margin: 0.8rem 0 0.7rem;
}

.pm-stack-g { background: var(--pm-success); }
.pm-stack-a { background: var(--pm-warning); }
.pm-stack-f { background: var(--pm-secondary); }

.pm-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.pm-dot {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    margin-right: 0.3rem;
}

.pm-dot--g { background: var(--pm-success); }
.pm-dot--a { background: var(--pm-warning); }
.pm-dot--f { background: var(--pm-secondary); }

.pm-note {
    margin: 0.8rem 0 0;
    font-size: 0.86rem;
    color: var(--pm-muted);
}

.pm-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.pm-kpi {
    background: rgba(250, 249, 255, 0.9);
    border: 1px solid var(--pm-border);
    border-radius: 12px;
    padding: 0.8rem;
}

.pm-kpi--accent {
    background: linear-gradient(135deg, rgba(8, 63, 207, 0.06), rgba(176, 115, 255, 0.12));
}

.pm-kpi span {
    display: block;
    font-size: 0.75rem;
    color: var(--pm-muted);
    margin-bottom: 0.15rem;
}

.pm-kpi strong {
    font-family: var(--pm-heading);
    font-size: 1.28rem;
    color: var(--pm-primary);
}

.pm-kpi small {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.72rem;
    color: var(--pm-muted);
}

.pm-funil {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.pm-funil li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--pm-border);
}

.pm-funil li:nth-child(1) { background: rgba(239, 226, 255, 0.65); }
.pm-funil li:nth-child(2) { background: rgba(8, 63, 207, 0.06); }
.pm-funil li:nth-child(3) { background: rgba(255, 228, 220, 0.75); }

.pm-funil strong {
    font-family: var(--pm-heading);
    font-size: 1.2rem;
    color: var(--pm-primary);
}

.pm-compare {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.pm-compare-item {
    border: 1px solid var(--pm-border);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    background: rgba(255, 255, 255, 0.8);
}

.pm-compare-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--pm-muted);
}

.pm-compare-item strong {
    display: block;
    font-family: var(--pm-heading);
    font-size: 1.35rem;
    color: var(--pm-primary);
    margin: 0.1rem 0;
}

.pm-compare-item small {
    font-size: 0.78rem;
    color: var(--pm-muted);
}

.pm-compare-item small.is-up { color: var(--pm-success); }
.pm-compare-item small.is-down { color: var(--pm-danger); }

.pm-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--pm-border);
    border-radius: 12px;
}

.pm-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.pm-table th,
.pm-table td {
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid var(--pm-border);
    text-align: left;
    vertical-align: top;
    font-size: 0.88rem;
}

.pm-table th {
    background: rgba(239, 226, 255, 0.4);
    font-family: var(--pm-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--pm-muted);
}

.pm-table td small {
    display: block;
    color: var(--pm-muted);
    font-size: 0.72rem;
    margin-top: 0.12rem;
}

.pm-fase-fechar td:first-child strong { color: var(--pm-secondary); }
.pm-fase-preparacao td:first-child strong { color: var(--pm-tertiary); }
.pm-fase-campanha td:first-child strong { color: var(--pm-primary); }

.pm-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.pm-check-item {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0.6rem 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--pm-border);
    background: rgba(255, 255, 255, 0.8);
}

.pm-check-item.is-on {
    background: #ECFDF5;
    border-color: #a7f3d0;
}

.pm-check-ico {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    color: var(--pm-muted);
    font-weight: 800;
    flex-shrink: 0;
}

.pm-check-item.is-on .pm-check-ico {
    background: var(--pm-success);
    color: #fff;
}

.pm-next-list { display: grid; gap: 0.6rem; }

.pm-next {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--pm-border);
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.75);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pm-next:hover {
    transform: translateY(-2px);
    border-color: rgba(252, 125, 85, 0.4);
    box-shadow: 0 12px 28px rgba(80, 60, 140, 0.1);
}

.pm-next-n {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pm-primary), var(--pm-tertiary));
    color: #fff;
    font-family: var(--pm-heading);
    font-weight: 800;
}

.pm-next-body strong {
    display: block;
    font-family: var(--pm-heading);
    color: var(--pm-primary);
}

.pm-next-body small {
    color: var(--pm-muted);
    font-size: 0.86rem;
}

.pm-next-go {
    color: var(--pm-secondary);
    font-size: 1.15rem;
    font-weight: 800;
}

.pm-sources {
    padding: 0 0 3rem;
}

.pm-sources p {
    margin: 0;
    color: var(--pm-muted);
    font-size: 0.84rem;
    text-align: center;
}

/* ---------- Horizontes táticos ---------- */
.pm-horizon {
    margin-top: 1.4rem;
}

.pm-horizon-head {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0 0 0.75rem;
    padding-left: 0.1rem;
}

.pm-horizon-n {
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pm-primary), var(--pm-tertiary));
    color: #fff;
    font-family: var(--pm-heading);
    font-weight: 800;
    font-size: 0.95rem;
}

.pm-horizon-head h3 {
    margin: 0;
    font-family: var(--pm-heading);
    font-size: 1.12rem;
    color: var(--pm-primary);
    line-height: 1.2;
}

.pm-horizon-head p {
    margin: 0.15rem 0 0;
    color: var(--pm-muted);
    font-size: 0.9rem;
}

.pm-horizon .pm-card { margin-bottom: 0.95rem; }
.pm-horizon .pm-card:last-child { margin-bottom: 0; }

/* Selo "você está aqui" */
.pm-plano-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.pm-plano-top .pm-card-kicker { margin-bottom: 0; }

#pm-sec-plano .pm-stat-grid {
    align-items: start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

#pm-sec-plano .pm-hero-label {
    margin-bottom: 0.1rem;
    font-weight: 700;
    color: var(--pm-text);
}

#pm-sec-plano .pm-hero-number { font-weight: 800; }

#pm-sec-plano .pm-hero-sub {
    margin-top: 0.35rem;
    max-width: 26rem;
    line-height: 1.45;
    font-weight: 600;
}

#pm-sec-plano .pm-hero-meta { gap: 0.45rem; }

#pm-sec-plano .pm-hero-meta div { padding: 0.55rem 0.8rem; }

#pm-sec-plano .pm-hero-meta span { font-weight: 700; }

#pm-sec-plano .pm-hero-meta strong { font-weight: 800; }

.pm-now-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(252, 125, 85, 0.12);
    color: var(--pm-secondary);
    border: 1px solid rgba(252, 125, 85, 0.28);
    border-radius: 30px;
    padding: 0.25rem 0.7rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.pm-now-badge i {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--pm-secondary);
    animation: pm-pulse 1.6s ease-in-out infinite;
}

/* Prioridades */
.pm-prio-titulo {
    margin: 1rem 0 0.6rem;
    font-family: var(--pm-heading);
    font-weight: 700;
    color: var(--pm-primary);
}

.pm-prio-list { display: grid; gap: 0.6rem; }

.pm-prio {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: rgba(250, 249, 255, 0.92);
    border: 1px solid var(--pm-border);
}

.pm-prio-n {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pm-primary), var(--pm-tertiary));
    color: #fff;
    font-family: var(--pm-heading);
    font-weight: 800;
    font-size: 0.85rem;
}

.pm-prio-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

.pm-prio-top strong {
    font-family: var(--pm-heading);
    font-size: 1rem;
    color: var(--pm-text);
}

.pm-prio-tag {
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pm-tertiary);
    background: rgba(176, 115, 255, 0.12);
    border-radius: 30px;
    padding: 0.12rem 0.55rem;
}

.pm-prio-motivo {
    margin: 0 0 0.35rem;
    color: var(--pm-muted);
    font-size: 0.88rem;
}

.pm-prio-acao {
    margin: 0 0 0.45rem;
    color: var(--pm-text);
    font-size: 0.92rem;
    font-weight: 600;
}

.pm-prio-dono {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--pm-primary);
}

/* Ritmo por janela */
.pm-ritmo-janelas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
}

.pm-janela {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.9rem 0.85rem;
    border-radius: 14px;
    background: rgba(250, 249, 255, 0.92);
    border: 1px solid var(--pm-border);
}

.pm-janela.is-off { opacity: 0.55; }

.pm-janela-label {
    font-family: var(--pm-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--pm-primary);
}

.pm-janela-num {
    font-family: var(--pm-heading);
    font-size: 1.85rem;
    line-height: 1;
    color: var(--pm-secondary);
}

.pm-janela small { color: var(--pm-muted); font-size: 0.74rem; }

.pm-janela-kpis {
    list-style: none;
    margin: 0.4rem 0 0.5rem;
    padding: 0;
    display: grid;
    gap: 0.15rem;
    font-size: 0.8rem;
    color: var(--pm-text);
}

.pm-janela-foco {
    margin: 0;
    font-size: 0.78rem;
    color: var(--pm-muted);
    line-height: 1.4;
}

/* Calendário em lista */
.pm-cal-list { display: grid; gap: 0.5rem; }

.pm-cal-row {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.8rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: rgba(250, 249, 255, 0.7);
    border: 1px solid var(--pm-border);
}

.pm-cal-row.is-passado { opacity: 0.5; }

.pm-cal-row.is-atual {
    background: linear-gradient(160deg, rgba(252, 125, 85, 0.1), rgba(255, 255, 255, 0.9));
    border-color: rgba(252, 125, 85, 0.4);
    box-shadow: 0 10px 26px rgba(252, 125, 85, 0.12);
}

.pm-cal-row.is-proximo { border-color: rgba(176, 115, 255, 0.35); }

.pm-cal-when strong {
    display: block;
    font-family: var(--pm-heading);
    color: var(--pm-primary);
}

.pm-cal-when small { color: var(--pm-muted); font-size: 0.72rem; }

.pm-fase-fechar .pm-cal-when strong { color: var(--pm-secondary); }
.pm-fase-preparacao .pm-cal-when strong { color: var(--pm-tertiary); }
.pm-fase-campanha .pm-cal-when strong { color: var(--pm-primary); }

.pm-cal-now {
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pm-secondary);
}

.pm-cal-obj {
    margin: 0 0 0.4rem;
    font-weight: 600;
    color: var(--pm-text);
    font-size: 0.92rem;
}

.pm-cal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--pm-muted);
}

.pm-cal-disclaimer {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    font-style: italic;
    color: var(--pm-muted);
    line-height: 1.4;
}

/* Lista de ações / tarefas */
.pm-action-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem;
}

.pm-action-list li {
    position: relative;
    padding-left: 1.3rem;
    font-size: 0.86rem;
    color: var(--pm-text);
    line-height: 1.4;
}

.pm-action-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 4px;
    border: 1.5px solid var(--pm-tertiary);
    background: rgba(176, 115, 255, 0.1);
}

/* Checklist com mês sugerido */
.pm-check-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--pm-border);
    background: rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pm-check-row:hover { border-color: rgba(8, 63, 207, 0.3); }

.pm-check-row.is-on {
    background: #ECFDF5;
    border-color: #a7f3d0;
}

.pm-check-row.is-on:hover { border-color: #6ee7b7; }

button.pm-check-item {
    flex: 1 1 auto;
    min-width: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    border: 0;
    background: transparent;
    transition: transform 0.15s ease;
}

button.pm-check-item.is-on { background: transparent; }
button.pm-check-item:active { transform: scale(0.99); }

.pm-check-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--pm-primary);
    text-decoration: none;
    white-space: nowrap;
    padding: 0.3rem 0.65rem;
    border-radius: 30px;
    background: rgba(8, 63, 207, 0.07);
    transition: background 0.18s ease, color 0.18s ease;
}

.pm-check-link span { transition: transform 0.18s ease; }

.pm-check-link:hover,
.pm-check-link:focus-visible {
    background: var(--pm-primary);
    color: #fff;
}

.pm-check-link:hover span { transform: translateX(2px); }

.pm-check-link:focus-visible {
    outline: 2px solid var(--pm-primary);
    outline-offset: 2px;
}

.pm-check-ico--box {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 5px;
    background: #fff;
    border: 1.5px solid rgba(8, 63, 207, 0.3);
    color: transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.pm-check-ico--box svg {
    transform: scale(0.6);
    transition: transform 0.18s ease;
}

button.pm-check-item:hover .pm-check-ico--box { border-color: var(--pm-primary); }

.pm-check-item.is-on .pm-check-ico--box {
    background: var(--pm-success);
    border-color: var(--pm-success);
    color: #fff;
}

.pm-check-item.is-on .pm-check-ico--box svg { transform: scale(1); }

button.pm-check-item:focus-visible {
    outline: 2px solid var(--pm-primary);
    outline-offset: 2px;
}

.pm-check-item > div { display: flex; flex-direction: column; }
.pm-check-item > div small { color: var(--pm-muted); font-size: 0.74rem; }
.pm-check-item.is-on > div small { color: var(--pm-success); }

/* Marcos de setup */
.pm-note--mark { margin-bottom: 0.3rem; font-weight: 700; color: var(--pm-primary); }

.pm-marcos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.pm-marcos li {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.6rem;
    font-size: 0.82rem;
}

.pm-marcos strong { color: var(--pm-primary); font-family: var(--pm-heading); }
.pm-marcos span { color: var(--pm-muted); }

/* Exportar / compartilhar */
.pm-export {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem 1.5rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 228, 220, 0.6), rgba(239, 226, 255, 0.7));
    border-color: rgba(176, 115, 255, 0.25);
}

.pm-export .pm-card-desc { margin-bottom: 0; }

.pm-export-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pm-export-actions .pm-btn { justify-content: center; white-space: nowrap; }

.pm-print-head { display: none; }

.pm-export-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 760px;
    margin: 2rem auto 0;
    padding: 1.1rem 1.4rem;
    border-radius: var(--pm-radius);
    background: linear-gradient(135deg, rgba(255, 228, 220, 0.75), rgba(239, 226, 255, 0.85));
    border: 1px solid rgba(176, 115, 255, 0.25);
}

.pm-export-strip-ico {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pm-secondary), var(--pm-tertiary));
    color: #fff;
}

.pm-export-strip strong {
    display: block;
    font-family: var(--pm-heading);
    font-size: 1.05rem;
    color: var(--pm-primary);
}

.pm-export-strip p {
    margin: 0.15rem 0 0;
    color: var(--pm-muted);
    font-size: 0.94rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .pm-deliver,
    .pm-steps,
    .pm-showcase-grid,
    .pm-gate,
    .pm-workspace,
    .pm-compare,
    .pm-stat-grid {
        grid-template-columns: 1fr;
    }

    .pm-ritmo-janelas { grid-template-columns: 1fr; }
    .pm-cal-row { grid-template-columns: 1fr; gap: 0.35rem; }
    .pm-marcos li { grid-template-columns: 1fr; gap: 0.1rem; }

    .pm-gate-side { padding: 1.6rem 1.4rem; }
    .pm-gate-form { padding: 1.6rem 1.4rem; }
    .pm-checklist { grid-template-columns: 1fr 1fr; }

    .pm-panel { position: static; }

    .pm-kpi-row { grid-template-columns: 1fr; }

    .pm-hero-stage {
        margin: 0.5rem auto 0;
        padding: 1.25rem 0.75rem 2.25rem;
    }

    .pm-float-card--remat {
        right: 0;
        top: -0.6rem;
    }

    .pm-float-card--ritmo {
        right: auto;
        left: 0.5rem;
        bottom: -0.4rem;
    }

    .pm-section { padding: 3.5rem 0; }
}

@media (max-width: 640px) {
    .pm-form-grid,
    .pm-input-grid { grid-template-columns: 1fr; }

    .pm-span-2 { grid-column: 1 / -1; }

    .pm-checklist { grid-template-columns: 1fr; }

    .pm-gate-form { padding: 1.4rem 1.1rem; }

    .pm-tool-header {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-tool-actions {
        justify-content: stretch;
    }

    .pm-tool-actions .pm-btn {
        flex: 1;
    }

    .pm-hero { padding: 1.8rem 0 2.4rem; }

    .pm-hero-actions { width: 100%; }

    .pm-hero-actions .pm-btn { width: 100%; }

    .pm-float-card { display: none; }

    .pm-hero-stage { padding-bottom: 0.5rem; }

    .pm-section { padding: 2.85rem 0; }

    .pm-export { grid-template-columns: 1fr; }
}

/* ---------- PDF (impressão) ---------- */
@page {
    size: A4;
    margin: 14mm 12mm;
}

@media print {
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body.plano-matriculas {
        background: #fff;
        font-size: 11pt;
    }

    body.plano-matriculas > *:not(main),
    #pm-root > *:not(#pm-gate),
    #pm-gate-card,
    .pm-tool-header,
    .pm-panel,
    #pm-sec-next,
    #pm-sec-export,
    .pm-check-link,
    .pm-tour,
    .pm-dica,
    .pm-orb {
        display: none !important;
    }

    .pm-tool-section { padding: 0 !important; }

    .pm-container { width: 100%; }

    .pm-tool-card {
        border: 0;
        box-shadow: none;
        padding: 0;
        background: #fff;
    }

    .pm-workspace { display: block; }

    .pm-print-head {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        padding-bottom: 0.7rem;
        margin-bottom: 0.9rem;
        border-bottom: 2px solid var(--pm-primary);
    }

    .pm-print-head strong {
        display: block;
        font-family: var(--pm-heading);
        font-size: 14pt;
        color: var(--pm-primary);
    }

    .pm-print-head span {
        font-size: 9pt;
        color: var(--pm-muted);
    }

    .pm-card {
        animation: none;
        box-shadow: none;
        background: #fff;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .pm-card--hero { break-inside: auto; }

    .pm-prio,
    .pm-cal-row,
    .pm-janela,
    .pm-check-row { break-inside: avoid; }

    .pm-horizon-head { break-after: avoid; }

    .pm-now-badge i { animation: none; }

    .pm-ritmo-janelas { grid-template-columns: repeat(3, 1fr); }
    .pm-cal-row { grid-template-columns: 7.5rem 1fr; }
    .pm-stat-grid { grid-template-columns: 1.2fr 0.8fr; }
    .pm-compare { grid-template-columns: repeat(2, 1fr); }
}
