/*
Theme Name: Matriz Campinas
Theme URI: https://matrizcampinas.com.br/
Author: Projeto Matriz Campinas
Description: Tema de blocos exclusivo da Basílica Matriz de Campinas, baseado no layout aprovado no Figma.
Version: 1.18.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: matriz-campinas
*/

:root {
  --matriz-blue: #053368;
  --matriz-blue-deep: #003067;
  --matriz-blue-link: #021f70;
  --matriz-gold: #c89620;
  --matriz-gold-card: #c28f1c;
  --matriz-cream: #f9f6ee;
  --matriz-cream-line: #efe4cb;
  --matriz-gray: #828282;
  --matriz-surface: #f7f7f7;
  --matriz-white: #fff;
  --matriz-content: 1280px;
  --matriz-radius: 8px;
  --matriz-radius-lg: 12px;
  /* Os valores-base podem ser alterados em Aparência > Personalizar > Tipografia global. */
  --matriz-type-display-base: 48px;
  --matriz-type-section-base: 43px;
  --matriz-type-subheading-base: 36px;
  --matriz-type-body-base: 20px;
  --matriz-type-article-base: 22px;
  --matriz-type-button-base: 16px;
  --matriz-type-form-base: 18px;
  --matriz-type-navigation-base: 14px;
  --matriz-type-meta-base: 16px;
	--matriz-type-card-title-base: 17px;
	--matriz-type-card-text-base: 14px;
	--matriz-type-card-link-base: 13px;
  --matriz-type-display: var(--matriz-type-display-base);
  --matriz-type-section: var(--matriz-type-section-base);
  --matriz-type-subheading: var(--matriz-type-subheading-base);
  --matriz-type-body: var(--matriz-type-body-base);
  --matriz-type-article: var(--matriz-type-article-base);
  --matriz-type-button: var(--matriz-type-button-base);
  --matriz-type-form: var(--matriz-type-form-base);
  --matriz-type-navigation: var(--matriz-type-navigation-base);
  --matriz-type-meta: var(--matriz-type-meta-base);
	--matriz-type-card-title: var(--matriz-type-card-title-base);
	--matriz-type-card-text: var(--matriz-type-card-text-base);
	--matriz-type-card-link: var(--matriz-type-card-link-base);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--matriz-blue);
  background: #fff;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.matriz-home { overflow: hidden; }
