/* Measurements taken from Figma Home 1:13 (1440 × 10438). */
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 100px; padding-block: 14px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 44px; }
.brand img { width: 176px; height: 80px; object-fit: contain; }
.site-header .brand img { width: 158.4px; height: 72px; }
.main-nav { flex-basis: 100%; order: 3; }
.main-nav ul, .footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; }
.main-nav ul { gap: 0 16px; }
.main-nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 14px; line-height: 22px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--color-primary); text-decoration: none; }
.main-nav a:hover { color: var(--color-neutral-dark); text-decoration: underline; }
.social-mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; }
.social-mark img { width: 22px; height: 22px; object-fit: contain; }
.menu-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; color: var(--color-primary); border: 1px solid var(--color-secondary-light); background: var(--color-white); border-radius: var(--radius-button); font-size: 14px; }
.menu-toggle span { font-size: 20px; }
.header-inner > .social-mark { display: none; }
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 653px; padding-block: 70px 48px; color: var(--color-white); background: var(--color-neutral-dark); }
.hero-background, .invitation-background, .quote-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-background { object-position: 58% center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 15%, rgb(0 0 0 / .35) 90%); }
.hero h1 { font-weight: 800; max-width: 749px; color: var(--color-white); }
.hero p { max-width: 656px; margin-top: 26px; font-size: 16px; line-height: 22px; font-weight: 300; }
.hero .actions { margin-top: 28px; }
.hero .button { white-space: nowrap; padding-inline: clamp(12px, 4vw, 26px); }
.hero :focus-visible, .institute :focus-visible, .care :focus-visible, .site-footer :focus-visible, .final-invitation :focus-visible { outline-color: var(--color-secondary-medium); }
.patterned { position: relative; isolation: isolate; }
.patterned::after { content: ""; position: absolute; inset: auto 0 0; height: 94px; z-index: -1; pointer-events: none; background: url("../images/08%20-%20desenho%20geometrico.png") center bottom / auto 94px repeat-x; }
.institute, .care { background: var(--color-primary); color: var(--color-white); }
.institute h2, .care h2 { color: var(--color-gold-on-green); }
.institute strong, .care strong { color: var(--color-secondary-medium); }
.campaign-layout { display: grid; gap: 36px; }
.campaign-copy > p { margin-top: 40px; }
.campaign-details { display: grid; gap: 28px; margin-top: 38px; }
.campaign-details p + p { margin-top: 28px; }
.campaign-goal { border: 1px solid var(--color-secondary-dark); border-radius: var(--radius-button); padding: 32px 20px; text-align: center; }
.goal-amount { display: block; font-family: var(--font-body); color: var(--color-gold-on-green) !important; font-size: 38px; line-height: 48px; font-weight: 700; white-space: nowrap; }
.campaign-action { margin-top: 36px; }
.pix { font-size: 14px; line-height: 22px; margin-top: 14px !important; }
.video-player { position: relative; width: min(100%, 380px); margin-inline: auto; border-radius: var(--radius-image); overflow: hidden; background: var(--color-neutral-dark); aspect-ratio: 380 / 676; }
.video-player video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; display: grid; place-items: center; padding: 0; background: var(--color-white); color: var(--color-neutral-dark); border: 0; border-radius: 50%; }
.video-play span { font-size: 30px; line-height: 1; margin-left: 5px; }
.video-play:hover { background: var(--color-secondary-medium); }
.architecture { width: 100%; border-radius: var(--radius-image); margin-top: 33px; }
.activities-intro { margin-bottom: 32px; text-align: center; }
.icon-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.icon-card { min-height: 131px; border: 1px solid var(--color-secondary-light); border-radius: var(--radius-button); padding: 20px 8px 16px; display: flex; align-items: center; flex-direction: column; text-align: center; gap: 9px; }
.card-icon { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.icon-card p { font-size: var(--font-box); line-height: 22px; }
.story-photo, .christ-photo { width: 100%; }
.highlight-quote { font: italic 700 24px/27px var(--font-display); color: var(--color-primary); }
.quote-section { position: relative; isolation: isolate; background: var(--color-secondary-dark); padding-bottom: 52px; }
.quote-background { position: static; height: 280px; object-fit: cover; object-position: left center; }
.quote-section > .container { margin-top: 32px; }
.quote-section blockquote { position: relative; max-width: 481px; font: italic 500 var(--font-quote)/var(--line-quote) var(--font-display); }
.quote-symbol { position: absolute; z-index: -1; bottom: 0; right: 0; width: 135px; height: auto; }
.team h2 { text-align: center; }
.team-composition { list-style: none; display: grid; gap: 24px; margin-top: 35px; justify-items: center; }
.team-composition img { width: 100%; }
.team-center { display: none; order: -1; max-width: 584px; }
.team-left, .team-right { max-width: 385px; }
.section-intro { text-align: center; }
.section-intro p { margin-top: 14px; }
.carousel { position: relative; }
.back-to-top { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 15; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--color-secondary-dark); border-radius: 50%; background: var(--color-primary); color: var(--color-secondary-lighter); box-shadow: 0 2px 8px rgb(0 0 0 / .14); transition: background var(--motion-duration), transform var(--motion-duration); }
.back-to-top:hover { background: var(--color-neutral-dark); }
.back-to-top:active { transform: translateY(2px); }
.back-to-top:focus-visible { outline-color: var(--color-secondary-dark); }
.carousel-track { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; gap: 24px; list-style: none; scrollbar-width: thin; }
.carousel-track > li { flex: 0 0 min(78vw, 310px); scroll-snap-align: center; min-width: 0; }
.care-carousel { margin-top: 48px; }
.care-carousel .carousel-track { padding: 0 var(--gutter) 0; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.care-carousel .carousel-track::-webkit-scrollbar { display: none; }
.care-card { position: relative; aspect-ratio: 310 / 420; overflow: hidden; border-radius: var(--radius-card); background: var(--color-neutral-dark); }
.care-photo { width: 100%; height: 100%; object-fit: cover; }
.care-card h3 { position: absolute; inset: 20px 14px auto; color: var(--color-white); text-align: center; font-size: 18px; font-weight: 700; line-height: 28px; }
.care > .actions { margin: 42px var(--gutter) 0; }
.carousel-controls { pointer-events: none; position: absolute; inset: 0; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto; display: grid; place-items: center; width: 53px; height: 53px; padding: 0; border: 0; border-radius: 50%; background: var(--color-white); color: var(--color-neutral-dark); box-shadow: 0 1px 4px rgb(0 0 0 / .08); }
.carousel-arrow span { font: 400 27px/1 var(--font-body); }
.carousel-arrow img { width: 53px; height: 53px; }
.carousel-arrow:hover { background: var(--color-secondary-medium); }
.carousel-arrow.previous { left: 16px; }
.carousel-arrow.next { right: 16px; }
.video-layout { display: grid; gap: 36px; }
.video-actions { margin-top: 44px; }
.participation-grid { margin-top: 42px; }
.participate .actions { margin-top: 41px; gap: 32px; }
/* Darker green on gold and a minimally lighter gold on green preserve AA contrast. */
.gallery { position: relative; isolation: isolate; background: var(--color-secondary-medium); text-align: center; }
.gallery h2 + p { margin-top: 14px; }
.instagram-decoration { position: absolute; z-index: -1; left: -3px; top: 70px; width: 110px; height: auto; }
.photo-gallery { display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; margin-top: 42px; }
.photo-gallery a { display: block; }
.photo-gallery a:focus-visible { position: relative; z-index: 1; }
.photo-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.video-gallery .carousel-track { gap: 32px; padding-bottom: 8px; }
.video-gallery .instagram-actions { margin-top: 40px; }
.video-gallery .carousel-track > li { flex-basis: min(76vw, 276px); }
.video-gallery .video-player { width: 100%; aspect-ratio: 276 / 491; }
.video-gallery .video-play { width: 60px; height: 60px; background: transparent; color: var(--color-white); }
.video-gallery .video-play span { font-size: 46px; margin-left: 0; }
.video-gallery .video-play span { visibility: hidden; }
.video-gallery .video-play.is-replay span { visibility: visible; }
.video-gallery .carousel-arrow { background: transparent; box-shadow: none; }
.video-gallery .carousel-arrow:disabled { opacity: 1; }
.video-gallery .carousel-arrow.previous { left: -13px; }
.video-gallery .carousel-arrow.next { right: -13px; }
.final-invitation { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 402px; padding-block: 64px; text-align: center; color: var(--color-white); background: var(--color-neutral-dark); }
.invitation-background { object-position: center; }
.final-invitation h2 { color: var(--color-secondary-lighter); }
.final-invitation p { margin: 18px auto 34px; font-size: 16px; line-height: 26px; font-weight: 300; }
.site-footer { background: var(--color-neutral-dark); color: var(--color-secondary-lighter); padding-block: 54px 20px; font-size: 14px; line-height: 25px; }
.footer-top { display: grid; gap: 28px; align-items: start; }
.footer-top h2 { font: 700 16px/25px var(--font-body); color: var(--color-white); margin-bottom: 12px; }
.footer-top p, .footer-top address { color: var(--color-footer-muted); }
.footer-top .button { justify-self: start; font-weight: 500; }
.footer-bottom { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-top: 42px; }
.footer-bottom ul { gap: 0 22px; }
.footer-bottom a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; color: var(--color-footer-muted); font-size: 13px; }
.footer-legal a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-legal p { align-self: center; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-primary); font-size: 14px; margin-bottom: 24px; }
.donation-layout { display: grid; gap: 40px; }
.donation-page h1 { font-size: var(--font-heading-m); line-height: var(--line-heading-m); }
.donation-panel { padding: 32px 24px; background: var(--color-primary); color: var(--color-white); border-radius: var(--radius-image); }
.donation-panel h2 { color: var(--color-secondary-medium); font-size: 32px; line-height: 35px; margin-bottom: 28px; }
.donation-panel p + p { margin-top: 28px; }
.donation-panel strong { color: var(--color-secondary-medium); }
.donation-panel .goal-amount { margin-block: 8px; }
.pix-copy { margin-top: 32px; }
.pix-copy label { display: block; font-weight: 700; margin-bottom: 12px; }
.pix-copy input { display: block; width: 100%; min-height: 54px; padding: 12px 10px; border: 1px solid var(--color-secondary-dark); border-radius: var(--radius-button); color: var(--color-white); background: transparent; font-size: 18px; }
.pix-copy button { width: 100%; margin-top: 14px; }
.copy-status { font-size: 14px; line-height: 22px; min-height: 22px; margin-top: 10px; }
.donation-help { font-size: 14px; margin-bottom: 20px; }
.donation-panel :focus-visible { outline-color: var(--color-secondary-medium); }
.legal-copy { max-width: 820px; }
.legal-copy h1 { margin-bottom: 28px; }
.legal-copy h2 { font-size: 32px; line-height: 36px; margin-bottom: 20px; }
.legal-copy section { margin-block: 40px; }
.legal-copy p + p { margin-top: 20px; }
.privacy-updated { padding: 20px 24px; background: var(--color-secondary-lighter); border-left: 3px solid var(--color-secondary-dark); margin-bottom: 28px; font-size: 14px; }
@media (max-width: 899px) {
  .hero .actions { justify-content: center; }
  .hero .button-outline { display: none; }
  main :is(h1, h2, h3):not(.hero *) { text-align: center; }
  main .divider:not(.hero *) { margin-inline: auto; }
  main .actions:not(.hero *) { justify-content: center; }
  .campaign-action, .video-actions, main .pix { text-align: center; }
  :is(.about, .participate, .story, .faith, .christ) .split { display: flex; flex-direction: column; gap: 0; }
  :is(.about, .participate, .story, .faith, .christ) .split > .copy { display: contents; }
  :is(.about, .participate, .story, .faith, .christ) .copy > h2 { order: 0; width: 100%; align-self: center; text-align: center; margin-inline: auto; }
  :is(.about, .participate, .story, .faith, .christ) .copy > .divider { order: 1; }
  :is(.about, .participate, .story, .faith, .christ) .split > :is(.section-photo, .story-photo, .christ-photo) { order: 2; margin-bottom: 26px; }
  :is(.about, .participate, .story, .faith, .christ) .copy > p { order: 3; }
  .project-video .video-layout { display: flex; flex-direction: column; gap: 0; }
  .project-video .video-layout > .copy { display: contents; }
  .project-video .copy > h2 { order: 0; width: 100%; text-align: center; }
  .project-video .copy > .divider { order: 1; }
  .project-video .video-layout > .video-player { order: 2; margin-bottom: 26px; }
  .project-video .copy > p { order: 3; }
  .project-video .video-actions { order: 4; }
  .institute .campaign-layout { display: flex; flex-direction: column; gap: 0; }
  .institute .campaign-copy { display: contents; }
  .institute .campaign-copy > h2 { order: 0; width: 100%; text-align: center; }
  .institute .campaign-copy > .divider { order: 1; }
  .institute .campaign-layout > .video-player { order: 2; margin-bottom: 26px; }
  .institute .campaign-copy > p { order: 3; margin-top: 0; }
  .institute .campaign-details { order: 4; }
  .institute .campaign-details > div:first-child { display: contents; }
  .institute .campaign-details > div:first-child > p + p { margin-top: 0; }
  .institute .campaign-goal { order: 1; }
  .institute .campaign-action { order: 2; margin-top: 0; }
  .new-space .copy { display: flex; flex-direction: column; }
  .new-space .copy > h2 { order: 0; width: 100%; text-align: center; }
  .new-space .copy > .divider { order: 1; }
  .new-space .architecture { order: 2; margin: 0 0 26px; }
  .new-space .copy > p { order: 3; }
}
@media (min-width: 600px) {
  .quote-section { padding-bottom: 64px; }
  .quote-background { height: 390px; }
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
  .team-composition { grid-template-columns: 1fr 1fr; }
  .team-center { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .brand img { width: 220px; height: 100px; }
  .hero { height: 653px; padding: 0 0 64px; }
  .hero-content { transform: translateX(-4px); }
  .hero .button:first-child { min-width: 311px; }
  .hero .button-outline { min-width: 160px; }
  .hero-background { object-position: center; }
  .hero::after { display: none; }
  .hero p { font-size: 20px; line-height: 28px; }
  .about, .faith { min-height: 601px; }
  .faith { min-height: 599px; padding-top: 62px; }
  .campaign-layout { grid-template-columns: minmax(0, 1fr) 32%; gap: 7%; }
  .institute { min-height: 804px; }
  .campaign-details { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; }
  .campaign-copy h2 { max-width: 661px; }
  .campaign-copy .divider { margin-top: 18px; }
  .campaign-copy > p { max-width: 687px; margin-top: 44px; line-height: 25px; }
  .campaign-goal { padding: 32px 18px; align-self: start; }
  .campaign-action { margin-top: 36px; }
  .goal-amount { font-size: 48px; }
  .pix { font-size: 16px; }
  .new-space { min-height: 810px; }
  .new-space .divider { margin-top: 18px; margin-bottom: 30px; }
  .new-space h2 { max-width: 471px; }
  .activities-intro { margin-bottom: 34px; }
  .icon-grid { gap: 32px; }
  .story { min-height: 752px; padding-bottom: 58px; }
  .story-photo { width: calc(100% + 16px); max-width: none; margin: -8px; }
  .highlight-quote { font-size: 26px; line-height: 28px; }
  .quote-section { height: 449px; padding: 0; display: grid; align-items: center; }
  .quote-background { position: absolute; height: 100%; object-fit: cover; object-position: center; }
  .quote-section > .container { margin-top: 0; }
  .quote-section blockquote { grid-column: 2; margin-top: 18px; }
  .quote-symbol { width: 194px; }
  .christ { min-height: 601px; }
  .christ-photo { width: calc(100% + 16px); max-width: none; margin: -8px; }
  .team { min-height: 689px; }
  .team-composition { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; align-items: center; }
  .team-composition > li { grid-row: 1; }
  .team-center { display: block; grid-column: 4 / 10; width: 584px; justify-self: center; order: 0; }
  .team-left { grid-column: 1 / 5; width: calc(100% + 16px); max-width: 385px; justify-self: start; margin-left: -8px; z-index: 1; }
  .team-right { grid-column: 9 / 13; width: calc(100% + 16px); max-width: 385px; justify-self: end; margin-right: -8px; z-index: 1; }
  .care { min-height: 813px; }
  .care-carousel { margin-top: 58px; }
  .care-carousel .carousel-track { padding: 0; scroll-padding-inline: 0; gap: 30px; }
  .care-carousel .carousel-track > li { flex-basis: 310px; }
  .care > .actions { margin-top: 56px; }
  .care-carousel .carousel-arrow { top: 61.5%; }
  .care-carousel .previous { left: 23px; }
  .care-carousel .next { right: 23px; }
  .project-video { min-height: 804px; }
  .video-layout { grid-template-columns: minmax(0, 584px) 380px; gap: 32px; max-width: 996px; }
  .video-layout h2 { max-width: 436px; }
  .project-video .video-player { width: 380px; }
  .participate { min-height: 900px; }
  .participate .divider { margin-top: 23px; margin-bottom: 30px; }
  .participation-grid { grid-template-columns: repeat(4, 1fr); }
  .participation-grid { margin-top: 41px; }
  .participation-grid .icon-card p { max-width: 226px; }
  .participation-grid .icon-card:last-child p { max-width: 269px; }
  .activities-grid .icon-card:nth-child(7) p,
  .participation-grid .icon-card:nth-child(7) p { max-width: 184px; }
  .participation-grid .icon-card:nth-child(3) p { max-width: 217px; }
  .gallery { min-height: 462px; }
  .gallery .photo-gallery { margin-top: 39px; }
  .photo-gallery { grid-template-columns: repeat(6, 1fr); }
  .instagram-decoration { width: 158px; }
  .video-gallery { min-height: 619px; }
  .video-gallery .carousel-track { padding-bottom: 0; }
  .video-gallery .carousel-track > li { flex: 0 0 calc((100% - 96px) / 4); }
  .final-invitation p { font-size: 20px; line-height: 28px; }
  .site-footer { min-height: 352px; padding-top: 67px; padding-bottom: 0; }
  .footer-top { grid-template-columns: 1.45fr 1.05fr .98fr auto; gap: 32px; align-items: start; }
  .footer-top > :not(.brand) { margin-top: 10px; }
  .footer-top .brand { margin-top: 0; }
  .footer-top .button { font-size: 16px; }
  .footer-bottom { margin-top: 56px; }
  .footer-bottom ul { gap: 0 48px; }
  .footer-bottom a { font-size: 14px; }
  .donation-layout { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
  .donation-panel { padding: 40px; }
}
@media (min-width: 1200px) {
  .header-inner { height: 100px; padding-block: 14px; flex-wrap: nowrap; gap: 32px; }
  .main-nav { flex-basis: auto; order: 0; }
  .main-nav ul { flex-wrap: nowrap; gap: clamp(18px, 2.78vw, 40px); }
  .main-nav a { white-space: nowrap; font-size: 13px; }
  .header-inner > .social-mark { display: inline-flex; }
  .menu-toggle { display: none; }
  .campaign-layout { grid-template-columns: minmax(0, 729px) 380px; gap: 90px; }
  .campaign-details { grid-template-columns: 379px 1fr; }
  .video-gallery .carousel-arrow.previous { left: -87px; }
  .video-gallery .carousel-arrow.next { right: -87px; }
}
@media (min-width: 1400px) {
  .header-inner { gap: 48px; }
  .main-nav a { font-size: 14px; }
}
@media (max-width: 1199px) {
  .menu-ready .main-nav:not(.is-open) { display: none; }
  .menu-ready .main-nav ul { flex-direction: column; padding-block: 12px; }
  .menu-ready .main-nav a { min-height: 48px; }
  .video-gallery .carousel-arrow.previous { left: 0; }
  .video-gallery .carousel-arrow.next { right: 0; }
}
@media (min-width: 1200px) and (max-width: 1375px) {
  .video-gallery .carousel-arrow.previous { left: -30px; }
  .video-gallery .carousel-arrow.next { right: -30px; }
}
