/* EKKLESIA V47 — ajustes aprovados para celular e desktop.
   Limita a alteração às três áreas: home, Culto Raízes (hub), Formação (hub). */
:root{--v47-deep:#092c36;--v47-deeper:#051d27;--v47-gold:#c9954b;--v47-cream:#f5f1eb}

/* 01 — DNA em Atos 4:32; preservar logo original, hierarquia e outras seções. */
.home-v37 #hero-title{max-width:12ch;text-wrap:balance}
.home-v37 #hero-title em{color:#e9c18a}

/* 02 — Comunidade: novo nome breve, com mais respiro. */
.home-v37 .v45-cinema-intro>span{color:#eac58c;font-size:.72rem;letter-spacing:.22em}

/* 03 — Galeria: texto bíblico substitui chamada publicitária. */
.home-v37 .v45-gallery-heading{display:block;max-width:1050px;margin-bottom:38px}
.v47-scripture-block{position:relative;max-width:960px;border-left:3px solid var(--v47-gold);padding-left:clamp(18px,3vw,34px)}
.v47-scripture-block .kicker{margin:0 0 14px;color:#99662c;font-size:.74rem;letter-spacing:.2em}
.home-v37 .v47-scripture-block h2{font-size:clamp(1.95rem,4.4vw,3.8rem);line-height:1.12;color:#103c48;margin:0 0 19px;letter-spacing:-.035em}
.v47-scripture-quote{font-family:'DM Sans',sans-serif;font-size:clamp(1.55rem,3.7vw,2.85rem);font-weight:500;line-height:1.38;color:#3f6069;margin:0;max-width:840px}

/* 04 — Caminhos de chegada: fotografias VERDADEIRAS, títulos curtos, altura contida. */
.home-v37 .home-bento{padding:90px 0 100px}
.home-v37 .home-bento-heading{max-width:790px;margin-bottom:34px}
.home-v37 .home-bento-heading .kicker{font-size:.72rem;letter-spacing:.17em}
.home-v37 .home-bento-heading h2{font-family:'Playfair Display',serif;font-size:clamp(2.4rem,5vw,4.3rem);line-height:1.12;margin:8px 0 12px;text-wrap:balance}
.home-v37 .home-bento-heading .v47-bento-lead{font-size:clamp(.98rem,1.45vw,1.12rem);color:#c5dcdf;line-height:1.65;max-width:660px;margin:0}
.home-v37 .home-bento-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;gap:14px}
.home-v37 .home-bento-grid > .home-bento-card{grid-column:auto!important;grid-row:auto!important;min-height:234px!important;padding:28px!important;border-radius:19px!important;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;position:relative;overflow:hidden;text-decoration:none}
.home-v37 .home-bento-card:before{display:none!important}
.home-v37 .home-bento-card:after{content:"";position:absolute;inset:0;z-index:-1!important;background:linear-gradient(90deg,rgba(1,24,31,.97) 0%,rgba(1,26,34,.91) 42%,rgba(1,26,34,.48) 100%)!important}
.home-v37 .home-bento-card .v47-card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;display:block;transition:transform .45s ease}
.home-v37 .home-bento-card:hover .v47-card-photo{transform:scale(1.04)}
.home-v37 .home-bento-card >div{position:relative;z-index:1;max-width:400px;margin:0}
.home-v37 .home-bento-card .bento-index{font-family:'DM Sans',sans-serif;font-size:.83rem;font-weight:800;color:#f1d09e!important;opacity:1}
.home-v37 .home-bento-card small{display:block;font-size:.66rem;letter-spacing:.16em;color:#efcb91!important}
.home-v37 .home-bento-card h3,.home-v37 .bento-start h3,.home-v37 .bento-about h3{font-family:'Playfair Display',serif;font-size:clamp(1.7rem,3vw,2.65rem)!important;line-height:1.15;margin:7px 0 8px;color:#fff!important;text-shadow:none}
.home-v37 .home-bento-card p{font-size:.91rem;line-height:1.55;max-width:350px;color:#dfebec!important;margin:0}
.home-v37 .home-bento-card>b{position:absolute;z-index:2;right:22px;top:21px;color:#f5d6a5;font-size:1.45rem}
.home-v37 .home-bento-card:focus-visible{outline:3px solid #f1c787;outline-offset:4px}

/* 05 — Culto Raízes: módulos que parecem estudos, não cartazes ilustrados. */
body.v39-subpage .roots-hub-visual.v47-roots-verse{
  min-height:305px;width:min(100%,390px);max-width:100%;padding:35px 30px;
  background:linear-gradient(145deg,rgba(16,72,84,.84),rgba(2,31,41,.86));
  border:1px solid rgba(235,204,149,.35);border-radius:22px;text-align:left;align-items:flex-start;
  box-shadow:0 28px 70px rgba(0,0,0,.16);overflow:hidden
}
.v47-roots-verse .v47-verse-eyebrow{font-weight:800;color:#ecca95;font-size:.75rem;letter-spacing:.2em}
.v47-roots-verse blockquote{position:relative;z-index:1;font-family:'Playfair Display',serif;font-size:clamp(1.3rem,2vw,1.75rem);line-height:1.45;color:#fff;margin:20px 0 0}
.v47-roots-verse .v47-roots-decoration{position:absolute;right:12px;bottom:-54px;font-size:15rem;color:rgba(221,194,153,.1);line-height:1}
body.v39-subpage #modulos .module-grid{gap:16px;align-items:stretch}
body.v39-subpage #modulos .module-tile.v47-roots-card{
  background:linear-gradient(147deg,#123e4a 0%,#082d39 60%,#062731 100%)!important;
  border:1px solid rgba(203,223,223,.24)!important;
  box-shadow:0 18px 55px rgba(3,31,39,.15)!important;
  border-radius:21px;min-height:290px;padding:28px;overflow:hidden;
  display:flex;flex-direction:column;text-decoration:none
}
body.v39-subpage #modulos .module-tile.v47-roots-card:before{content:"";display:block;position:absolute;right:-95px;top:-115px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(206,171,105,.14),transparent 69%);pointer-events:none}
body.v39-subpage #modulos .module-tile.v47-roots-card:hover{transform:translateY(-3px);box-shadow:0 25px 65px rgba(3,31,39,.22)!important;border-color:rgba(214,177,115,.62)!important}
body.v39-subpage #modulos .module-tile-top{order:0;align-items:center;gap:12px}
body.v39-subpage #modulos .module-index{width:auto;height:auto;border-radius:0;font-size:.79rem;letter-spacing:.14em;font-family:'DM Sans',sans-serif;color:#f3cc91!important;background:transparent!important;font-weight:800}
body.v39-subpage #modulos .module-status{font-size:.75rem;color:#cbdde0!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.13);padding:7px 10px}
body.v39-subpage #modulos .module-tile-body{order:1;margin-top:0;padding-top:24px}
body.v39-subpage #modulos .module-tile-body .eyebrow{color:#d4af76!important;font-size:.67rem;letter-spacing:.12em;margin:0 0 6px}
body.v39-subpage #modulos .module-tile-body h3{font-family:'Playfair Display',serif;font-size:clamp(1.85rem,3.1vw,2.7rem);color:#f9faf8!important;margin:8px 0 13px;line-height:1.17}
body.v39-subpage #modulos .module-tile-body>p:last-child{color:#d1e1e3!important;font-size:.94rem;line-height:1.65;margin:0}
body.v39-subpage #modulos .module-tile-footer{order:2;margin-top:auto;padding-top:21px;border-top:1px solid rgba(223,239,240,.2);color:#f1cb94!important;font-size:.92rem}
body.v39-subpage #modulos .module-tile-footer b{color:#f1cb94}
body.v39-subpage #modulos .roots-modules-heading h2{color:#123943;line-height:1.12}

/* 06 — Aulas: corrige conflito v39 (texto branco) x section.soft (fundo branco). */
body.v39-subpage .section.soft.aulas-hub{
  color:#163943!important;background:linear-gradient(160deg,#f7f5ef 0%,#f0f4f1 100%)!important;
  min-height:auto;padding:clamp(54px,7vw,92px) 0 100px!important;
  border-bottom:1px solid rgba(26,74,84,.10)
}
body.v39-subpage .aulas-hub:before,body.v39-subpage .aulas-hub:after{content:none!important;display:none!important}
body.v39-subpage .aulas-hub .section-heading{position:relative;z-index:1;max-width:900px}
body.v39-subpage .aulas-hub .section-heading .kicker{font-size:.74rem;letter-spacing:.19em;color:#98652c!important;font-weight:800}
body.v39-subpage .aulas-hub .section-heading h1{
  color:#103944!important;text-shadow:none!important;
  font-size:clamp(2.35rem,5.3vw,4.7rem)!important;line-height:1.1;
  margin:15px 0 22px;letter-spacing:-.04em;max-width:820px;text-wrap:balance
}
body.v39-subpage .aulas-hub .section-heading p{color:#44626b!important;font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.7;max-width:760px}
body.v39-subpage .aulas-hub .section-heading .section-subquote{color:#315761!important;font-family:'Playfair Display',serif;font-size:clamp(1.05rem,2vw,1.33rem);font-style:italic;line-height:1.5;max-width:740px}
body.v39-subpage .aulas-hub .section-subquote span{display:inline-block;font-family:'DM Sans',sans-serif;font-size:.9rem;font-style:normal;font-weight:800;color:#93602b!important}
body.v39-subpage .aulas-hub .formation-grid{margin-top:34px;gap:15px;position:relative;z-index:1}
body.v39-subpage .aulas-hub .lesson-card{
 background:#fffdf9!important;color:#123944!important;border:1px solid #d8e2de!important;
 box-shadow:0 15px 45px rgba(11,55,65,.09)!important;border-radius:22px!important;
 padding:28px!important;min-height:265px;display:flex;flex-direction:column;gap:16px
}
body.v39-subpage .aulas-hub .lesson-card .lesson-content{flex:1}
body.v39-subpage .aulas-hub .lesson-card .lesson-tag{color:#966431!important;background:#f7efe3!important;border-color:rgba(158,109,54,.24)!important}
body.v39-subpage .aulas-hub .lesson-card h3{font-family:'Playfair Display',serif;color:#123944!important;font-size:clamp(1.65rem,2.3vw,2.25rem);line-height:1.2}
body.v39-subpage .aulas-hub .lesson-card p{color:#526e75!important;font-size:.94rem;line-height:1.65}
body.v39-subpage .aulas-hub .lesson-card .lesson-link{color:#8e5e29!important;font-size:.92rem;font-weight:800}
body.v39-subpage .aulas-hub .lesson-card .lesson-icon{color:#99652e!important;background:#f7efe1!important}
body.v39-subpage .aulas-hub .m-hub-sublink a{color:#815826!important}

@media(max-width:900px){
 .home-v37 .home-bento-grid{grid-template-columns:1fr 1fr}
 body.v39-subpage .roots-hub-visual.v47-roots-verse{width:100%;min-height:auto;max-width:680px;justify-self:start;padding:27px 29px}
 body.v39-subpage .section.soft.aulas-hub{padding-bottom:75px!important}
}
@media(max-width:620px){
 .home-v37 #hero-title{max-width:100%;font-size:clamp(2.7rem,12.3vw,4.5rem)}
 .home-v37 .v45-cinema-intro>span{font-size:.69rem}
 .home-v37 .v45-gallery{padding:64px 0 65px}
 .home-v37 .v45-gallery-heading{margin-bottom:25px}
 .home-v37 .v47-scripture-block h2{font-size:clamp(1.85rem,8.5vw,2.65rem)}
 .v47-scripture-quote{font-size:clamp(1.45rem,6.4vw,1.9rem);line-height:1.45}
 .home-v37 .home-bento{padding:70px 0 85px}
 .home-v37 .home-bento-heading h2{font-size:clamp(2.1rem,9vw,2.8rem)}
 .home-v37 .home-bento-heading .v47-bento-lead{font-size:.98rem}
 .home-v37 .home-bento-grid{grid-template-columns:1fr!important;gap:12px}
 .home-v37 .home-bento-grid > .home-bento-card{min-height:195px!important;padding:20px!important;border-radius:16px!important}
 .home-v37 .home-bento-card h3,.home-v37 .bento-start h3,.home-v37 .bento-about h3{font-size:clamp(1.7rem,8vw,2.25rem)!important}
 .home-v37 .home-bento-card small{font-size:.62rem}
 .home-v37 .home-bento-card p{font-size:.84rem;max-width:min(82%,310px)}
 .home-v37 .home-bento-card>b{right:16px;top:14px}
 body.v39-subpage #modulos .module-tile.v47-roots-card{padding:22px;min-height:265px;border-radius:17px}
 body.v39-subpage #modulos .module-tile-body{padding-top:20px}
 body.v39-subpage #modulos .module-tile-body h3{font-size:2rem}
 body.v39-subpage .roots-hub-visual.v47-roots-verse{padding:24px;min-height:240px}
 .v47-roots-verse blockquote{font-size:1.38rem}
 body.v39-subpage .section.soft.aulas-hub{padding:48px 0 60px!important}
 body.v39-subpage .aulas-hub .section-heading h1{font-size:clamp(2.2rem,10.3vw,3.1rem)!important;line-height:1.13}
 body.v39-subpage .aulas-hub .section-heading p{font-size:.96rem;line-height:1.68}
 body.v39-subpage .aulas-hub .formation-grid{margin-top:26px}
 body.v39-subpage .aulas-hub .lesson-card{min-height:0;padding:23px!important;border-radius:17px!important;gap:12px}
 body.v39-subpage .aulas-hub .lesson-card h3{font-size:1.8rem}
 body.v39-subpage .aulas-hub .lesson-card p{font-size:.94rem}
}
@media(prefers-reduced-motion:reduce){.home-v37 .home-bento-card .v47-card-photo{transition:none}.home-v37 .home-bento-card:hover .v47-card-photo{transform:none}}
