/* ============================================
   BOM DIA COM DEUS — Stylesheet Completo
   bomdiacomdeus.com
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ======================
   DESIGN TOKENS — Light (default)
   ====================== */
:root {
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --gold-soft: #F5ECD7;
  --gold-glow: rgba(201,168,76,.12);
  --blue: #7BAFD4;
  --blue-light: #B8D8E8;
  --blue-pale: #EDF4F8;
  --blue-deep: #2C5F7C;

  --bg: #FFFEF9;
  --bg-card: #FFFFFF;
  --bg-alt: #FDF8EE;
  --bg-overlay: rgba(255,254,249,.94);

  --fg: #2D2418;
  --fg-2: #5A4E3C;
  --fg-3: #8A7D6B;
  --border: rgba(201,168,76,.18);

  --shadow-sm: 0 1px 8px rgba(44,95,124,.05);
  --shadow-md: 0 4px 24px rgba(44,95,124,.07);
  --shadow-lg: 0 8px 40px rgba(201,168,76,.10);

  --radius: 12px;
  --radius-lg: 18px;
  --max-w: 780px;
  --max-w-page: 1080px;
  --header-h: 64px;

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Lora', Georgia, serif;
  --f-ui: 'Source Sans 3', system-ui, sans-serif;

  color-scheme: light;
}

/* ======================
   DARK THEME (user toggle only)
   ====================== */
[data-theme="dark"] {
  --bg: #141210;
  --bg-card: #1C1A16;
  --bg-alt: #1E1C17;
  --bg-overlay: rgba(20,18,16,.94);

  --fg: #EDE8DD;
  --fg-2: #C4BBAA;
  --fg-3: #8A8070;
  --border: rgba(201,168,76,.14);

  --gold-soft: rgba(201,168,76,.10);
  --gold-glow: rgba(201,168,76,.08);
  --blue-pale: rgba(123,175,212,.08);

  --shadow-sm: 0 1px 8px rgba(0,0,0,.2);
  --shadow-md: 0 4px 24px rgba(0,0,0,.25);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.3);

  color-scheme: dark;
}

/* ======================
   RESET
   ====================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body {
  font-family: var(--f-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}

a { color: var(--blue-deep); text-decoration: none; transition: color .2s; }
[data-theme="dark"] a { color: var(--blue); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
input, select, textarea { font-size: max(16px, 1rem); }

/* ======================
   TYPOGRAPHY
   ====================== */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: .85rem; color: var(--fg-2); }

/* ======================
   LAYOUT
   ====================== */
.container {
  width: 100%;
  max-width: var(--max-w-page);
  margin: 0 auto;
  padding: 0 24px;
}

/* ======================
   HEADER
   ====================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-overlay);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: background .35s, box-shadow .3s;
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w-page); margin: 0 auto; padding: 0 24px;
  position: relative;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 34px; height: 34px; color: var(--gold); }
.logo-text { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--fg); letter-spacing: -.01em; }
.logo-text span { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-family: var(--f-ui); font-size: .85rem; font-weight: 500;
  color: var(--fg-3); padding: 8px 12px; border-radius: 8px;
  transition: all .2s; white-space: nowrap; min-height: 44px;
  display: inline-flex; align-items: center;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); background: var(--gold-glow); }
.nav-donate { color: var(--gold) !important; font-weight: 600 !important; }

.header-right { display: flex; align-items: center; gap: 4px; }

/* Theme Toggle */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: none;
  cursor: pointer; color: var(--fg-3); border-radius: 50%;
  transition: all .2s; flex-shrink: 0;
}
.theme-toggle:hover { color: var(--gold); background: var(--gold-glow); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Mobile hamburger */
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; color: var(--fg);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ======================
   HERO
   ====================== */
.hero {
  position: relative; padding: 72px 0 48px; text-align: center; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-sun {
  width: 88px; height: 88px; margin: 0 auto 20px;
  opacity: 0; transform: translateY(16px);
  animation: rise 1.6s ease-out forwards, glow 4s ease-in-out 2s infinite;
}
[data-theme="dark"] .hero-sun { filter: brightness(0.85); }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(201,168,76,.25)); }
  50% { filter: drop-shadow(0 0 32px rgba(201,168,76,.45)); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 { margin-bottom: 10px; opacity: 0; animation: fadeUp .8s ease-out .4s forwards; }
.hero h1 span { color: var(--gold); }

.hero-subtitle {
  font-family: var(--f-display); font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic; color: var(--fg-3); max-width: 520px; margin: 0 auto;
  opacity: 0; animation: fadeUp .8s ease-out .7s forwards;
}

.hero-date {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; padding: 8px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50px; font-family: var(--f-ui); font-size: .85rem; color: var(--fg-2);
  box-shadow: var(--shadow-sm); flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp .8s ease-out 1s forwards;
}
.hero-date svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.hero-date .dot { color: var(--gold); }
.hero-date .tempo { color: var(--gold); font-weight: 600; }

/* ======================
   MESSAGE CARD
   ====================== */
.message-section { padding: 0 0 48px; }

.message-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 36px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
  max-width: var(--max-w); margin: 0 auto;
  transition: background .35s;
}
.message-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
}
.message-card::after {
  content: '\201C'; position: absolute; top: 16px; right: 24px;
  font-family: var(--f-display); font-size: 5rem; color: var(--gold-glow);
  line-height: 1; pointer-events: none;
}

