/* Shared stylesheet: overrides.css */
.hero-mark{background:#fff}
.hero-mark img{filter:none}
.site-header{background:#f4f1ec;color:#171717;border-color:#d6d0c9}.site-header nav a:after{background:#c00000}.brand{flex:0 0 212px!important;min-width:0;overflow:visible}.brand img{display:block;width:200px!important;max-width:100%;height:auto;max-height:72px!important;object-fit:contain;object-position:left center}.home-header{background:#f4f1ec}
@media (max-width:1000px){.brand{flex-basis:175px!important}.brand img{width:168px!important;max-height:64px!important}}
@media (max-width:720px){.brand{flex:1 1 auto!important}.brand img{width:150px!important;max-height:60px!important}}
/* Keep document-level overflow from creating a horizontal page scrollbar.
   Intentional carousels and tables retain their own internal scrolling. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Logos must always remain fully visible inside their layout boxes. */
img{max-width:100%;}
.home .launch-brand{overflow:hidden;min-width:0;align-items:center;}
.home .launch-brand img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;object-position:center center;transform:none;}
.home .launch-brand p{width:100%;max-width:100%;font-size:clamp(15px,1.35vw,24px);line-height:1.05;letter-spacing:clamp(.12em,.22vw,.22em);text-align:center;}
.hero-mark img,.logo-story > div:first-child > img,.identity-logo img,footer .footer-logo img{max-width:100%;height:auto;object-fit:contain;object-position:left center;}

/* -------------------------------------------------------------------------
   Logo system — one sizing/alignment contract for every route and breakpoint
   -------------------------------------------------------------------------
   The logo files have different native aspect ratios, so their rendered
   dimensions must be controlled by their containers rather than by ad-hoc
   widths in individual pages.  The rules below intentionally use the same
   max-width, intrinsic height and overflow contract everywhere.
*/
:root {
  --rota-logo-header: 200px;
  --rota-logo-content: min(100%, 680px);
}

/* Mobile safety net: no desktop track, logo or grid may force horizontal scroll. */
@media (max-width: 850px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .site-header { width: 100%; min-width: 0; }
  .menu-toggle { display: block; background: transparent; border: 0; min-width: 44px; min-height: 44px; box-sizing: border-box; font: 700 12px var(--body); text-transform: uppercase; }
  .header-cta { min-height: 44px; box-sizing: border-box; }
  .site-header nav { display: none; }
  .site-header nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
  .site-header .brand { flex: 0 0 150px !important; width: 150px; min-width: 0; }
  .site-header .brand img { width: 150px !important; max-width: 100%; }
  .launch, .launch-brand, .launch-copy { width: 100%; max-width: 100%; min-width: 0; }
  .launch-brand { box-sizing: border-box; }
  .launch-brand img { width: min(100%, 360px) !important; max-width: 100%; margin-inline: auto; }
  .launch-brand p { width: 100% !important; max-width: 100% !important; overflow-wrap: anywhere; }
  .launch h1 { font-size: clamp(46px, 12vw, 76px); overflow-wrap: normal; }
  .identity-hero, .faith-hero, .page-hero, .hero { min-width: 0; max-width: 100%; overflow: hidden; }
  img, video, svg { max-width: 100%; }
}

/* Header logo: identical optical width on all internal pages and the home. */
.site-header .brand {
  flex: 0 0 var(--rota-logo-header) !important;
  width: var(--rota-logo-header);
  min-width: 0;
  align-items: center;
  overflow: visible;
}
.site-header .brand img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto;
  max-height: none !important;
  object-fit: contain;
  object-position: left center;
}

/* Every identity/logo block gets a containing block and cannot crop an asset. */
.launch-brand,
.hero-mark,
.identity-hero-mark,
.identity-logo,
.logo-story > div:first-child,
footer .footer-logo {
  min-width: 0;
}
.launch-brand img,
.hero-mark img,
.identity-hero-mark img,
.identity-logo img,
.logo-story > div:first-child > img,
footer .footer-logo img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Homepage hero: logo and the strapline share exactly one centered column.
   This removes the old negative translation / 116% width mismatch that made
   the logo and sentence appear shifted relative to one another. */
.home .launch-brand {
  width: var(--rota-logo-content);
  max-width: 100%;
  margin: 0;
  padding: clamp(38px, 5vw, 82px) 0 clamp(34px, 5vw, 82px);
  transform: none;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.home .launch-brand img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-position: center center;
}
.home .launch-brand p {
  width: 100%;
  max-width: 100%;
  margin: clamp(12px, 1.3vw, 20px) 0 0;
  text-align: center;
  line-height: 1.05;
}

