/* ═══════════════════════════════════════════════════════
   SISTEMA DE INSCRIÇÕES EM SEMINÁRIOS — CSS MOBILE-FIRST
   Base: mobile → tablet (≥ 640px) → desktop (≥ 1024px)
═══════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
    --cream:        #F0F4FA;
    --parchment:    #E3EAF4;
    --white:        #FFFFFF;
    --blue:         #1565c0;
    --blue-light:   #1976D2;
    --blue-dim:     #0D47A1;
    --blue-accent:  #42A5F5;
    --blue-pale:    #BBDEFB;
    --ink:          #0D1B2E;
    --ink-mid:      #1E3A5F;
    --ink-light:    #4A6FA5;
    --border:       #C5D5EA;
    --border-light: #DDE8F5;
    --red-err:      #B71C1C;
    --green-ok:     #1B5E20;
    --shadow:       0 2px 20px rgba(13,27,46,0.08);
    --shadow-deep:  0 8px 40px rgba(13,27,46,0.15);
    --radius:       4px;
    --radius-lg:    8px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ══════════════════════════════════════════════════════
   NAVEGAÇÃO — hamburger no mobile, horizontal no desktop
══════════════════════════════════════════════════════ */
.nav {
    background: var(--blue);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    border-bottom: 2px solid var(--blue-dim);
    position: sticky;
    top: 0;
    z-index: 200;
    gap: 0.5rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; flex: 1; }
