/* Catedral Anglicana de São Paulo — V1.0.3
   Acessibilidade de leitura, Instituto Anglicano e galeria de fotografias.
   Tamanho base editável: Aparencia.FonteBase em dc_site_configuracao. */
:root{--reader-text:#373047;--reader-muted:#605971}
body{font-size:var(--fonte-base,18px);line-height:1.75;overflow-wrap:break-word}
.intro-copy p,.section-heading>p,.rich-copy p,.community-text>p,.news-card p,.contact-details p,.contact-form-panel p,.centered p{font-size:max(1rem,17px);line-height:1.82}
.utility{font-size:12px;min-height:44px;height:auto}
.utility-inner{min-height:44px}
.utility-welcome,.utility-right a{font-size:12px}
.nav-shell{gap:17px}
.main-nav{gap:15px}
.main-nav>a{font-size:13px;white-space:nowrap}
.main-nav>a.nav-contact{padding:12px 15px;gap:11px}
.brand-name{font-size:28px}
.brand-name small{font-size:10px}
.hero-eyebrow{font-size:12px}
.hero-copy>p{font-size:clamp(17px,1.35vw,20px);max-width:610px;line-height:1.75}
.hero-heritage{font-size:12px}
.hero-welcome>span{font-size:12px}
.hero-welcome>a{font-size:14px}
.hero-caption{font-size:13px}
.btn{font-size:14px;min-height:55px;line-height:1.45}
.strip-small,.strip-detail small,.section-kicker,.worship-card-top,.worship-tag,.quote-prelude,.image-label span,.news-meta,.faith-card-index{font-size:12px}
.strip-detail strong{font-size:14px}
.service-strip-intro strong{font-size:30px}
.section-heading>p{max-width:475px}
.intro-copy p.lead{font-size:20px}
.news-card h3{font-size:clamp(26px,2.4vw,34px)}
.news-more,.text-link{font-size:15px}
.footer-col,.footer-col p,.footer-col>a,.footer-bottom{font-size:14px;line-height:1.85}
.footer-col h4{font-size:17px}
.footer-col .footer-email{overflow-wrap:anywhere}
.contact-form-panel label,.contact-form-panel input,.contact-form-panel textarea,.contact-form-panel select{font-size:16px}
/* Seções do Instituto, conectadas à missão da Catedral */
.institute-feature{background:#fff;position:relative;overflow:hidden}
.institute-feature:after{position:absolute;content:"";right:-110px;bottom:-180px;width:390px;height:390px;border:1px solid #d9cbea;border-radius:50%;pointer-events:none}
.institute-feature-grid{display:grid;grid-template-columns:.94fr 1fr;align-items:center;gap:clamp(40px,6.7vw,110px)}
.institute-feature-photo{position:relative;height:590px;min-width:0;border-radius:4px 240px 4px 4px;overflow:hidden}
.institute-feature-photo>img{height:100%;width:100%;object-fit:cover;object-position:center}
.institute-photo-stamp{position:absolute;bottom:0;left:0;right:0;padding:21px 25px;background:linear-gradient(90deg,rgba(30,19,67,.94),rgba(30,19,67,.57));color:#fff;font-size:12px;letter-spacing:.10em;font-weight:700}
.institute-feature-copy{padding:15px 0;position:relative;z-index:1}
.institute-logo{max-height:129px;width:auto;object-fit:contain;object-position:left;margin:24px 0 23px}
.institute-feature h2{font-size:clamp(45px,4.7vw,74px);line-height:1.06;color:var(--brand);max-width:630px;margin:0 0 23px}
.institute-feature-copy>p{font-size:19px;line-height:1.84;max-width:640px;color:var(--reader-muted);margin:0 0 31px}
.institute-actions{display:flex;align-items:center;gap:23px;flex-wrap:wrap}
.institute-actions>.text-link{white-space:normal}
/* A fotografia identifica o edifício da Catedral, não as creches. */
.institute-page-hero{--page-image:url('/images/entrada-catedral.webp')}
.institute-introduction{background:#fff}
.institute-introduction-grid{display:grid;grid-template-columns:.70fr 1.30fr;gap:clamp(35px,7vw,135px);align-items:center}
.institute-brand-card{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:510px;background:linear-gradient(165deg,#f7f2fb,#fff9f7);border:1px solid #e6ddea;border-radius:260px 260px 8px 8px;padding:40px 45px;gap:30px;box-shadow:0 20px 60px #21175208}
.institute-brand-card img{max-height:260px;max-width:65%;width:auto;object-fit:contain}
.institute-brand-card span{font-weight:800;font-size:12px;color:var(--accent);letter-spacing:.12em;text-align:center}
.institute-introduction-copy h2{font-size:clamp(46px,4.5vw,68px);line-height:1.08;color:var(--brand);margin:20px 0 27px}
.institute-introduction-copy p{font-size:18px;color:var(--reader-muted);line-height:1.85}
.institute-introduction-copy .lead{font-size:21px;color:#352b51}
.institute-centres{background:var(--violet-light)}
.centres-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;margin-top:42px}
.centre-card{padding:38px 25px 32px;background:#fff;border:1px solid #e4dcea;border-top:4px solid var(--accent);min-height:250px;box-shadow:0 16px 40px #26174e0b;transition:transform .2s}
.centre-card:hover{transform:translateY(-5px)}
.centre-card>span{font-weight:800;color:var(--accent);letter-spacing:.14em;font-size:12px}
.centre-card h3{font-size:clamp(26px,2.2vw,33px);line-height:1.10;color:var(--brand);margin:21px 0}
.centre-card p{font-size:15px;color:var(--reader-muted);margin:0}
.institute-centres-cta{border-top:1px solid #d6cce5;margin-top:38px;padding-top:25px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.institute-centres-cta p{max-width:650px;color:var(--reader-muted);font-size:16px;margin:0}
.institute-bottom{padding:87px 0;background:linear-gradient(108deg,#221855,#4a267d);color:#fff;text-align:center}
.institute-bottom span{font-size:12px;letter-spacing:.18em;color:#f0b8c1;font-weight:800}
.institute-bottom h2{font-size:clamp(42px,5vw,66px);max-width:780px;margin:15px auto 28px}
/* Fotografias da Catedral: seções compactas e galeria completa */
.gallery-home{background:#faf7fa}
.gallery-home-heading{align-items:end}
.gallery-home-grid{display:grid;grid-template-columns:1.35fr .82fr .82fr;gap:17px;margin-top:32px}
.gallery-home-item{min-height:380px;position:relative;display:block;overflow:hidden;background:#201747;border-radius:3px}
.gallery-home-item img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .4s}
.gallery-home-item:hover img{transform:scale(1.04)}
.gallery-home-item:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(0deg,rgba(23,13,48,.89),transparent);pointer-events:none}
.gallery-home-item>span{position:absolute;bottom:25px;left:23px;right:23px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#fff;font-weight:700;font-size:16px;line-height:1.35;z-index:1}
.gallery-home-item>span span{color:#ff9eac;font-size:20px}
.gallery-page{background:#fff}
.gallery-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:36px}
.gallery-photo{margin:0;min-width:0;border:1px solid #e9e0ed;box-shadow:0 12px 35px #27165a0c;background:#fff}
.gallery-photo img{width:100%;height:310px;object-fit:cover;object-position:center}
.gallery-photo figcaption{font-size:16px;font-weight:700;line-height:1.45;color:var(--brand);padding:17px 19px 22px}
/* Desktop compacto: maior legibilidade sem apertar o menu */
@media(max-width:1260px){
  .nav-shell{height:96px}
  .menu-toggle{display:block;z-index:5}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100vh - 96px);overflow:auto;background:#fffdfb;box-shadow:0 18px 35px #0002;padding:18px 28px 28px;flex-direction:column;align-items:stretch;gap:4px}
  .main-nav.open{display:flex}
  .main-nav>a{font-size:17px;padding:11px 5px}
  .main-nav>a.nav-contact{display:flex;justify-content:space-between;padding:14px 17px;margin-top:4px}
  .utility-right{gap:14px}
}
@media(max-width:1000px){
  .institute-feature-grid{grid-template-columns:1fr 1.1fr;gap:38px}
  .institute-feature-photo{height:540px}
  .centres-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-home-grid{grid-template-columns:1fr 1fr}
  .gallery-home-item-large{grid-column:1/-1;min-height:350px}
  .gallery-home-item{min-height:280px}
}
@media(max-width:760px){
  .utility-welcome,.utility-right a{font-size:11px}
  .section-pad{padding:74px 0}
  .hero-copy>p{font-size:17px}
  .hero-heritage{font-size:11px}
  .btn{font-size:15px}
  .strip-detail strong{font-size:14px}
  .institute-feature-grid,.institute-introduction-grid{grid-template-columns:1fr}
  .institute-feature-photo{height:350px;border-radius:5px 160px 5px 5px}
  .institute-logo{max-height:112px}
  .institute-feature h2{font-size:clamp(41px,9vw,58px)}
  .institute-feature-copy>p{font-size:17px}
  .institute-brand-card{min-height:290px;border-radius:170px 170px 8px 8px}
  .institute-brand-card img{max-height:170px}
  .centres-grid{grid-template-columns:1fr}
  .centre-card{min-height:unset}
  .institute-centres-cta{flex-direction:column;align-items:start}
  .gallery-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .gallery-photo img{height:230px}
  .gallery-photo figcaption{font-size:15px}
  .footer-col,.footer-col p,.footer-col>a,.footer-bottom{font-size:14px}
}
@media(max-width:480px){
  .nav-shell{height:81px}
  .main-nav{max-height:calc(100vh - 81px)}
  .brand-name{font-size:19px}
  .brand-name small{font-size:9px}
  .hero h1{font-size:clamp(43px,10vw,56px)}
  .hero-eyebrow{font-size:11px;letter-spacing:.08em}
  .hero-copy>p{font-size:17px}
  .hero-welcome{display:none}
  .gallery-home-grid{grid-template-columns:1fr}
  .gallery-home-item-large{grid-column:auto}
  .gallery-home-item{min-height:285px}
  .gallery-photo-grid{grid-template-columns:1fr}
  .gallery-photo img{height:280px}
  .gallery-photo figcaption{font-size:17px}
  .institute-feature-photo{height:280px}
  .institute-photo-stamp{font-size:10px}
  .institute-introduction-copy h2{font-size:42px}
  .institute-actions{align-items:flex-start;flex-direction:column;gap:22px}
}