/* Internal identity hero and logo story use the same safe width contract. */
.identity-hero-mark {
  width: min(540px, 100%);
  max-width: 100%;
  overflow: hidden;
}

/* Shared editorial depth for every standard page hero. Activity pages keep
   their more specific, activity-matched photographs from visual-density.css. */
.page-hero {
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.96) 0%, rgba(12, 12, 12, 0.78) 54%, rgba(12, 12, 12, 0.55) 100%),
    url("/assets/real/montanha-03.webp") center 44% / cover no-repeat;
  color: #fff;
}

/* "Para você" now carries the same visual depth as the other editorial
   heroes, using the supplied Rota33 mountain photograph behind the copy. */
.page-hero-photo {
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.96) 0%, rgba(12, 12, 12, 0.78) 46%, rgba(12, 12, 12, 0.44) 100%),
    url("/assets/para-voce-hero.webp") center 42% / cover no-repeat !important;
}

/* Header typography contract: one readable desktop size on every route. */
@media (min-width: 851px) {
  .site-header nav a {
    font-size: 17px;
    line-height: 1;
  }
  .site-header {
    min-height: 102px;
  }
}
.identity-hero-mark img,
.logo-story > div:first-child > img {
  width: min(540px, 100%);
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
}
.logo-story > div:first-child > img {
  width: min(470px, 100%);
}

/* Footer mark and its line of text share a single left edge. */
footer .footer-logo {
  width: 300px !important;
  max-width: 300px !important;
}
footer .footer-logo img {
  width: 300px !important;
  max-width: 300px !important;
  margin: 0;
}
footer .footer-logo p {
  margin-left: 0;
  margin-right: 0;
}

/* The hero lockup moves as one unit: the logo and the line beneath it keep
   one shared left edge while the complete block sits farther to the right. */
.home .launch-brand {
  justify-self: end;
  transform: translateX(clamp(0px, 2.6vw, 38px));
}

@media (max-width: 1000px) {
  :root { --rota-logo-header: 175px; }
  .home .launch-brand { width: min(100%, 650px); }
}

@media (max-width: 850px) {
  .home .launch-brand {
    width: 100%;
    max-width: 650px;
    padding-left: 0;
    padding-right: 0;
  }
  footer .footer-logo,
  footer .footer-logo img { width: min(300px, 100%) !important; max-width: 100% !important; }
}

@media (max-width: 720px) {
  :root { --rota-logo-header: 150px; }
  .site-header .brand { flex: 0 1 var(--rota-logo-header) !important; }
  .home .launch-brand {
    width: 100%;
    max-width: 100%;
    padding: 42px 0 26px;
  }
  .home .launch-brand p {
    font-size: 15px;
    letter-spacing: .16em;
  }
  .identity-hero-mark,
  .identity-hero-mark img,
  .logo-story > div:first-child > img {
    width: min(100%, 540px);
  }
  .home .launch-brand { transform: none; }
}

/* Align the visible logo mark with the left edge of each internal page hero.
   The Home keeps its approved header position. */
@media (min-width: 851px) {
  .site-header .brand {
    margin-left: clamp(24px, 4.2vw, 68px);
  }
  .home .site-header .brand {
    margin-left: clamp(24px, 3vw, 52px);
  }
}
@media (max-width: 850px) {
  .site-header .brand { margin-left: 2vw; }
  .home .site-header .brand { margin-left: 0; }
}

/* Keep the complete hero lockup in its column and lower it to the position
   requested in the approved homepage reference. */
.home .launch-brand {
  box-sizing: border-box;
  width: min(100%, 560px);
  max-width: 100%;
  justify-self: start;
  margin-right: clamp(24px, 4vw, 72px);
  padding-left: 0;
  padding-right: clamp(20px, 3vw, 48px);
  transform: none;
}
@media (min-width: 851px) {
  .home .launch-brand {
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 30px;
  }
}
.home .launch-brand {
  background: transparent;
}
.home .launch-brand-panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(90%, 440px);
  padding: clamp(18px, 2.2vw, 30px);
  background: rgba(12, 12, 12, .68);
}
.home .launch-brand-panel img {
  width: 100%;
  max-width: 100%;
}
.home .launch-brand-panel p {
  width: 100%;
  max-width: 100%;
  margin: 14px 0 0;
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.05;
  letter-spacing: clamp(.1em, .18vw, .18em);
  text-align: center;
}
@media (max-width: 850px) {
  .home .launch-brand {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
  }
}

