@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;500;600;700;800&display=swap');
 
:root {
    --bg: #FAF9FF;
    --bg-alt: #EEEDFB;
    --ink: #1E1B33;
    --ink-soft: #4B4770;
    --muted: #7B7797;
    --line: #DAD8F5;
    --wine: #5A5EDD;
    --wine-deep: #3E42B0;
    --accent-bright: #878BFE;
    --teal: #E08A4C;
    --gold: #1E1B33;
    --gold-soft: #E0DFF9;
    --surface: #FFFFFF;
    --focus: #5A5EDD;
  }
 
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #131024;
      --bg-alt: #1B1730;
      --ink: #EDECF9;
      --ink-soft: #C6C3E3;
      --muted: #918DB8;
      --line: #322D54;
      --wine: #A5A8FF;
      --wine-deep: #C7C9FF;
      --accent-bright: #878BFE;
      --teal: #F2A363;
      --gold: #EDECF9;
      --gold-soft: #27224A;
      --surface: #1B1730;
      --focus: #A5A8FF;
    }
  }
 
  :root[data-theme="dark"] {
    --bg: #131024;
    --bg-alt: #1B1730;
    --ink: #EDECF9;
    --ink-soft: #C6C3E3;
    --muted: #918DB8;
    --line: #322D54;
    --wine: #A5A8FF;
    --wine-deep: #C7C9FF;
    --accent-bright: #878BFE;
    --teal: #F2A363;
    --gold: #EDECF9;
    --gold-soft: #27224A;
    --surface: #1B1730;
    --focus: #A5A8FF;
  }
 
  * { box-sizing: border-box; margin: 0; padding: 0; }
 
  html { scroll-behavior: smooth; }
 
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }
 
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Nunito', -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
  }
 
  h1, h2, h3, .display {
    font-family: 'Fredoka', sans-serif;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.01em;
  }
 
  a { color: inherit; text-decoration: none; }
 
  img, svg { max-width: 100%; display: block; }
 
  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
  }
 
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
  }
 
  /* ---------- Header ---------- */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
 
  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
  }
 
  .mark {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wine-deep);
  }
 
  .mark svg.logo-mark { height: 30px; width: auto; display: block; color: #FFFFFF; }
 
  nav.links {
    display: flex;
    gap: 34px;
  }
 
  nav.links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
  }
 
  nav.links a:hover { color: var(--wine); border-color: var(--gold); }
 
  .nav-cta {
    display: none;
  }
 
  .menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
    transition: transform 0.25s, opacity 0.25s;
  }
  .menu-btn span::before { position: absolute; top: -6px; }
  .menu-btn span::after { position: absolute; top: 6px; }
  .menu-btn.open span { background: transparent; }
  .menu-btn.open span::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn.open span::after { transform: translateY(-6px) rotate(-45deg); }
 
  @media (max-width: 820px) {
    nav.links {
      position: fixed;
      top: 78px;
      left: 0;
      right: 0;
      background: var(--surface);
      flex-direction: column;
      gap: 0;
      border-bottom: 1px solid var(--line);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
    nav.links.open { max-height: 400px; }
    nav.links a {
      padding: 16px 28px;
      border-bottom: 1px solid var(--line);
      width: 100%;
    }
    .menu-btn { display: flex; }
  }
 
  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: 90px 0 100px;
    overflow: hidden;
  }
 
  .arch-motif {
    position: absolute;
    right: -60px;
    top: -40px;
    width: 420px;
    height: 560px;
    opacity: 0.5;
    pointer-events: none;
  }
 
  @media (max-width: 820px) {
    .arch-motif { opacity: 0.22; right: -140px; width: 340px; }
  }
 
  .hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 640px);
    gap: 20px;
  }
 
  .eyebrow-line {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--wine);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 22px;
  }
  .eyebrow-line .rule { width: 30px; height: 1px; background: var(--gold); }
 
  .hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.6rem);
    line-height: 1.08;
    max-width: 12ch;
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.9s cubic-bezier(.2,.7,.2,1) 0.15s forwards;
  }
 
  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
 
  .hero p.lead {
    margin-top: 22px;
    max-width: 46ch;
    color: var(--ink-soft);
    font-size: 1.08rem;
  }
 
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
  }
 
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .btn-primary { background: var(--accent-bright); color: #16123A; }
  .btn-primary:hover { background: var(--wine-deep); color: #FFF9EF; }
  .btn-ghost { border-color: var(--line); color: var(--ink); }
  .btn-ghost:hover { border-color: var(--wine); color: var(--wine); }
 
  .hero-service {
    margin-top: 54px;
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .hero-service .item .label { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
  .hero-service .item .value { font-family: 'Fredoka', sans-serif; font-size: 1.15rem; margin-top: 4px; }
 
  /* ---------- Section shell ---------- */
  section { padding: 88px 0; }
  section.alt { background: var(--bg-alt); }
  section + section { border-top: 1px solid var(--line); }
 
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
  }
 
  .section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    max-width: 16ch;
  }
 
  .section-head .kicker {
    color: var(--wine);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 10px;
    display: block;
  }
 
  .section-head p { color: var(--muted); max-width: 34ch; text-align: right; }
  @media (max-width: 700px) { .section-head p { text-align: left; } }
 
  /* ---------- Sobre ---------- */
  .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
  }
  @media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
 
  .about-grid p { color: var(--ink-soft); margin-bottom: 18px; max-width: 56ch; }
 
  .verse {
    border-left: 3px solid var(--teal);
    padding-left: 24px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.2rem;
    color: var(--teal);
    line-height: 1.5;
  }
  .verse cite { display: block; margin-top: 14px; font-family: 'Nunito', sans-serif; font-style: normal; font-size: 0.85rem; color: var(--muted); }
 
  .values { display: flex; flex-direction: column; gap: 0; }
  .values .value-row {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }
  .values .value-row:last-child { border-bottom: 1px solid var(--line); }
  .values .value-row .vlabel { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.05rem; min-width: 130px; color: var(--wine); }
  .values .value-row p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
 
  /* ---------- Cultos ---------- */
  .service-list { display: flex; flex-direction: column; }
  .service-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.6fr;
    gap: 20px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    align-items: center;
  }
  .service-list .service-row:last-child { border-bottom: 1px solid var(--line); }
  @media (max-width: 700px) {
    .service-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  }
  .service-row .day { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.2rem; }
  .service-row .time { color: var(--wine); font-weight: 700; }
  .service-row .desc { color: var(--muted); font-size: 0.94rem; }
 
  /* ---------- Ministérios ---------- */
  .min-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  @media (max-width: 700px) { .min-list { grid-template-columns: 1fr; } }
  .min-item {
    padding: 32px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .min-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .min-item p { color: var(--muted); font-size: 0.95rem; }
  .min-item .tag { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--teal); margin-bottom: 14px; }
 
  /* ---------- Eventos ---------- */
  .event-row {
    display: flex;
    gap: 26px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    align-items: flex-start;
  }
  .event-list .event-row:last-child { border-bottom: 1px solid var(--line); }
  .event-date {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: var(--wine);
    min-width: 84px;
    line-height: 1.2;
  }
  .event-date .num { font-size: 1.6rem; display: block; }
  .event-date .mon { font-size: 0.78rem; color: var(--muted); text-transform: none; }
  .event-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
  .event-body p { color: var(--muted); font-size: 0.92rem; }
 
  /* ---------- Contato ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
  @media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
 
  .contact-info .row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
  .contact-info .row:last-child { border-bottom: 1px solid var(--line); }
  .contact-info .row .k { min-width: 90px; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
  .contact-info .row .v { color: var(--ink); }
 
  .social-row {
    display: flex;
    gap: 12px;
    margin-top: 26px;
  }
  .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-soft);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  }
  .social-btn svg { width: 20px; height: 20px; }
  .social-btn:hover {
    background: var(--accent-bright);
    border-color: var(--accent-bright);
    color: #16123A;
    transform: translateY(-2px);
  }
 
  form { display: flex; flex-direction: column; gap: 16px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
  .field input, .field textarea {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--ink);
  }
  .field textarea { resize: vertical; min-height: 100px; }
  .field input:focus, .field textarea:focus { border-color: var(--wine); }
 
  .form-msg { font-size: 0.9rem; min-height: 20px; color: var(--wine); }
  .form-msg.ok { color: #3E7A4E; }
 
  /* ---------- Footer ---------- */
  footer {
    padding: 48px 0 36px;
    border-top: 1px solid var(--line);
  }
  .footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-row .mark svg.logo-mark { height: 26px; }
  footer .copy { color: var(--muted); font-size: 0.86rem; }
  .theme-toggle {
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
  }
  .theme-toggle:hover { color: var(--wine); border-color: var(--wine); }
 