/* Hope House — Nosso Propósito com imagens ilustrativas — v1.0
   Escopo restrito a /nosso-proposito, sem efeitos em outras paginas. */
.purpose-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(45px,6vw,96px) 0;
  background:#f8faf7;
  border-bottom:1px solid #e7e9e3;
}
.purpose-hero:before,.purpose-hero:after{content:"";position:absolute;pointer-events:none}
.purpose-hero:before{
  width:72px;height:72px;left:25px;bottom:35px;opacity:.5;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M39 7H61V39H93V61H61V93H39V61H7V39H39Z' fill='none' stroke='%23F4C86A' stroke-width='6' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.purpose-hero:after{
  width:65px;height:65px;right:18px;top:10px;opacity:.55;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M39 7H61V39H93V61H61V93H39V61H7V39H39Z' fill='%2383D0DB' stroke='%2383D0DB' stroke-width='7' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.purpose-hero__grid{
  display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  align-items:center;gap:clamp(26px,5vw,76px);position:relative;z-index:1;
}
.purpose-hero__copy{padding:10px 0 20px;min-width:0}
.purpose-hero__copy .eyebrow{font-size:11px;letter-spacing:.18em;color:#47746c;margin-bottom:23px}
.purpose-hero__copy h1{
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(43px,5.4vw,83px);
  line-height:1.09;letter-spacing:-.045em;
  font-weight:700;color:#3e4141;margin:0 0 24px;
  overflow-wrap:break-word;
}
.purpose-hero__lead{
  font:500 clamp(18px,1.9vw,23px)/1.53 'DM Sans',sans-serif;
  color:#4d6060;margin:0 0 19px;max-width:520px;
}
.purpose-hero__support{
  color:#62716d;font:400 15px/1.75 'DM Sans',sans-serif;
  margin:0 0 26px;max-width:490px;
}
.purpose-hero__link{
  display:inline-flex;align-items:center;justify-content:space-between;gap:18px;
  border-radius:3px;padding:14px 19px;background:#f4c86a;color:#30393c!important;
  font:700 12px/1.3 'DM Sans',sans-serif;text-decoration:none!important;
  transition:background .18s ease,transform .18s ease;
}
.purpose-hero__link:hover{background:#f2bf50;transform:translateY(-2px)}
.purpose-hero__link:focus-visible{outline:3px solid #418c8d;outline-offset:3px}
.purpose-hero__media{
  position:relative;border-radius:23px;overflow:hidden;
  margin:0;aspect-ratio:1.18;min-height:360px;
  background:#dce8e7;box-shadow:0 24px 60px rgba(32,62,59,.13);
}
.purpose-hero__media img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:50% 46%;
}
.purpose-narrative{background:#fff}
.purpose-narrative__grid{
  display:grid;grid-template-columns:minmax(220px,.60fr) minmax(0,1.4fr);
  gap:clamp(28px,6vw,100px);align-items:start;
}
.purpose-narrative__aside .eyebrow{color:#3b888b}
.purpose-narrative__aside h2{
  color:#3f4140;font:700 clamp(28px,3vw,44px)/1.17 'Playfair Display',Georgia,serif;
  letter-spacing:-.025em;margin:14px 0 16px;max-width:450px;
}
.purpose-narrative__aside>p:last-child{font-size:15px;line-height:1.7;color:#69736f;max-width:330px}
.purpose-narrative__text{font-size:clamp(16px,1.45vw,19px);line-height:1.8;color:#4d5856}
.purpose-narrative__text>*:first-child{margin-top:0}
.purpose-gallery{background:#eef5f2}
.purpose-gallery__heading{max-width:800px;margin:0 0 34px}
.purpose-gallery__heading .eyebrow{color:#2c787b}
.purpose-gallery__heading h2{
  color:#394644;font:700 clamp(31px,3.7vw,53px)/1.14 'Playfair Display',Georgia,serif;
  letter-spacing:-.035em;margin:12px 0 17px;max-width:720px;
}
.purpose-gallery__heading>p:last-child{font:400 16px/1.7 'DM Sans',sans-serif;color:#526860;max-width:690px}
.purpose-gallery__grid{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:16px}
.purpose-gallery__tile{
  margin:0;position:relative;overflow:hidden;border-radius:16px;
  min-height:355px;isolation:isolate;background:#d3dedb;
}
.purpose-gallery__tile img{
  width:100%;height:100%;position:absolute;inset:0;display:block;
  object-fit:cover;object-position:center;z-index:-2;
  transition:transform .35s ease;
}
.purpose-gallery__tile--bond img{object-position:center 40%}
.purpose-gallery__tile:hover img{transform:scale(1.03)}
.purpose-gallery__tile:after{
  content:"";position:absolute;z-index:-1;inset:50% 0 0;
  background:linear-gradient(0deg,rgba(5,42,46,.83),transparent);
}
.purpose-gallery__tile figcaption{
  position:absolute;bottom:0;left:0;right:0;padding:25px 24px;
  color:#fff;font:700 clamp(18px,1.9vw,23px)/1.3 'DM Sans',sans-serif;
  max-width:330px;
}
.purpose-gallery__note{color:#586d67;font:400 12px/1.6 'DM Sans',sans-serif;margin:19px 0 0;max-width:840px}
@media(max-width:1000px){
  .purpose-hero__grid{grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);gap:28px}
  .purpose-hero__copy h1{font-size:clamp(41px,5.5vw,64px)}
  .purpose-hero__media{min-height:340px}
  .purpose-gallery__grid{gap:12px}
  .purpose-gallery__tile{min-height:300px}
}
@media(max-width:750px){
  .purpose-hero{padding:42px 0 48px}
  .purpose-hero__grid{grid-template-columns:1fr;gap:20px}
  .purpose-hero__copy{padding:0}
  .purpose-hero__copy h1{font-size:clamp(41px,9vw,61px);margin-bottom:16px}
  .purpose-hero__lead{font-size:18px}
  .purpose-hero__support{font-size:14px}
  .purpose-hero__media{aspect-ratio:1.35;min-height:0;border-radius:16px}
  .purpose-hero__link{min-height:49px}
  .purpose-narrative__grid{grid-template-columns:1fr;gap:22px}
  .purpose-narrative__aside h2{font-size:34px}
  .purpose-gallery__grid{grid-template-columns:1fr 1fr}
  .purpose-gallery__tile{min-height:300px}
  .purpose-gallery__tile--bond{grid-row:span 2}
}
@media(max-width:510px){
  .purpose-hero__media{aspect-ratio:1.15}
  .purpose-hero__copy h1{font-size:43px}
  .purpose-hero__link{width:100%;justify-content:center}
  .purpose-gallery__grid{display:flex;flex-direction:column}
  .purpose-gallery__tile{height:295px;min-height:0}
  .purpose-gallery__tile--bond{height:365px}
  .purpose-gallery__tile figcaption{padding:20px 19px;font-size:19px}
}
@media(prefers-reduced-motion:reduce){
  .purpose-gallery__tile img,.purpose-hero__link{transition:none!important}
}