.message-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-ui); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--gold);
  margin-bottom: 14px;
}
.message-label svg { width: 14px; height: 14px; }

.message-title {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 600; margin-bottom: 18px; color: var(--fg);
  text-align: left;
}

.message-body {
  font-size: 1rem; line-height: 1.85; color: var(--fg-2);
  margin-bottom: 24px; text-align: left;
}
.message-body p { margin-bottom: 0; }

.message-verse {
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--bg-alt), var(--gold-soft));
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px; text-align: left;
}
.message-verse p {
  font-family: var(--f-display); font-size: 1.1rem; font-style: italic;
  font-weight: 500; color: var(--fg); margin-bottom: 4px;
}
.message-verse cite {
  font-family: var(--f-ui); font-size: .8rem; font-style: normal;
  font-weight: 600; color: var(--gold);
}

.message-prayer {
  padding: 22px; background: var(--blue-pale);
  border-radius: var(--radius); margin-bottom: 22px; text-align: left;
}
.message-prayer h4 {
  font-family: var(--f-display); font-size: 1.05rem; color: var(--blue-deep);
  margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
[data-theme="dark"] .message-prayer h4 { color: var(--blue); }
.message-prayer h4 svg { width: 17px; height: 17px; color: var(--blue); flex-shrink: 0; }
.message-prayer p { font-size: .93rem; font-style: italic; color: var(--fg-2); margin-bottom: 0; }

.message-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid var(--border); gap: 12px; flex-wrap: wrap;
}
.message-footer-info { font-family: var(--f-ui); font-size: .8rem; color: var(--fg-3); }
.message-share { display: flex; gap: 8px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--fg-3); cursor: pointer; transition: all .2s;
}
.share-btn:hover { background: var(--gold-soft); color: var(--gold); border-color: var(--gold-light); }
.share-btn svg { width: 18px; height: 18px; }

/* ======================
   SECTIONS
   ====================== */
