/* ==========================================================================
   ESTILOS DO PORTAL E BIOGRAFIA EM LIVRO (memorial.css) [1]
   ========================================================================== */

/* Envoltório central */
.memorial-container {
    max-width: 576px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 0 1.5rem;
    position: relative;
    z-index: 10;
}

/* Cabeçalho de Luto do Pet */
.memorial-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
}

.memorial-date {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-rose-gold);
    margin-bottom: 0.75rem;
}

.profile-frame {
    position: relative;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    overflow: hidden;
    padding: 0.25rem;
    background: linear-gradient(to top right, var(--color-rose-gold), var(--color-blush));
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.25rem;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    cursor: pointer;
}

.profile-name {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    color: var(--color-text-dark);
}

.profile-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.625;
    max-width: 24rem;
    margin-top: 1rem;
    padding: 0 1.5rem;
}

/* SEÇÃO DA BREVE HISTÓRIA EM FORMATO DE LIVRO DA VIDA [1] */
.book-section {
    margin-top: 2rem;
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(44, 62, 53, 0.03);
    position: relative;
}

.book-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.book-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-blush);
}

/* Abas numeradas do livro */
.book-tabs {
    display: flex;
    gap: 0.375rem;
}

.book-tab-btn {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    font-size: 0.6875rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.book-tab-btn.active {
    background-color: var(--color-blush);
    color: var(--color-white);
    border-color: var(--color-blush);
}

.book-page-content {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    text-align: justify;
    min-height: 110px;
}

/* FICHA DA AGENDA DE DADOS DO PET COM LINHAS PAUTADAS [1] */
.agenda-section {
    margin-top: 2rem;
    position: relative;
    background-color: #FFFDF9; /* Fundo papel creme envelhecido */
    border: 1px solid #E3D9CE;
    border-radius: 12px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    background-image: linear-gradient(#e1effa 1px, transparent 1px);
    background-size: 100% 2rem;
    line-height: 2rem;
}

/* Argolas de caderno */
.agenda-spiral-binder {
    position: absolute;
    top: -12px;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
}

.spiral-ring {
    width: 10px;
    height: 24px;
    background: linear-gradient(to right, #e6d3c0, #bf9c72, #e6d3c0);
    border-radius: 6px;
    border: 1px solid #a68153;
    box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}

.agenda-grid {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
}

.agenda-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2rem;
    border-bottom: 1px dashed rgba(227, 217, 206, 0.4);
}

.agenda-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a68153;
    padding-left: 0.25rem;
}

.agenda-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: #33231a;
    padding-right: 0.25rem;
}
/* Rodapé do Memorial */
.memorial-footer {
    margin-top: 5rem;
    text-align: center;
    font-size: 0.5625rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.625;
}

.discreet-text {
    opacity: 0.75;
}