/* Lista de presentes — carregado só nessas páginas (temas com replaceCss não a perdem). */

.lp-body {
    margin: 0;
    min-height: 100vh;
    background: #f4f6f8;
    color: #1f2933;
    font-family: "Open Sans", system-ui, sans-serif;
}
.lp-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    background: #151b24;
    color: #fff;
}
.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.lp-brand img { height: 36px; width: auto; }
.lp-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.lp-nav a { color: #d9e2ec; text-decoration: none; font-size: 14px; }
.lp-nav a:hover, .lp-nav a.is-on { color: #fff; }
.lp-main { max-width: 960px; margin: 0 auto; padding: 28px 16px 48px; }
.lp-main--app { max-width: 1140px; }
.lp-menu { display: flex; flex-direction: column; gap: 4px; }
.lp-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: #1f2933;
    text-decoration: none;
    background: #fff;
}
.lp-menu a:hover,
.lp-menu a.is-on { background: rgba(40, 77, 129, 0.12); color: var(--c-primary, #284D81); font-weight: 700; }
.lp-side-hero { margin-bottom: 16px; }
.lp-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.lp-card--narrow { max-width: 420px; margin: 40px auto; }
.lp-lead { color: #667085; }
.lp-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 220px;
    margin-bottom: 24px;
    background: var(--c-primary, #284D81);
}
.lp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}
.lp-hero-card {
    position: relative;
    padding: 32px 24px;
    color: #fff;
}
.lp-app .lp-hero { min-height: 0; margin-bottom: 20px; }
.lp-app .lp-hero-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 26px;
}
.lp-app .lp-avatar { margin-bottom: 0; flex: 0 0 96px; width: 96px; height: 96px; }
.lp-app .lp-hero-copy { flex: 1; min-width: 0; }
.lp-app .lp-hero-copy h2 { margin: 0 0 4px; font-size: 1.7rem; color: #fff; }
.lp-app .lp-hero-copy p { margin: 0; }
.lp-app .lp-menu {
    border: 1px solid #d5dbe3;
    border-radius: 14px;
    padding: 8px;
    background: #f7f9fb;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.lp-app .lp-menu a { background: transparent; }
.lp-app .lp-menu a:hover,
.lp-app .lp-menu a.is-on { background: #fff; }
.lp-app > .row { --bs-gutter-x: 2.75rem; --bs-gutter-y: 1.25rem; align-items: flex-start; }
.lp-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-bottom: 12px;
}
.lp-bar {
    height: 10px;
    background: rgba(15, 23, 42, 0.12);
    border-radius: 99px;
    overflow: hidden;
    margin: 12px 0;
}
.lp-hero .lp-bar { background: rgba(255, 255, 255, 0.35); }
.lp-bar span {
    display: block;
    height: 100%;
    background: var(--c-primary, #284D81);
}
.lp-hero .lp-bar span { background: #fff; }
.lp-kpi { font-weight: 700; }
.lp-tile {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    height: 100%;
}
.lp-tile strong { display: block; margin-bottom: 6px; color: var(--c-primary, #284D81); }
.lp-thumb { max-width: 180px; border-radius: 8px; }
.lp-msgs, .lp-mural { list-style: none; padding: 0; margin: 0; }
.lp-msgs li {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 12px 0;
}
.lp-mural-titulo { margin: 28px 0 0; font-size: 1.35rem; }
.lp-public .lp-mural {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    align-items: start;
    margin-top: 16px;
}
.lp-public .lp-mural li {
    position: relative;
    margin: 0;
    padding: 18px 18px 16px;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
.lp-mural-mail {
    position: absolute;
    top: -18px;
    right: 16px;
    width: 52px;
    height: 40px;
    color: #8b95a3;
    background: #fff;
}
.lp-mural-mail svg { width: 100%; height: 100%; display: block; }
.lp-public .lp-mural strong { display: block; margin: 0 48px 10px 0; font-size: 1.05rem; }
.lp-public .lp-mural p { margin: 0; }
.lp-msgs span { float: right; color: var(--c-secondary, #C81A1C); font-weight: 600; }

.lp-public .lp-search { margin-bottom: 28px; }
.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}
.lp-card-pub {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.lp-card-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.lp-card-body { padding: 16px; }
.lp-card-body h2 { font-size: 1.15rem; margin: 0 0 8px; }
.lp-card-body h2 a { color: var(--c-secondary, #C81A1C); text-decoration: none; }
.lp-ficha { --bs-gutter-x: 1.75rem; align-items: flex-start; }
.lp-ficha > * { min-width: 0; }
.lp-ficha-foto {
    width: 100%;
    border-radius: 8px;
    display: block;
}
.lp-ficha-dados {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 4px;
    margin: 0 0 12px;
}
.lp-ficha-dados dt { margin: 0; font-weight: 700; }
.lp-ficha-dados dd { margin: 0; }
.lp-ficha-falta { margin: 0 0 14px; font-weight: 700; }
.lp-ficha-lead { margin: 0 0 12px; }
.lp-ficha-form h2 {
    margin: 0 0 14px;
    color: var(--c-secondary, #C81A1C);
    font-size: 1.65rem;
}
.lp-escolha { margin: 0 0 10px; font-weight: 600; }
.lp-presentes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.lp-presente {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 10px 6px 8px;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: center;
}
.lp-presente input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.lp-presente-ico { color: #1f2933; width: 54px; height: 54px; }
.lp-presente-ico svg { width: 100%; height: 100%; display: block; }
.lp-presente-val { font-weight: 700; font-size: 0.92rem; }
.lp-presente:hover { border-color: #c5ced8; }
.lp-presente:has(input:checked) {
    border-color: var(--c-primary, #284D81);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-primary, #284D81) 25%, transparent);
}
.lp-presente:has(input:focus-visible) { outline: 2px solid var(--c-primary, #284D81); outline-offset: 2px; }
.lp-ficha .lp-form { background: transparent; padding: 0; }
.lp-form { background: #f8fafc; padding: 20px; border-radius: 12px; }
.lp-reg { background: #f8fafc; padding: 12px 16px; border-radius: 8px; }
.lp-recibo dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; }
.lp-recibo dt { font-weight: 700; }
.lp-public .wc-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
.lp-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 8px 0 18px;
}
.lp-home-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.lp-home-ph {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    background: color-mix(in srgb, var(--c-primary, #284D81) 12%, #f4f6f8);
    color: var(--c-primary, #284D81);
    font-size: 2rem;
}
@media (max-width: 767.98px) {
    .lp-ficha-foto { max-width: 220px; margin-bottom: 16px; }
    .lp-public .lp-mural { grid-template-columns: 1fr; }
    .lp-presentes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-nav { width: 100%; }
    .lp-app .lp-hero-card { flex-direction: column; align-items: flex-start; }
}