.section { padding: 56px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { margin-bottom: 6px; }
.section-header h2 span { color: var(--gold); }
.section-divider {
  width: 50px; height: 2px; margin: 10px auto 14px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-header p {
  font-family: var(--f-display); font-style: italic; color: var(--fg-3);
  font-size: 1.02rem; max-width: 480px; margin: 0 auto;
}

/* CTA */
.cta-section { padding-top: 0; }
.cta-container { text-align: center; }
.cta-text {
  font-family: var(--f-display); font-size: 1.05rem; font-style: italic;
  color: var(--fg-3); margin-bottom: 14px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; min-height: 48px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50px; font-family: var(--f-ui); font-weight: 600;
  font-size: .9rem; color: var(--fg); transition: all .25s; box-shadow: var(--shadow-sm);
}
.cta-btn:hover { border-color: var(--gold-light); box-shadow: var(--shadow-lg); color: var(--gold); }

.verse-home { max-width: 660px; margin: 0 auto; }

/* ======================
   ARQUIVO
   ====================== */
.archive-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}
.archive-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: all .25s;
  cursor: pointer; text-decoration: none; display: block; text-align: left;
}
.archive-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--gold-light); }
.archive-card .card-date {
  font-family: var(--f-ui); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 8px;
}
.archive-card h3 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 500; text-align: left; }
.archive-card p {
  font-size: .9rem; color: var(--fg-3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 0; text-align: left;
}

/* ======================
   EVANGELHO
   ====================== */
.evangelho-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md);
  max-width: var(--max-w); margin: 0 auto; text-align: left; transition: background .35s;
}
.evangelho-ref {
  font-family: var(--f-ui); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 6px;
}
.evangelho-card h3 { margin-bottom: 18px; text-align: left; }
.evangelho-text {
  font-size: 1rem; line-height: 1.9; color: var(--fg-2);
  padding: 22px; background: var(--bg-alt); border-radius: var(--radius);
  margin-bottom: 22px; text-align: left;
}
.evangelho-text p { margin-bottom: 0; }
.evangelho-reflexao {
  padding: 22px; border-left: 3px solid var(--blue);
  background: var(--blue-pale); border-radius: 0 var(--radius) var(--radius) 0; text-align: left;
}
.evangelho-reflexao h4 { color: var(--blue-deep); margin-bottom: 8px; }
[data-theme="dark"] .evangelho-reflexao h4 { color: var(--blue); }
.evangelho-reflexao p { margin-bottom: 0; }

/* ======================
   ORAÇÕES
   ====================== */
.oracoes-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px; max-width: 860px; margin: 0 auto;
}
.oracao-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: all .25s; text-align: left;
}
.oracao-card:hover { box-shadow: var(--shadow-lg); }
.oracao-card h3 {
  font-size: 1.2rem; margin-bottom: 14px; display: flex;
  align-items: center; gap: 10px; text-align: left;
}
.oracao-card h3 svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.oracao-card p { font-size: .93rem; font-style: italic; line-height: 1.8; margin-bottom: 0; text-align: left; }

/* ======================
   DATAS LITÚRGICAS
   ====================== */
.liturgical-timeline { max-width: 660px; margin: 0 auto; position: relative; padding-left: 36px; }
.liturgical-timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--gold-light), var(--blue-light), var(--gold-light));
}
.liturgical-item { position: relative; padding: 0 0 32px 24px; text-align: left; }
.liturgical-item::before {
  content: ''; position: absolute; left: -30px; top: 5px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--gold);
  border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--gold-light);
}
.liturgical-item.active::before {
  background: var(--blue-deep);
  box-shadow: 0 0 0 2px var(--blue-light), 0 0 10px rgba(44,95,124,.3);
}
.liturgical-item h4 { font-size: 1.1rem; margin-bottom: 2px; text-align: left; }
.liturgical-item .lit-date {
  font-family: var(--f-ui); font-size: .8rem; font-weight: 600;
  color: var(--gold); margin-bottom: 4px;
}
.liturgical-item p { font-size: .9rem; color: var(--fg-3); margin-bottom: 0; text-align: left; }

/* ======================
   SOBRE
   ====================== */
.sobre-content { max-width: 660px; margin: 0 auto; text-align: left; }
.sobre-content p { font-size: 1rem; line-height: 1.9; }
.sobre-mission {
  padding: 28px; background: var(--bg-alt); border-radius: var(--radius-lg);
  margin-top: 28px; border: 1px solid var(--border); text-align: left;
}
.sobre-mission h3 { color: var(--gold); margin-bottom: 10px; }
.sobre-mission p { margin-bottom: 0; }

/* ======================
   DOAÇÃO
   ====================== */
.doacao-section { padding: 56px 0; }
.doacao-card {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 44px 36px;
  box-shadow: var(--shadow-md); transition: background .35s;
}
.doacao-card .doacao-icon { width: 52px; height: 52px; margin: 0 auto 18px; color: var(--gold); }
.doacao-card h3 { font-size: 1.35rem; margin-bottom: 10px; line-height: 1.4; }
.doacao-card > p { font-size: .95rem; color: var(--fg-3); }