/* The internal identity hero uses the same safe logo treatment as the home:
   preserve the complete mark and keep a deliberate breathing room at the
   right edge on wide screens. */
.identity-hero-mark {
  width: min(520px, 100%);
  padding-right: clamp(12px, 2vw, 30px);
  box-sizing: border-box;
  overflow: visible;
}
.identity-hero-mark img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 850px) {
  .identity-hero-mark {
    width: 100%;
    padding-right: 0;
  }
}

/* iPhone/mobile QA guardrails: no route may create horizontal overflow or
   allow a title/lockup to escape its grid cell. */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .site-header {
    width: 100%;
    min-width: 0;
    gap: 8px;
    padding: 12px max(16px, 5vw);
  }
  .site-header > * {
    min-width: 0;
  }
  .site-header .brand {
    flex: 1 1 auto !important;
    width: auto;
    max-width: 150px;
  }
  .site-header .brand img {
    width: min(150px, 100%) !important;
  }
  .menu-toggle {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 8px 4px;
  }
  .header-cta {
    flex: 0 0 auto;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 9px;
    font-size: 10px;
  }
  .launch,
  .hero,
  .page-hero,
  .identity-hero,
  .faith-hero,
  .home-manifesto,
  .home-close,
  .home-doors,
  footer {
    min-width: 0;
    max-width: 100%;
  }
  .launch > *,
  .hero > *,
  .page-hero > *,
  .identity-hero > *,
  .faith-hero > *,
  .home-manifesto > *,
  .home-close > *,
  footer > * {
    min-width: 0;
    max-width: 100%;
  }
  .launch-copy,
  .hero-copy,
  .page-hero,
  .identity-hero,
  .faith-hero {
    overflow-wrap: anywhere;
  }
  .launch h1,
  .page-hero h1,
  .identity-hero h1,
  .faith-hero h1 {
    font-size: clamp(48px, 15vw, 66px);
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .home .launch-brand {
    box-sizing: border-box;
    overflow: hidden;
  }
  .home .launch-brand img {
    width: 100%;
    max-width: 100%;
  }
  .home .launch-brand p {
    overflow-wrap: anywhere;
  }
  .identity-hero-mark,
  .faith-verse {
    justify-self: start;
    max-width: 100%;
  }
  .faith-verse p,
  .faith-intro h2,
  .mission-panel h2,
  .purpose-band h2,
  .logo-story h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  footer .footer-logo,
  footer .footer-logo img {
    width: min(300px, 100%);
    max-width: 100%;
  }
  footer .copyright {
    grid-column: 1;
  }
}


/* Editorial first card in the real-moments carousel replaces the old photo mosaic. */
.carousel-track .carousel-message-card {
  flex: 0 0 clamp(220px, 26vw, 390px);
  height: clamp(190px, 24vw, 315px);
  box-sizing: border-box;
  padding: clamp(24px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  overflow: hidden;
  background: #c00000;
  color: #fff;
}
.carousel-message-kicker {
  margin: 0 0 18px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .18em;
}
.carousel-message-card h3 {
  margin: 0;
  max-width: 10ch;
  font: 900 clamp(30px, 3.3vw, 48px)/.92 var(--display);
  letter-spacing: -.035em;
}
.carousel-message-copy {
  margin: 18px 0 0;
  max-width: 31ch;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.45;
}
@media (max-width: 850px) {
  .carousel-track .carousel-message-card {
    flex-basis: 78vw;
    height: 245px;
    padding: 26px;
  }
  .carousel-message-card h3 { font-size: clamp(34px, 9vw, 48px); }
  .carousel-message-copy { font-size: 16px; }
}

.field-stat.participate-card span {
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: .95;
  letter-spacing: -.035em;
}
.field-stat.participate-card p {
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1.25;
}


/* Quote treatment from the reference image, adapted to the Para Você page. */
.page-hero-photo .page-hero-message {
  max-width: 740px;
  padding: 18px 0 18px clamp(22px, 3vw, 42px);
  border-left: 4px solid #c00000;
}
.page-hero-photo .page-hero-message h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: .9;
}
.page-hero-photo .page-hero-message .lede {
  max-width: 510px;
  margin: 24px 0 0;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .page-hero-photo .page-hero-message {
    padding: 14px 0 14px 20px;
    border-left-width: 3px;
  }
  .page-hero-photo .page-hero-message h1 { font-size: clamp(43px, 12vw, 58px); }
  .page-hero-photo .page-hero-message .lede { margin-top: 18px; font-size: 16px; }
}

