:root {
  --primary-color: #d4af37;
  --primary-dark: #e8c667;
  --secondary-color: #334155;
  --bg-color: #0f172a;
  --bg-alt: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --nav-bg: rgba(15, 23, 42, 0.92);
  --font-title: 'Cormorant Garamond', serif;
  --font-text: 'Inter', sans-serif;
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.4);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-text);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

/* ------------------------------------------------- */
/* CHUVA DE METEOROS — efeito ambiente no fundo do    */
/* site inteiro, sutil, atrás de todo o conteúdo.     */
/* ------------------------------------------------- */
.meteor-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.meteor {
  position: absolute;
  width: 110px;
  height: 2px;
  border-radius: 2px;
  opacity: 0;
  animation-name: meteorStreak;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.meteor.gold {
  background: linear-gradient(90deg, transparent, #ffd700 55%, #fff9dc);
  box-shadow: 0 0 8px 1px rgba(255, 215, 0, 0.65);
}

@keyframes meteorStreak {
  0%   { opacity: 0; transform: rotate(var(--ang)) translateX(0); }
  10%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--ang)) translateX(var(--dist)); }
}

/* Foco visível para navegação por teclado (acessibilidade) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respeita quem prefere menos movimento na tela */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------- */
/* INTRODUÇÃO — "Estrela da Luz"                      */
/* Sequência curta: brilho > estrela > raios > nome   */
/* > clarão dourado que revela o site. Pode ser pulada */
/* a qualquer momento com um toque na tela.            */
/* ------------------------------------------------- */
.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #171309 0%, #050508 78%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.85s ease;
}

.intro-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Céu estrelado ao fundo — profundidade antes da estrela nascer */
.intro-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.intro-star-dot {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation-name: introTwinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes introTwinkle {
  0%, 100% { opacity: 0.12; }
  50%      { opacity: 0.85; }
}

.intro-star-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Luzes que nascem espalhadas na escuridão e convergem para o
   centro — a ideia de que a luz dos santos se reúne para formar
   a estrela que guia. Elas chegam bem quando o brilho central
   começa a aparecer. */
.intro-converge {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-converging-light {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fffbe8;
  box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.85);
  opacity: 0;
  animation-name: introConverge;
  animation-duration: 0.85s;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  animation-fill-mode: forwards;
}

@keyframes introConverge {
  0%   { opacity: 0; transform: translate(calc(-50% + var(--dx, 0)), calc(-50% + var(--dy, 0))) scale(1); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.25); }
}

.intro-glow {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.95) 0%, rgba(255, 215, 0, 0) 70%);
  animation: introGlowPulse 1.3s ease-out forwards;
}

@keyframes introGlowPulse {
  0%   { transform: scale(0);   opacity: 0; }
  35%  { transform: scale(1);   opacity: 1; }
  100% { transform: scale(10);  opacity: 0; }
}

/* Auréola: um anel de luz que se expande a partir da estrela,
   ecoando o mesmo símbolo usado nos cartões dos santos */
.intro-halo {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.55);
  opacity: 0;
  animation: introHaloPulse 2.3s ease-out 0.85s forwards;
}

@keyframes introHaloPulse {
  0%   { transform: scale(0.35); opacity: 0; }
  35%  { opacity: 0.75; }
  100% { transform: scale(1.7); opacity: 0; }
}

.intro-star {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: introFormStar 1.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s forwards;
}

@keyframes introFormStar {
  0%   { transform: scale(0) rotate(-60deg); filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); opacity: 0; }
  55%  { filter: drop-shadow(0 0 45px rgba(255, 215, 0, 0.95)); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 85px rgba(255, 255, 255, 0.85)); opacity: 1; }
}

/* Raios dourados que nascem do centro da estrela */
.sun-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, transparent, #ffd700 45%, #fffbe8 50%, #ffd700 55%, transparent);
  transform-origin: left center;
  opacity: 0;
}