.donation-options {
  display: grid;
  gap: 14px;
  margin: 26px 0 18px;
}

.donation-option {
  display: block;
  text-align: left;
  color: var(--fg);
  background: linear-gradient(135deg, var(--bg-alt), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.donation-option:hover {
  color: var(--fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.donation-option h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--fg);
}

.donation-option p {
  margin-bottom: 14px;
  color: var(--fg-2);
  font-size: .92rem;
}

.donation-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-family: var(--f-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.donation-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #B8942E);
  color: #fff;
  font-family: var(--f-ui);
  font-size: .9rem;
  font-weight: 700;
}

.donation-option-free {
  background: linear-gradient(135deg, var(--blue-pale), var(--bg-card));
}

.pix-area {
  background: var(--bg-alt); border-radius: var(--radius); padding: 22px;
  margin-bottom: 18px; text-align: left;
}
.pix-area label {
  display: block; font-family: var(--f-ui); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); margin-bottom: 8px;
}
.pix-input-group { display: flex; gap: 8px; }
.pix-input {
  flex: 1; padding: 13px 16px; border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--f-ui); font-size: .95rem; background: var(--bg); color: var(--fg);
  outline: none; transition: border-color .2s;
}
.pix-input:focus { border-color: var(--gold); }
.pix-input::placeholder { color: var(--fg-3); }

.btn-copy {
  padding: 13px 18px; background: var(--gold); color: #fff; border: none; border-radius: 8px;
  font-family: var(--f-ui); font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: all .2s; white-space: nowrap; min-height: 44px;
}
.btn-copy:hover { background: var(--fg); }

.pix-note { font-size: .86rem; color: var(--fg-3); margin-bottom: 22px; text-align: center; }
.pix-quote { font-size: .82rem; color: var(--fg-3); margin-top: 18px; font-style: italic; text-align: center; }

.btn-pix {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; min-height: 48px;
  background: linear-gradient(135deg, var(--gold), #B8942E); color: #fff;
  border: none; border-radius: 50px; font-family: var(--f-ui); font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: all .3s; box-shadow: 0 4px 18px rgba(201,168,76,.3);
}
.btn-pix:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(201,168,76,.4); }
.btn-pix svg { width: 18px; height: 18px; }

/* ======================
   DONATION BANNER
   ====================== */