@media (max-width: 850px) {
  .home .launch-brand-panel { width: min(100%, 440px); }
}
@media (max-width: 600px) {
  .home .launch-brand-panel { width: min(100%, 360px); padding: 20px; }
  .home .launch-brand-panel p { font-size: 13px; letter-spacing: .12em; }
}


/* Strong full-bleed campaign image on Para Você; on phones, crop to the climber
   and restate the central message as live text for legibility. */
.para-impact-section {
  background: #080808;
  color: #fff;
}
.para-impact-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.para-impact-visual > img {
  display: block;
  width: 100%;
  height: auto;
}
.para-impact-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 700px) {
  .para-impact-visual { height: min(78svh, 680px); min-height: 500px; }
  .para-impact-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 88% center;
    opacity: .62;
  }
  .para-impact-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.42) 64%, rgba(0,0,0,.1) 100%);
    pointer-events: none;
  }
  .para-impact-caption {
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    white-space: normal;
    border: 0;
    position: absolute;
    z-index: 1;
    left: 7vw;
    right: 7vw;
    bottom: 34px;
  }
  .para-impact-caption .eyebrow { color: #ef2929; }
  .para-impact-caption h2 {
    max-width: 12ch;
    margin: 12px 0;
    font: 900 clamp(40px, 11vw, 58px)/.9 var(--display);
    text-transform: uppercase;
  }
  .para-impact-caption > p:not(.eyebrow) {
    margin: 0 0 20px;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

/* The inner page banners share the height shown in reference image 4.
   Homepage hero sizing remains independent. */
@media (min-width: 1001px) {
  .page-hero,
  .identity-hero,
  .faith-hero,
  .activity-page .page-hero {
    min-height: 720px;
  }
}

/* Church partnership contact form, styled after the dark contact panel reference. */
.church-contact-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding: 92px 8vw;
  background: linear-gradient(90deg, rgba(244,241,236,.95), rgba(244,241,236,.8)), url("/assets/manifesto-table.webp") center/cover no-repeat;
}
.church-contact-copy { max-width: 550px; }
.church-contact-copy h2 {
  margin: 16px 0 20px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .94;
}
.church-contact-copy > p:last-child {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.5;
}
.church-contact-form {
  width: 100%;
  box-sizing: border-box;
  max-width: 760px;
  justify-self: end;
  padding: clamp(28px, 3.2vw, 48px);
  box-shadow: 0 24px 70px rgba(18,18,18,.24);
}
.church-contact-form h3 {
  margin: 0 0 6px;
  font-size: clamp(34px, 3vw, 46px);
}
@media (max-width: 850px) {
  .church-contact-section { grid-template-columns: 1fr; gap: 28px; padding: 68px 7vw; }
  .church-contact-form { justify-self: stretch; max-width: none; }
}
@media (max-width: 600px) {
  .church-contact-section { padding: 58px 6vw; }
  .church-contact-form { padding: 24px; }
}

/* Church partnership page: use the supplied hands-on-unity photo as its hero backdrop. */
.igrejas-page .page-hero {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .91) 0%, rgba(10, 10, 10, .78) 47%, rgba(10, 10, 10, .48) 100%),
    url("/assets/igrejas-parceria-maos.webp") center 48% / cover no-repeat;
}

/* Home hero: follow the supplied reference with a continuous mountain image,
   headline and actions on the left, and the official Rota33 mark on the right. */