.matriz-container { width: min(calc(100% - 48px), var(--matriz-content)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.matriz-header { position: relative; z-index: 20; height: 85px; background: #fff; }
.matriz-header__inner { width: min(calc(100% - 80px), 1366px); height: 100%; margin: auto; display: flex; align-items: center; gap: 40px; }
.matriz-logo { width: 177px; flex: 0 0 177px; }
.matriz-logo img { width: 100%; height: 65px; object-fit: contain; }
.matriz-nav { margin-left: auto; margin-right: 37px; display: flex; align-items: center; gap: 31px; transform: translateY(-3.5px); }
.matriz-nav__links { display: flex; align-items: center; gap: 31px; list-style: none; padding: 0; margin: 0; }
.matriz-nav__links li { margin: 0; }
.matriz-nav__links a { color: #000; font-size: 13px; font-weight: 500; line-height: 1.5; text-transform: none; white-space: nowrap; }
.matriz-nav__links a:hover, .matriz-nav__links a:focus-visible { color: var(--matriz-blue); }
.matriz-nav__links .menu-item--gold a, .matriz-nav__links .menu-item--blue a { height: 40px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; border-radius: 20px; font-size: 14px; text-transform: none; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .2s ease, filter .2s ease; }
.matriz-nav__links .menu-item--gold a { background: #c7921d; }
.matriz-nav__links .menu-item--blue a { background: var(--matriz-blue); }
.matriz-nav__links .menu-item--gold a::before, .matriz-nav__links .menu-item--blue a::before { content: ""; display: block; flex: 0 0 auto; background-position: center; background-repeat: no-repeat; background-size: contain; }
.matriz-nav__links .menu-item--gold a::before { width: 24px; height: 24px; background-image: url("assets/images/icon-donate-white.svg"); }
.matriz-nav__links .menu-item--blue a::before { width: 47px; height: 22px; background-image: url("assets/images/icon-live-white.svg"); }
.matriz-nav__links .menu-item--gold a:hover, .matriz-nav__links .menu-item--gold a:focus-visible, .matriz-nav__links .menu-item--blue a:hover, .matriz-nav__links .menu-item--blue a:focus-visible { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }
.matriz-header__actions { display: flex; gap: 22px; }
.matriz-button { min-height: 52px; padding: 14px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .2s ease, filter .2s ease; }
.matriz-button:hover, .matriz-button:focus-visible { transform: translateY(-2px); filter: brightness(1.05); }
.matriz-button--gold { background: #c7921d; }
.matriz-button--blue { background: var(--matriz-blue); }
.matriz-button__icon { width: 24px; height: 24px; object-fit: contain; }
.matriz-button__icon--live { width: 47px; height: 22px; }
.matriz-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; margin-left: auto; background: none; border: 1px solid #d9d9d9; border-radius: 8px; }
.matriz-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--matriz-blue); }

.matriz-hero { position: relative; z-index: 1; height: 408px; overflow: hidden; border-radius: 0; background: var(--matriz-blue); }
.matriz-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s ease; }
.matriz-hero__slide.is-active { opacity: 1; visibility: visible; }
.matriz-hero__image, .matriz-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center center; }
.matriz-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #053368 16%, rgba(5,51,104,.76) 36%, rgba(5,51,104,0) 95%); }
.matriz-hero__copy { position: relative; z-index: 2; width: min(calc(100% - 154px), 1298px); margin: auto; padding-top: 61px; color: #fff; }
.matriz-hero h1, .matriz-hero h2 { max-width: 529px; margin: 0 0 24px; color: #fff; font-family: "Poppins", "Open Sans", sans-serif; font-size: 46px; font-weight: 700; line-height: 1.31; letter-spacing: -.92px; }
.matriz-hero p { max-width: 621px; margin: 0; font-family: "Open Sans", sans-serif; font-size: 20px; font-weight: 400; line-height: 1.5; }
.matriz-hero__button { margin-top: 28px; }
.matriz-hero__controls { position: absolute; z-index: 4; right: max(28px, calc((100% - 1298px) / 2) + 8px); bottom: 62px; display: none; align-items: center; }
.matriz-hero-slider.is-ready .matriz-hero__controls { display: flex; }
.matriz-hero__controls > button { display: none; }
.matriz-hero__dots { display: flex; align-items: center; gap: 5px; }
.matriz-hero__dots button { width: 4px; height: 4px; padding: 0; border: 0; border-radius: 10px; background: #71767a; box-shadow: 0 2px 3.1px rgba(0,0,0,.3); cursor: pointer; transition: width .2s ease, background .2s ease; }
.matriz-hero__dots button[aria-current="true"] { width: 31px; background: #fff; }
.matriz-hero__controls button:focus-visible { outline: 3px solid var(--matriz-gold); outline-offset: 3px; }

.matriz-quick { position: relative; z-index: 5; width: min(calc(100% - 48px), 724px); margin: -59px auto 0; display: grid; grid-template-columns: repeat(3, 217px); gap: 32px; }
.matriz-quick__card { height: 192px; padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; background: #fff; border: 0; border-radius: 20px; box-shadow: 0 4px 2px rgba(0,0,0,.17); text-align: center; transition: transform .2s ease, filter .2s ease; }
.matriz-quick__card:hover, .matriz-quick__card:focus-visible { transform: translateY(-2px); filter: brightness(1.05); }
.matriz-quick__icon { width: auto; height: 46px; object-fit: contain; }
.matriz-quick__card:nth-child(1) .matriz-quick__icon { width: 27px; height: 56px; }
.matriz-quick__card:nth-child(2) .matriz-quick__icon { width: 48px; height: 46px; }
.matriz-quick__card:nth-child(3) .matriz-quick__icon { width: 65px; height: 29px; }
.matriz-quick__title { margin: 0; color: var(--matriz-blue-link); font-size: 17px; font-weight: 600; line-height: 1.5; }
.matriz-quick__text { width: 174px; margin: 0; color: var(--matriz-gray); font-size: 14px; font-weight: 400; line-height: 1.5; }
.matriz-quick__link { color: #003170; font-size: 13px; font-weight: 600; line-height: 1.5; }

.matriz-schedule { width: min(calc(100% - 48px), 1126px); margin: 67px auto 0; display: grid; grid-template-columns: 188px 906px; gap: 32px; }
.matriz-schedule__intro { height: 190px; padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: #fff; background: var(--matriz-gold-card); border: 1px solid #e6e6e6; border-radius: 20px; text-align: center; }
.matriz-schedule__intro img { width: 72px; height: 70px; object-fit: contain; }
.matriz-schedule__intro h2 { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.5; }
.matriz-schedule__grid { min-width: 0; height: 192px; padding: 17px 14px; display: grid; grid-template-columns: repeat(var(--matriz-schedule-count, 4), minmax(0, 1fr)); align-items: center; background: var(--matriz-cream); border: 1px solid var(--matriz-gold-card); border-radius: 20px; }
.matriz-schedule__item { min-width: 0; min-height: 136px; padding: 20px 14px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.matriz-schedule__item + .matriz-schedule__item { border-left: 2px solid var(--matriz-cream-line); }
.matriz-schedule__item h3 { margin: 0 0 2px; color: var(--matriz-blue-link); font-size: 18px; font-weight: 600; line-height: 1.5; }
.matriz-schedule__item p { margin: 0; color: var(--matriz-gray); font-size: 16px; font-weight: 600; line-height: 1.5; }
.matriz-schedule__item--confession p { font-size: 14px; }

.matriz-news { width: min(calc(100% - 80px), 1279px); margin: 73px auto 0; }
.matriz-section-title { margin: 0; text-align: center; color: var(--matriz-blue-link); font-size: 43px; font-weight: 600; line-height: normal; letter-spacing: -.86px; }
.matriz-rule { width: 123px; height: 3px; margin: 8px auto 38px; background: var(--matriz-gold); }
.matriz-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.matriz-news__card img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; }
.matriz-news__card h3 { margin: 24px 0 4px; color: var(--matriz-blue); font-size: 22px; font-weight: 600; line-height: 1.5; }
.matriz-news__card p { margin: 0; color: var(--matriz-gray); font-size: 21px; font-weight: 400; line-height: 1.5; }
.matriz-news__empty { grid-column: 1 / -1; margin: 0; padding: 42px; color: var(--matriz-gray); background: #fcfaf8; border-radius: 12px; text-align: center; font-size: 20px; line-height: 1.5; }

.matriz-novena { position: relative; height: 401px; margin-top: 65px; overflow: hidden; background: #f7f7f7; }
.matriz-novena__image { position: absolute; z-index: 0; top: -225px; left: calc(50% - 414px); width: 1763px; height: 1176px; max-width: none; object-fit: cover; }
.matriz-novena::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #f8f4ec 39.67%, rgba(248,244,236,0) 100%); }
.matriz-novena__copy { position: relative; z-index: 2; width: min(calc(100% - 168px), 1284px); margin: auto; padding-top: 66px; }
.matriz-novena h2 { max-width: 494px; margin: 0; color: var(--matriz-blue); font-family: "Open Sans", sans-serif; font-size: 46px; font-weight: 600; line-height: 1.11; letter-spacing: -.92px; }
.matriz-novena .matriz-rule { margin: 11px 0 16px; }
.matriz-novena p { max-width: 392px; margin: 0 0 18px; color: var(--matriz-gray); font-size: 20px; font-weight: 400; line-height: 1.5; }
.matriz-novena .matriz-button { min-height: 48px; border-radius: 20px; font-size: 16px; font-weight: 600; }

.matriz-impact { position: relative; width: min(calc(100% - 86px), 1366px); height: 422px; margin: 74px auto 77px; display: grid; grid-template-columns: 51.6% 48.4%; overflow: hidden; border-radius: 31px; background: var(--matriz-surface); }
.matriz-impact__reitor { position: relative; overflow: hidden; color: #fff; background: var(--matriz-blue-deep); }
.matriz-impact__reitor > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% 38%; }
.matriz-impact__reitor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(91deg, #003067 25%, rgba(0,48,103,.92) 39%, rgba(0,48,103,0) 86%); }
.matriz-impact__copy { position: relative; z-index: 2; padding: 84px 36px 40px 19px; }
.matriz-impact__copy h2 { margin: 0; font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: -.8px; }
.matriz-impact__copy .matriz-rule { width: 121px; margin: 11px 0 23px; }
.matriz-impact__copy p { max-width: 296px; margin: 0; font-size: 23px; line-height: 1.39; }
.matriz-impact__social { padding: 74px 44px 40px 53px; }
.matriz-impact__social h2 { margin: 0 0 20px; color: var(--matriz-blue-deep); font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: -.8px; }
.matriz-impact__social .matriz-rule { margin: 0 0 18px; }
.matriz-impact__social p { max-width: 515px; margin: 0 0 22px; color: var(--matriz-gray); font-size: 22px; font-weight: 600; line-height: 1.5; }
.matriz-impact__metric-row { display: flex; align-items: center; gap: 24px; }
.matriz-impact__metric-icon { width: 123px; height: 99px; object-fit: contain; }
.matriz-impact__metric { color: var(--matriz-blue-deep); font-size: 48px; font-weight: 400; line-height: 1.1; letter-spacing: -.96px; }

.matriz-footer { position: relative; min-height: 267px; overflow: hidden; color: #fff; background: var(--matriz-blue); }
.matriz-footer__inner { position: relative; z-index: 2; width: min(calc(100% - 160px), 1280px); height: 267px; margin: auto; }
.matriz-footer__brand { position: absolute; top: 40px; left: 0; }
.matriz-footer__brand img { width: 134px; height: 52px; object-fit: contain; }
.matriz-social { position: absolute; top: 68px; left: -10px; display: flex; gap: 8px; }
.matriz-social a { width: 40px; height: 40px; padding: 8px; border-radius: 4px; }
.matriz-social img { width: 24px; height: 24px; }
.matriz-footer__nav { position: absolute; top: 111px; left: 210px; display: flex; align-items: center; gap: 24px; font-size: 16px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.matriz-footer__art { position: absolute; z-index: 1; top: 13px; right: -56px; width: 368px; height: 466px; max-width: none; object-fit: contain; }
.matriz-footer__legal { position: absolute; z-index: 3; top: 187px; left: 0; width: 958px; font-size: 14px; }
.matriz-footer__legal-links { display: flex; gap: 60px; padding-bottom: 14px; border-bottom: 1px solid #fff; font-weight: 600; line-height: 1.5; }
.matriz-footer__copyright { padding-top: 5px; line-height: 1.5; }

/* Mantém a composição do frame 138:313 quando a coluna direita encolhe. */
@media (max-width: 1366px) and (min-width: 1181px) {
  .matriz-impact__social { padding-right: 16px; padding-left: 20px; }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .matriz-impact__social { padding: 58px 20px 30px; }
  .matriz-impact__social h2 { font-size: 34px; }
  .matriz-impact__social p { margin-bottom: 18px; font-size: 20px; }
  .matriz-impact__metric { font-size: 40px; }
  .matriz-impact__metric-icon { width: 96px; height: 78px; }
}

@media (max-width: 1180px) {
  .matriz-header { height: 85px; }
  .matriz-header__inner { width: min(calc(100% - 40px), 1100px); }
  .matriz-logo { width: 163px; flex-basis: 163px; }
  .matriz-logo img { height: 64px; }
  .matriz-nav { margin-right: 0; }
  .matriz-nav__links { gap: 18px; }
  .matriz-nav__links a { font-size: 12px; }
  .matriz-header__actions { gap: 10px; }
  .matriz-button { padding-inline: 16px; }
  .matriz-hero { margin-top: 0; }
  .matriz-schedule { grid-template-columns: 188px minmax(0, 1fr); }
  .matriz-schedule__intro h2 { font-size: 24px; }
  .matriz-schedule__item { padding-inline: 8px; }
  .matriz-schedule__item p { font-size: 14px; }
  .matriz-impact__social { padding-left: 20px; }
  .matriz-footer__inner { grid-template-columns: 230px repeat(3, 150px); gap: 32px; }
}

@media (max-width: 900px) {
	.matriz-novena-page .novena-page-hero .inner-hero__copy { width: calc(100% - 64px); }
	.novena-videos { width: min(calc(100% - 64px), 760px); margin-block: 62px 72px; }
	.novena-videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .matriz-header { height: 100px; }
  .matriz-logo { width: 180px; flex-basis: 180px; }
  .matriz-logo img { height: 70px; }
  .matriz-menu-toggle { display: block; }
  .matriz-nav { position: absolute; top: 92px; left: 20px; right: 20px; padding: 24px; display: none; align-items: stretch; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.16); transform: none; }
  .matriz-header.is-open .matriz-nav { display: flex; }
  .matriz-nav__links { align-items: stretch; flex-direction: column; }
  .matriz-nav__links a { display: block; padding: 7px 0; font-size: 14px; }
  .matriz-nav__links .menu-item--gold a, .matriz-nav__links .menu-item--blue a { width: 100%; display: flex; }
  .matriz-header__actions { flex-wrap: wrap; }
  .matriz-hero { height: 590px; margin-top: 0; border-radius: 0; }
  .matriz-hero__image, .matriz-hero__video { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
  .matriz-hero__slide::after { background: linear-gradient(90deg, rgba(5,51,104,.96) 0%, rgba(5,51,104,.74) 65%, rgba(5,51,104,.28) 100%); }
  .matriz-hero__copy { width: min(calc(100% - 48px), 720px); padding-top: 96px; }
  .matriz-hero h1, .matriz-hero h2 { font-size: 50px; }
  .matriz-quick { grid-template-columns: 1fr; max-width: 580px; margin-top: -80px; }
  .matriz-quick__card { height: auto; min-height: 170px; }
  .matriz-schedule { width: min(calc(100% - 48px), 760px); grid-template-columns: 1fr; margin-inline: auto; }
  .matriz-schedule__intro { height: 136px; justify-content: center; }
  .matriz-schedule__grid { width: 100%; height: auto; grid-template-columns: repeat(2, 1fr); }
  .matriz-schedule__item:nth-child(3) { border-left: 0; border-top: 2px solid var(--matriz-cream-line); }
  .matriz-schedule__item:nth-child(4) { border-top: 2px solid var(--matriz-cream-line); }
  .matriz-news { margin-top: 84px; }
  .matriz-news__grid { grid-template-columns: 1fr; max-width: 600px; margin: auto; gap: 48px; }
  .matriz-novena { margin-top: 100px; }
  .matriz-novena__image { left: 0; opacity: .55; }
  .matriz-novena::after { background: linear-gradient(90deg, #f8f4ec 8%, rgba(248,244,236,.88) 60%, rgba(248,244,236,.15) 100%); }
  .matriz-novena__copy { width: min(calc(100% - 64px), 720px); }
  .matriz-impact { height: auto; grid-template-columns: 1fr; }
  .matriz-impact__reitor, .matriz-impact__social { min-height: 506px; }
  .matriz-impact__social { padding: 70px 52px; }
  .matriz-footer { min-height: 460px; }
  .matriz-footer__inner { width: min(calc(100% - 64px), 760px); height: 460px; min-height: 0; padding: 0; }
  .matriz-footer__brand { top: 32px; }
  .matriz-footer__nav { top: 150px; left: 0; flex-wrap: wrap; }
  .matriz-footer__legal { top: 250px; width: min(100%, 620px); }
  .matriz-footer__art { opacity: .25; }
}

@media (max-width: 560px) {
	.matriz-novena-page .novena-page-hero { height: 245px; }
	.matriz-novena-page .novena-page-hero > img { object-position: 60% center; }
	.matriz-novena-page .novena-page-hero .inner-hero__copy { width: calc(100% - 40px); padding-top: 34px; }
	.matriz-novena-page .novena-page-hero h1 { font-size: 40px; }
	.matriz-novena-page .novena-page-hero p { max-width: 310px; margin-top: 18px; font-size: 17px; }
	.novena-videos { width: calc(100% - 32px); margin: 46px auto 60px; }
	.novena-videos__grid { grid-template-columns: 1fr; gap: 18px; }
	.novena-video-card { border-radius: 22px; }
	.novena-video-card__logo { width: 92px; height: 100px; }
  .matriz-container { width: min(calc(100% - 32px), var(--matriz-content)); }
  .matriz-header { height: 80px; }
  .matriz-header__inner { width: calc(100% - 32px); }
  .matriz-logo { width: 146px; flex-basis: 146px; }
  .matriz-logo img { height: 57px; }
  .matriz-menu-toggle { width: 42px; height: 42px; }
  .matriz-nav { top: 72px; left: 16px; right: 16px; padding: 20px; }
  .matriz-hero { height: 500px; }
	.matriz-hero__image, .matriz-hero__video { object-position: center center; }
  .matriz-hero__copy { width: calc(100% - 40px); padding-top: 72px; }
  .matriz-hero h1, .matriz-hero h2 { font-size: 36px; line-height: 1.12; letter-spacing: -.72px; }
  .matriz-hero p { font-size: 18px; }
  .matriz-hero__controls { right: 20px; left: auto; bottom: 40px; }
  .matriz-quick { width: calc(100% - 32px); gap: 18px; }
  .matriz-quick__card { grid-template-columns: 58px 1fr; padding: 20px 18px; }
  .matriz-quick__icon { width: 56px; }
  .matriz-schedule { width: calc(100% - 32px); gap: 18px; }
  .matriz-schedule__intro { padding-inline: 20px; }
  .matriz-schedule__intro h2 { font-size: 27px; }
  .matriz-schedule__grid { grid-template-columns: 1fr; }
  .matriz-schedule__item + .matriz-schedule__item { border-left: 0; border-top: 2px solid var(--matriz-cream-line); }
  .matriz-news { width: calc(100% - 32px); margin-top: 68px; }
  .matriz-section-title, .matriz-novena h2, .matriz-impact__copy h2 { font-size: 36px; }
  .matriz-news__card img { height: 240px; }
  .matriz-news__card h3 { font-size: 21px; }
  .matriz-news__card p { font-size: 18px; }
  .matriz-novena { height: 540px; }
  .matriz-novena__copy { width: calc(100% - 40px); padding-top: 70px; }
  .matriz-novena p { font-size: 19px; }
  .matriz-impact { width: calc(100% - 32px); margin-block: 60px; border-radius: 20px; }
  .matriz-impact__reitor, .matriz-impact__social { min-height: 460px; }
  .matriz-impact__copy { padding: 160px 24px 35px; }
  .matriz-impact__copy p, .matriz-impact__social p { font-size: 19px; }
  .matriz-impact__social { padding: 48px 24px; }
  .matriz-impact__social h2 { margin-bottom: 32px; font-size: 33px; }
  .matriz-impact__metric { font-size: 40px; }
  .matriz-footer { min-height: 500px; }
  .matriz-footer__inner { width: calc(100% - 48px); height: 500px; }
  .matriz-footer__nav { top: 145px; gap: 14px 22px; font-size: 14px; }
  .matriz-footer__legal { top: 255px; width: 100%; font-size: 13px; }
  .matriz-footer__legal-links { gap: 22px; }
  .matriz-impact__metric-row { gap: 14px; }
  .matriz-impact__metric-icon { width: 92px; height: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  .matriz-hero__slide { transition: none; }
  .matriz-quick__card { transition: none; }
}

/* Páginas internas — frames 21:2, 36:30 e 36:5660. */
.matriz-inner-page { overflow: hidden; }
.matriz-inner-page main { background: #fff; }
.inner-hero { position: relative; height: 348px; margin-top: 0; overflow: hidden; background: var(--matriz-blue); }
.inner-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.matriz-candle-page .inner-hero { height: 294px; }
.matriz-donation-page .inner-hero { height: 170px; }
.matriz-candle-page .inner-hero > img { object-position: 50% 42%; transform: translateX(8%); }
.matriz-donation-page .inner-hero > img { object-position: 50% 33%; }
.inner-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, #053368 16%, rgba(5,51,104,.84) 34%, rgba(5,51,104,0) 95%); }
.inner-hero__copy { position: relative; z-index: 1; width: min(calc(100% - 134px), 1318px); margin: auto; padding-top: 46px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; color: #fff; }
.matriz-candle-page .inner-hero__copy { padding-top: 29px; }
.matriz-donation-page .inner-hero__copy { width: min(calc(100% - 142px), 1310px); padding-top: 13px; gap: 12px; }
.matriz-donation-page .inner-hero__copy h1 { font-size: 48px; line-height: 1.1; letter-spacing: -.96px; }
.matriz-donation-page .inner-hero__copy .matriz-rule { width: 123px; }
.matriz-donation-page .inner-hero__copy p { max-width: 585px; font-size: 20px; }
.matriz-redentorist-page .inner-hero__copy { padding-top: 63px; }
.inner-hero__copy h1 { margin: 0; font-size: 64px; line-height: 1.1; letter-spacing: -1.28px; }
.inner-hero__copy .matriz-rule { margin: 0; }
.inner-hero__copy p { max-width: 437px; margin: 0; font-size: 24px; line-height: 1.5; }
.matriz-redentorist-page .inner-hero__copy p { max-width: 514px; }
.candle-form-section { width: min(calc(100% - 56px), 1396px); margin: 116px auto 0; display: grid; grid-template-columns: minmax(0, 733px) minmax(420px, 591px); gap: 45px; align-items: start; }
.candle-form-section__photo { height: 616px; overflow: hidden; border-radius: 16px; }
.candle-form-section__photo img { width: 100%; height: 100%; object-fit: cover; }
.candle-form-section__content h2, .inner-intro h2, .candle-how h2, .candle-prayer h2, .donation-impact h2, .bank-card h2, .donation-destinations h2 { margin: 0; color: var(--matriz-blue-link); font-size: 48px; font-weight: 600; line-height: 1.2; letter-spacing: -.96px; }
.candle-layout-form { margin-top: 32px; display: grid; gap: 10px; }
.candle-layout-form input[type="text"], .candle-layout-form textarea { width: 100%; padding: 14px 24px; color: #666; background: #fff; border: 2px solid #d9d9d9; border-radius: 7px; font: 500 20px/1.5 "Open Sans", sans-serif; opacity: 1; }
.candle-layout-form input[type="text"] { height: 64px; }
.candle-layout-form textarea { height: 143px; resize: none; }
.candle-consent { display: flex; gap: 18px; align-items: center; margin: 34px 0 18px; color: var(--matriz-gray); font-size: 17px; line-height: 1.25; }
.candle-consent input { width: 29px; height: 27px; margin: 0; flex: 0 0 auto; }
.candle-layout-form .matriz-button { width: 100%; }
.candle-layout-form .matriz-button img { width: 22px; height: 36px; filter: brightness(0) invert(1); }
.candle-layout-form button:disabled { opacity: 1; cursor: default; }
.candle-layout-form input:focus, .candle-layout-form textarea:focus { border-color: var(--matriz-gold); outline: 3px solid rgba(200,150,32,.16); }
.candle-consent a { color: var(--matriz-blue-link); text-decoration: underline; text-underline-offset: 2px; }
.candle-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.candle-form-error { margin-top: 22px; padding: 13px 16px; color: #7b291f; background: #fff1ef; border: 1px solid #e7aaa2; border-radius: 7px; font-size: 16px; line-height: 1.45; }
.inner-intro { width: min(calc(100% - 48px), 923px); margin: 118px auto 0; text-align: center; }
.inner-intro .matriz-rule, .donation-impact > .matriz-rule, .donation-destinations > .matriz-rule { margin: 10px auto 28px; }
.inner-intro p, .donation-destinations__intro { margin: 0; color: var(--matriz-gray); font-size: 24px; font-weight: 500; line-height: 1.5; }
.candle-how { width: min(calc(100% - 96px), 1149px); margin: 80px auto 0; text-align: center; }
.candle-how__grid { margin-top: 44px; padding: 44px 34px 43px; display: grid; grid-template-columns: repeat(3, 1fr); background: #fcfaf8; border-radius: 6px; }
.candle-how article { min-height: 198px; padding: 0 34px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.candle-how article + article { border-left: 3px solid var(--matriz-gold); }
.candle-how img { width: 62px; height: 85px; object-fit: contain; }
.candle-how p { margin: 9px 0 0; color: var(--matriz-gray); font-size: 24px; font-weight: 500; line-height: 1.5; }
.candle-prayer { width: min(calc(100% - 96px), 1257px); min-height: 354px; margin: 88px auto 0; padding: 28px 70px 28px 0; display: grid; grid-template-columns: 390px 1fr; align-items: center; overflow: hidden; background: #faf8f5; border-radius: 17px; }
.candle-prayer > img { width: 360px; height: 410px; object-fit: contain; align-self: end; }
.candle-prayer .matriz-rule, .bank-card .matriz-rule { margin: 10px 0 10px; }
.candle-prayer p { margin: 0; color: var(--matriz-gray); font-size: 22px; font-weight: 500; line-height: 1.5; }
.candle-novena { height: 367px; margin-top: 60px; }
.candle-novena .matriz-novena__copy { padding-top: 37px; }

.candle-list-intro { margin-top: 76px; }
.candle-list-section { width: min(calc(100% - 96px), 1279px); margin: 72px auto 96px; }
.candle-list-cta { width: min(100%, 591px); margin: 0 auto; display: flex; gap: 24px; }
.candle-list-cta img { width: 22px; height: 36px; filter: brightness(0) invert(1); }
.matriz-js .candle-inline-flow:not(.is-open) { display: none; }
.candle-inline-flow { scroll-margin-top: 32px; }
.candle-form-section--inline { width: 100%; margin: 72px 0 0; }
.candle-confirmation--inline { margin: 120px auto 156px; }
.candle-list-section > h2 { margin: 42px 0 48px; color: var(--matriz-blue-link); text-align: center; font-size: 32px; font-weight: 500; line-height: 1.25; }
.candle-list-section > h2 strong { font-weight: 600; }
.candle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.candle-card { min-width: 0; height: 218px; padding: 8px 12px 8px 7px; display: grid; grid-template-columns: 111px minmax(0, 1fr); align-items: center; overflow: hidden; background: #fcfaf8; border: 1px solid var(--matriz-gold); border-radius: 16px; }
.candle-card__image { width: 105px; height: 202px; object-fit: contain; }
.candle-card__content { min-width: 0; padding-left: 3px; }
.candle-card__content p { margin: 0; color: #747474; font-size: 13px; font-weight: 500; line-height: 1.55; }
.candle-card__content h3 { margin: 2px 0 8px; overflow-wrap: anywhere; color: var(--matriz-blue-link); font-size: 16px; font-weight: 700; line-height: 1.3; }
.candle-empty { min-height: 330px; padding: 35px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; background: #fcfaf8; border: 1px solid var(--matriz-gold); border-radius: 16px; }
.candle-empty img { width: 100px; height: 210px; object-fit: contain; }
.candle-empty p { max-width: 620px; margin: 0; color: var(--matriz-gray); font-size: 20px; line-height: 1.5; }
.candle-how--form { margin-bottom: 104px; }

.candle-confirmation { position: relative; width: min(calc(100% - 96px), 890px); min-height: 665px; margin: 184px auto 154px; padding: 70px 48px 38px; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--matriz-gold); border-radius: 16px; }
.candle-confirmation__message { position: absolute; top: -45px; left: 50%; width: min(calc(100% - 100px), 624px); min-height: 86px; margin: 0; padding: 15px 28px; display: flex; align-items: center; justify-content: center; transform: translateX(-50%); color: #fff; background: var(--matriz-gold); border-radius: 14px; font-size: 23px; font-weight: 600; line-height: 1.35; }
.candle-confirmation__image { width: 238px; height: 410px; margin: 0 auto 6px; object-fit: contain; }
.candle-confirmation blockquote { max-width: 720px; margin: 0; color: #858585; font-size: 21px; font-style: italic; font-weight: 500; line-height: 1.55; }
.candle-confirmation__name { margin: 12px 0 38px; color: var(--matriz-blue-link); font-size: 22px; font-weight: 700; line-height: 1.4; }
.candle-confirmation__actions { position: absolute; left: 50%; bottom: -100px; display: flex; gap: 16px; transform: translateX(-50%); white-space: nowrap; }
.candle-confirmation__actions .matriz-button { min-width: 220px; }
.candle-confirmation__actions .matriz-button:hover, .candle-confirmation__actions .matriz-button:focus-visible { transform: translateY(-2px); }

.donation-impact { width: min(calc(100% - 64px), 1000px); margin: 76px auto 0; text-align: center; }
.donation-impact h2, .donation-destinations h2 { font-size: 43px; }
.donation-impact > .matriz-rule { margin: 10px auto 86px; }
.donation-impact__grid { position: relative; left: -7.5px; width: min(100%, 887px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 188px); justify-content: center; gap: 45px; }
.donation-impact article { min-height: 238px; padding: 14px; display: grid; grid-template-rows: 90px auto; place-items: center; align-content: start; gap: 10px; color: #fff; background: #ca9b25; border: 1px solid #e6e6e6; border-radius: 20px; font-size: 24px; font-weight: 600; line-height: 1.5; }
.donation-impact img { width: auto; max-width: 106px; height: 90px; margin: 0; object-fit: contain; filter: brightness(0) invert(1); }
.donation-impact article:first-child img { height: 75px; }
.donation-impact p { margin: 0; }
.bank-card { position: relative; left: -7px; width: min(calc(100% - 66px), 1372px); min-height: 688px; margin: 94px auto 0; color: var(--matriz-blue); background: #f8f7f8; border-radius: 24px; }
.bank-card__details { position: absolute; top: 80px; left: 31px; width: 487px; text-align: center; }
.bank-card__details h2 { font-size: 40px; letter-spacing: -.8px; }
.bank-card__details > .matriz-rule { margin: 10px auto 30px; }
.bank-card__pix-copy { width: 482px; min-height: 51px; padding: 5px 16px; display: flex; align-items: center; gap: 16px; color: var(--matriz-blue); background: #fff; border: 2px solid #d9d9d9; border-radius: 7px; cursor: pointer; font: 400 40px/1.2 "Open Sans", sans-serif; text-align: left; transition: border-color .2s ease, box-shadow .2s ease; }
.bank-card__pix-copy:hover, .bank-card__pix-copy:focus-visible { border-color: var(--matriz-gold); box-shadow: 0 0 0 3px rgba(200,150,32,.16); outline: 0; }
.bank-card__pix-copy img { width: 33px; height: 35px; flex: 0 0 auto; }
.bank-card__pix-holder { margin: 22px 0 0; font-size: 24px; font-weight: 700; line-height: 1.5; }
.bank-card__copy-status { min-height: 24px; margin: 4px 0 0; color: var(--matriz-gold); font-size: 16px; font-weight: 600; line-height: 1.5; }
.bank-card__qr { position: absolute; top: 372px; left: 57px; width: 427px; margin: 0; padding: 9px; background: var(--matriz-gold); border-radius: 13px; }
.bank-card__qr img { width: 100%; aspect-ratio: 1; object-fit: contain; image-rendering: pixelated; }
.bank-card__separator { position: absolute; top: 30px; bottom: 38px; left: 609px; width: 3px; background: var(--matriz-gold); }
.bank-card__photo { position: absolute; top: 39px; right: 29px; width: min(48.03%, 659px); height: 528px; overflow: hidden; border-radius: 20px; }
.bank-card__photo img { position: absolute; top: -11.6%; left: -62.02%; width: 163.84%; height: 115.13%; max-width: none; object-fit: cover; }
.donation-destinations { width: min(calc(100% - 96px), 1279px); margin: 177px auto 73px; text-align: center; }
.donation-destinations > .matriz-rule { margin: 13px auto 28px; }
.donation-destinations__intro { max-width: 679px; margin-inline: auto; }
.donation-destinations__grid { margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: left; }
.donation-destinations__grid img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; }
.donation-destinations__grid h3 { margin: 24px 0 0; font-size: 24px; font-weight: 400; line-height: 1.5; }

@media (max-width: 1180px) and (min-width: 901px) {
  .bank-card { left: 0; min-height: 0; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 36px; }
  .bank-card__details { position: static; width: auto; }
  .bank-card__pix-copy { width: 100%; font-size: 30px; }
  .bank-card__separator { display: none; }
  .bank-card__qr { position: static; width: min(100%, 360px); margin-top: 28px; }
  .bank-card__photo { position: static; width: 100%; height: 100%; min-height: 420px; padding-left: 36px; border-left: 3px solid var(--matriz-gold); border-radius: 0 20px 20px 0; }
  .bank-card__photo img { position: static; width: 100%; height: 100%; max-width: 100%; object-fit: cover; border-radius: 20px; }
}

.live-stage { min-height: 978px; padding: 67px 24px 63px; display: flex; flex-direction: column; align-items: center; color: #000; background: #fff; }
.live-stage h1 { margin: 0 0 34px; color: var(--matriz-blue-link); font-size: 43px; font-weight: 600; line-height: 1.38; letter-spacing: -.86px; text-align: center; }
.live-player { width: min(100%, 1048px); aspect-ratio: 1048 / 581; overflow: hidden; background: #1d1d1d; border-radius: 30px; }
.live-player iframe { width: 100%; height: 100%; display: block; border: 0; }
.live-player__empty { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.live-player__empty-background, .live-player__empty-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-player__empty-background { object-fit: cover; object-position: center 42%; }
.live-player__empty-overlay { background: rgba(5,51,104,.7); }
.live-player__empty-logo { position: relative; z-index: 1; width: 169px; height: 180px; object-fit: contain; }
.live-notice { max-width: 730px; margin: 28px auto 17px; color: #000; text-align: center; font-size: 17px; font-weight: 400; line-height: 1.5; }
.live-notice span { display: block; }
.live-youtube-button { width: min(100%, 295px); min-height: 52px; padding-inline: 24px; border-radius: 20px; font-size: 16px; }

@media (max-width: 900px) {
  .inner-hero { margin-top: 0; border-radius: 0; }
  .inner-hero__copy, .matriz-candle-page .inner-hero__copy, .matriz-donation-page .inner-hero__copy, .matriz-redentorist-page .inner-hero__copy { width: calc(100% - 48px); padding-top: 52px; }
  .inner-hero__copy h1 { font-size: 50px; }
  .candle-form-section { grid-template-columns: 1fr; max-width: 680px; }
  .candle-form-section__photo { height: 520px; }
  .candle-how__grid { grid-template-columns: 1fr; }
  .candle-how article { padding: 28px; }
  .candle-how article + article { border-left: 0; border-top: 3px solid var(--matriz-gold); }
  .candle-prayer { grid-template-columns: 280px 1fr; padding-right: 36px; }
  .candle-prayer > img { width: 270px; }
  .candle-list-section { width: calc(100% - 48px); }
	.candle-form-section--inline { margin-top: 60px; }
  .candle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candle-card { grid-template-columns: 125px minmax(0, 1fr); }
  .candle-card__image { width: 116px; }
  .candle-confirmation { width: min(calc(100% - 48px), 760px); padding-inline: 32px; }
	.candle-confirmation__actions { bottom: -124px; }
  .matriz-donation-page .inner-hero { height: 250px; }
  .matriz-donation-page .inner-hero__copy { width: calc(100% - 64px); padding-top: 34px; }
  .donation-impact__grid { grid-template-columns: repeat(2, 188px); gap: 24px; }
  .donation-destinations__grid { grid-template-columns: repeat(2, 1fr); }
  .bank-card { left: 0; height: auto; min-height: 500px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 36px; }
  .bank-card__details { position: static; grid-column: 1; width: auto; }
  .bank-card__separator { display: none; }
  .bank-card__qr { position: static; grid-column: 1; grid-row: 2; width: min(100%, 304px); margin-top: 28px; }
  .bank-card__photo { position: static; grid-column: 2; grid-row: 1 / span 2; width: 100%; height: 100%; min-height: 420px; padding-left: 36px; border-left: 3px solid var(--matriz-gold); border-radius: 0 20px 20px 0; }
  .bank-card__photo img { position: static; width: 100%; height: 100%; max-width: 100%; object-fit: cover; border-radius: 20px; }
  .bank-card__pix-copy { width: 100%; font-size: 31px; }
  .bank-card__contact { width: 100%; }
  .donation-destinations { margin-top: 96px; }
  .live-stage { min-height: auto; padding: 58px 32px 64px; }
  .live-stage h1 { margin-bottom: 30px; font-size: 40px; }
  .live-player { border-radius: 24px; }
  .live-notice { margin-top: 30px; }
}

@media (max-width: 560px) {
  .inner-hero, .matriz-candle-page .inner-hero { height: 330px; }
  .matriz-donation-page .inner-hero { height: 240px; }
  .inner-hero > img { object-position: 63% center; }
  .matriz-candle-page .inner-hero > img { transform: none; }
  .inner-hero__shade { background: linear-gradient(90deg, rgba(5,51,104,.98), rgba(5,51,104,.62)); }
  .inner-hero__copy, .matriz-candle-page .inner-hero__copy, .matriz-donation-page .inner-hero__copy, .matriz-redentorist-page .inner-hero__copy { width: calc(100% - 40px); padding-top: 52px; gap: 18px; }
  .inner-hero__copy h1 { font-size: 40px; }
  .inner-hero__copy p { font-size: 19px; }
  .candle-form-section { width: calc(100% - 32px); margin-top: 60px; gap: 38px; }
  .candle-form-section__photo { height: 390px; }
  .candle-form-section__content h2, .inner-intro h2, .candle-how h2, .candle-prayer h2, .donation-impact h2, .bank-card h2, .donation-destinations h2 { font-size: 34px; }
  .candle-layout-form input[type="text"], .candle-layout-form textarea { font-size: 17px; }
	.candle-confirmation__actions { bottom: -142px; width: calc(100% - 20px); flex-direction: column; align-items: center; gap: 10px; white-space: normal; }
  .candle-consent { align-items: flex-start; font-size: 15px; }
  .inner-intro { margin-top: 72px; }
  .inner-intro p, .donation-destinations__intro { font-size: 18px; }
  .candle-how { width: calc(100% - 32px); margin-top: 64px; }
  .candle-how__grid { padding: 20px; }
  .candle-how p { font-size: 19px; }
  .candle-prayer { width: calc(100% - 32px); padding: 24px; grid-template-columns: 1fr; text-align: center; }
  .candle-prayer > img { width: 100%; height: 260px; }
  .candle-prayer .matriz-rule { margin-inline: auto; }
  .candle-prayer p { font-size: 18px; }
  .candle-list-intro { margin-top: 62px; }
  .candle-list-section { width: calc(100% - 32px); margin-top: 54px; }
  .candle-list-section > h2 { margin: 34px 0; font-size: 25px; }
  .candle-grid { grid-template-columns: 1fr; gap: 16px; }
  .candle-card { height: 210px; grid-template-columns: 118px minmax(0, 1fr); }
  .candle-card__image { width: 110px; height: 194px; }
  .candle-card__content p { font-size: 13px; }
  .candle-card__content h3 { font-size: 16px; }
  .candle-list-cta { font-size: 14px; }
  .candle-confirmation { width: calc(100% - 32px); min-height: 0; margin: 92px auto 64px; padding: 62px 18px 38px; }
  .candle-confirmation__message { top: -42px; width: calc(100% - 32px); padding: 17px 16px; font-size: 16px; }
  .candle-confirmation__image { width: 142px; height: 310px; }
  .candle-confirmation blockquote { font-size: 17px; }
  .candle-confirmation__name { font-size: 19px; }
  .candle-confirmation__button { position: static; width: 100%; transform: none; }
  .candle-confirmation__button:hover, .candle-confirmation__button:focus-visible { transform: translateY(-2px); }
  .matriz-donation-page .inner-hero__copy { width: calc(100% - 40px); padding-top: 31px; gap: 10px; }
  .matriz-donation-page .inner-hero__copy h1 { font-size: 40px; }
  .matriz-donation-page .inner-hero__copy p { font-size: 17px; }
  .donation-impact { width: calc(100% - 32px); margin-top: 64px; }
  .donation-impact h2, .donation-destinations h2 { font-size: 34px; }
  .donation-impact > .matriz-rule { margin-bottom: 44px; }
  .donation-impact__grid { left: 0; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .donation-impact article { width: 100%; min-height: 190px; padding: 10px; grid-template-rows: 72px auto; font-size: 17px; }
  .donation-impact img, .donation-impact article:first-child img { max-width: 82px; height: 72px; }
  .bank-card { width: calc(100% - 32px); min-height: 0; margin-top: 64px; padding: 34px 24px; grid-template-columns: 1fr; }
  .bank-card__details, .bank-card__qr, .bank-card__photo { grid-column: auto; grid-row: auto; }
  .bank-card__details h2 { font-size: 34px; }
  .bank-card__pix-copy { min-height: 48px; gap: 12px; padding-inline: 12px; font-size: 23px; }
  .bank-card__pix-copy img { width: 27px; height: 29px; }
  .bank-card__pix-holder { margin-top: 16px; font-size: 18px; }
  .bank-card__details > p, .bank-card__contact { font-size: 17px; }
  .bank-card__contact { overflow-wrap: anywhere; }
  .bank-card__photo { height: 330px; min-height: 0; margin-top: 6px; padding: 0; border-left: 0; border-radius: 16px; }
  .bank-card__photo img { border-radius: 16px; }
  .donation-destinations { width: calc(100% - 32px); margin-top: 72px; }
  .donation-destinations__grid { grid-template-columns: 1fr; }
  .donation-destinations__grid img { height: 260px; }
  .live-stage { padding: 46px 16px 56px; }
  .live-stage h1 { margin-bottom: 26px; font-size: 34px; line-height: 1.2; letter-spacing: -.68px; }
  .live-player { aspect-ratio: 16 / 9; border-radius: 18px; }
  .live-player__empty-logo { width: 100px; height: 108px; }
  .live-notice { margin: 28px auto 22px; font-size: 15px; line-height: 1.55; }
  .live-notice span { display: inline; }
  .live-notice span:not(:last-child)::after { content: " "; }
  .live-youtube-button { width: min(100%, 295px); padding-inline: 14px; font-size: 14px; }
}

/* Notícias — frame 91:2911. */
.matriz-news-page .inner-hero { height: 175px; }
.matriz-news-page .inner-hero > img { object-position: 50% 33%; }
.matriz-news-page .inner-hero__copy { width: min(calc(100% - 140px), 1312px); padding-top: 13px; gap: 12px; }
.matriz-news-page .inner-hero__copy h1 { font-size: 48px; line-height: 1.1; letter-spacing: -.96px; }
.matriz-news-page .inner-hero__copy .matriz-rule { width: 123px; }
.matriz-news-page .inner-hero__copy p { max-width: 514px; font-size: 20px; }
.news-archive { position: relative; left: 3.5px; width: min(calc(100% - 96px), 1279px); min-height: 613px; margin: 54px auto 47px; }
.news-search { position: relative; width: min(100%, 242px); margin-right: 8px; margin-left: auto; }
.news-search input { width: 100%; height: 43px; padding: 7px 42px 7px 16px; color: var(--matriz-blue); background: #fff; border: 2px solid #d9d9d9; border-radius: 7px; font: 600 18px/1.5 "Open Sans", sans-serif; }
.news-search input::placeholder { color: var(--matriz-gray); opacity: 1; }
.news-search input:focus { border-color: var(--matriz-gold); outline: 3px solid rgba(200,150,32,.16); }
.news-search button { position: absolute; top: 7px; right: 7px; width: 29px; height: 29px; padding: 2px; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; }
.news-search button img { width: 25px; height: 25px; object-fit: contain; }
.news-archive__grid { margin-top: 33px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.news-archive__card { min-width: 0; display: block; }
.news-archive__card img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; }
.news-archive__card h2 { width: min(100%, 381px); margin: 24px 0 4px; color: var(--matriz-blue); font-size: 20px; font-weight: 600; line-height: 1.5; }
.news-archive__card p { width: min(100%, 381px); margin: 0; color: var(--matriz-gray); font-size: 20px; font-weight: 400; line-height: 1.5; }
.news-pagination { position: relative; left: -25.5px; margin-top: 67px; display: flex; justify-content: center; gap: 23px; }
.news-pagination .page-numbers { width: 53px; height: 52px; display: grid; place-items: center; color: #c38a23; border: 2px solid #c38a23; border-radius: 7px; font-size: 24px; font-weight: 600; }
.news-pagination .page-numbers.current { color: #fff; background: #c38a23; border-color: #c38a23; }
.news-archive__empty { padding: 96px 24px; text-align: center; }
.news-archive__empty h2 { margin: 0; color: var(--matriz-blue); font-size: 36px; }
.news-archive__empty p { margin: 14px auto 28px; color: var(--matriz-gray); font-size: 20px; }

/* Matéria individual — frame 142:3194. */
.matriz-post { padding-top: 132px; }
.matriz-post__header, .matriz-post__body-grid { width: min(calc(100% - 110px), 1342px); margin-inline: auto; }
.matriz-post__header h1 { margin: 0; color: var(--matriz-blue-link); font-size: 48px; font-weight: 600; line-height: 1.2; letter-spacing: -.96px; }
.matriz-post__meta-row { min-height: 46px; margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.matriz-post__meta { margin: 0; color: var(--matriz-gray); font-size: 22px; font-weight: 600; line-height: 1.5; }
.post-share { display: flex; align-items: center; gap: 16px; }
.post-share a { width: 47px; height: 46px; display: grid; place-items: center; border-radius: 7px; transition: transform .2s ease, filter .2s ease; }
.post-share a:hover, .post-share a:focus-visible { transform: translateY(-2px); filter: brightness(1.05); }
.post-share img { width: 100%; height: 100%; object-fit: contain; }
.matriz-post__featured { height: 352px; margin-top: 30px; overflow: hidden; border-radius: 8px; }
.matriz-post__featured img { width: 100%; height: 100%; object-fit: cover; }
.matriz-post__body-grid { margin-top: 100px; margin-bottom: 126px; display: grid; grid-template-columns: minmax(0, 917px) 293px; gap: 132px; align-items: start; }
.matriz-post__main-column { min-width: 0; }
.matriz-post__content { color: var(--matriz-gray); font-size: 17px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.matriz-post__content > :first-child { margin-top: 0; }
.matriz-post__content > :last-child { margin-bottom: 0; }
.matriz-post__content p { margin: 0 0 1.2em; }
.matriz-post__content h2, .matriz-post__content h3, .matriz-post__content h4 { color: var(--matriz-blue-deep); line-height: 1.25; }
.matriz-post__content h2 { margin: 1.5em 0 .55em; font-size: 32px; }
.matriz-post__content h3 { margin: 1.4em 0 .5em; font-size: 26px; }
.matriz-post__content a { color: var(--matriz-blue-link); text-decoration: underline; text-underline-offset: 2px; }
.matriz-post__content img { height: auto; border-radius: 8px; }
.matriz-post__content blockquote { margin: 32px 0; padding: 22px 26px; color: var(--matriz-blue-deep); background: var(--matriz-cream); border-left: 4px solid var(--matriz-gold); }
.post-share--bottom { margin: 58px 0 66px; justify-content: flex-end; }

.matriz-post__sidebar { min-width: 0; display: grid; gap: 55px; }
.matriz-post-widget h2 { margin: 0; color: var(--matriz-blue-deep); font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -.64px; text-transform: uppercase; }
.matriz-post-widget > .matriz-rule { margin: 10px 0 32px; }
.matriz-post-live__frame, .matriz-post-live__fallback { width: 293px; height: 182px; overflow: hidden; display: block; border-radius: 4px; background: #1e1e1e; }
.matriz-post-live__frame iframe { width: 100%; height: 100%; border: 0; }
.matriz-post-live__fallback { position: relative; display: grid; place-items: center; background: linear-gradient(rgba(5,51,104,.72), rgba(5,51,104,.72)), url("assets/images/live-background.png") center/cover; }
.matriz-post-live__fallback img { width: 108px; height: 115px; object-fit: contain; }
.matriz-post-banner h2 { margin-bottom: 24px; text-transform: none; text-align: center; }
.matriz-post-banner a { display: block; }
.matriz-post-banner img { width: 293px; height: 402px; object-fit: cover; background: #e9e9e9; }

.matriz-related { position: relative; padding: 67px 23px 24px; border: 3px solid #103d71; border-radius: 24px; }
.matriz-related > h2 { position: absolute; top: -19px; left: 14px; margin: 0; padding: 0 8px; color: var(--matriz-blue-deep); background: #fff; font-size: 24px; font-weight: 600; line-height: 1.35; letter-spacing: -.48px; text-transform: uppercase; }
.matriz-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.matriz-related__card { min-width: 0; display: block; transition: transform .2s ease; }
.matriz-related__card:hover, .matriz-related__card:focus-visible { transform: translateY(-2px); }
.matriz-related__card img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }
.matriz-related__card h3 { margin: 12px 0 4px; color: var(--matriz-blue); font-size: 22px; font-weight: 600; line-height: 1.11; }
.matriz-related__card p { margin: 0; color: var(--matriz-gray); font-size: 17px; line-height: 1.42; }

.matriz-comments { margin-top: 60px; }
.matriz-comments__title, .matriz-comments__list-title { margin: 0 0 36px; color: var(--matriz-blue-deep); font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -.64px; }
.matriz-comments__list { margin: 0 0 48px; padding: 0; list-style: none; }
.matriz-comments__list .comment { margin-top: 18px; padding: 20px; border: 1px solid #e2e2e2; border-radius: 12px; }
.matriz-comments__list .children { padding-left: 32px; list-style: none; }
.matriz-comments__list .comment-meta { margin-bottom: 12px; color: var(--matriz-gray); font-size: 14px; }
.matriz-comments__list .comment-author { display: flex; align-items: center; gap: 10px; color: var(--matriz-blue-deep); }
.matriz-comments__list .avatar { border-radius: 50%; }
.matriz-comments__list p { color: #5e5e64; font-size: 16px; line-height: 1.5; }
.matriz-comment-form { display: grid; gap: 23px; }
.matriz-comment-form p { margin: 0; }
.matriz-comment-form input, .matriz-comment-form textarea { width: 100%; padding: 14px 28px; color: #5e5e64; background: #fff; border: 2px solid #d9d9d9; border-radius: 20px; font: 500 24px/1.5 "Inter", "Open Sans", sans-serif; }
.matriz-comment-form input { height: 64px; }
.matriz-comment-form textarea { height: 193px; resize: vertical; }
.matriz-comment-form input::placeholder, .matriz-comment-form textarea::placeholder { color: var(--matriz-gray); opacity: 1; }
.matriz-comment-form input:focus, .matriz-comment-form textarea:focus { border-color: var(--matriz-gold); outline: 3px solid rgba(200,150,32,.16); }
.matriz-comment-form .form-submit { margin-top: 0; }
.matriz-comment-form .submit { width: 136px; min-height: 39px; padding: 8px 24px; border-radius: 20px; cursor: pointer; }
.matriz-comment-form .logged-in-as, .matriz-comment-form .comment-notes, .matriz-comment-form .must-log-in { color: var(--matriz-gray); font-size: 15px; }
.matriz-comment-form .logged-in-as a { color: var(--matriz-blue-link); }

/* Testemunhos — frame 92:61. */
.matriz-testimony-page .inner-hero { height: 175px; }
.matriz-testimony-page .inner-hero > img { object-position: 50% 33%; }
.matriz-testimony-page .inner-hero__copy { width: min(calc(100% - 140px), 1312px); padding-top: 12px; gap: 12px; }
.matriz-testimony-page .inner-hero__copy h1 { font-size: 48px; line-height: 1.1; letter-spacing: -.96px; }
.matriz-testimony-page .inner-hero__copy .matriz-rule { width: 123px; }
.matriz-testimony-page .inner-hero__copy p { max-width: 514px; font-size: 20px; }
.testimony-submit { width: min(calc(100% - 48px), 683px); margin: 78px auto 179px; }
.testimony-submit__content h2, .testimony-wall > h2, .redentorist-history > h2 { margin: 0; color: var(--matriz-blue-link); font-size: 36px; font-weight: 600; line-height: 1.2; letter-spacing: -.72px; }
.testimony-submit__content > .matriz-rule { margin: 16px 0 36px 3.5px; }
.testimony-form { position: relative; left: 1.5px; display: grid; gap: 15px; }
.testimony-form input[type="text"], .testimony-form textarea { width: 100%; padding: 14px 20px; color: #666; background: #fff; border: 2px solid #d9d9d9; border-radius: 7px; font: 600 18px/1.5 "Open Sans", sans-serif; }
.testimony-form input[type="text"] { height: 64px; }
.testimony-form textarea { height: 124px; resize: vertical; }
.testimony-form input:focus, .testimony-form textarea:focus { border-color: var(--matriz-gold); outline: 3px solid rgba(200,150,32,.16); }
.testimony-form__location { display: grid; grid-template-columns: minmax(0, 374px) minmax(0, 290px); gap: 19px; }
.testimony-consent { min-height: 51px; display: flex; align-items: center; gap: 29px; color: var(--matriz-gray); font-size: 16px; font-weight: 600; line-height: 1.5; }
.testimony-consent input { appearance: none; width: 29px; height: 27px; margin: 0; flex: 0 0 auto; background: #d9d9d9; border: 0; border-radius: 6px; cursor: pointer; }
.testimony-consent input:checked { background: var(--matriz-gold); box-shadow: inset 0 0 0 7px #fff; outline: 2px solid var(--matriz-gold); }
.testimony-consent a { color: inherit; text-decoration: none; }
.testimony-consent__trigger { padding: 0; color: inherit; background: transparent; border: 0; font: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.testimony-consent__trigger span { color: var(--matriz-blue-link); text-decoration: underline; text-underline-offset: 2px; }
.testimony-form .matriz-button { width: auto; min-height: 52px; margin: 0 0 0 2px; justify-self: start; border-radius: 20px; font-size: 16px; font-weight: 600; cursor: pointer; }
.testimony-alert { max-width: 760px; margin: 0 auto 28px; padding: 14px 18px; border-radius: 8px; text-align: center; font-size: 16px; line-height: 1.45; }
.testimony-alert--error { margin: -20px 0 20px; color: #7b291f; background: #fff1ef; border: 1px solid #e7aaa2; }
.testimony-alert--success { color: #155b39; background: #edf9f2; border: 1px solid #a8d9bc; }
.testimony-wall { padding: 12px max(32px, calc((100% - 1321px) / 2)) 53px; margin-bottom: 84px; background: #f8f7f8; text-align: center; }
.testimony-wall > .matriz-rule { margin: 7px auto 96px; }
.testimony-wall > h2 { font-size: 43px; line-height: 1.2; letter-spacing: -.86px; }
.testimony-wall__grid { position: relative; left: .5px; margin-top: 0; display: grid; grid-template-columns: 1fr; gap: 32px; text-align: left; }
.testimony-card { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; }
.testimony-card time { color: #5e5e64; font-size: 16px; font-weight: 600; line-height: 1.5; }
.testimony-card blockquote { margin: 0; color: #5e5e64; font-size: 22px; font-style: normal; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.testimony-card footer { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.testimony-card strong { color: var(--matriz-blue-link); }
.testimony-card span { color: var(--matriz-gray); }
.testimony-wall__empty { margin: 0; color: var(--matriz-gray); font-size: 20px; }

/* Redentoristas — frame 91:2. */
.redentorist-history { padding: 100px 24px 148px; }
.redentorist-history > h2 { text-align: center; }
.redentorist-history > .matriz-rule { margin: 10px auto 72px; }
.redentorist-timeline { position: relative; width: min(100%, 1120px); margin: auto; display: grid; gap: 20px; }
.redentorist-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: var(--matriz-gold); }
.timeline-event { position: relative; min-height: 300px; padding: 28px 18px; display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); gap: 30px; align-items: center; border-radius: 16px; }
.timeline-event:nth-child(even) { background: #fefcfa; }
.timeline-event__visual { grid-column: 1; display: flex; justify-content: center; }
.timeline-event__visual img { width: min(100%, 330px); max-height: 255px; object-fit: cover; border-radius: 18px; }
.timeline-event--today .timeline-event__visual img { object-position: center top; }
.timeline-event__year { position: relative; z-index: 2; grid-column: 2; grid-row: 1; width: 123px; height: 123px; display: grid; place-items: center; color: #fff; background: var(--matriz-gold); border: 8px solid #fff; border-radius: 50%; font-size: 34px; font-weight: 600; letter-spacing: -.8px; box-shadow: 0 0 0 2px var(--matriz-gold); }
.timeline-event__content { grid-column: 3; grid-row: 1; text-align: center; }
.timeline-event__date { margin: 0 0 4px !important; color: var(--matriz-blue) !important; font-size: 24px !important; font-weight: 600 !important; }
.timeline-event__content h3 { margin: 0 0 10px; color: var(--matriz-blue); font-size: 24px; line-height: 1.4; }
.timeline-event__content > p { margin: 0; color: var(--matriz-gray); font-size: 22px; font-weight: 500; line-height: 1.5; }
.timeline-event--right .timeline-event__visual { grid-column: 3; }
.timeline-event--right .timeline-event__content { grid-column: 1; }

@media (max-width: 900px) {
  .matriz-news-page .inner-hero { height: 250px; }
  .matriz-news-page .inner-hero__copy { width: calc(100% - 64px); padding-top: 34px; }
  .matriz-testimony-page .inner-hero { height: 250px; }
  .matriz-testimony-page .inner-hero__copy { width: calc(100% - 64px); padding-top: 34px; }
  .news-archive { left: 0; }
  .news-pagination { left: 0; }
  .news-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.matriz-post { padding-top: 86px; }
	.matriz-post__header, .matriz-post__body-grid { width: min(calc(100% - 64px), 760px); }
	.matriz-post__header h1 { font-size: 40px; }
	.matriz-post__meta-row { margin-top: 42px; align-items: flex-start; flex-direction: column; }
	.matriz-post__featured { height: 300px; }
	.matriz-post__body-grid { margin-top: 58px; grid-template-columns: 1fr; gap: 54px; }
	.matriz-post__sidebar { grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.matriz-post-live__frame, .matriz-post-live__fallback, .matriz-post-banner img { width: 100%; }
	.matriz-post-banner img { height: 300px; }
	.matriz-related__grid { gap: 18px; }
	.matriz-related__card h3 { font-size: 18px; }
	.matriz-related__card p { font-size: 15px; }
  .timeline-event { grid-template-columns: 96px minmax(0, 1fr); gap: 24px; }
  .redentorist-timeline::before { left: 48px; }
  .timeline-event__year { grid-column: 1; width: 88px; height: 88px; border-width: 6px; font-size: 25px; }
  .timeline-event__content, .timeline-event--right .timeline-event__content { grid-column: 2; text-align: left; }
  .timeline-event__visual, .timeline-event--right .timeline-event__visual { grid-column: 2; grid-row: 2; justify-content: flex-start; }
}

@media (max-width: 560px) {
  .matriz-news-page .inner-hero { height: 240px; }
  .matriz-news-page .inner-hero__copy { width: calc(100% - 40px); padding-top: 31px; gap: 10px; }
  .matriz-news-page .inner-hero__copy h1 { font-size: 40px; }
  .matriz-news-page .inner-hero__copy p { font-size: 17px; }
  .matriz-testimony-page .inner-hero { height: 240px; }
  .matriz-testimony-page .inner-hero__copy { width: calc(100% - 40px); padding-top: 31px; gap: 10px; }
  .matriz-testimony-page .inner-hero__copy h1 { font-size: 40px; }
  .matriz-testimony-page .inner-hero__copy p { font-size: 17px; }
  .news-archive { width: calc(100% - 32px); margin-top: 48px; }
  .news-search { width: 100%; margin-right: 0; }
  .news-search input { font-size: 18px; }
  .news-archive__grid { margin-top: 52px; grid-template-columns: 1fr; gap: 48px; }
  .news-archive__card img { height: 240px; }
  .news-archive__card h2 { font-size: 21px; }
  .news-archive__card p { font-size: 18px; }
  .news-pagination { gap: 10px; }
  .news-pagination .page-numbers { width: 48px; height: 48px; font-size: 18px; }
	.matriz-post { padding-top: 54px; }
	.matriz-post__header, .matriz-post__body-grid { width: calc(100% - 32px); }
	.matriz-post__header h1 { font-size: 32px; line-height: 1.18; letter-spacing: -.64px; }
	.matriz-post__meta-row { min-height: 0; margin-top: 30px; gap: 22px; }
	.matriz-post__meta { font-size: 15px; }
	.post-share { gap: 12px; }
	.post-share a { width: 40px; height: 40px; }
	.matriz-post__featured { height: 220px; margin-top: 24px; }
	.matriz-post__body-grid { margin-top: 42px; margin-bottom: 74px; gap: 44px; }
	.matriz-post__sidebar { grid-template-columns: 1fr; gap: 38px; }
	.matriz-post-widget h2 { font-size: 25px; }
	.matriz-post-widget > .matriz-rule { margin-bottom: 22px; }
	.matriz-post-live__frame, .matriz-post-live__fallback { height: 210px; }
	.matriz-post-banner img { height: auto; max-height: 420px; }
	.matriz-post__content { font-size: 17px; }
	.matriz-post__content h2 { font-size: 27px; }
	.matriz-post__content h3 { font-size: 23px; }
	.post-share--bottom { margin: 42px 0 54px; justify-content: flex-start; }
	.matriz-related { padding: 45px 16px 18px; border-width: 2px; border-radius: 18px; }
	.matriz-related > h2 { top: -16px; font-size: 20px; }
	.matriz-related__grid { grid-template-columns: 1fr; gap: 28px; }
	.matriz-related__card img { height: 190px; }
	.matriz-related__card h3 { font-size: 20px; }
	.matriz-related__card p { font-size: 16px; }
	.matriz-comments { margin-top: 48px; }
	.matriz-comments__title, .matriz-comments__list-title { margin-bottom: 26px; font-size: 27px; }
	.matriz-comments__list .children { padding-left: 12px; }
	.matriz-comment-form { gap: 15px; }
	.matriz-comment-form input, .matriz-comment-form textarea { padding: 12px 18px; border-radius: 14px; font-size: 17px; }
	.matriz-comment-form input { height: 54px; }
	.matriz-comment-form textarea { height: 150px; }
	.matriz-comment-form .submit { width: 100%; }
  .testimony-submit { width: calc(100% - 32px); margin-top: 60px; }
  .testimony-submit__content h2, .testimony-wall > h2, .redentorist-history > h2 { font-size: 34px; }
  .testimony-form input[type="text"], .testimony-form textarea { font-size: 17px; }
  .testimony-form__location { grid-template-columns: 1fr; gap: 15px; }
  .testimony-consent { align-items: flex-start; gap: 15px; font-size: 14px; }
  .testimony-wall { padding: 0 16px 48px; margin-bottom: 60px; }
  .testimony-wall__grid { grid-template-columns: 1fr; }
  .testimony-card { min-height: 230px; gap: 32px; }
  .testimony-card blockquote { font-size: 19px; }
  .redentorist-history { padding: 70px 8px 88px; }
  .redentorist-history > .matriz-rule { margin-bottom: 48px; }
  .timeline-event { min-height: 0; padding: 24px 8px; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; }
  .redentorist-timeline::before { left: 35px; }
  .timeline-event__year { width: 66px; height: 66px; border-width: 4px; font-size: 19px; }
  .timeline-event__date { font-size: 18px !important; }
  .timeline-event__content h3 { font-size: 20px; }
  .timeline-event__content > p { font-size: 17px; }
  .timeline-event__visual img { max-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
	.post-share a, .matriz-related__card { transition: none; }
}

/* Velas da Fé — fluxo unificado, frames 21:2, 54:2 e 56:6. */
.matriz-candle-page .candle-hero { height: 183px; }
.matriz-candle-page .candle-hero > img { object-position: center 7%; transform: none; }
.matriz-candle-page .candle-hero .inner-hero__shade { background: linear-gradient(90deg, rgba(5,51,104,.96) 0%, rgba(5,51,104,.66) 34%, rgba(5,51,104,0) 72%); }
.matriz-candle-page .candle-hero .inner-hero__copy { width: min(calc(100% - 106px), 1346px); padding-top: 28px; gap: 0; }
.matriz-candle-page .candle-hero h1 { font-size: 48px; line-height: 1.12; letter-spacing: -.96px; }
.matriz-candle-page .candle-hero .matriz-rule { width: 123px; height: 3px; margin-top: 0; }
.matriz-candle-page .candle-hero p { max-width: 520px; margin-top: 24px; font-size: 20px; font-weight: 400; line-height: 1.5; }
.candle-landing[hidden], .candle-inline-flow[hidden] { display: none !important; }
.matriz-candle-page .candle-list-intro { width: min(calc(100% - 48px), 923px); margin-top: 64px; }
.matriz-candle-page .candle-list-intro h2, .matriz-candle-page .candle-how h2 { font-size: 43px; line-height: 1.38; letter-spacing: -.86px; }
.matriz-candle-page .candle-list-intro .matriz-rule { width: 123px; height: 3px; margin: 0 auto 31px; }
.matriz-candle-page .candle-list-intro p { font-size: 22px; font-weight: 600; line-height: 1.5; }
.matriz-candle-page .candle-how { width: min(calc(100% - 48px), 726px); margin-top: 89px; }
.matriz-candle-page .candle-how__grid { margin-top: 31px; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; background: transparent; border-radius: 0; }
.matriz-candle-page .candle-how article { min-height: 187px; padding: 27px 24px 22px; justify-content: flex-start; background: #fff; border: 0; border-radius: 20px; box-shadow: 0 3px 4px rgba(0,0,0,.2); }
.matriz-candle-page .candle-how article + article { border-left: 0; }
.matriz-candle-page .candle-how img { width: 58px; height: 66px; }
.matriz-candle-page .candle-how p { margin-top: 10px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.matriz-candle-page .candle-list-section { width: min(calc(100% - 204px), 1248px); margin: 60px auto 94px; }
.matriz-candle-page .candle-list-cta { width: 224px; min-height: 53px; margin: 0 auto; padding-inline: 20px; font-size: 16px; }
.matriz-candle-page .candle-list-section > h2 { margin: 63px 0 51px; font-size: 19px; font-weight: 500; line-height: 1.5; }
.matriz-candle-page .candle-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.matriz-candle-page .candle-card { height: 216px; padding: 5px 12px 5px 8px; grid-template-columns: 96px minmax(0, 1fr); background: #f7f7f7; border: 0; border-radius: 20px; }
.matriz-candle-page .candle-card__image { width: 94px; height: 205px; transform: scale(1.72); }
.matriz-candle-page .candle-card__content { padding-left: 2px; text-align: center; }
.matriz-candle-page .candle-card__content p { font-size: 14px; font-weight: 400; line-height: 1.5; }
.matriz-candle-page .candle-card__content h3 { margin: 4px 0 10px; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.4px; }
.matriz-candle-page .candle-empty { min-height: 216px; background: #f7f7f7; border: 0; border-radius: 20px; }

.matriz-candle-page .candle-inline-flow { width: 100%; scroll-margin-top: 24px; }
.matriz-candle-page .candle-form-section--inline { width: min(calc(100% - 258px), 1194px); margin: 130px auto 123px; grid-template-columns: minmax(0, 676px) minmax(0, 473px); gap: 45px; }
.matriz-candle-page .candle-form-section__photo { height: 458px; border-radius: 16px; }
.matriz-candle-page .candle-form-section__photo img { object-position: center; }
.matriz-candle-page .candle-form-section__content { transform: translateY(-15px); }
.matriz-candle-page .candle-form-section__content h2 { font-size: 36px; line-height: 1.35; letter-spacing: -.72px; }
.matriz-candle-page .candle-layout-form { margin-top: 20px; gap: 10px; }
.matriz-candle-page .candle-layout-form input[type="text"] { height: 52px; }
.matriz-candle-page .candle-layout-form textarea { height: 98px; padding-top: 17px; text-align: left; }
.matriz-candle-page .candle-layout-form input[type="text"], .matriz-candle-page .candle-layout-form textarea { padding-inline: 30px; font-size: 18px; font-weight: 500; }
.matriz-candle-page .candle-consent { gap: 11px; margin: 9px 0 15px; font-size: 16px; line-height: 1.2; }
.matriz-candle-page .candle-consent input { width: 29px; height: 27px; }
.matriz-candle-page .candle-consent__trigger { padding: 0; color: inherit; background: transparent; border: 0; font: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.matriz-candle-page .candle-consent__trigger span { color: var(--matriz-blue-link); text-decoration: underline; text-underline-offset: 2px; }
.matriz-policy-modal[hidden] { display: none; }
.matriz-modal-open { overflow: hidden; }
.matriz-policy-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; }
.matriz-policy-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 31, 112, .58); }
.matriz-policy-modal__dialog { position: relative; z-index: 1; width: min(100%, 510px); padding: 36px; color: var(--matriz-blue); background: #fff; border-radius: 16px; box-shadow: 0 22px 55px rgba(0, 31, 112, .25); }
.matriz-policy-modal__dialog h3 { margin: 0; font-size: 30px; line-height: 1.2; }
.matriz-policy-modal__dialog p { margin: 14px 0 24px; color: var(--matriz-gray); font-size: 17px; line-height: 1.5; }
.matriz-policy-modal__links { display: grid; gap: 10px; margin-bottom: 24px; }
.matriz-policy-modal__links-label { margin: 0 0 2px !important; color: var(--matriz-blue) !important; font-size: 15px !important; font-weight: 600; line-height: 1.4 !important; }
.matriz-policy-modal__links a { padding: 13px 16px; color: var(--matriz-blue-link); background: #f8f7f8; border: 1px solid #dedede; border-radius: 7px; font-weight: 600; }
.matriz-policy-modal__links a:hover, .matriz-policy-modal__links a:focus-visible { border-color: var(--matriz-gold); outline: 3px solid rgba(200,150,32,.16); }
.matriz-policy-modal__accept { width: 100%; min-height: 50px; }
.matriz-policy-modal__close { position: absolute; top: 10px; right: 14px; width: 34px; height: 34px; padding: 0; color: var(--matriz-blue); background: transparent; border: 0; font-size: 29px; line-height: 1; cursor: pointer; }
.matriz-candle-page .candle-layout-form .matriz-button { width: 223px; min-height: 52px; padding-inline: 20px; border-radius: 20px; font-size: 16px; }

.matriz-candle-page .candle-confirmation--inline { width: min(calc(100% - 96px), 636px); min-height: 590px; margin: 94px auto 72px; padding: 31px 48px 30px; background: #f7f7f7; border: 0; border-radius: 40px; }
.matriz-candle-page .candle-confirmation__message { position: static; width: min(100%, 480px); min-height: 0; padding: 0; transform: none; color: #ff3131; background: transparent; border-radius: 0; font-size: 20px; font-weight: 700; line-height: 1.5; }
.matriz-candle-page .candle-confirmation__image { width: 112px; height: 280px; margin: 18px auto 2px; transform: scale(1.82); }
.matriz-candle-page .candle-confirmation blockquote { max-width: 510px; margin: 10px 0 0; color: #858585; font-size: 18px; font-weight: 600; line-height: 1.4; }
.matriz-candle-page .candle-confirmation__name { margin: 19px 0 10px; font-size: 21px; font-weight: 600; line-height: 1.4; }
.matriz-candle-page .candle-confirmation__button { width: 243px; min-height: 52px; padding-inline: 20px; border-radius: 20px; font-size: 16px; }

/* Novena — frame 171:49. */
.matriz-novena-page .novena-page-hero { height: 175px; }
.matriz-novena-page .novena-page-hero > img { object-position: center 49%; transform: none; }
.matriz-novena-page .novena-page-hero .inner-hero__shade { background: linear-gradient(90deg, rgba(5,51,104,.98) 12%, rgba(5,51,104,.75) 41%, rgba(5,51,104,0) 96%); }
.matriz-novena-page .novena-page-hero .inner-hero__copy { width: min(calc(100% - 140px), 1312px); padding-top: 15px; gap: 0; }
.matriz-novena-page .novena-page-hero h1 { font-size: 48px; line-height: 1.12; letter-spacing: -.96px; }
.matriz-novena-page .novena-page-hero .matriz-rule { width: 88px; height: 3px; margin: 0; }
.matriz-novena-page .novena-page-hero p { max-width: 514px; margin-top: 18px; font-size: 20px; font-weight: 400; line-height: 1.5; }
.novena-videos { width: min(calc(100% - 160px), 1284px); margin: 71px auto 82px; }
.novena-videos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.novena-video-card { min-width: 0; aspect-ratio: 376 / 252; overflow: hidden; background: #1e1e1e; border-radius: 30px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.novena-video-card iframe, .novena-video-card__placeholder { width: 100%; height: 100%; display: block; border: 0; }
.novena-video-card__placeholder { position: relative; isolation: isolate; overflow: hidden; }
.novena-video-card__image, .novena-video-card__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.novena-video-card__image { object-fit: cover; object-position: 34% center; transform: scale(1.25); }
.novena-video-card__shade { z-index: 1; background: rgba(5,51,104,.72); }
.novena-video-card__logo { position: absolute; z-index: 2; top: 50%; left: 50%; width: 108px; height: 115px; object-fit: contain; transform: translate(-50%, -50%); }
.matriz-novena-page .novena-videos { width: min(calc(100% - 64px), 1212px); margin: 209px auto 0; }
.matriz-novena-page .novena-videos__grid { gap: 42px; }
.matriz-novena-page .novena-story { width: min(calc(100% - 96px), 1110px); margin: 202px auto 0; color: #888; text-align: center; }
.matriz-novena-page .novena-story__divider { width: 170px; height: 3px; margin: 0 auto 194px; background: var(--matriz-gold); }
.matriz-novena-page .novena-story h2 { margin: 0; color: var(--matriz-blue-link); font-size: 43px; font-weight: 600; line-height: 1.2; letter-spacing: -.86px; }
.matriz-novena-page .novena-story .matriz-rule { margin: 14px auto 68px; }
.matriz-novena-page .novena-story p { max-width: 1110px; margin: 0 auto 74px; color: #8a8a8a; font-size: 24px; font-weight: 400; line-height: 1.48; }
.matriz-novena-page .novena-story strong { color: var(--matriz-blue-link); font-weight: 600; }
.matriz-novena-page .novena-story__photo { width: min(100%, 510px); height: 392px; margin: -7px auto 80px; overflow: hidden; border-radius: 22px; }
.matriz-novena-page .novena-story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1); }
.matriz-novena-page .novena-story h3 { margin: 0 auto 25px; color: var(--matriz-blue); font-size: 25px; font-weight: 600; line-height: 1.3; }
.matriz-novena-page .novena-story h3 + p { margin-bottom: 105px; }
.matriz-novena-page .novena-story h3:not(:first-of-type) { margin-top: 128px; }
.matriz-novena-page .novena-story--conception { margin-top: 230px; padding-bottom: 174px; }
.matriz-novena-page .novena-story--conception .matriz-rule { margin-bottom: 72px; }
.matriz-novena-page .novena-story--conception p { margin-bottom: 78px; }

@media (max-width: 900px) {
	.matriz-novena-page .novena-videos { width: min(calc(100% - 64px), 760px); margin-block: 62px 72px; }
	.matriz-novena-page .novena-videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 560px) {
	.matriz-novena-page .novena-videos { width: calc(100% - 32px); margin: 46px auto 60px; }
	.matriz-novena-page .novena-videos__grid { grid-template-columns: 1fr; gap: 18px; }
	.matriz-novena-page .novena-video-card { border-radius: 22px; }
	.matriz-novena-page .novena-video-card__logo { width: 92px; height: 100px; }
}

@media (max-width: 900px) {
	.matriz-candle-page .candle-how { width: min(calc(100% - 48px), 680px); }
	.matriz-candle-page .candle-how__grid { gap: 18px; }
	.matriz-candle-page .candle-list-section { width: calc(100% - 48px); }
	.matriz-candle-page .candle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.matriz-candle-page .candle-form-section--inline { width: min(calc(100% - 64px), 680px); margin: 76px auto 90px; grid-template-columns: 1fr; gap: 42px; }
	.matriz-candle-page .candle-form-section__photo { height: 430px; }
	.matriz-candle-page .candle-form-section__content { transform: none; }
}

@media (max-width: 560px) {
	.matriz-candle-page .candle-hero { height: 260px; }
	.matriz-candle-page .candle-hero > img { object-position: 61% center; }
	.matriz-candle-page .candle-hero .inner-hero__shade { background: linear-gradient(90deg, rgba(5,51,104,.98), rgba(5,51,104,.58)); }
	.matriz-candle-page .candle-hero .inner-hero__copy { width: calc(100% - 40px); padding-top: 42px; }
	.matriz-candle-page .candle-hero h1 { font-size: 40px; }
	.matriz-candle-page .candle-hero p { max-width: 330px; margin-top: 22px; font-size: 18px; }
	.matriz-candle-page .candle-list-intro { width: calc(100% - 32px); margin-top: 52px; }
	.matriz-candle-page .candle-list-intro h2, .matriz-candle-page .candle-how h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.64px; }
	.matriz-candle-page .candle-list-intro .matriz-rule { margin: 10px auto 24px; }
	.matriz-candle-page .candle-list-intro p { font-size: 17px; font-weight: 500; }
	.matriz-candle-page .candle-how { width: calc(100% - 32px); margin-top: 56px; }
	.matriz-candle-page .candle-how__grid { margin-top: 28px; grid-template-columns: 1fr; gap: 16px; }
	.matriz-candle-page .candle-how article { min-height: 168px; padding: 24px; }
	.matriz-candle-page .candle-how p { max-width: 250px; font-size: 16px; }
	.matriz-candle-page .candle-list-section { width: calc(100% - 32px); margin: 48px auto 64px; }
	.matriz-candle-page .candle-list-cta { width: min(100%, 260px); font-size: 14px; }
	.matriz-candle-page .candle-list-section > h2 { margin: 48px 0 30px; font-size: 18px; }
	.matriz-candle-page .candle-grid { grid-template-columns: 1fr; gap: 16px; }
	.matriz-candle-page .candle-card { height: 210px; grid-template-columns: 112px minmax(0, 1fr); }
	.matriz-candle-page .candle-card__image { width: 104px; height: 198px; transform: scale(1.45); }
	.matriz-candle-page .candle-card__content h3 { font-size: 18px; }
	.matriz-candle-page .candle-form-section--inline { width: calc(100% - 32px); margin: 54px auto 68px; gap: 32px; }
	.matriz-candle-page .candle-form-section__photo { height: 270px; }
	.matriz-candle-page .candle-form-section__content h2 { font-size: 30px; line-height: 1.25; }
	.matriz-candle-page .candle-layout-form { margin-top: 24px; }
	.matriz-candle-page .candle-layout-form input[type="text"], .matriz-candle-page .candle-layout-form textarea { padding-inline: 18px; font-size: 16px; }
	.matriz-candle-page .candle-layout-form textarea { text-align: left; }
	.matriz-candle-page .candle-consent { align-items: flex-start; margin-block: 12px 16px; font-size: 14px; }
	.matriz-policy-modal { padding: 16px; }
	.matriz-policy-modal__dialog { padding: 30px 24px 24px; }
	.matriz-policy-modal__dialog h3 { font-size: 25px; }
	.matriz-candle-page .candle-layout-form .matriz-button { width: 100%; font-size: 14px; }
	.matriz-candle-page .candle-confirmation--inline { width: calc(100% - 32px); min-height: 0; margin: 54px auto 68px; padding: 30px 20px 34px; border-radius: 26px; }
	.matriz-candle-page .candle-confirmation__message { font-size: 17px; }
	.matriz-candle-page .candle-confirmation__image { width: 105px; height: 260px; margin-top: 16px; transform: scale(1.5); }
	.matriz-candle-page .candle-confirmation blockquote { font-size: 16px; }
	.matriz-candle-page .candle-confirmation__name { font-size: 19px; }
	.matriz-candle-page .candle-confirmation__button { width: 100%; font-size: 14px; }
}

/*
 * Tipografia global
 * Ajuste os valores em Aparência > Personalizar > Tipografia global.
 * Cada variável é compartilhada entre os componentes equivalentes do tema.
 */
.matriz-hero h1, .matriz-hero h2, .inner-hero__copy h1, .candle-hero h1, .novena-page-hero h1 { font-size: var(--matriz-type-display); }
.matriz-section-title, .donation-impact h2, .donation-destinations h2, .testimony-wall > h2, .live-stage h1, .candle-list-intro h2, .candle-how h2, .redentorist-history > h2, .news-list-title { font-size: var(--matriz-type-section); }
.matriz-novena h2, .matriz-impact__copy h2, .matriz-impact__social h2, .candle-form-section__content h2, .inner-intro h2, .candle-prayer h2, .bank-card h2, .testimony-submit__content h2, .redentorist-intro h2, .novena-videos h2 { font-size: var(--matriz-type-subheading); }
.matriz-hero p, .inner-hero__copy p, .matriz-novena p, .inner-intro p, .donation-destinations__intro, .candle-prayer p, .matriz-impact__copy p, .matriz-impact__social p, .live-notice, .redentorist-intro p { font-size: var(--matriz-type-body); }
.matriz-news__card h3, .matriz-news__card p, .news-card h3, .news-card p, .testimony-card blockquote, .testimony-card footer, .candle-how p, .donation-impact article, .donation-destinations__grid h3, .candle-card__content h3, .candle-card__content p { font-size: var(--matriz-type-article); }
.matriz-button, .matriz-nav__links .menu-item--gold a, .matriz-nav__links .menu-item--blue a, .candle-layout-form .matriz-button, .testimony-form .matriz-button { font-size: var(--matriz-type-button); }
.candle-layout-form input[type="text"], .candle-layout-form textarea, .testimony-form input[type="text"], .testimony-form textarea, .matriz-comment-form input, .matriz-comment-form textarea { font-size: var(--matriz-type-form); }
.matriz-nav__links a, .matriz-footer__nav { font-size: var(--matriz-type-navigation); }
.matriz-footer__legal, .testimony-card time, .candle-consent, .testimony-consent, .matriz-policy-modal__dialog p { font-size: var(--matriz-type-meta); }
.matriz-quick__title { font-size: var(--matriz-type-card-title); }
.matriz-quick__text { font-size: var(--matriz-type-card-text); }
.matriz-quick__link { font-size: var(--matriz-type-card-link); }

@media (max-width: 560px) {
  :root {
    --matriz-type-display: calc(var(--matriz-type-display-base) * .83);
    --matriz-type-section: calc(var(--matriz-type-section-base) * .8);
    --matriz-type-subheading: calc(var(--matriz-type-subheading-base) * .84);
    --matriz-type-body: calc(var(--matriz-type-body-base) * .9);
    --matriz-type-article: calc(var(--matriz-type-article-base) * .86);
    --matriz-type-button: calc(var(--matriz-type-button-base) * .88);
    --matriz-type-form: calc(var(--matriz-type-form-base) * .9);
    --matriz-type-navigation: calc(var(--matriz-type-navigation-base) * .93);
    --matriz-type-meta: calc(var(--matriz-type-meta-base) * .88);
		--matriz-type-card-title: calc(var(--matriz-type-card-title-base) * .94);
		--matriz-type-card-text: calc(var(--matriz-type-card-text-base) * .93);
		--matriz-type-card-link: calc(var(--matriz-type-card-link-base) * .93);
  }
}

/* Redentoristas — hero compacto do frame 106:6. */
.matriz-redentorist-page .inner-hero { height: 175px; }
.matriz-redentorist-page .inner-hero__copy { width: min(calc(100% - 140px), 1312px); padding-top: 18px; gap: 8px; }
.matriz-redentorist-page .inner-hero__copy h1 { line-height: 1; }
.matriz-redentorist-page .inner-hero__copy p { max-width: 514px; line-height: 1.25; }

@media (max-width: 900px) {
  .matriz-redentorist-page .inner-hero__copy { width: calc(100% - 64px); padding-top: 25px; gap: 8px; }
}

@media (max-width: 560px) {
  .matriz-redentorist-page .inner-hero__copy { width: calc(100% - 40px); padding-top: 20px; gap: 7px; }
  .matriz-redentorist-page .inner-hero__copy p { line-height: 1.35; }
}

/* Páginas legais */
.matriz-legal-page { background: #f8f7f8; }
.matriz-legal-hero { padding: 70px 24px 42px; color: #fff; background: linear-gradient(rgba(5, 51, 104, .92), rgba(5, 51, 104, .92)), url("assets/images/inner-pages-hero.png") center/cover; text-align: center; }
.matriz-legal-hero h1 { margin: 0; font-size: var(--matriz-type-display); line-height: 1.1; }
.matriz-legal-hero .matriz-rule { margin: 16px auto 0; }
.matriz-legal-content { width: min(calc(100% - 48px), 920px); margin: 54px auto 80px; padding: 46px 56px 58px; color: #525252; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(5, 51, 104, .08); }
.matriz-legal-content > p:first-child { margin-top: 0; color: #6c6c6c; font-size: 15px; }
.matriz-legal-content h2 { margin: 38px 0 12px; color: var(--matriz-blue); font-size: 26px; line-height: 1.25; }
.matriz-legal-content h2:first-of-type { margin-top: 30px; }
.matriz-legal-content p, .matriz-legal-content li { font-size: 17px; line-height: 1.65; }
.matriz-legal-content p { margin: 0 0 15px; }
.matriz-legal-content ul { margin: 0 0 15px; padding-left: 24px; }
.matriz-legal-content li + li { margin-top: 7px; }
.matriz-legal-notice { margin: 30px 0 0; padding: 16px 18px; color: #614b12; background: #fff8df; border-left: 4px solid var(--matriz-gold); border-radius: 4px; }
.matriz-legal-content a { color: var(--matriz-blue-link); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 560px) {
  .matriz-legal-hero { padding-block: 54px 34px; }
  .matriz-legal-content { width: calc(100% - 32px); margin-block: 32px 50px; padding: 30px 22px 36px; }
  .matriz-legal-content h2 { margin-top: 30px; font-size: 23px; }
  .matriz-legal-content p, .matriz-legal-content li { font-size: 16px; }
}

@media (max-width: 900px) {
  .matriz-novena-page .novena-videos { width: min(calc(100% - 64px), 760px); margin-top: 120px; }
  .matriz-novena-page .novena-videos__grid { gap: 22px; }
  .matriz-novena-page .novena-story { width: min(calc(100% - 64px), 760px); margin-top: 120px; }
  .matriz-novena-page .novena-story__divider { margin-bottom: 110px; }
  .matriz-novena-page .novena-story p { font-size: 20px; }
}

@media (max-width: 560px) {
  .matriz-novena-page .novena-videos { width: calc(100% - 32px); margin-top: 74px; }
  .matriz-novena-page .novena-videos__grid { gap: 18px; }
  .matriz-novena-page .novena-story { width: calc(100% - 32px); margin-top: 80px; }
  .matriz-novena-page .novena-story__divider { width: 123px; margin-bottom: 70px; }
  .matriz-novena-page .novena-story h2 { font-size: 34px; }
  .matriz-novena-page .novena-story .matriz-rule { margin-bottom: 38px; }
  .matriz-novena-page .novena-story p { margin-bottom: 46px; font-size: 17px; line-height: 1.6; }
  .matriz-novena-page .novena-story__photo { height: 270px; margin-bottom: 48px; }
  .matriz-novena-page .novena-story h3 { font-size: 21px; }
  .matriz-novena-page .novena-story h3 + p { margin-bottom: 65px; }
  .matriz-novena-page .novena-story h3:not(:first-of-type) { margin-top: 76px; }
  .matriz-novena-page .novena-story--conception { margin-top: 120px; padding-bottom: 80px; }
}

/* Redentoristas — composição editorial do frame 91:2. */
.matriz-redentorist-page .redentorist-history { display: none; }
.redentorist-figma-story { padding: 95px 24px 118px; color: #6d6d6d; background: #fff; text-align: center; }
.redentorist-figma-story__intro, .redentorist-figma-story__pelagio { width: min(100%, 940px); margin: 0 auto; }
.redentorist-figma-story h2 { margin: 0; color: #12418d; font-size: 32px; line-height: 1.14; letter-spacing: -.7px; font-weight: 700; }
.redentorist-figma-story .matriz-rule { width: 75px; margin: 19px auto 66px; }
.redentorist-figma-story p { max-width: 835px; margin: 0 auto 35px; color: #777; font-size: 15px; line-height: 1.55; font-weight: 500; }
.redentorist-figma-story strong { color: #1b458e; font-weight: 700; }
.redentorist-figma-story img { display: block; width: auto; max-width: min(100%, 410px); max-height: 315px; margin: 41px auto 37px; object-fit: contain; border-radius: 9px; }
.redentorist-figma-story h3 { margin: 47px 0 26px; color: #17428c; font-size: 17px; line-height: 1.25; font-weight: 700; }
.redentorist-figma-story__intro > p:nth-of-type(6) { max-width: 875px; }
.redentorist-figma-story__pelagio { margin-top: 125px; }
.redentorist-figma-story__pelagio .matriz-rule { margin-bottom: 54px; }
.redentorist-figma-story__pelagio p { margin-bottom: 37px; }
.redentorist-figma-story__pelagio img { margin-top: 34px; }
.redentorist-figma-story__pelagio img[src$="redentorist-1894-journey.png"] { max-width: 275px; }
.redentorist-figma-story__pelagio img[src$="redentorist-1924.png"] { max-width: 400px; }
.redentorist-figma-story__pelagio img[src$="redentorist-1961.png"], .redentorist-figma-story__pelagio img[src$="redentorist-1997.png"] { max-width: 255px; }
.redentorist-figma-story__pelagio img[src$="redentorist-today.png"] { max-width: 340px; }

@media (max-width: 700px) {
  .redentorist-figma-story { padding: 66px 20px 76px; }
  .redentorist-figma-story h2 { font-size: 27px; }
  .redentorist-figma-story .matriz-rule { margin-bottom: 46px; }
  .redentorist-figma-story p { font-size: 16px; line-height: 1.62; }
  .redentorist-figma-story img { max-width: min(100%, 340px); margin-block: 34px 31px; }
  .redentorist-figma-story__pelagio { margin-top: 86px; }
  .redentorist-figma-story__pelagio img[src$="redentorist-1924.png"] { max-width: 100%; }
}