.sun-ray.r1  { transform: rotate(0deg);   animation: shootRay 0.9s ease-out 0.85s forwards; }
.sun-ray.r2  { transform: rotate(30deg);  animation: shootRay 0.9s ease-out 0.89s forwards; }
.sun-ray.r3  { transform: rotate(60deg);  animation: shootRay 0.9s ease-out 0.93s forwards; }
.sun-ray.r4  { transform: rotate(90deg);  animation: shootRay 0.9s ease-out 0.97s forwards; }
.sun-ray.r5  { transform: rotate(120deg); animation: shootRay 0.9s ease-out 1.01s forwards; }
.sun-ray.r6  { transform: rotate(150deg); animation: shootRay 0.9s ease-out 1.05s forwards; }
.sun-ray.r7  { transform: rotate(180deg); animation: shootRay 0.9s ease-out 1.09s forwards; }
.sun-ray.r8  { transform: rotate(210deg); animation: shootRay 0.9s ease-out 1.13s forwards; }
.sun-ray.r9  { transform: rotate(240deg); animation: shootRay 0.9s ease-out 1.17s forwards; }
.sun-ray.r10 { transform: rotate(270deg); animation: shootRay 0.9s ease-out 1.21s forwards; }
.sun-ray.r11 { transform: rotate(300deg); animation: shootRay 0.9s ease-out 1.25s forwards; }
.sun-ray.r12 { transform: rotate(330deg); animation: shootRay 0.9s ease-out 1.29s forwards; }

@keyframes shootRay {
  0%   { opacity: 0; width: 0; }
  40%  { opacity: 1; width: 190px; }
  100% { opacity: 0; width: 280px; }
}

.intro-brand {
  position: absolute;
  bottom: 28%;
  left: 50%;
  transform: translate(-50%, 6px);
  font-family: var(--font-title);
  font-size: 1.7rem;
  letter-spacing: 9px;
  text-transform: uppercase;
  color: #fdf6e3;
  text-shadow: 0 0 22px rgba(255, 215, 0, 0.65);
  opacity: 0;
  animation: introBrandReveal 1.1s ease 1.5s forwards;
  white-space: nowrap;
}

@keyframes introBrandReveal {
  0%   { opacity: 0; letter-spacing: 9px;  transform: translate(-50%, 6px); }
  100% { opacity: 1; letter-spacing: 4px;  transform: translate(-50%, 0); }
}

.intro-skip-hint {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translate(-50%, 8px);
  font-family: var(--font-text);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: rgba(253, 246, 227, 0.55);
  opacity: 0;
  animation: introFadeUp 0.9s ease 1.95s forwards;
}