@media (min-width: 851px) {
  .home .launch {
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    min-height: calc(100vh - 98px);
    background:
      linear-gradient(90deg, rgba(8, 8, 8, .93) 0%, rgba(8, 8, 8, .84) 42%, rgba(8, 8, 8, .52) 70%, rgba(8, 8, 8, .48) 100%),
      url("/assets/home-montanha.webp") center 50% / cover no-repeat;
  }
  .home .launch-copy {
    z-index: 1;
    align-self: center;
    padding: clamp(46px, 5.4vw, 92px) clamp(30px, 5.2vw, 108px);
  }
  .home .launch h1 {
    font-size: clamp(52px, 6.5vw, 112px);
    line-height: .88;
    letter-spacing: -.045em;
  }
  .home .launch-brand {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 38px clamp(28px, 4.5vw, 92px) 38px 0;
    transform: none;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
  }
  .home .launch-brand-panel {
    width: min(88%, 760px);
    padding: 0;
    gap: 10px;
    background: transparent;
  }
  .home .launch-brand-panel img {
    width: 100%;
    max-width: 100%;
  }
  .home .launch-brand-panel p {
    width: 100%;
    margin: 0;
    color: #fff;
    font-size: clamp(9px, .58vw, 12px);
    line-height: 1.2;
    letter-spacing: .16em;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
  }
}
@media (max-width: 850px) {
  .home .launch {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(8, 8, 8, .83) 0%, rgba(8, 8, 8, .79) 52%, rgba(8, 8, 8, .68) 100%),
      url("/assets/home-montanha.webp") 62% center / cover no-repeat;
  }
  .home .launch-copy {
    align-self: end;
    padding: 52px 7vw 18px;
  }
  .home .launch h1 {
    font-size: clamp(48px, 10vw, 76px);
    line-height: .88;
  }
  .home .launch-copy > p:not(.eyebrow) {
    max-width: 500px;
    font-size: 17px;
    margin: 22px 0;
  }
  .home .launch-brand {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 8px 7vw 42px;
    transform: none;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
  }
  .home .launch-brand-panel {
    width: min(82%, 390px);
    padding: 0;
    gap: 8px;
    background: transparent;
  }
  .home .launch-brand-panel p {
    margin: 0;
    color: #fff;
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: .12em;
  }
}

/* Quem Somos hero: adapt the supplied banner artwork to the agreed 720px
   page-banner height while keeping the headline as accessible live text. */
