/* AAACL — inmemoriam.css */

/* HERO */
.mem-hero { background: rgba(8,22,40,0.9); border-bottom: 2px solid rgba(201,168,76,0.3); padding: 3rem 2rem 2rem; text-align: center; }
.mem-hero h1 { font-family: 'Cinzel', serif; font-size: 32px; color: #c9a84c; font-weight: 400; letter-spacing: 2px; margin-bottom: 0.5rem; }
.mem-hero p { font-family: 'EB Garamond', serif; font-size: 17px; color: rgba(255,255,255,0.65); font-style: italic; }

/* WRAP */
.mem-wrap { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem; }
.mem-secao-destaque { margin-bottom: 4rem; }

/* HOMENAGEM */
.mem-homenagem { display: grid; grid-template-columns: 200px 1fr; gap: 2.5rem; align-items: start; margin-bottom: 2rem; }
.mem-homenagem-foto { width: 200px; height: 200px; overflow: hidden; border-radius: 50%; border: 3px solid rgba(201,168,76,0.4); flex-shrink: 0; }
.mem-homenagem-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); }
.mem-homenagem-texto h2 { font-family: 'Cinzel', serif; font-size: 20px; color: #c9a84c; font-weight: 400; margin-bottom: 0.4rem; }
.mem-data { font-family: 'Cinzel', serif; font-size: 11px; color: #7a1230; letter-spacing: 1px; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.4rem; }
.mem-data i { font-size: 14px; }
.mem-homenagem-texto p { font-family: 'EB Garamond', serif; font-size: 17px; color: rgba(255,255,255,0.85); line-height: 1.85; margin-bottom: 0.75rem; }
.mem-citacao { border-left: 3px solid #c9a84c; padding: 0.75rem 1.25rem; margin: 1rem 0; font-family: 'Cinzel', serif; font-size: 14px; color: #c9a84c; letter-spacing: 2px; background: rgba(201,168,76,0.05); }
.mem-separador { height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent); margin: 2.5rem 0; }

/* EXÉQUIAS */
.mem-exequias { background: rgba(122,18,48,0.15); border: 1px solid rgba(122,18,48,0.3); border-left: 3px solid #7a1230; padding: 1.25rem; margin-top: 1rem; }
.mem-exequias-titulo { font-family: 'Cinzel', serif; font-size: 11px; color: #c9a84c; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.mem-exequias ul { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.mem-exequias ul li { font-family: 'EB Garamond', serif; font-size: 16px; color: rgba(255,255,255,0.85); padding: 0.25rem 0 0.25rem 1rem; position: relative; }
.mem-exequias ul li::before { content: '—'; position: absolute; left: 0; color: #7a1230; }
.mem-exequias p { font-family: 'EB Garamond', serif; font-size: 15px; color: rgba(255,255,255,0.65); font-style: italic; margin: 0; }

/* GALERIA */
.mem-galeria-secao { border-top: 1px solid rgba(201,168,76,0.2); padding-top: 3rem; }
.mem-galeria { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.mem-card { text-align: center; }
.mem-card-foto { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(201,168,76,0.3); margin: 0 auto 0.75rem; transition: border-color 0.3s; }
.mem-card:hover .mem-card-foto { border-color: #c9a84c; }
.mem-card-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%); transition: filter 0.3s; }
.mem-card:hover .mem-card-foto img { filter: grayscale(0%); }
.mem-card-nome { font-family: 'Cinzel', serif; font-size: 11px; color: rgba(255,255,255,0.85); letter-spacing: 1px; margin-bottom: 0.5rem; line-height: 1.4; }
.mem-card-pdf { font-family: 'Cinzel', serif; font-size: 9px; color: #c9a84c; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; border: 1px solid rgba(201,168,76,0.3); padding: 0.2rem 0.6rem; transition: all 0.2s; }
.mem-card-pdf:hover { background: rgba(201,168,76,0.1); border-color: #c9a84c; }

/* RESPONSIVO */
@media (max-width: 900px) {
  .mem-homenagem { grid-template-columns: 1fr; }
  .mem-homenagem-foto { width: 150px; height: 150px; margin: 0 auto; }
  .mem-galeria { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .mem-galeria { grid-template-columns: repeat(2, 1fr); }
}