@keyframes introFadeUp {
  0%   { opacity: 0; transform: translate(-50%, 10px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

.intro-flash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  opacity: 0;
  pointer-events: none;
  animation: whiteFlash 0.95s ease-in-out 1.85s forwards;
}

@keyframes whiteFlash {
  0%   { opacity: 0;    background-color: #ffd700; }
  45%  { opacity: 0.88; background-color: #fffdf5; }
  100% { opacity: 0;    background-color: #ffffff; }
}

/* ------------------------------------------- */
/* Restante dos estilos do site */
/* ------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transition: transform 0.3s ease, background 0.3s ease;
}

.navbar.hidden { transform: translateY(-100%); }

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.nav-right-actions { display: flex; align-items: center; }

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s, transform 0.2s;
  padding: 4px;
}

.icon-btn:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 75px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-modal.active { opacity: 1; pointer-events: auto; }

@keyframes searchModalPop {
  0% { transform: translateY(-30px) scale(0.95); opacity: 0; }
  70% { transform: translateY(5px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.search-modal-content {
  background: var(--bg-alt);
  width: 90%;
  max-width: 550px;
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--secondary-color);
  opacity: 0;
}

.search-modal.active .search-modal-content {
  animation: searchModalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.search-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.search-header h3 { font-family: var(--font-title); font-size: 1.3rem; color: var(--primary-color); }

.search-input-wrapper input {
  width: 100%;
  padding: 10px 15px;
  font-size: 1rem;
  font-family: var(--font-text);
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  outline: none;
  background: var(--bg-color);
  color: var(--text-main);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input-wrapper input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-results {
  margin-top: 15px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-x: hidden;
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}

.search-result-item {
  padding: 10px 12px;
  background: var(--bg-color);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  animation: slideInRight 0.3s ease forwards;
}

.search-result-item:hover { background: var(--secondary-color); transform: translateX(5px); }
.search-result-title { font-family: var(--font-title); font-size: 1.1rem; font-weight: 600; color: var(--text-main); }
.search-result-desc { font-size: 0.85rem; color: var(--text-muted); }
.not-found-msg { text-align: center; padding: 15px; color: var(--text-muted); font-style: italic; }

/* Modal "Perguntar a uma IA" */
.ai-modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.ai-copy-btn {
  width: 100%;
  margin-top: 12px;
  border-radius: 8px;
  padding: 11px 18px;
}
.ai-feedback {
  margin-top: 12px;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 600;
  text-align: center;
}
.ai-resposta {
  display: none;
  margin-top: 14px;
  padding: 16px;
  background: var(--bg-color);
  border: 1px solid var(--secondary-color);
  border-left: 3px solid var(--primary-color);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
  max-height: 320px;
  overflow-y: auto;
  white-space: pre-wrap;
}
.btn-ask-ai {
  background: none;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-family: var(--font-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ask-ai:hover { background: var(--primary-color); color: #fff; }

.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
  z-index: 2000;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}
.sidebar.open { left: 0; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; }
.sidebar-header h2 { font-family: var(--font-title); font-size: 1.4rem; color: var(--primary-color); }
.sidebar-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.side-filter {
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  transition: var(--transition);
}
.side-filter:hover, .side-filter.active {
  background: var(--secondary-color);
  color: var(--primary-dark);
  padding-left: 15px;
}
.sidebar-decoration { text-align: center; padding-bottom: 10px; }

.overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
  z-index: 1500; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.overlay.active { opacity: 1; pointer-events: auto; }

.view { display: none; opacity: 0; transition: opacity 0.4s ease; padding-top: 65px; }
.view.active { display: block; opacity: 1; }

.hero {
  padding: 50px 20px 30px 20px;
  text-align: center;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}
.hero-content { max-width: 650px; margin: 0 auto; }
.hero-icon-container { display: inline-block; margin-bottom: 10px; }
.hero-icon { animation: spinAndGlow 9s linear infinite; }

@keyframes spinAndGlow {
  0% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5)); }
  50% { transform: rotate(180deg) scale(1.08); filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.95)); }
  100% { transform: rotate(360deg) scale(1); filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5)); }
}

.hero-title { font-family: var(--font-title); font-size: 2.2rem; color: var(--primary-color); margin-bottom: 2px; }
.hero-subtitle { font-family: var(--font-title); font-size: 1.1rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; }
.hero-quote { font-family: var(--font-title); font-style: italic; font-size: 1.15rem; color: var(--text-main); line-height: 1.5; }

.container { max-width: 1000px; margin: 0 auto; padding: 30px 20px; }
.about { text-align: center; }

/* Revelação suave ao rolar a página (respeitada apenas quando o
   visitante não pediu para reduzir movimento) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Imagens surgem com um fade suave em vez de aparecerem de golpe */
.card-img, .bio-img {
  animation: imgFadeIn 0.5s ease;
}
@keyframes imgFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Resposta tátil ao toque/clique — sutil, mas ajuda muito no celular */
.filter-btn:active,
.icon-btn:active,
.card:active,
.sdd-card:active,
.btn-back:active {
  transform: scale(0.97);
}
.section-title { font-family: var(--font-title); font-size: 1.8rem; color: var(--primary-color); margin-bottom: 8px; }
.title-divider { width: 50px; height: 2px; background: var(--primary-color); margin: 0 auto 15px auto; border-radius: 2px; }
.about-text { font-size: 1.05rem; color: var(--text-main); max-width: 750px; margin: 0 auto; line-height: 1.7; }