.donation-banner {
  text-align: center; padding: 36px 24px;
  background: linear-gradient(135deg, var(--bg-alt), var(--gold-soft));
  border-top: 1px solid var(--border);
}
.donation-banner p {
  font-family: var(--f-display); font-size: 1.05rem; font-style: italic;
  color: var(--fg-2); margin-bottom: 14px;
}
.donation-banner a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; min-height: 48px; background: var(--gold); color: #fff;
  border-radius: 50px; font-family: var(--f-ui); font-weight: 600; font-size: .9rem;
  transition: all .25s;
}
.donation-banner a:hover { background: var(--fg); color: #fff; }

/* ======================
   FOOTER
   ====================== */
.site-footer {
  background: var(--fg); color: rgba(255,255,255,.55);
  padding: 44px 0 20px; margin-top: 32px; transition: background .35s;
}
[data-theme="dark"] .site-footer { background: #0C0B09; }

.footer-inner {
  max-width: var(--max-w-page); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px;
}
.footer-col h4 { font-family: var(--f-display); color: var(--gold-light); font-size: 1.05rem; margin-bottom: 14px; }
.footer-col p { color: rgba(255,255,255,.45); font-size: .86rem; line-height: 1.7; text-align: left; }
.footer-col a {
  display: flex; align-items: center;
  color: rgba(255,255,255,.45); font-family: var(--f-ui);
  font-size: .86rem; padding: 3px 0; transition: color .2s; min-height: 32px;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-quote { margin-top: 10px; font-size: .8rem !important; font-style: italic; }

.footer-bottom {
  max-width: var(--max-w-page); margin: 28px auto 0; padding: 16px 24px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center; font-family: var(--f-ui); font-size: .8rem; color: rgba(255,255,255,.3);
}

/* ======================
   PAGE ROUTING
   ====================== */
.page-section { display: none; }
.page-section.active { display: block; }

/* ======================
   ACCESSIBILITY
   ====================== */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-sun, .hero h1, .hero-subtitle, .hero-date { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (min-width: 1440px) { :root { --max-w-page: 1160px; } }

@media (max-width: 1024px) {
  .main-nav a { font-size: .8rem; padding: 8px 8px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 58px; --radius-lg: 14px; }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 14px;
    background: var(--bg-overlay);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 120;
    max-height: calc(100vh - var(--header-h) - 28px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .main-nav a {
    font-size: 1rem;
    padding: 14px 18px;
    width: 100%;
    max-width: none;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    background: transparent;
  }
  .menu-toggle { display: flex; }

  .logo-icon { width: 30px; height: 30px; }
  .logo-text { font-size: 1.15rem; }

  .hero { padding: 48px 0 36px; }
  .hero-sun { width: 72px; height: 72px; margin-bottom: 16px; }
  .hero-date { font-size: .82rem; padding: 7px 16px; }

  .message-card { padding: 32px 24px; }
  .message-card::after { font-size: 3.5rem; top: 12px; right: 16px; }
  .message-footer { flex-direction: column; align-items: flex-start; }
  .message-share { align-self: flex-end; }

  body.menu-open { overflow: hidden; }

  .archive-grid { grid-template-columns: 1fr; }
  .oracoes-grid { grid-template-columns: 1fr; }
  .evangelho-card { padding: 28px 22px; }
  .doacao-card { padding: 36px 24px; }
  .pix-input-group { flex-direction: column; }
  .btn-copy { width: 100%; }
  .btn-pix { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-col { text-align: center; }
  .footer-col p { text-align: center; }
  .footer-col a { justify-content: center; }
  .section { padding: 44px 0; }
  .donation-banner { padding: 28px 20px; }
}

@media (max-width: 480px) {
  :root { --header-h: 54px; }
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .logo-icon { width: 28px; height: 28px; }
  .logo-text { font-size: 1.05rem; }
  .hero { padding: 36px 0 28px; }
  .hero-sun { width: 60px; height: 60px; }

  .message-card { padding: 26px 18px; border-radius: 14px; }
  .message-card::after { font-size: 2.8rem; top: 10px; right: 12px; }
  .message-verse { padding: 16px 18px; }
  .message-prayer { padding: 18px; }
  .message-body { font-size: .95rem; }
  .archive-card { padding: 20px 18px; }
  .oracao-card { padding: 22px 18px; }
  .evangelho-card { padding: 24px 18px; }
  .evangelho-text { padding: 18px; }
  .doacao-card { padding: 30px 20px; }
  .doacao-card h3 { font-size: 1.2rem; }
  .liturgical-timeline { padding-left: 30px; }
  .liturgical-item::before { left: -25px; width: 9px; height: 9px; }
  .section { padding: 36px 0; }
  .cta-btn { width: 100%; justify-content: center; font-size: .88rem; }
  .donation-banner a { width: 100%; justify-content: center; }
}

@media (max-width: 360px) {
  :root { --header-h: 50px; }
  .container { padding: 0 14px; }
  .logo-text { font-size: .95rem; }
  .hero-sun { width: 50px; height: 50px; }
  .message-card { padding: 22px 14px; }
  .message-card::after { font-size: 2.2rem; }
  .doacao-card { padding: 26px 14px; }
  .main-nav a { font-size: 1rem; padding: 12px 20px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 46px; }
  .hero { padding: 18px 0 14px; }
  .hero-sun { width: 44px; height: 44px; margin-bottom: 8px; }
  .section { padding: 24px 0; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (hover: none) and (pointer: coarse) {
  .archive-card:hover, .oracao-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .archive-card:active { transform: scale(.98); border-color: var(--gold-light); }
  .share-btn:hover { background: var(--bg-card); color: var(--fg-3); }
  .share-btn:active { background: var(--gold-soft); color: var(--gold); }
}

@media print {
  .site-header, .site-footer, .donation-banner, .message-share, .menu-toggle, .header-right { display: none !important; }
  body { background: #fff; color: #000; }
  .message-card, .archive-card, .oracao-card { box-shadow: none; border: 1px solid #ddd; page-break-inside: avoid; }
}
