:root {
  --ink: #241b3b;
  --purple: #552491;
  --purple-dark: #3a176b;
  --muted: #534c65;
  --paper: #fff;
  --lavender: #f5f1fb;
  --line: #e0d8eb;
  --display: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0b8276; outline-offset: 5px; }
h1, h2, p, blockquote { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 790; line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 1rem; left: 1rem; background: white; padding: .6rem 1rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); position: relative; z-index: 2; }
.header-inner, .footer-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; line-height: 1; flex-shrink: 0; }
.brand img { border-radius: 50%; }
.brand span { font: 800 1.8rem/.94 var(--display); letter-spacing: -.06em; }
.brand small { display: block; margin-top: .34rem; font: 750 .72rem/1 system-ui, sans-serif; letter-spacing: .16em; }
#navegacao { display: flex; gap: clamp(1.25rem, 3vw, 2.8rem); font-size: .95rem; font-weight: 700; }
#navegacao a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: .24em; }
.menu-button { display: flex; align-items: center; gap: .5rem; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: 700 .9rem/1.4 system-ui, sans-serif; cursor: pointer; }
.menu-symbol { position: relative; display: block; width: 18px; height: 14px; border-block: 2px solid; }
.menu-symbol::before { content: ''; position: absolute; top: 4px; left: 0; width: 100%; border-top: 2px solid; }
.hero {
  color: white;
  background-color: #2c2052;
  background-image: linear-gradient(90deg, rgba(44,19,89,.92), rgba(30,48,116,.69) 49%, rgba(0,86,75,.22)), url('assets/adoracao.webp');
  background-size: cover;
  background-position: center, center 52%;
}
.hero-inner { min-height: clamp(480px, 49vw, 640px); display: grid; align-items: center; padding-block: 70px; }
.hero h1 { font-size: clamp(3.5rem, 7.4vw, 7rem); line-height: .98; max-width: 17ch; }
.hero p { margin-top: 1.25rem; color: #f4edff; font-size: clamp(1.15rem, 2.5vw, 1.75rem); }
.button { min-height: 49px; padding: .6rem 1.1rem; border: 1px solid transparent; border-radius: 9px; display: inline-flex; justify-content: center; align-items: center; text-align: center; font-weight: 750; line-height: 1.28; transition: background-color .18s; }
.hero-button { margin-top: 1.6rem; background: white; color: var(--purple-dark); }
.hero-button:hover { background: #ebdefb; }
.primary { background: var(--purple); color: white; }
.primary:hover { background: var(--purple-dark); }
.secondary { border-color: #aa91c7; color: var(--purple-dark); background: white; }
.secondary:hover { background: var(--lavender); }
.quick-links { background: linear-gradient(100deg, #482477, #25558d 56%, #097568); padding-block: 19px; }
.quick-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quick-links a { background: #21154066; color: white; border: 1px solid #ffffff4c; border-radius: 10px; padding: .7rem 1rem; font-size: 1.06rem; font-weight: 750; line-height: 1.3; transition: background-color .18s; }
.quick-links a:hover { background: #211540b0; }
.quick-links a:focus-visible, .hero a:focus-visible { outline-color: white; }
.quick-links span { display: block; margin-top: .17rem; color: #f2edfc; font-size: .9rem; font-weight: 500; }
.church { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; padding-block: clamp(55px, 8vw, 105px); }
.eyebrow { margin-bottom: .65rem; color: var(--purple); font-size: .88rem; font-weight: 800; letter-spacing: .16em; }
.church div > p:last-child, .meetings p, .course-list p { color: var(--muted); margin-top: .9rem; max-width: 52ch; }
blockquote { padding: .5rem 0 .5rem 1.2rem; border-left: 4px solid #188777; color: var(--purple-dark); font-size: clamp(1.24rem, 2.4vw, 2rem); font-weight: 620; line-height: 1.4; text-wrap: pretty; }
.meetings { background: var(--lavender); }
.meeting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 4vw, 3rem); padding-block: clamp(36px, 6vw, 68px); }
.meeting-grid section { background: white; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.3rem, 4vw, 2.8rem); }
.meeting-grid h2 { font-size: clamp(1.65rem, 3.3vw, 2.7rem); }
.meetings .button { margin-top: 1.25rem; }
.courses { padding-block: clamp(50px, 8vw, 95px); }
.courses-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.course-list { border-top: 1px solid var(--line); }
.course-list details { border-bottom: 1px solid var(--line); }
.course-list summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 63px; cursor: pointer; font: 690 clamp(1.15rem, 2vw, 1.45rem)/1.2 var(--display); }
.course-list summary::-webkit-details-marker { display: none; }
.course-list summary::after { content: ''; width: .55rem; height: .55rem; margin-right: .35rem; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(45deg); }
.course-list details[open] summary::after { transform: rotate(225deg); }
.course-list p { padding-bottom: 1.1rem; margin-top: 0; }
.site-footer { background: #221636; color: white; }
.footer-inner { min-height: 108px; }
.footer-inner p { color: #e0d6ed; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: .23em; }
@media (max-width: 850px) {
  .shell { width: calc(100% - 60px); }
}
@media (max-width: 660px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 0; padding-block: .6rem; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 1.6rem; }
  #navegacao { flex: 1 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding-top: .65rem; }
  #navegacao a { padding: .5rem .4rem; }
  .hero { background-image: linear-gradient(145deg, rgba(47,20,98,.84), rgba(24,55,112,.59) 61%, rgba(0,78,72,.43)), url('assets/adoracao.webp'); background-position: center, 57% center; }
  .hero-inner { min-height: clamp(420px, 113vw, 560px); padding-block: 55px; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4.7rem); }
  .hero p { margin-top: .9rem; }
  .hero-button { margin-top: 1.2rem; }
  .quick-links { padding-block: 12px; }
  .quick-inner { grid-template-columns: 1fr; gap: 6px; }
  .quick-links a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 45px; }
  .quick-links span { margin-top: 0; text-align: right; }
  .church, .meeting-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .courses-heading, .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { padding-block: 24px; gap: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
