*{box-sizing:border-box}body{margin:0;font-family:Georgia,'Times New Roman',serif;color:#0c2d68;background:#fff}a{text-decoration:none;color:inherit}.site-header{height:82px;display:flex;align-items:center;padding:0 5%;gap:32px;background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 1px 8px #001a3d18}.brand{display:flex;align-items:center;gap:12px;min-width:270px}.brand .mark{font-size:42px;color:#c89524}.brand strong,.brand small{display:block;letter-spacing:2px;font-size:10px}.brand b{display:block;font-size:21px;line-height:1}.site-header nav{display:flex;gap:19px;flex:1;justify-content:center;font-size:14px}.site-header nav a:hover{color:#c89524}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:28px;font-weight:bold}.gold{background:linear-gradient(90deg,#b98516,#d9ad49);color:#fff}.blue{background:#0a4d8e;color:#fff}.light{background:#fff;color:#0c2d68}.outline{border:1px solid #c89524;color:#8b6310}.hero{min-height:520px;background:linear-gradient(90deg,#082649dd 0 42%,#08264944),radial-gradient(circle at 75% 35%,#e4af4f 0 8%,transparent 9%),linear-gradient(135deg,#0a3764,#c28d37);display:flex;align-items:center;color:#fff}.hero-overlay{padding:70px 9%;max-width:760px}.eyebrow{letter-spacing:4px;font-size:12px;font-weight:bold}.hero h1{font-size:62px;line-height:.95;margin:16px 0}.hero p{font-size:20px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.container{width:min(1200px,92%);margin:auto}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:-45px 0 55px;position:relative}.quick article,.cards article{background:#fff;border:1px solid #e4e9f1;border-radius:12px;padding:22px;box-shadow:0 8px 25px #15345a12}.quick span,.icon{font-size:34px;color:#c89524}.section-title{display:flex;justify-content:space-between;align-items:end;margin:55px 0 22px}.section-title h2{font-size:34px;margin:5px 0}.blue-txt{color:#c89524}.cards{display:grid;gap:16px}.four{grid-template-columns:repeat(4,1fr)}.five{grid-template-columns:repeat(5,1fr)}.three{grid-template-columns:repeat(3,1fr)}.fake-photo{height:170px;border-radius:9px;background:linear-gradient(135deg,#0c4675,#e7b65b);position:relative;overflow:hidden}.fake-photo:after{content:'✝';position:absolute;inset:0;display:grid;place-items:center;font-size:62px;color:#fff8;text-shadow:0 4px 18px #0006}.p2{background:linear-gradient(135deg,#8da977,#f8f0d3)}.p3{background:linear-gradient(135deg,#d1a45e,#7aa0b8)}.p4{background:linear-gradient(135deg,#b87046,#335e75)}.p5{background:linear-gradient(135deg,#071f51,#e1ad38)}.p6{background:linear-gradient(135deg,#eee1c2,#c68f27)}.p7{background:linear-gradient(135deg,#66996d,#deb054)}.p8,.p9,.p10,.p11{height:220px}.soft{background:#f5f8fc;margin:55px -4vw;padding:10px 4vw 45px}.events{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.events article{display:flex;gap:18px;border:1px solid #e3e8f0;border-radius:12px;padding:18px}.events b{color:#c89524;font-size:18px}.events h3,.events p{margin:0 0 7px}.news small{color:#c89524}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.contact{margin:65px 0;background:#063969;color:#fff;border-radius:18px;padding:42px;display:flex;justify-content:space-between;align-items:center}.footer{background:#062f58;color:#fff;padding:35px 5%;display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.footer p{color:#d9e4ef}.empty{text-align:center;padding:120px}.login-body{min-height:100vh;background:linear-gradient(120deg,#052847 0 48%,#d2a449 100%);display:grid;place-items:center}.login-shell{width:min(1100px,94%);display:grid;grid-template-columns:1fr 1fr;min-height:720px;background:#ffffff10;border-radius:24px;overflow:hidden}.login-art{padding:55px;color:#fff;background:linear-gradient(#062b4a77,#062b4add),linear-gradient(135deg,#0b4d7d,#d8ae55);display:flex;flex-direction:column;justify-content:space-between}.brand.big b{font-size:28px}.login-art blockquote{font-size:28px;font-style:italic}.login-art small{display:block}.login-card{background:#fff;padding:70px 65px;text-align:center;display:flex;flex-direction:column;justify-content:center}.cross{font-size:32px;color:#c89524}.login-card h1{font-size:42px;margin:14px 0}.login-card p{color:#61708a}.login-card form{text-align:left}.login-card label{display:block;font-weight:bold;margin:18px 0}.login-card input{width:100%;padding:16px;border:1px solid #ccd6e4;border-radius:8px;margin-top:7px;font-size:15px}.full{width:100%;border:0;margin-top:12px;cursor:pointer}.demo-note{margin-top:25px;background:#f7f1e4;padding:16px;border-radius:10px}.alert{background:#ffe8e8;color:#9a1c1c;padding:12px;border-radius:8px}@media(max-width:900px){.site-header nav{display:none}.site-header{height:auto;padding:14px 4%;flex-wrap:wrap}.site-header .btn{margin-left:auto}.hero h1{font-size:48px}.quick,.four,.five,.three,.events,.gallery{grid-template-columns:1fr 1fr}.login-shell{grid-template-columns:1fr}.login-art{display:none}.footer{grid-template-columns:1fr}}@media(max-width:580px){.brand{min-width:0}.brand b{font-size:16px}.hero{min-height:600px}.hero-overlay{padding:50px 6%}.hero h1{font-size:44px}.quick{margin:20px 0}.quick,.four,.five,.three,.events,.gallery{grid-template-columns:1fr}.contact{flex-direction:column;align-items:flex-start;gap:20px}.login-card{padding:40px 24px}.login-card h1{font-size:34px}}/* FASE 02 — acabamento visual aprovado */
.photo-hero,.page-hero{background-size:cover;background-position:center;position:relative}.photo-hero:before,.page-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#052a50e8 0 45%,#052a5066 72%,#052a5015)}.photo-hero>* ,.page-hero>*{position:relative;z-index:1}.hero-home{background-image:url('../img/demo/hero-home.jpg')}.page-hero{min-height:300px;color:#fff;display:flex;align-items:center;padding:50px max(6%,calc((100% - 1200px)/2))}.page-hero>div{max-width:700px}.page-hero h1{font-size:52px;line-height:1;margin:8px 0 14px}.page-hero p{font-size:18px;max-width:620px}.hero-communities{background-image:url('../img/demo/hero-communities.jpg')}.hero-pastorals{background-image:url('../img/demo/hero-pastorals.jpg')}.hero-sacraments{background-image:url('../img/demo/hero-sacraments.jpg')}.hero-agenda{background-image:url('../img/demo/hero-agenda.jpg')}.hero-news{background-image:url('../img/demo/hero-news.jpg')}.hero-gallery{background-image:url('../img/demo/hero-gallery.jpg')}.hero-contact{background-image:url('../img/demo/hero-contact.jpg')}.text-link{display:inline-block;margin-top:8px;color:#a66f06;font-weight:bold}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;padding-top:44px;padding-bottom:60px}.detail-layout h2{font-size:30px;margin-top:32px}.side-card{background:#fff;border:1px solid #e1e7ef;border-radius:16px;padding:25px;box-shadow:0 10px 30px #14385a12;margin:0 0 18px;align-self:start}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.info-grid article{border:1px solid #e1e7ef;border-radius:12px;padding:18px;background:#f9fbfe}.member-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.member-grid article{display:flex;gap:12px;align-items:center;border:1px solid #e1e7ef;border-radius:12px;padding:14px}.avatar{width:46px;height:46px;border-radius:50%;background:#0c4f88;color:#fff;display:grid;place-items:center;font-size:20px;font-weight:bold}.member-grid small{display:block;color:#718098}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.steps span{background:#f6f9fd;border:1px solid #dfe7f0;border-radius:12px;padding:18px;font-weight:bold}.faq details{border-bottom:1px solid #e2e8f0;padding:13px 0}.faq summary{cursor:pointer;font-weight:bold}.filter-chips{display:flex;gap:10px;flex-wrap:wrap;padding:30px 0 0}.filter-chips span{border:1px solid #d9b458;border-radius:30px;padding:9px 15px;background:#fff}.event-list{display:grid;gap:12px;padding-bottom:60px}.event-list article{display:flex;gap:18px;border:1px solid #e1e7ef;border-radius:14px;padding:16px;background:#fff}.date-box{width:74px;min-width:74px;border-radius:12px;background:#fff2d4;color:#8d6208;text-align:center;padding:10px}.date-box b{display:block;font-size:28px}.date-box small{font-weight:bold}.news-grid{padding:40px 0 60px}.article-page{padding-top:45px;padding-bottom:70px;max-width:850px}.article-date{color:#8a98aa}.article-content{font-size:18px;line-height:1.8;color:#243c61}.contact-grid{display:grid;grid-template-columns:1fr 380px;gap:25px;padding-top:45px;padding-bottom:70px}.form-card{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#fff;border:1px solid #e1e7ef;border-radius:16px;padding:22px}.form-card label{font-weight:bold;display:flex;flex-direction:column;gap:7px}.form-card input,.form-card textarea{border:1px solid #cbd7e5;border-radius:8px;padding:13px;font:inherit}.form-card .wide{grid-column:1/-1}.success{background:#e6f7ec;color:#237741;border-radius:9px;padding:12px;margin-bottom:12px}.brand{color:#0c2d68}.footer a{color:#fff}.login-body{background-image:linear-gradient(90deg,#052b50ee,#052b5055),url('../img/demo/login-bg.jpg');background-size:cover;background-position:center}.login-shell{box-shadow:0 30px 80px #00162c55}.login-art{background:linear-gradient(#062b4a77,#062b4add),url('../img/demo/hero-home.jpg');background-size:cover;background-position:center}.login-card{border-radius:0}.demo-note{font-size:13px}
@media(max-width:900px){.detail-layout,.contact-grid{grid-template-columns:1fr}.info-grid,.steps{grid-template-columns:1fr 1fr}.page-hero h1{font-size:42px}.side-card{position:static}.member-grid{grid-template-columns:1fr}}
@media(max-width:580px){.info-grid,.steps,.form-card{grid-template-columns:1fr}.form-card .wide{grid-column:auto}.page-hero{min-height:260px}.page-hero h1{font-size:36px}}

/* FASE 02B R3 — fotos reais com fallback das imagens ilustrativas aprovadas */
.real-photo{height:170px;border-radius:9px;overflow:hidden;background:#edf2f7}.real-photo img{width:100%;height:100%;object-fit:cover;display:block}.entity-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 34px}.entity-gallery a{display:block;aspect-ratio:4/3;border-radius:12px;overflow:hidden;border:1px solid #e1e7ef;background:#eef3f8}.entity-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.entity-gallery a:hover img{transform:scale(1.025)}.article-cover{width:100%;max-height:520px;object-fit:cover;border-radius:16px;margin:0 0 28px;border:1px solid #e1e7ef}.card-cover{height:150px;margin:-22px -22px 18px;border-radius:12px 12px 0 0;overflow:hidden;background:#edf2f7}.card-cover img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:700px){.entity-gallery{grid-template-columns:1fr 1fr}}@media(max-width:480px){.entity-gallery{grid-template-columns:1fr}}

/* FASE 02B R4 — imagens padronizadas + carrossel de comunidade */
.image-card .real-photo,.news-grid .real-photo{aspect-ratio:16/10;height:auto}.card-cover{aspect-ratio:16/9;height:auto;max-height:190px}.community-carousel{position:relative;margin:18px 0 34px;overflow:hidden;border-radius:16px;background:#eef3f8}.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.carousel-track::-webkit-scrollbar{display:none}.carousel-track>a{min-width:100%;aspect-ratio:16/9;scroll-snap-align:start;display:block}.carousel-track img{width:100%;height:100%;object-fit:cover;display:block}.carousel-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#123a68;font-size:30px;cursor:pointer;box-shadow:0 5px 18px #001b3550}.carousel-btn.prev{left:12px}.carousel-btn.next{right:12px}@media(max-width:580px){.carousel-btn{width:38px;height:38px;font-size:25px}}

/* FASE 02B R5 — imagens limpas, responsividade e fim do scroll horizontal */
html,body{max-width:100%;overflow-x:hidden}.site-header{padding-left:3%;padding-right:3%;gap:16px}.site-header .brand{min-width:230px}.site-header nav{gap:12px;font-size:13px;min-width:0}.site-header nav a{white-space:nowrap}.page-hero:before{background:linear-gradient(90deg,#052a50e8 0 42%,#052a5075 68%,#052a5025)}
.hero-communities{background-image:url('../img/demo/cards/hero-clean-church.jpg')}.hero-pastorals{background-image:url('../img/demo/cards/hero-clean-pastoral.jpg')}.hero-sacraments{background-image:url('../img/demo/cards/hero-clean-sacrament.jpg')}.hero-agenda{background-image:url('../img/demo/cards/hero-clean-agenda.jpg')}.hero-news{background-image:url('../img/demo/cards/hero-clean-news.jpg')}.hero-gallery{background-image:url('../img/demo/cards/hero-clean-gallery.jpg')}.hero-contact{background-image:url('../img/demo/cards/hero-clean-contact.jpg')}.hero-custom{background-size:cover;background-position:center;position:relative}.hero-custom:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#052a50ed 0 43%,#052a5070 69%,#052a501c)}.hero-custom>*{position:relative;z-index:1}
.community-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.community-cards article{min-width:0;padding:0 0 18px;overflow:hidden}.community-cards .real-photo{border-radius:12px 12px 0 0;aspect-ratio:4/3;height:auto}.community-cards h3,.community-cards p,.community-cards .text-link,.community-cards .card-eyebrow{margin-left:16px;margin-right:16px}.card-eyebrow{display:block;color:#a97813;margin-top:14px;font-size:10px}.pastoral-public-grid article{min-width:0}.pastoral-public-grid .btn{margin-top:10px}.sacrament-public-grid article{display:grid;grid-template-columns:110px auto;column-gap:14px;align-items:start}.sacrament-card-photo{grid-row:1/6;width:110px;aspect-ratio:3/4;overflow:hidden;border-radius:9px;background:#eef3f8}.sacrament-card-photo img{width:100%;height:100%;object-fit:cover}.sacrament-public-grid .icon{font-size:24px}.sacrament-public-grid h3{margin:0 0 6px}.sacrament-public-grid p{margin:0 0 10px}.sacrament-public-grid .btn{justify-self:start;padding:9px 14px}.sacrament-detail-illustration{width:min(380px,100%);max-height:430px;object-fit:cover;border-radius:14px;margin:10px 0 26px}.gallery-cards article{min-width:0}
@media(max-width:1180px){.site-header nav{display:none}.community-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.community-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sacrament-public-grid article{grid-template-columns:90px auto}.sacrament-card-photo{width:90px}}
@media(max-width:580px){.community-cards{grid-template-columns:1fr}.sacrament-public-grid article{grid-template-columns:82px auto}.sacrament-card-photo{width:82px}.site-header .brand{min-width:0}}
/* FASE 02B-R6 — refinamentos solicitados */
.hero-home .hero-overlay{max-width:680px;background:linear-gradient(90deg,rgba(5,35,71,.78),rgba(5,35,71,.18));border-radius:0 28px 28px 0;padding-right:55px}.hero-home .hero-overlay:after{display:none}.hero-home h1{letter-spacing:-1px}.tithe-cta{margin:15px 0 55px;padding:30px 34px;border-radius:18px;background:linear-gradient(120deg,#082f5c,#0d4f8a);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}.tithe-cta h2{font-size:34px;margin:7px 0}.tithe-cta p{margin:0;max-width:720px;color:#e5eef8}.social-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.social-links a{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #ffffff35;border-radius:999px;font-size:12px}.social-links a span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0b3a68;font-size:9px;font-weight:bold}.error-public{background:#fff0f0;color:#8a2630;border-radius:9px;padding:12px;margin-bottom:12px}.form-card select{border:1px solid #cbd7e5;border-radius:8px;padding:13px;font:inherit;background:#fff}
@media(max-width:700px){.tithe-cta{align-items:flex-start;flex-direction:column}.hero-home .hero-overlay{border-radius:0;padding-right:8%}}
.real-photo{height:180px;overflow:hidden;background:#eef3f8}.real-photo img{width:100%;height:100%;object-fit:cover;display:block}.pastoral-home-card .real-photo{height:160px}.event-list article{display:grid;grid-template-columns:auto auto 1fr;align-items:start}.event-list article:not(:has(.event-cover)){grid-template-columns:auto 1fr}.event-cover{width:180px;height:120px;border-radius:12px;overflow:hidden}.event-cover img{width:100%;height:100%;object-fit:cover}.event-list .date-box{grid-column:auto}.event-list article>div:last-child{min-width:0}
@media(max-width:650px){.event-list article,.event-list article:not(:has(.event-cover)){grid-template-columns:auto 1fr}.event-cover{grid-column:1/-1;width:100%;height:190px}}
