/* Hope House · Etapa 3 · /programas, /programas/{slug}, /familia-acolhedora
   Sem alterações em raiz, doações, notícias, eventos ou painel.
   A identidade de '+' segue o mesmo desenho vetorial da página Transparência.
*/
.hh3{--hh3-ink:#3f3f41;--hh3-text:#58585a;--hh3-blue:#83d0db;--hh3-yellow:#f4c86a;--hh3-pink:#cd779b;--hh3-lime:#c9e265;--hh3-olive:#8c8760;color:var(--hh3-text);background:#fff}
.hh3 *{box-sizing:border-box}
.hh3 .hh3-eyebrow{margin:0 0 15px;color:#577b7b;font:700 11px/1.4 "DM Sans",sans-serif;letter-spacing:.14em;text-transform:uppercase}
.hh3 h1,.hh3 h2,.hh3 h3{overflow-wrap:break-word}
.hh3 .hh3-button{display:inline-flex;justify-content:space-between;align-items:center;gap:24px;min-height:48px;padding:12px 22px;border-radius:999px;background:#3f3f41;color:#fff;font:700 13px/1.4 "DM Sans",sans-serif;text-decoration:none!important;transition:transform .2s ease,background .2s ease}
.hh3 .hh3-button--sun{background:var(--hh3-yellow);color:var(--hh3-ink)}
.hh3 .hh3-button--sun:hover{background:var(--hh3-lime);color:var(--hh3-ink)}
.hh3 .hh3-button:hover{transform:translateY(-2px)}
.hh3 .hh3-text-link,.hh3 .hh3-back{color:var(--hh3-ink);text-decoration:none;font-weight:700;font-size:13px}
.hh3 .hh3-text-link:hover,.hh3 .hh3-back:hover{color:#a2587a}
.hh3 :focus-visible{outline:3px solid var(--hh3-blue);outline-offset:3px}
.hh3 .hh3-section-heading{display:flex;justify-content:space-between;align-items:end;gap:55px;margin-bottom:30px}
.hh3 .hh3-section-heading h2{max-width:690px;margin:0;color:var(--hh3-ink);font:700 clamp(31px,3.5vw,49px)/1.15 "Playfair Display",Georgia,serif;letter-spacing:-.035em}
.hh3 .hh3-section-heading>p{max-width:325px;margin:0;color:#67676a;font-size:15px;line-height:1.65}
.hh3-list-hero{position:relative;display:flex;align-items:center;isolation:isolate;min-height:540px;width:min(calc(100% - 40px),1420px);margin:20px auto 0;overflow:hidden;border-radius:18px;background:linear-gradient(110deg,#2b565a,#77746a)}
.hh3-list-hero__image{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 40%}
.hh3-list-hero__shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(24,35,34,.91),rgba(24,35,34,.69) 49%,rgba(24,35,34,.12))}
.hh3-list-hero__content{padding-top:90px;padding-bottom:90px}
.hh3-list-hero .hh3-eyebrow{color:#fff}
.hh3-list-hero h1{max-width:800px;margin:0;color:#fff;font:700 clamp(40px,5.3vw,76px)/1.05 "Playfair Display",Georgia,serif;letter-spacing:-.045em}
.hh3-list-hero h1 em{color:#ffc5d9}
.hh3-list-hero__content>p:not(.hh3-eyebrow){max-width:570px;margin:24px 0 25px;color:#fff;font-size:16px;line-height:1.7}
.hh3-index-section{padding:90px 0;background:#f7f8f6}
.hh3-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.hh3-index-card{min-width:0;overflow:hidden;border:1px solid #e5e7e3;border-radius:15px;background:#fff;transition:transform .2s,box-shadow .2s}
.hh3-index-card:hover,.hh3-index-card:focus-within{transform:translateY(-4px);box-shadow:0 22px 36px rgba(50,50,50,.10)}
.hh3-index-card__link{display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);height:100%;min-height:300px;color:var(--hh3-ink);text-decoration:none!important}
.hh3-index-card__media{display:block;min-height:300px;overflow:hidden;background:#dcf0ef}
.hh3-index-card__media img{width:100%;height:100%;object-fit:cover}
.hh3-index-card__placeholder{display:grid;place-items:center;height:100%;color:#7ab9c3;font-size:100px;font-weight:300}
.hh3-index-card__content{display:flex;flex-direction:column;gap:14px;min-width:0;padding:25px 27px;border-top:7px solid var(--hh3-blue)}
.hh3-index-card--2 .hh3-index-card__content{border-top-color:var(--hh3-yellow)}
.hh3-index-card--3 .hh3-index-card__content{border-top-color:var(--hh3-pink)}
.hh3-index-card--4 .hh3-index-card__content{border-top-color:var(--hh3-lime)}
.hh3-index-card__meta{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#707074}
.hh3-index-card__content strong{color:var(--hh3-ink);font:700 25px/1.15 "Playfair Display",Georgia,serif}
.hh3-index-card__summary{color:#626266;font-size:13px;line-height:1.6}
.hh3-index-card__action{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:8px;color:var(--hh3-ink);font-size:12px;font-weight:700}
.hh3-index-card__action b{font-size:21px}
.hh3-empty{grid-column:1/-1;font-size:15px}
.hh3-index-join,.hh3-detail-next{padding:65px 0;background:#f7e9ee}
.hh3-index-join__grid,.hh3-detail-next__grid{display:flex;justify-content:space-between;align-items:center;gap:35px}
.hh3-index-join h2,.hh3-detail-next h2{max-width:660px;margin:0;color:var(--hh3-ink);font:700 clamp(29px,3vw,43px)/1.15 "Playfair Display",Georgia,serif}
.hh3-index-join__actions{display:flex;flex-direction:column;align-items:start;gap:18px}
.hh3-detail-hero{padding:72px 0 85px;background:#fff}
.hh3-detail-hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:65px;align-items:center}
.hh3-detail-hero__copy{min-width:0}
.hh3 .hh3-back{display:inline-block;margin-bottom:35px}
.hh3-detail-hero h1{margin:0;color:var(--hh3-ink);font:700 clamp(42px,4.5vw,68px)/1.08 "Playfair Display",Georgia,serif;letter-spacing:-.045em}
.hh3-detail-hero__summary{max-width:625px;margin:23px 0 29px;color:#636368;font-size:16px;line-height:1.72}
.hh3-detail-hero__media{position:relative;isolation:isolate;min-width:0;min-height:365px;margin:0}
.hh3-detail-hero__media:before,.hh3-family-hero__photo:before{content:"";position:absolute;z-index:-1;right:-12px;top:-14px;width:55%;height:65%;border-radius:18px;background:var(--hh3-blue)}
.hh3-detail-hero__media:after,.hh3-family-hero__photo:after{content:"";position:absolute;z-index:-1;left:-12px;bottom:-13px;width:42%;height:38%;border-radius:18px;background:var(--hh3-yellow)}
.hh3-detail-hero__media>img{display:block;width:100%;height:365px;border-radius:17px;object-fit:cover;background:#f4f4f0}
.hh3-detail-hero__identity{display:grid;place-items:center;width:100%;height:365px;border-radius:17px;background:#f4f6f3}
.hh3-detail-hero__identity img{max-width:210px;max-height:210px;object-fit:contain}
.hh3-detail-hero__media figcaption,.hh3-family-hero__photo figcaption{position:absolute;left:15px;bottom:15px;padding:6px 11px;border-radius:9px;background:rgba(255,255,255,.9);color:#494949;font-size:11px}
.hh3-detail-description{padding:85px 0 100px;background:#f8f9f6}
.hh3-detail-description__grid{display:grid;grid-template-columns:minmax(0,.35fr) minmax(0,.65fr);gap:70px;align-items:start}
.hh3-detail-aside h2{margin:0;color:var(--hh3-ink);font:700 clamp(29px,3vw,42px)/1.15 "Playfair Display",Georgia,serif}
.hh3-detail-aside>p:not(.hh3-eyebrow){font-size:14px;line-height:1.7;color:#626266;margin:18px 0}
.hh3-detail-article{min-width:0;border-left:2px solid var(--hh3-yellow);padding-left:33px;color:#55555a;font-size:16px;line-height:1.78}
.hh3-detail-article>p:first-child{margin-top:0}
.hh3-detail-article h2,.hh3-gallery h2{color:var(--hh3-ink);font:700 clamp(28px,2.5vw,39px)/1.15 "Playfair Display",Georgia,serif}
.hh3-detail-topics{margin:48px 0 0}
.hh3-detail-topics h3{margin-bottom:20px;color:var(--hh3-ink);font:700 30px/1.15 "Playfair Display",Georgia,serif}
.hh3-detail-topics__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hh3-detail-topics__grid>a{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:175px;padding:17px 16px;border-radius:13px;background:#fff;border-top:5px solid var(--hh3-blue);text-decoration:none!important}
.hh3-detail-topics__grid>a:nth-child(2){border-top-color:var(--hh3-yellow)}
.hh3-detail-topics__grid>a:nth-child(3){border-top-color:var(--hh3-pink)}
.hh3-detail-topics__grid>a span{font-size:10px;color:#888}
.hh3-detail-topics__grid>a strong{color:var(--hh3-ink);font:700 22px/1.15 "Playfair Display",Georgia,serif}
.hh3-detail-topics__grid>a small{color:#666;font-size:12px;line-height:1.55}
.hh3-gallery{margin:55px 0 0}
.hh3-gallery__head>p:last-child{font-size:14px;margin-bottom:24px}
.hh3-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.hh3-gallery__item{position:relative;display:block;overflow:hidden;aspect-ratio:1/1.05;min-width:0;padding:0;border:0;border-radius:13px;cursor:pointer;background:#e9f2ed}
.hh3-gallery__item>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.hh3-gallery__item:hover>img{transform:scale(1.04)}
.hh3-gallery__item>span{position:absolute;right:8px;bottom:8px;border-radius:9px;padding:6px 9px;color:#393939;background:rgba(255,255,255,.9);font-size:10px}
.hh3-lightbox{width:min(94vw,1100px);max-width:1100px;max-height:95vh;overflow:auto;padding:52px 18px 20px;border:0;border-radius:15px;background:#1d1e21;color:#fff}
.hh3-lightbox::backdrop{background:rgba(16,17,19,.90)}
.hh3-lightbox__close{position:absolute;top:12px;right:17px;z-index:1;background:none;color:#fff;border:0;font-size:31px;cursor:pointer}
.hh3-lightbox__figure{display:grid;grid-template-columns:43px minmax(0,1fr) 43px;align-items:center;gap:10px}
.hh3-lightbox__figure img{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;margin:auto;object-fit:contain}
.hh3-lightbox__nav{display:grid;place-items:center;width:40px;height:45px;border:1px solid #777;border-radius:8px;color:#fff;background:#333;cursor:pointer}
.hh3-lightbox__count{text-align:center;color:#fff;font-size:12px;margin:18px 0 0}
.hh3-family .family-hero{position:relative;overflow:hidden;padding:72px 0 85px;background:#fff;color:#3f3f41}
.hh3-family .family-hero:before,.hh3-family .family-hero:after{content:"";position:absolute;z-index:0;width:64px;height:64px;pointer-events:none;background-size:contain;background-repeat:no-repeat}
.hh3-family .family-hero:before{top:42px;right:5%;background-image: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'/%3E%3C/svg%3E")}
.hh3-family .family-hero:after{bottom:20px;left:46%;width:46px;height:46px;background-image: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'/%3E%3C/svg%3E")}
.hh3-family .family-hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:65px}
.hh3-family .family-hero h1{color:#3f3f41;font-size:clamp(42px,4.4vw,65px);line-height:1.1}
.hh3-family .family-hero h1 em{color:#cd779b}
.hh3-family .family-hero p:not(.eyebrow){color:#67676a;font-size:16px;line-height:1.7}
.hh3-family-hero__photo{position:relative;isolation:isolate;margin:0}
.hh3-family-hero__photo img{display:block;width:100%;height:365px;object-fit:cover;border-radius:17px;background:#f4f4f0}
.hh3-family-hero__photo .hh3-family-hero__logo{object-fit:contain;padding:70px}
.hh3-family .family-info{background:#f7f8f6}
.hh3-family .family-steps>div{border-radius:13px}
.hh3-family .family-form-section{background:#fff}
.hh3-family .family-form-section .form-section__intro h2{color:#3f3f41}
.hh3-family .family-form-section .site-form--dark{border-radius:15px}
@media(max-width:1100px){.hh3-index-card__link{grid-template-columns:1fr}.hh3-index-card__media{height:240px;min-height:240px}.hh3-detail-description__grid{gap:40px}}
@media(max-width:760px){.hh3-list-hero{width:calc(100% - 24px);min-height:550px;margin-top:12px;border-radius:14px}.hh3-list-hero__shade{background:linear-gradient(90deg,rgba(24,35,34,.87),rgba(24,35,34,.48))}.hh3-list-hero__content{padding-top:70px;padding-bottom:70px}.hh3-list-hero h1{font-size:clamp(39px,9vw,56px)}.hh3-list-hero__content>p:not(.hh3-eyebrow){font-size:14px}.hh3-index-section,.hh3-detail-description{padding:65px 0}.hh3-index-grid,.hh3-detail-hero__grid,.hh3-detail-description__grid,.hh3-family .family-hero__grid{grid-template-columns:1fr;gap:27px}.hh3 .hh3-section-heading,.hh3-index-join__grid,.hh3-detail-next__grid{flex-direction:column;align-items:start;gap:20px}.hh3-index-join,.hh3-detail-next{padding:57px 0}.hh3-detail-hero{padding:60px 0}.hh3-detail-hero__media>img,.hh3-detail-hero__identity{height:260px}.hh3-detail-hero__media{min-height:260px}.hh3-detail-article{padding-left:0;border-left:0;border-top:2px solid var(--hh3-yellow);padding-top:23px}.hh3-detail-topics__grid{grid-template-columns:1fr}.hh3-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hh3-family .family-hero{padding:60px 0}.hh3-family-hero__photo img{height:270px}.hh3-family .family-hero:before{top:15px;right:15px;width:38px;height:38px}.hh3-family .family-hero:after{right:15px;left:auto;bottom:15px;width:30px;height:30px}}
@media(max-width:410px){.hh3-gallery__grid{grid-template-columns:1fr}.hh3-lightbox__figure{grid-template-columns:28px minmax(0,1fr) 28px;gap:4px}.hh3-lightbox__nav{width:27px;height:40px}.hh3-index-card__content{padding:21px}}
@media(prefers-reduced-motion:reduce){.hh3-index-card,.hh3-gallery__item>img,.hh3 .hh3-button{transition:none!important}}