.nav-cross  { color: var(--blue-accent); font-size: 1rem; flex-shrink: 0; }
.nav-title  {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hamburger */
.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0.45rem;
    border-radius: var(--radius);
    flex-shrink: 0;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle span  { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.85); border-radius: 2px; transition: all 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer (mobile) */
.nav-drawer {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0; bottom: 0;
    background: var(--blue-dim);
    z-index: 199;
    flex-direction: column;
    padding: 1rem;
    overflow-y: auto;
    animation: drawerIn 0.2s ease;
}
@keyframes drawerIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nav-drawer.open { display: flex; }

.nav-links { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.nav-links a {
    display: block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.15); }

.nav-user {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Desktop: nav horizontal */
@media (min-width: 1024px) {
    .nav { padding: 0 2rem; height: 60px; justify-content: flex-start; }
    .nav-brand { flex: 0 0 auto; }
    .nav-title { font-size: 1.1rem; }
    .nav-toggle { display: none; }
    .nav-drawer {
        display: flex !important;
        position: static;
        background: none;
        flex-direction: row;
        align-items: center;
        padding: 0;
        flex: 1;
        animation: none;
        overflow: visible;
        top: auto; left: auto; right: auto; bottom: auto;
    }
    .nav-links { flex-direction: row; gap: 0.25rem; margin-left: auto; }
    .nav-links a { font-size: 0.85rem; padding: 0.4rem 0.9rem; }
    .nav-user {
        margin-top: 0; padding-top: 0; border-top: none;
        border-left: 1px solid rgba(255,255,255,0.2);
        padding-left: 1rem; margin-left: 1rem;
        flex-wrap: nowrap;
    }
}
@media (min-width: 640px) and (max-width: 1023px) { .nav-title { font-size: 1rem; } }

/* User badges */
.user-badge {
    font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem; border-radius: 20px;
    background: var(--blue-dim); color: #fff;
}
.user-badge.admin    { background: var(--blue-accent); color: var(--ink); }
.user-badge.dev      { background: var(--blue-accent); color: var(--ink); }
.user-badge.simulando {
    background: rgba(255,255,255,0.15); color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.user-badge.admin, .user-badge.dev, .user-badge.simulando {
    cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.user-badge.admin:hover, .user-badge.dev:hover { filter: brightness(1.15); }
.user-badge.simulando:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.7); }

.user-name-btn {
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.9); cursor: pointer; font-family: 'DM Sans', sans-serif;
    padding: 0.2rem 0.6rem; border-radius: 20px; transition: all 0.2s;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem;
    -webkit-tap-highlight-color: transparent;
}
.user-name-btn::after      { content: '✎'; font-size: 0.65rem; opacity: 0.6; transition: opacity 0.2s; }
.user-name-btn:hover        { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.4); color: #fff; }
.user-name-btn:hover::after { opacity: 1; }

.btn-logout {
    font-size: 0.8rem; color: rgba(255,255,255,0.6); text-decoration: none;
    padding: 0.3rem 0.7rem; border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius); transition: all 0.2s; white-space: nowrap;
}
.btn-logout:hover { border-color: var(--red-err); color: #EF9A9A; }

/* ══════════════════════════════════════════════════════
   MAIN
══════════════════════════════════════════════════════ */
.main { flex: 1; padding: 1rem; width: 100%; margin: 0 auto; }
@media (min-width: 640px)  { .main { padding: 1.5rem; } }
@media (min-width: 1024px) { .main { padding: 2rem; max-width: 1200px; } }

/* ══════════════════════════════════════════════════════
   ALERTS
══════════════════════════════════════════════════════ */
.alert {
    padding: 0.85rem 1rem; border-radius: var(--radius); margin-bottom: 1.25rem;
    font-size: 0.875rem; border-left: 4px solid; animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.alert-success { background: #EEF7F2; border-color: var(--green-ok); color: var(--green-ok); }
.alert-error   { background: #FDF0F0; border-color: var(--red-err);  color: var(--red-err);  }

/* ══════════════════════════════════════════════════════
   PAGE HEADER
══════════════════════════════════════════════════════ */
.page-header {
    display: flex; flex-direction: column; gap: 0.75rem;
    margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
    .page-header { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 1.75rem; padding-bottom: 1.25rem; }
}
@media (min-width: 1024px) { .page-header { margin-bottom: 2rem; } }

.page-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
@media (min-width: 640px)  { .page-title { font-size: 1.85rem; } }
@media (min-width: 1024px) { .page-title { font-size: 2rem; } }
.page-title small { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.8rem; color: var(--ink-light); font-weight: 300; margin-top: 0.2rem; }

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.6rem 1.1rem; border-radius: var(--radius); font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem; font-weight: 500; cursor: pointer; border: none;
    text-decoration: none; transition: all 0.2s; white-space: nowrap;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
@media (min-width: 640px) { .btn { padding: 0.55rem 1.2rem; } }
.btn-primary   { background: var(--blue); color: #fff; }
.btn-primary:hover  { background: var(--blue-light); box-shadow: 0 4px 12px rgba(21,101,192,0.35); }
.btn-secondary { background: transparent; color: var(--ink-mid); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--parchment); border-color: var(--blue-accent); }
.btn-danger    { background: transparent; color: var(--red-err); border: 1px solid #FFCDD2; }
.btn-danger:hover { background: #FFEBEE; }
.btn-sm        { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.btn-group     { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════ */
.card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-header { padding: 1rem; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
@media (min-width: 640px) { .card-header { padding: 1.25rem 1.5rem; } }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
@media (min-width: 640px) { .card-title { font-size: 1.2rem; } }
.card-body { padding: 1rem; }
@media (min-width: 640px) { .card-body { padding: 1.5rem; } }

/* ══════════════════════════════════════════════════════
   TABELAS
══════════════════════════════════════════════════════ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
@media (min-width: 640px) { table { font-size: 0.875rem; } }
thead tr { background: var(--parchment); }
th { padding: 0.6rem 0.75rem; text-align: left; font-size: 0.68rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-light); white-space: nowrap; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { th { padding: 0.75rem 1rem; font-size: 0.72rem; } }
td { padding: 0.7rem 0.75rem; color: var(--ink-mid); border-bottom: 1px solid var(--border-light); vertical-align: middle; }
@media (min-width: 640px) { td { padding: 0.85rem 1rem; } }
tbody tr:hover         { background: #F5F8FD; }
tbody tr:last-child td { border-bottom: none; }
.td-actions { display: flex; gap: 0.35rem; flex-wrap: wrap; }
tfoot tr td { padding: 0.85rem 1rem; border-top: 2px solid var(--border); }

/* ══════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════ */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.78rem; font-weight: 500; color: var(--ink-mid); text-transform: uppercase; letter-spacing: 0.05em; }

input[type="text"], input[type="password"], input[type="date"], input[type="time"],
input[type="datetime-local"], input[type="number"], input[type="tel"], select, textarea {
    padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); color: var(--ink); font-family: 'DM Sans', sans-serif;
    font-size: 1rem; /* evita zoom no iOS */
    transition: border-color 0.2s, box-shadow 0.2s; width: 100%; -webkit-appearance: none;
}
@media (min-width: 640px) {
    input[type="text"], input[type="password"], input[type="date"], input[type="time"],
    input[type="datetime-local"], input[type="number"], input[type="tel"], select, textarea {
        font-size: 0.9rem;
    }
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,0.12); }
textarea { resize: vertical; min-height: 80px; }

.form-actions { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1rem; border-top: 1px solid var(--border-light); margin-top: 0.5rem; }
@media (min-width: 480px) { .form-actions { flex-direction: row; gap: 0.75rem; } }

/* ══════════════════════════════════════════════════════
   STATS GRID
══════════════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; } }
.stat-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 1rem; position: relative; overflow: hidden; }
@media (min-width: 640px) { .stat-card { padding: 1.5rem; } }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); }
.stat-value { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1; }
@media (min-width: 640px) { .stat-value { font-size: 2.5rem; } }
.stat-label { font-size: 0.72rem; color: var(--ink-light); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.4rem; }

/* ══════════════════════════════════════════════════════
   LOGIN
══════════════════════════════════════════════════════ */
.login-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--blue-dim); position: relative; overflow: hidden; padding: 1rem;
}
.login-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(21,101,192,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(66,165,245,0.08) 0%, transparent 60%);
}
.login-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.25rem; width: 100%; max-width: 420px; position: relative; z-index: 1; box-shadow: var(--shadow-deep); }
@media (min-width: 480px) { .login-box { padding: 3rem 2.5rem; } }
.login-header { text-align: center; margin-bottom: 2rem; }
.login-cross  { font-size: 2rem; color: var(--blue); display: block; margin-bottom: 1rem; }
.login-title  { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--ink); }
@media (min-width: 480px) { .login-title { font-size: 1.75rem; } }
.login-sub    { font-size: 0.85rem; color: var(--ink-light); margin-top: 0.3rem; }
.login-form   { display: flex; flex-direction: column; gap: 1.1rem; }
.login-form .btn { width: 100%; justify-content: center; padding: 0.75rem; font-size: 0.9rem; }

/* ══════════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════════ */
.badge { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 20px; font-size: 0.68rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-gold  { background: var(--blue-pale);  color: var(--blue-dim);  }
.badge-green { background: #C8E6C9;            color: var(--green-ok);  }
.badge-red   { background: #FFCDD2;            color: var(--red-err);   }
.badge-gray  { background: var(--parchment);   color: var(--ink-light); }
.badge-blue  { background: var(--blue-pale);   color: var(--blue-dim);  }
.badge-pink  { background: #fce4ec;            color: #880e4f;          }

/* ── BOTÕES DE DEFINIÇÃO RÁPIDA DE SEXO (só dev) ── */
.btn-sexo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 4px;
    border: 1px solid;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: opacity 0.15s;
}
.btn-sexo:hover { opacity: 0.75; }
.btn-sexo-m { background: #e3f2fd; border-color: #90caf9; color: #1565c0; }
.btn-sexo-f { background: #fce4ec; border-color: #f48fb1; color: #880e4f; }

/* ══════════════════════════════════════════════════════
   MODAL — bottom-sheet no mobile, centrado no desktop
══════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(13,27,46,0.6);
    display: flex; align-items: flex-end; justify-content: center;
    z-index: 1000; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; padding: 0;
}
.modal-overlay.open { opacity: 1; pointer-events: all; visibility: visible; }
.modal {
    background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-deep); width: 100%; max-height: 92vh; overflow-y: auto;
    transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
}
.modal-overlay.open .modal { transform: translateY(0); }
@media (min-width: 640px) {
    .modal-overlay { align-items: center; padding: 1rem; }
    .modal { border-radius: var(--radius-lg); max-width: 560px; max-height: 90vh; transform: translateY(20px); }
}
.modal-header { padding: 1.25rem; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--white); z-index: 1; }
@media (min-width: 640px) { .modal-header { padding: 1.5rem; } }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; }
@media (min-width: 640px) { .modal-title { font-size: 1.3rem; } }
.modal-close { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: var(--ink-light); padding: 0.25rem; line-height: 1; -webkit-tap-highlight-color: transparent; }
.modal-close:hover { color: var(--red-err); }
.modal-body { padding: 1.25rem; }
@media (min-width: 640px) { .modal-body { padding: 1.5rem; } }

/* ══════════════════════════════════════════════════════
   VAGAS / EMPTY / PROTOCOLO / FOOTER
══════════════════════════════════════════════════════ */
.vagas-bar  { width: 100%; height: 4px; background: var(--border-light); border-radius: 2px; overflow: hidden; margin-top: 0.3rem; }
.vagas-fill { height: 100%; background: var(--blue); border-radius: 2px; transition: width 0.4s ease; }
.vagas-fill.low { background: var(--red-err); }

.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--ink-light); }
@media (min-width: 640px) { .empty-state { padding: 4rem 2rem; } }
.empty-state .icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.4; }
.empty-state p     { font-size: 0.9rem; }

.protocolo { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; color: var(--blue); }
@media (min-width: 640px) { .protocolo { font-size: 1.1rem; letter-spacing: 0.1em; } }

.footer { background: var(--blue); color: rgba(255,255,255,0.5); text-align: center; padding: 1rem; font-size: 0.78rem; border-top: 1px solid var(--blue-dim); }

/* ══════════════════════════════════════════════════════
   CHECKBOXES
══════════════════════════════════════════════════════ */
.checkbox-group { display: grid; grid-template-columns: 1fr; gap: 0.35rem; padding: 0.75rem; background: var(--parchment); border-radius: var(--radius); border: 1px solid var(--border); }
@media (min-width: 480px)  { .checkbox-group { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .checkbox-group { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 400; color: var(--ink-mid); text-transform: none; letter-spacing: 0; cursor: pointer; padding: 0.4rem; border-radius: var(--radius); transition: background 0.15s; -webkit-tap-highlight-color: transparent; }
.checkbox-label:hover { background: var(--border-light); }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
@media (min-width: 640px) { .checkbox-label input[type="checkbox"] { width: 15px; height: 15px; } }

/* ══════════════════════════════════════════════════════
   STATUS SELECT
══════════════════════════════════════════════════════ */
.status-select {
    padding: 0.35rem 1.5rem 0.35rem 0.6rem; border-radius: 20px; font-size: 0.78rem; font-weight: 500;
    border: 1px solid var(--border); cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B5E47'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.5rem center; width: auto; transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.status-select.status-pago     { background-color: #C8E6C9; border-color: var(--green-ok); color: var(--green-ok); }
.status-select.status-nao_pago { background-color: #FFCDD2; border-color: var(--red-err);  color: var(--red-err); }
.status-select.status-isento   { background-color: var(--blue-pale); border-color: var(--blue-dim); color: var(--blue-dim); }

/* ══════════════════════════════════════════════════════
   INSCRICAO INFO CARD
══════════════════════════════════════════════════════ */
.inscricao-info-card { background: var(--parchment); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.inscricao-info-row  { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.55rem 0.9rem; border-bottom: 1px solid var(--border-light); flex-wrap: wrap; }
.inscricao-info-row:last-child { border-bottom: none; }
.inscricao-info-label { font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-light); min-width: 80px; flex-shrink: 0; }
@media (min-width: 640px) { .inscricao-info-row { gap: 1rem; padding: 0.6rem 1rem; flex-wrap: nowrap; } .inscricao-info-label { min-width: 90px; } }
.inscricao-info-value { font-size: 0.9rem; color: var(--ink); font-weight: 400; }

/* ══════════════════════════════════════════════════════
   UTILS
══════════════════════════════════════════════════════ */
.cpf-hint     { font-size: 0.78rem; margin-top: 0.25rem; display: block; }
.text-muted   { color: var(--ink-light); font-size: 0.85rem; }
.text-right   { text-align: right; }
.mt-1         { margin-top: 0.5rem; }
.mt-2         { margin-top: 1rem; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-1        { gap: 0.5rem; }
.w-100        { width: 100%; }

/* Nomes em maiúsculo */
input[data-uppercase], input[data-uppercase]::placeholder { text-transform: uppercase; }
.nome-uppercase { text-transform: uppercase; }

/* ══════════════════════════════════════════════════════
   FOTO DE SEMINARISTA
══════════════════════════════════════════════════════ */
.seminarista-foto {
    width: 36px; height: 36px;
    border-radius: 50%; object-fit: cover;
    border: 1px solid var(--border);
    vertical-align: middle;
}

/* ══════════════════════════════════════════════════════
   PRESENÇA — TABS E PAINEL
══════════════════════════════════════════════════════ */
.presenca-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 0;
}
.ptab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 0.6rem 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--ink-light);
    font-weight: 500;
    transition: color .15s, border-color .15s;
}
.ptab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    font-weight: 600;
}
.ptab:hover { color: var(--ink); }