/* ------------------------------------------- */
/* SANTO DO DIA                                 */
/* ------------------------------------------- */
.santo-do-dia { padding-top: 0; padding-bottom: 10px; }

.sdd-card {
  display: block;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--secondary-color) 100%);
  border: 1px solid var(--primary-color);
  border-radius: 16px;
  padding: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.sdd-card + .sdd-card { margin-top: 16px; }
.sdd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.25);
}

.sdd-label {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

.sdd-body { display: flex; gap: 22px; align-items: center; }

.sdd-img-wrapper {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary-color);
}
.sdd-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.sdd-img-wrapper .card-img-placeholder { width: 36px; height: 36px; }

.sdd-info { flex: 1; min-width: 0; }
.sdd-nome { font-family: var(--font-title); font-size: 1.5rem; color: var(--text-main); margin-bottom: 6px; line-height: 1.2; }
.sdd-resumo { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 8px; }
.sdd-cta { font-size: 0.85rem; font-weight: 600; color: var(--primary-color); }

@media (max-width: 560px) {
  .sdd-body { flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; }
}

.filters-container { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  background: var(--bg-alt);
  border: 1px solid var(--secondary-color);
  padding: 8px 18px;
  border-radius: 25px;
  font-family: var(--font-text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

@keyframes fadeScaleUp {
  0% { opacity: 0; transform: scale(0.95) translateY(15px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.card {
  background: var(--bg-alt);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--secondary-color);
  display: flex;
  flex-direction: column;
  opacity: 0;
}
.animate-card { animation: fadeScaleUp 0.5s ease forwards; }
.card:hover { transform: translateY(-6px); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2); border-color: var(--primary-color); }

.card-img-wrapper { width: 100%; aspect-ratio: 4 / 3; background: var(--secondary-color); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.card:hover .card-img { transform: scale(1.05); }
.card-img-placeholder { width: 45px; height: 45px; color: var(--primary-color); opacity: 0.5; }

.card-content { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-title { font-family: var(--font-title); font-size: 1.3rem; color: var(--text-main); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.card-icon { width: 16px; height: 16px; flex-shrink: 0; }
.card-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

.bio-container { max-width: 750px; opacity: 0; transform: translateY(20px); transition: all 0.5s ease; }
.bio-container.animate-in { opacity: 1; transform: translateY(0); }
.btn-back { background: none; border: none; display: flex; align-items: center; gap: 6px; font-family: var(--font-text); font-weight: 600; color: var(--primary-color); cursor: pointer; transition: opacity 0.3s, transform 0.3s; }
.btn-back:hover { opacity: 0.8; transform: translateX(-4px); }

.bio-article { background: var(--bg-alt); padding: 30px; border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid var(--secondary-color); }
.bio-title { font-family: var(--font-title); font-size: 2.1rem; color: var(--primary-color); margin-bottom: 20px; }
/* Proporção FIXA (aspect-ratio) em vez de altura fixa em pixels.
   Antes, uma altura de 340px virava um retângulo bem mais largo e
   raso no computador (contêiner de até 750px) do que no celular
   (tela mais estreita) — por isso a mesma foto parecia cortada de
   um jeito no computador e de outro no celular. Com aspect-ratio,
   a moldura sempre mantém a mesma proporção (e o mesmo enquadramento
   da foto) em qualquer tamanho de tela. */
.bio-img-wrapper { width: 100%; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; margin-bottom: 25px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.bio-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-text { font-size: 1.05rem; color: var(--text-main); line-height: 1.8; display: flex; flex-direction: column; gap: 15px; }