.quem-somos-page .identity-hero {
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  background:
    linear-gradient(90deg, #080808 0%, #080808 48%, rgba(8, 8, 8, .72) 64%, rgba(8, 8, 8, .12) 100%),
    url("/assets/quem-somos-banner.webp") 54% center / cover no-repeat;
}
.quem-somos-page .identity-hero > div:first-child {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
}
.quem-somos-page .identity-hero-mark { display: none; }
@media (max-width: 1000px) {
  .quem-somos-page .identity-hero { min-height: 650px; }
}
@media (max-width: 850px) {
  .quem-somos-page .identity-hero {
    min-height: 680px;
    padding: 72px 7vw;
    background:
      linear-gradient(90deg, rgba(8, 8, 8, .91), rgba(8, 8, 8, .76)),
      url("/assets/quem-somos-banner.webp") 72% center / cover no-repeat;
  }
  .quem-somos-page .identity-hero h1 { font-size: clamp(56px, 12vw, 78px); }
  .quem-somos-page .identity-hero .lede { max-width: 600px; font-size: 17px; }
}

/* Fé e Oração: use the supplied community-at-the-table scene in the agreed
   banner format, masking the baked-in copy so the live text remains clear. */
.faith-page .faith-hero {
  min-height: 720px;
  align-items: center;
  background:
    linear-gradient(90deg, #101010 0%, #101010 48%, rgba(16, 16, 16, .74) 59%, rgba(16, 16, 16, .22) 68%, #101010 76%, #101010 100%),
    url("/assets/fe-oracao-banner.webp") center center / cover no-repeat;
}
@media (max-width: 1000px) {
  .faith-page .faith-hero {
    min-height: 680px;
    padding: 70px 7vw;
    background:
      linear-gradient(90deg, #101010 0%, rgba(16, 16, 16, .97) 47%, rgba(16, 16, 16, .72) 66%, #101010 100%),
      url("/assets/fe-oracao-banner.webp") 54% center / cover no-repeat;
  }
  .faith-page .faith-verse { justify-self: end; }
}
@media (max-width: 720px) {
  .faith-page .faith-hero {
    min-height: 760px;
    padding: 62px 7vw;
    background:
      linear-gradient(180deg, rgba(16, 16, 16, .96) 0%, rgba(16, 16, 16, .88) 60%, #101010 100%),
      url("/assets/fe-oracao-banner.webp") 58% center / cover no-repeat;
  }
  .faith-page .faith-verse { justify-self: start; }
}


/* Exact banner artwork supplied by Marcelo. The artwork carries its own typography; keep the live copy screen-reader accessible without painting it a second time. */
.quem-somos-page .identity-hero,
.faith-page .faith-hero,
.page-hero-photo {
  display: block !important;
  position: relative;
  box-sizing: border-box;
  height: 720px;
  min-height: 720px !important;
  padding: 0 !important;
  overflow: hidden;
  background-color: #101010 !important;
  background-image: url("/assets/quem-somos-banner.webp") !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
}
.quem-somos-page .identity-hero {
  background-size: min(100%, 1824px) auto !important;
  background-position: center center !important;
}
.faith-page .faith-hero {
  background-image: url("/assets/fe-oracao-banner.webp") !important;
  background-size: 100% auto !important;
  background-position: center center !important;
}
.page-hero-photo {
  background-image: url("/assets/para-voce-hero.webp") !important;
  background-size: 100% auto !important;
  background-position: center 50% !important;
}
.quem-somos-page .identity-hero > div,
.faith-page .faith-hero > div,
.page-hero-photo > div {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.quem-somos-page .identity-hero-mark,
.faith-page .faith-verse,
.page-hero-photo .big-index {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.logo-story { gap: clamp(36px, 6vw, 92px); }
.logo-story-intro { max-width: 620px; color: #d0d0d0; font-size: 18px; line-height: 1.55; }
.logo-story-impact { margin: 25px 0 0; color: #f1f1f1; font-size: clamp(23px, 2.3vw, 34px); font-weight: 900; line-height: 1.1; letter-spacing: .025em; }
.logo-story-impact span { color: #c40000; }
.logo-points article { border-top: 3px solid #b90000; }
.logo-points h3 { font-size: clamp(23px, 2vw, 31px); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 1000px) {
  .quem-somos-page .identity-hero, .faith-page .faith-hero, .page-hero-photo { height: 650px; min-height: 650px !important; }
}
@media (max-width: 720px) {
  .quem-somos-page .identity-hero { height: auto; min-height: 0 !important; aspect-ratio: 1376 / 768; background-size: 100% auto !important; background-position: center center !important; }
  .faith-page .faith-hero { height: auto; min-height: 0 !important; aspect-ratio: 1600 / 656; background-size: 100% auto !important; background-position: center center !important; }
  .page-hero-photo { height: auto; min-height: 0 !important; aspect-ratio: 1376 / 768; background-size: 100% auto !important; background-position: center center !important; }
  .logo-story-intro { font-size: 16px; }
  .logo-story-impact { font-size: 23px; }
}

/* Banner de Outras atividades: arte enviada pelo Marcelo; preservar a composição e todos os textos. */
.outras-atividades-page .page-hero {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1584 / 672;
  padding: 0;
  overflow: hidden;
  background: #101010 url("/assets/outras-atividades-banner.webp") center / 100% 100% no-repeat;
}
.outras-atividades-page .page-hero > div {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Fotos novas das atividades, com o foco posicionado para os recortes do grid. */
.activity-directory a.activity-montanha {
  --activity-photo: url("/assets/activities/atividade-montanha-marcelo.webp");
  background-position: center 40%;
}
.activity-directory a.activity-mergulho {
  --activity-photo: url("/assets/activities/atividade-mergulho-grupo-full.webp");
  --activity-photo: image-set(
    url("/assets/activities/atividade-mergulho-grupo-480.jpg") 1x,
    url("/assets/activities/atividade-mergulho-grupo-960.jpg") 2x
  );
  background-position: center 66%;
}
.activity-directory a.activity-retiros {
  --activity-photo: url("/assets/activities/atividade-retiro-oracao-full.webp");
  --activity-photo: image-set(
    url("/assets/activities/atividade-retiro-oracao-480.jpg") 1x,
    url("/assets/activities/atividade-retiro-oracao-960.jpg") 2x
  );
  background-position: center 50%;
}
.activity-directory a.activity-bike {
  --activity-photo: url("/assets/activities/atividade-bike-familia.webp");
  --activity-photo: image-set(
    url("/assets/activities/atividade-bike-familia-450.jpg") 1x,
    url("/assets/activities/atividade-bike-familia-900.webp") 2x
  );
  background-position: center 56%;
}
.activity-directory a.activity-servicos {
  --activity-photo: url("/assets/real/familia-02.webp");
  background-position: center 50%;
}
.activity-directory a.activity-mergulho {
  background-image:
    linear-gradient(0deg, rgba(17, 17, 17, 0.76), rgba(17, 17, 17, 0.14)),
    var(--activity-photo);
  background-size: auto, 120% auto;
  background-position: center, center bottom;
  background-repeat: no-repeat;
}

/* Banner de parceria com igrejas: arte original sem deformar a proporção. */
.igrejas-page .page-hero {
  display: block !important;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 720px;
  min-height: 720px !important;
  padding: 0 !important;
  overflow: hidden;
  background: #101010 url("/assets/igrejas-banner.webp") center / auto 100% no-repeat !important;
}
.igrejas-page .page-hero > div {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 1000px) {
  .igrejas-page .page-hero {
    height: auto;
    min-height: 0 !important;
    aspect-ratio: 1408 / 752;
    background-size: 100% auto !important;
  }
}


/* A montanha: dawn panorama matching the Canva page. */
.page-hero.mountain-hero {
  background:
    linear-gradient(90deg, rgba(12, 12, 12, .82) 0%, rgba(12, 12, 12, .54) 48%, rgba(12, 12, 12, .12) 100%),
    url("/assets/home-montanha.webp") center 54% / cover no-repeat;
  color: #fff;
}

/* Shared stylesheet: activities.css */
.activity-directory{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:#d0c9c0}.activity-directory.extended-directory{grid-template-columns:repeat(3,1fr)}.activity-directory a{background:#fff;padding:38px;min-height:270px;display:flex;flex-direction:column}.activity-directory a:last-child{color:#fff}.activity-directory span{font:800 18px var(--display);color:#c00000}.activity-directory h2{font-size:clamp(42px,4vw,65px);margin:38px 0 10px}.extended-directory h2{font-size:clamp(34px,3.2vw,54px)}.activity-directory p{margin:0;font-size:15px}.activity-directory b{font-size:13px;margin-top:auto}.activity-page .page-hero{min-height:430px}.activity-page .page-hero h1{font-size:clamp(60px,7vw,105px)}.activity-page .activity-body{display:grid;grid-template-columns:1fr 1fr;gap:8vw;padding:95px 8vw}.activity-page .activity-body h2{font-size:clamp(50px,5vw,78px)}.activity-page .activity-body p{font-size:18px;max-width:620px}.activity-page .principles{margin:0}@media(max-width:980px){.activity-directory.extended-directory{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.activity-directory,.activity-directory.extended-directory{grid-template-columns:1fr}.activity-directory a:last-child{grid-column:auto}.activity-page .activity-body{grid-template-columns:1fr;padding:70px 7vw;gap:25px}}

.activity-specific-gallery {
  grid-template-columns: minmax(0, 1fr);
}
.activity-specific-gallery figure {
  height: min(52vw, 500px);
}
@media (max-width: 720px) {
  .activity-specific-gallery figure {
    height: 240px;
  }
}

/* Shared stylesheet: home-fix.css */
.home .launch {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(16, 16, 16, 0.96) 0%,
      rgba(16, 16, 16, 0.88) 45%,
      rgba(16, 16, 16, 0.42) 100%
    ),
    url("/assets/home-montanha.webp") center/cover no-repeat;
}
.home .launch-copy {
  position: relative;
  z-index: 2;
}
.home .launch-brand {
  margin: 0;
  background: transparent;
  padding: clamp(38px, 5vw, 82px) 2vw clamp(34px, 5vw, 82px) 0;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(clamp(-90px, -6vw, -38px));
}
.home .launch-brand img {
  width: min(900px, 116%);
  filter: drop-shadow(0 15px 28px rgba(0, 0, 0, 0.32));
}
.home .launch-brand p {
  display: block;
  width: min(900px, 116%);
  margin: clamp(12px, 1.3vw, 20px) 0 0;
  color: #fff;
  font: 800 clamp(18px, 1.35vw, 24px)/1.05 var(--display);
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.46);
}
.home .launch-33 {
  display: none;
}
.home .brand-lines {
  display: none;
}
@media (max-width: 850px) {
  .home .launch {
    background:
      linear-gradient(180deg, rgba(16, 16, 16, 0.76), rgba(16, 16, 16, 0.96)),
      url("/assets/home-montanha.webp") center/cover no-repeat;
  }
  .home .launch-brand {
    padding: 42px 8vw 26px;
    justify-content: flex-start;
    transform: none;
  }
  .home .launch-brand img {
    max-width: 650px;
  }
  .home .launch-brand p {
    width: min(650px, 100%);
    font-size: 15px;
    letter-spacing: 0.16em;
  }
}

/* Shared stylesheet: photo-grids.css */
.activity-gallery{display:grid;grid-template-columns:1.3fr .7fr;gap:10px;padding:0 8vw 90px;background:#f4f1ec}.activity-gallery figure{margin:0;height:250px;overflow:hidden;background:#222}.activity-gallery figure:nth-child(2){height:250px}.activity-gallery img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.84) contrast(1.05)}.activity-gallery figcaption{font-size:11px;text-transform:uppercase;letter-spacing:.11em;padding-top:8px;color:#777}.mini-real-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:0 8vw 90px;background:#f4f1ec}.mini-real-gallery figure{margin:0;height:180px;overflow:hidden}.mini-real-gallery img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.8)}@media(max-width:720px){.activity-gallery,.mini-real-gallery{padding:0 7vw 65px;grid-template-columns:1fr}.activity-gallery figure,.activity-gallery figure:nth-child(2),.mini-real-gallery figure{height:190px}}

/* Shared stylesheet: mosaics.css */
.home-mosaic{display:grid;grid-template-columns:1.1fr .75fr 1fr .72fr 1.1fr;gap:8px;padding:70px 8vw;background:#f4f1ec}.home-mosaic figure{height:210px;margin:0;overflow:hidden}.home-mosaic figure:nth-child(2),.home-mosaic figure:nth-child(4){margin-top:42px}.home-mosaic img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.82) contrast(1.04)}@media(max-width:720px){.home-mosaic{grid-template-columns:repeat(2,1fr);padding:50px 7vw}.home-mosaic figure{height:150px}.home-mosaic figure:nth-child(2),.home-mosaic figure:nth-child(4){margin-top:0}.home-mosaic figure:last-child{grid-column:1/-1}}

/* Shared stylesheet: visual-density.css */
/* Fotografia integrada à narrativa: fundos e cartões, nunca retratos monumentais. */
.page-hero {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.97), rgba(20, 20, 20, 0.69)),
    url("/assets/real/montanha-03.webp") center/cover;
  color: #fff;
}
.page-hero .big-index {
  color: #fff;
  opacity: 0.2;
}
.cards .card {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cards .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(18, 18, 18, 0.86), rgba(18, 18, 18, 0.38)),
    var(--card-photo) center/cover;
  z-index: 0;
}
.cards .card > * {
  position: relative;
  z-index: 1;
}
.cards .card .n {
  color: #fff;
}
.cards .card:nth-child(1) {
  --card-photo: url("/assets/real/montanha-03.webp");
}
.cards .card:nth-child(2) {
  --card-photo: url("/assets/real/cafe-01.webp");
}
.cards .card:nth-child(3) {
  --card-photo: url("/assets/real/familia-01.webp");
}
.activity-directory a {
  color: #fff;
  background:
    linear-gradient(0deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.32)),
    var(--activity-photo) center/cover;
}
.activity-directory a:nth-child(1) {
  --activity-photo: url("/assets/real/montanha-03.webp");
}
.activity-directory a:nth-child(2) {
  --activity-photo: url("/assets/real/hiking-01.webp");
}
.activity-directory a:nth-child(3) {
  --activity-photo: url("/assets/real/familia-01.webp");
}
.activity-directory a:nth-child(4) {
  --activity-photo: url("/assets/real/cafe-01.webp");
}
.activity-directory a:nth-child(5) {
  --activity-photo: url("/assets/real/moto-01.webp");
}
.activity-directory a:nth-child(6) {
  --activity-photo: url("/assets/real/corrida-02.webp");
}
.activity-directory a:nth-child(7) {
  --activity-photo: url("/assets/activities/bike-01.webp");
}
.activity-directory a span {
  color: #fff;
}
.activity-page .page-hero {
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.54)),
    url("/assets/real/montanha-03.webp") center/cover;
}
.activity-corrida .page-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.54)),
    url("/assets/real/corrida-02.webp");
}
.activity-bike .page-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.54)),
    url("/assets/activities/bike-01.webp");
}
.activity-cafes .page-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.54)),
    url("/assets/real/cafe-02.webp");
}
.activity-motos .page-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.54)),
    url("/assets/real/moto-02.webp");
}

.activity-page .activity-body {
  background: #f4f1ec;
}
.activity-gallery.activity-specific-gallery {
  grid-template-columns: repeat(3, 1fr);
}
.activity-gallery.activity-specific-gallery figure {
  height: 210px;
}
.split-dark {
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.78)),
    url("/assets/real/familia-01.webp") center/cover;
}
.agenda-note {
  background:
    linear-gradient(90deg, rgba(231, 225, 217, 0.94), rgba(231, 225, 217, 0.72)),
    url("/assets/real/cafe-01.webp") center/cover;
}
@media (max-width: 720px) {
  .page-hero {
    background-position: center;
  }
  .activity-directory a {
    min-height: 310px;
  }
  .activity-gallery.activity-specific-gallery {
    grid-template-columns: 1fr;
  }
  .activity-gallery.activity-specific-gallery figure {
    height: 190px;
  }
}
