/* ========================================================================== 
   EKKLESIA v37 — azul profundo, editorial futurista e convidativo
   Preserva a arquitetura existente, mas eleva a home com gradientes,
   glassmorphism controlado, imagens institucionais e movimento sutil.
   ========================================================================== */
.home-v37{
  --v37-navy:#061f27;
  --v37-deep:#082c36;
  --v37-petrol:#0f4150;
  --v37-blue:#2f6676;
  --v37-blue-soft:#7ca5b1;
  --v37-cyan:#a8c8d0;
  --v37-gold:#d3a35d;
  --v37-cream:#f6f1e8;
  --v37-paper:#fffdf9;
  --v37-line:rgba(113,166,182,.16);
  --v37-glass:rgba(255,255,255,.075);
  --v37-shadow:0 32px 90px rgba(3,30,38,.18);
  color:#12353f;
  background:var(--v37-paper);
}
.home-v37 .shell{width:min(1320px,calc(100% - 56px))}
.home-v37 .kicker{color:var(--v37-gold);letter-spacing:.28em}

/* Header — vidro frio, limpo e premium */
.home-v37 .site-header{
  background:rgba(239,247,247,.78);
  border-bottom:1px solid rgba(9,49,60,.08);
  box-shadow:0 10px 35px rgba(4,39,49,.045);
  -webkit-backdrop-filter:blur(22px) saturate(130%);
  backdrop-filter:blur(22px) saturate(130%);
}
.home-v37 .site-header.is-scrolled{
  background:rgba(235,245,246,.93);
  box-shadow:0 18px 48px rgba(4,39,49,.1);
}
.home-v37 .nav-wrap{height:76px}
.home-v37 .brand{width:122px;transition:transform .28s ease,opacity .28s ease}
.home-v37 .brand:hover{transform:translateY(-1px);opacity:.92}
.home-v37 .main-nav>a,.home-v37 .nav-item>a{color:#214854}
.home-v37 .nav-current{color:#b97e32!important}
.home-v37 .nav-cta{
  background:linear-gradient(135deg,#0d3b47,#1a5a69)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  box-shadow:0 12px 28px rgba(9,53,64,.16)!important;
  color:white!important;
}

/* HERO — imersivo, azul e vivo */
.home-v37 .hero-v28-section{
  min-height:min(980px,100svh);
  color:white;
  padding:132px 0 72px;
  background:
    radial-gradient(circle at var(--hero-x,78%) var(--hero-y,22%),rgba(86,148,166,.29),transparent 22%),
    radial-gradient(circle at 18% 82%,rgba(211,163,93,.13),transparent 26%),
    linear-gradient(128deg,#041c24 0%,#082f3a 41%,#0d4553 72%,#082a34 100%);
  isolation:isolate;
}
.home-v37 .hero-v28-section:after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.36;
  background-image:
    linear-gradient(rgba(169,207,216,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(169,207,216,.055) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 88%);
}
.home-v37 .hero-v28-section:before{
  content:"EKKLESIA";
  color:rgba(180,221,229,.038);
  font-size:clamp(10rem,20vw,20rem);
  z-index:0;
}
.home-v37 .hero-v28-mesh{z-index:0}
.home-v37 .hero-v28-mesh span{animation:v37-float 12s ease-in-out infinite alternate}
.home-v37 .hero-v28-mesh span:nth-child(1){background:radial-gradient(circle,rgba(164,205,216,.2),transparent 67%)}
.home-v37 .hero-v28-mesh span:nth-child(2){border-color:rgba(180,219,227,.14);box-shadow:0 0 0 70px rgba(131,181,194,.025),0 0 0 140px rgba(131,181,194,.016);animation-delay:-4s}
.home-v37 .hero-v28-mesh span:nth-child(3){background:radial-gradient(circle,rgba(211,163,93,.12),transparent 68%);animation-delay:-7s}
.home-v37 .hero-v28-grid{position:relative;z-index:2;grid-template-columns:minmax(0,1fr) minmax(470px,.96fr);gap:clamp(46px,7vw,110px)}
.home-v37 .hero-v28-kicker{color:#b7d1d7}
.home-v37 .hero-v28-kicker span{background:var(--v37-gold)}
.home-v37 .hero-v28-copy h1{color:#f7fbfb;font-size:clamp(4rem,6.15vw,6.8rem);text-shadow:0 18px 50px rgba(0,0,0,.14)}
.home-v37 .hero-v28-copy h1 em{color:#f0c98f;display:block}
.home-v37 .hero-v28-lead{color:rgba(233,244,246,.76);font-size:clamp(1.02rem,1.35vw,1.22rem);max-width:680px}
.home-v37 .hero-v28-actions .button.primary{
  background:linear-gradient(135deg,#f0c98f,#d3a35d);color:#0b3039;box-shadow:0 18px 40px rgba(0,0,0,.18)
}
.home-v37 .hero-v28-actions .button.ghost{color:#e8f4f5;border-color:rgba(219,239,242,.2);background:rgba(255,255,255,.055);backdrop-filter:blur(12px)}
.home-v37 .hero-v28-actions .button.ghost:hover{background:rgba(255,255,255,.1)}
.home-v37 .hero-v28-scripture{border-color:rgba(213,234,237,.16);color:rgba(221,237,240,.62)}
.home-v37 .hero-v28-scripture b{color:#efc98e}
.home-v37 .hero-v28-visual{min-height:620px;perspective:1200px}
.home-v37 .hero-v28-visual:before{
  width:min(590px,92%);background:radial-gradient(circle at 50% 48%,rgba(240,249,250,.96) 0 29%,rgba(130,184,198,.30) 51%,rgba(33,100,117,.1) 67%,transparent 73%);
  box-shadow:0 0 0 1px rgba(180,219,227,.14),0 40px 120px rgba(0,0,0,.26)
}
.home-v37 .hero-v28-frame{filter:drop-shadow(0 35px 45px rgba(0,0,0,.28));transition:transform .25s ease-out}
.home-v37 .hero-v28-frame img{filter:drop-shadow(0 30px 32px rgba(0,0,0,.16))}
.home-v37 .hero-v28-caption{background:rgba(4,31,39,.66);border:1px solid rgba(255,255,255,.12);color:white;box-shadow:0 14px 40px rgba(0,0,0,.18)}
.home-v37 .hero-v28-caption span{color:#efc98e}.home-v37 .hero-v28-caption strong{color:#fff}
.home-v37 .hero-v28-service{
  background:rgba(10,48,58,.72);border:1px solid rgba(189,224,231,.14);box-shadow:0 20px 58px rgba(0,0,0,.22);backdrop-filter:blur(18px) saturate(125%);
}
.home-v37 .hero-v28-service span{background:linear-gradient(145deg,#d3a35d,#b77f34);color:#0d333d}
.home-v37 .hero-v28-service b{color:#fff}.home-v37 .hero-v28-service small{color:#b8d0d5}
.home-v37 .hero-v28-bottom{color:#92aeb5}.home-v37 .hero-v28-bottom i{background:rgba(178,215,222,.24)}

/* DNA — mais gráfico, mais azul, ainda respirado */
.home-v37 .dna-v36{padding:116px 0 104px;background:linear-gradient(180deg,#f7fbfb,#eef5f5);overflow:hidden}
.home-v37 .dna-v36:before{color:rgba(15,65,80,.045);top:-.16em}
.home-v37 .dna-v36:after{content:"";position:absolute;right:-220px;bottom:-260px;width:600px;height:600px;border-radius:50%;border:1px solid rgba(31,92,108,.08);box-shadow:0 0 0 70px rgba(31,92,108,.025),0 0 0 140px rgba(31,92,108,.016)}
.home-v37 .dna-v36-head{position:relative;z-index:1}
.home-v37 .dna-v36-head h2{color:#0d3945}
.home-v37 .dna-v36-head>p{color:#52707a}
.home-v37 .dna-v36-rail{position:relative;z-index:1;border:1px solid rgba(18,70,83,.09);border-radius:28px;overflow:hidden;background:rgba(255,255,255,.58);box-shadow:0 30px 80px rgba(8,48,59,.06);backdrop-filter:blur(18px)}
.home-v37 .dna-v36-item{border-color:rgba(18,70,83,.09);min-height:230px;padding-top:40px;padding-bottom:42px}
.home-v37 .dna-v36-item:hover{background:linear-gradient(155deg,rgba(10,59,71,.98),rgba(23,82,96,.96));color:white;padding-top:34px}
.home-v37 .dna-v36-item:hover h3,.home-v37 .dna-v36-item:hover p{color:white}
.home-v37 .dna-v36-item:hover small{color:#c4d9dd}.home-v37 .dna-v36-item:hover>span{color:#f0c98f}

/* COMEÇE POR AQUI — imagens e identidade */
.home-v37 .home-bento{padding:120px 0 138px;background:linear-gradient(145deg,#061f27 0%,#0b3440 55%,#0e4553 100%);color:white;position:relative;overflow:hidden}
.home-v37 .home-bento:before{content:"";position:absolute;inset:-35% auto auto 58%;width:780px;height:780px;border-radius:50%;background:radial-gradient(circle,rgba(104,172,190,.16),transparent 66%);animation:v37-pulse 9s ease-in-out infinite alternate}
.home-v37 .home-bento:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.025),transparent 30%,rgba(255,255,255,.018) 60%,transparent)}
.home-v37 .home-bento>.shell{position:relative;z-index:1}
.home-v37 .home-bento-heading .kicker{color:#efc98e}
.home-v37 .home-bento-heading h2{color:#f4f9f9}
.home-v37 .home-bento-heading h2 em{color:#a7cbd4}
.home-v37 .home-bento-grid{grid-template-rows:275px 275px;gap:16px}
.home-v37 .home-bento-card{
  border-radius:24px;padding:32px;border:1px solid rgba(204,231,236,.13);box-shadow:0 24px 70px rgba(0,0,0,.18);color:white;background:#0b3440;isolation:isolate;
}
.home-v37 .home-bento-card:before{content:"";position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .4s ease}
.home-v37 .home-bento-card:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(3,26,32,.08) 0%,rgba(4,30,38,.36) 42%,rgba(4,29,36,.93) 100%)}
.home-v37 .home-bento-card:hover{transform:translateY(-7px);box-shadow:0 36px 90px rgba(0,0,0,.28);border-color:rgba(221,239,242,.22)}
.home-v37 .home-bento-card:hover:before{transform:scale(1.045);filter:saturate(1.05)}
.home-v37 .bento-start:before{background-image:url('assets/hero-raizes-palavra.png');background-position:54% 48%}
.home-v37 .bento-about:before{background-image:linear-gradient(120deg,rgba(7,42,51,.8),rgba(25,92,108,.42)),url('assets/raizes-mark-v21.webp');background-size:cover,58%;background-repeat:no-repeat;background-position:center,88% 50%}
.home-v37 .bento-about:after{background:linear-gradient(90deg,rgba(5,32,39,.96) 0%,rgba(8,47,57,.86) 47%,rgba(5,36,44,.4) 100%)}
.home-v37 .bento-study:before{background-image:url('assets/culto-raizes.jpeg');background-position:center 48%}
.home-v37 .bento-prayer:before{background-image:url('assets/hero-raizes-palavra.png');background-position:74% 42%;filter:saturate(.75) hue-rotate(2deg)}
.home-v37 .bento-prayer:after{background:linear-gradient(180deg,rgba(7,45,55,.18),rgba(8,45,55,.92))}
.home-v37 .home-bento-card .bento-index{color:#dcebef;opacity:.72}
.home-v37 .home-bento-card small{color:#f0c98f;opacity:1}
.home-v37 .home-bento-card h3{color:white;text-shadow:0 7px 28px rgba(0,0,0,.25)}
.home-v37 .home-bento-card p{color:rgba(239,248,249,.78);opacity:1;max-width:520px}
.home-v37 .bento-start h3{font-size:clamp(3.2rem,4.5vw,5.1rem)}
.home-v37 .bento-about h3{font-size:clamp(2.8rem,4vw,4.6rem)}
.home-v37 .home-bento-card>b{color:#f3d5a7}

/* SOMOS EKKLESIA — mantém o loop, ganha aurora */
.home-v37 .sou-ekklesia-v28{padding:140px 0;background:linear-gradient(118deg,#0a3a47 0%,#145466 46%,#0b3541 100%);position:relative;overflow:hidden}
.home-v37 .sou-ekklesia-v28:after{content:"";position:absolute;width:720px;height:720px;border-radius:50%;right:-180px;top:-250px;background:radial-gradient(circle,rgba(151,209,220,.18),transparent 64%);filter:blur(8px);animation:v37-drift 12s ease-in-out infinite alternate}
.home-v37 .sou-ekklesia-v28 .shell{position:relative;z-index:1}
.home-v37 .sou-ekklesia-v28 .sou-word{background:linear-gradient(90deg,#fff,#b9dce4 50%,#f0c98f);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.home-v37 .sou-ekklesia-final h2{color:#fff}.home-v37 .sou-ekklesia-final p,.home-v37 .sou-ekklesia-intro{color:rgba(236,247,249,.74)}
.home-v37 .sou-ekklesia-v28 .sou-ekklesia-lines span{color:rgba(232,246,248,.19)}

/* PROGRAMAÇÃO — imagem limpa + conteúdo separado */
.home-v37 .programacao-v28{padding:124px 0 132px;background:linear-gradient(180deg,#eaf3f4 0%,#f6f8f7 100%)}
.home-v37 .programacao-v28-head h2{color:#0d3945}.home-v37 .programacao-v28-head>p{color:#52707a}
.home-v37 .schedule-v28-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:18px}
.home-v37 .schedule-v28-card,.home-v37 .schedule-v28-main{
  display:flex;flex-direction:column;grid-column:auto;grid-row:auto;min-height:0;border-radius:24px;background:rgba(255,255,255,.82);color:#12353f;border:1px solid rgba(12,69,82,.08);box-shadow:0 25px 60px rgba(8,48,59,.09);overflow:hidden;position:relative;transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.home-v37 .schedule-v28-card:hover,.home-v37 .schedule-v28-card:focus{transform:translateY(-7px);box-shadow:0 38px 82px rgba(8,48,59,.15);border-color:rgba(31,103,120,.18)}
.home-v37 .schedule-v28-card img{position:relative;inset:auto;width:100%;height:265px;object-fit:cover;display:block;flex:0 0 auto;transform:none;transition:transform .75s cubic-bezier(.2,.8,.2,1)}
.home-v37 .schedule-v28-card:hover img,.home-v37 .schedule-v28-card:focus img{transform:scale(1.035)}
.home-v37 .schedule-v28-overlay{position:absolute;left:0;right:0;top:0;bottom:auto;height:265px;background:linear-gradient(180deg,rgba(2,23,29,.04),rgba(2,23,29,.1) 55%,rgba(2,23,29,.28) 100%);z-index:1;pointer-events:none}
.home-v37 .schedule-v28-top{top:18px;left:18px;right:18px;z-index:3}
.home-v37 .schedule-v28-top span{background:rgba(7,44,53,.78);color:#fff;border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(12px)}
.home-v37 .schedule-v28-top b{background:rgba(246,251,251,.94);color:#0a3540;border-radius:10px}
.home-v37 .schedule-v28-copy{position:relative;left:auto;right:auto;bottom:auto;z-index:2;padding:28px 28px 30px;display:flex;flex-direction:column;flex:1;background:linear-gradient(180deg,#fff,#f9fbfb)}
.home-v37 .schedule-v28-copy small{color:#b47c33}
.home-v37 .schedule-v28-copy h3{color:#103944;font-size:clamp(2rem,2.7vw,3.15rem);margin:7px 0 10px}
.home-v37 .schedule-v28-copy p{color:#587078;font-size:.92rem;line-height:1.65;max-width:none}
.home-v37 .schedule-v28-copy a{color:#0f5566;border-color:rgba(15,85,102,.28);margin-top:auto;padding-top:18px;align-self:flex-start}
.home-v37 .program-video-v28{margin-top:48px;border-radius:24px;background:linear-gradient(125deg,#082c36,#0f4857);color:white;border:1px solid rgba(160,205,215,.1);box-shadow:0 30px 80px rgba(7,43,52,.18)}
.home-v37 .program-video-v28-copy>span{color:#edc98f}.home-v37 .program-video-v28-copy h3{color:white}.home-v37 .program-video-v28-copy p{color:#c0d4d8}
.home-v37 .program-video-v28 .text-link{color:#efc98e}.home-v37 .program-video-v28 .button.primary{background:#edf7f7;color:#0b3540}

/* FORMAÇÃO — escura, tecnológica e editorial */
.home-v37 .formation-v28{padding:130px 0;background:linear-gradient(135deg,#061f27,#0a3541 62%,#0f4856);color:white;position:relative;overflow:hidden}
.home-v37 .formation-v28:after{content:"";position:absolute;right:-260px;bottom:-320px;width:720px;height:720px;border-radius:50%;border:1px solid rgba(175,218,226,.08);box-shadow:0 0 0 80px rgba(175,218,226,.02),0 0 0 160px rgba(175,218,226,.014)}
.home-v37 .formation-v28-grid{position:relative;z-index:1}
.home-v37 .formation-v28-intro h2{color:white}.home-v37 .formation-v28-intro>p:not(.kicker){color:#b4cbd0}.home-v37 .formation-v28-intro .text-link{color:#efc98e}
.home-v37 .formation-v28-cards{border-top:1px solid rgba(190,223,229,.13)}
.home-v37 .formation-v28-card{border-color:rgba(190,223,229,.13);color:white!important}
.home-v37 .formation-v28-card:hover{background:linear-gradient(90deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important}
.home-v37 .formation-v28-card h3{color:white}.home-v37 .formation-v28-card p{color:#abc4ca!important}.home-v37 .formation-v28-card>span,.home-v37 .formation-v28-card b{color:#edc98f}

/* SOCIAL — pausa quente no meio do azul */
.home-v37 .social-v28{padding:128px 0;background:linear-gradient(180deg,#f7f3eb,#edf4f4)}
.home-v37 .social-v28-frame{border-radius:26px!important;background:rgba(255,255,255,.78)!important;border:1px solid rgba(10,63,76,.08);box-shadow:0 35px 90px rgba(7,48,59,.12)!important;backdrop-filter:blur(10px)}
.home-v37 .social-v28-stamp{background:linear-gradient(135deg,#0d3f4c,#1c6070);border:1px solid rgba(255,255,255,.14);border-radius:15px;box-shadow:0 20px 54px rgba(5,43,53,.22)}
.home-v37 .social-v28-copy h2{color:#103944}.home-v37 .social-v28-copy>p{color:#57717a}
.home-v37 .social-v28-tags span{background:rgba(225,239,241,.78);border-color:rgba(16,70,84,.09);color:#315a65}

/* MENSAGEM — palco digital */
.home-v37 .message-v28{padding:130px 0;background:radial-gradient(circle at 76% 22%,rgba(77,150,169,.21),transparent 28%),linear-gradient(125deg,#041c24,#082f3a 55%,#0c4452);position:relative;overflow:hidden}
.home-v37 .message-v28:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 49.9%,rgba(195,224,229,.05) 50%,transparent 50.1%)}
.home-v37 .message-v28-grid{position:relative;z-index:1}
.home-v37 .message-v28 .video-card{border:1px solid rgba(191,224,230,.14);border-radius:22px;box-shadow:0 36px 100px rgba(0,0,0,.34)}

/* CONTATO */
.home-v37 .contact-v28{padding:120px 0;background:linear-gradient(180deg,#eef5f5,#f9fbfa)}
.home-v37 .contact-v28-main,.home-v37 .contact-v28-map{border-radius:24px!important;border:1px solid rgba(10,63,76,.08);box-shadow:0 24px 70px rgba(7,48,59,.06)!important}
.home-v37 .contact-v28-main{background:rgba(255,255,255,.76);backdrop-filter:blur(12px)}
.home-v37 .contact-v28-main h2{color:#0c3945}
.home-v37 .contact-v28-map{background:linear-gradient(145deg,#0d3d4a,#1a6070);color:white}
.home-v37 .contact-v28-map h3{color:white}.home-v37 .contact-v28-map p{color:#c8dadd}.home-v37 .contact-v28-map b{color:#efc98e}

/* FOOTER — logo azul novamente, sem caixa clara */
.home-v37 .footer-v36{background:linear-gradient(135deg,#041b22 0%,#062b35 52%,#0b4050 100%);position:relative;overflow:hidden}
.home-v37 .footer-v36:before{content:"";position:absolute;right:-180px;top:-260px;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(70,142,160,.16),transparent 66%)}
.home-v37 .footer-v36-top,.home-v37 .footer-v36-bottom{position:relative;z-index:1}
.home-v37 .footer-v36-logo{background:transparent;border:0;padding:0;border-radius:0}
.home-v37 .footer-v36-logo img{width:205px!important;filter:none!important;opacity:1!important}
.home-v37 .footer-v36-brand>span{color:#9bbac2!important}
.home-v37 .footer-v36-statement{border-color:rgba(176,216,224,.13)}
.home-v37 .footer-v36-statement small{color:#efc98e}.home-v37 .footer-v36-statement p{color:#dcecef}.home-v37 .footer-v36-statement b{color:#8fb2bb}
.home-v37 .footer-v36-bottom{border-color:rgba(176,216,224,.1)}
.home-v37 .footer-v36-links a{color:#a9c2c8}.home-v37 .footer-v36-links a:hover{color:#efc98e}

/* Microinterações */
.home-v37 .button,.home-v37 .text-link,.home-v37 .contact-v28-links a{transition:transform .25s ease,background .25s ease,color .25s ease,border-color .25s ease,box-shadow .25s ease}
.home-v37 .button:hover{transform:translateY(-2px)}
.home-v37 .contact-v28-links a:hover{padding-left:8px;color:#0f596b}
.home-v37 .v37-tilt{transform-style:preserve-3d;will-change:transform}

@keyframes v37-float{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(14px,-18px,0) scale(1.035)}}
@keyframes v37-pulse{from{transform:scale(.94);opacity:.65}to{transform:scale(1.05);opacity:1}}
@keyframes v37-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-55px,45px,0)}}

@media(max-width:1050px){
  .home-v37 .hero-v28-grid{grid-template-columns:1fr .88fr;gap:34px}
  .home-v37 .schedule-v28-grid{grid-template-columns:1fr 1fr}.home-v37 .schedule-v28-main{grid-column:1/3}
}

@media(max-width:900px){
  .home-v37 .shell{width:min(100% - 32px,1320px)}
  .home-v37 .site-header{background:rgba(237,246,247,.86)}
  .home-v37 .main-nav{background:rgba(234,244,245,.97)!important;border-color:rgba(7,48,59,.08)!important;backdrop-filter:blur(20px)!important}
  .home-v37 .hero-v28-section{padding:108px 0 64px;background:radial-gradient(circle at 80% 18%,rgba(100,174,193,.23),transparent 25%),linear-gradient(150deg,#041c24,#0b3a47 68%,#0d4654)}
  .home-v37 .hero-v28-grid{grid-template-columns:1fr;gap:26px}.home-v37 .hero-v28-visual{min-height:500px}
  .home-v37 .home-bento-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}.home-v37 .bento-start{grid-column:1/3}.home-v37 .bento-about,.home-v37 .bento-study,.home-v37 .bento-prayer{grid-column:auto;grid-row:auto;min-height:310px}
  .home-v37 .schedule-v28-grid{grid-template-columns:1fr}.home-v37 .schedule-v28-main{grid-column:auto}.home-v37 .schedule-v28-card img,.home-v37 .schedule-v28-overlay{height:300px}
}

@media(max-width:620px){
  .home-v37 .shell{width:min(100% - 26px,1320px)}
  .home-v37 .brand{width:102px}.home-v37 .nav-wrap{height:66px}
  .home-v37 .hero-v28-section{padding:94px 0 54px}.home-v37 .hero-v28-copy h1{font-size:clamp(3rem,14vw,4.4rem)}.home-v37 .hero-v28-visual{min-height:390px}.home-v37 .hero-v28-section:after{background-size:46px 46px}
  .home-v37 .dna-v36{padding:78px 0 74px}.home-v37 .dna-v36-rail{border-radius:18px}.home-v37 .dna-v36-item:hover{padding-top:24px}
  .home-v37 .home-bento{padding:82px 0 92px}.home-v37 .home-bento-grid{grid-template-columns:1fr}.home-v37 .bento-start,.home-v37 .bento-about,.home-v37 .bento-study,.home-v37 .bento-prayer{grid-column:auto;min-height:285px;border-radius:18px;padding:24px}.home-v37 .bento-start{min-height:335px}.home-v37 .bento-about:before{background-size:cover,70%;background-position:center,82% 42%}.home-v37 .home-bento-card h3{font-size:2.2rem}.home-v37 .bento-start h3{font-size:2.8rem}
  .home-v37 .sou-ekklesia-v28{padding:90px 0}
  .home-v37 .programacao-v28{padding:88px 0}.home-v37 .schedule-v28-card{border-radius:18px}.home-v37 .schedule-v28-card img,.home-v37 .schedule-v28-overlay{height:230px}.home-v37 .schedule-v28-copy{padding:23px 22px 25px}.home-v37 .schedule-v28-copy h3{font-size:2.25rem}.home-v37 .program-video-v28{border-radius:18px}
  .home-v37 .formation-v28{padding:90px 0}.home-v37 .social-v28,.home-v37 .message-v28,.home-v37 .contact-v28{padding:88px 0}
  .home-v37 .footer-v36-logo img{width:175px!important}
}

@media(prefers-reduced-motion:reduce){
  .home-v37 .hero-v28-mesh span,.home-v37 .home-bento:before,.home-v37 .sou-ekklesia-v28:after{animation:none!important}
  .home-v37 .hero-v28-frame,.home-v37 .home-bento-card:before,.home-v37 .schedule-v28-card,.home-v37 .schedule-v28-card img{transition:none!important}
}


/* ===== v38 — imagens autorais + DNA Ekklesia ===== */
.home-v37 .bento-start:before{
  background-image:url('assets/bento-start-v38.webp');
  background-position:center 52%;
}
.home-v37 .bento-start:after{
  background:linear-gradient(180deg,rgba(3,25,31,.05) 0%,rgba(4,28,35,.28) 38%,rgba(3,26,33,.95) 100%);
}
.home-v37 .bento-about{
  background:linear-gradient(145deg,#062833,#0c4554);
}
.home-v37 .bento-about:before{
  background-image:
    radial-gradient(circle at 74% 42%,rgba(214,167,91,.17),transparent 30%),
    url('assets/dna-ekklesia-v38.png');
  background-size:cover,58%;
  background-repeat:no-repeat;
  background-position:center,88% 48%;
  filter:none;
}
.home-v37 .bento-about:after{
  background:linear-gradient(90deg,rgba(4,30,37,.98) 0%,rgba(6,39,48,.91) 48%,rgba(5,35,43,.32) 100%);
}
.home-v37 .bento-study:before{
  background-image:url('assets/bento-raizes-v38.webp');
  background-position:center 52%;
}
.home-v37 .bento-study:after{
  background:linear-gradient(180deg,rgba(4,27,34,.02),rgba(4,29,36,.35) 44%,rgba(3,26,33,.96) 100%);
}
.home-v37 .bento-prayer:before{
  background-image:url('assets/bento-prayer-v38.webp');
  background-position:72% 48%;
  filter:none;
}
.home-v37 .bento-prayer:after{
  background:linear-gradient(180deg,rgba(6,36,44,.06),rgba(5,34,42,.93));
}
.home-v37 .brand img{
  display:block;width:100%;height:auto;object-fit:contain;filter:none;
}
.home-v37 .footer-v36-logo img{
  width:215px!important;height:auto!important;object-fit:contain;filter:none!important;
}
.home-v37 .footer-v36-logo{
  display:inline-flex;align-items:center;padding:10px 14px;border-radius:16px;
  background:rgba(240,247,247,.94);box-shadow:0 12px 34px rgba(0,0,0,.13);
}
@media(max-width:900px){
  .home-v37 .bento-about:before{background-size:cover,48%;background-position:center,88% 46%}
}
@media(max-width:620px){
  .home-v37 .bento-about:before{background-size:cover,55%;background-position:center,88% 44%}
  .home-v37 .footer-v36-logo img{width:178px!important}
  .home-v37 .footer-v36-logo{padding:8px 10px;border-radius:14px}
}


/* ==========================================================================
   v40 — galeria de fotos reais da comunidade
   ========================================================================== */
.home-v37 .community-gallery-v40{
  position:relative;overflow:hidden;padding:110px 0 96px;color:#eef7f8;
  background:
    radial-gradient(circle at 10% 12%,rgba(211,163,93,.13),transparent 26%),
    radial-gradient(circle at 86% 18%,rgba(95,162,181,.21),transparent 28%),
    linear-gradient(135deg,#061f27 0%,#0a3340 52%,#0f4654 100%);
}
.home-v37 .community-gallery-v40:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.23;background-image:linear-gradient(rgba(171,213,222,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(171,213,222,.07) 1px,transparent 1px);background-size:68px 68px;mask-image:linear-gradient(to bottom,black,transparent 92%)}
.home-v37 .community-gallery-v40-head{position:relative;z-index:2;display:grid;grid-template-columns:1.08fr .92fr;gap:70px;align-items:end;margin-bottom:42px}
.home-v37 .community-gallery-v40 h2{margin:10px 0 0;color:#fff;font-family:"Playfair Display",serif;font-size:clamp(3rem,6vw,6.3rem);line-height:.94;letter-spacing:-.045em}
.home-v37 .community-gallery-v40 h2 em{color:#c4dce1;font-weight:600}
.home-v37 .community-gallery-v40-copy{max-width:560px;justify-self:end}
.home-v37 .community-gallery-v40-copy p{margin:0 0 24px;color:#b9d1d7;font-size:1.07rem;line-height:1.85}
.home-v37 .community-gallery-v40-controls{display:flex;gap:10px}
.home-v37 .community-gallery-v40-controls button{width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.07);color:#fff;font-size:1.2rem;cursor:pointer;backdrop-filter:blur(12px);transition:transform .25s ease,background .25s ease,border-color .25s ease}
.home-v37 .community-gallery-v40-controls button:hover{transform:translateY(-2px);background:rgba(211,163,93,.18);border-color:rgba(211,163,93,.5)}
.home-v37 .community-gallery-v40-viewport{position:relative;z-index:2;width:min(100%,1600px);margin-inline:auto;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-inline:contain;padding:0 max(28px,calc((100vw - 1320px)/2));scrollbar-width:none}
.home-v37 .community-gallery-v40-viewport::-webkit-scrollbar{display:none}
.home-v37 .community-gallery-v40-track{display:flex;gap:18px;width:max-content;padding:4px 0 12px}
.home-v37 .community-gallery-v40-card{position:relative;flex:0 0 clamp(275px,29vw,410px);aspect-ratio:4/5;margin:0;border-radius:30px;overflow:hidden;scroll-snap-align:start;background:#0a2730;border:1px solid rgba(180,220,229,.15);box-shadow:0 28px 70px rgba(0,0,0,.22);isolation:isolate}
.home-v37 .community-gallery-v40-card:nth-child(3n+2){transform:translateY(20px)}
.home-v37 .community-gallery-v40-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.2,.75,.2,1),filter .4s ease;filter:saturate(.92) contrast(1.02)}
.home-v37 .community-gallery-v40-card:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(2,22,29,.78) 0%,rgba(3,26,34,.08) 46%,rgba(5,33,41,.04) 100%);z-index:1;pointer-events:none}
.home-v37 .community-gallery-v40-card:hover img{transform:scale(1.035);filter:saturate(1) contrast(1.03)}
.home-v37 .community-gallery-v40-card figcaption{position:absolute;z-index:2;left:24px;right:24px;bottom:22px;display:flex;align-items:end;justify-content:space-between;gap:20px;color:white}
.home-v37 .community-gallery-v40-card figcaption span{font:600 .72rem/1 "DM Sans",sans-serif;letter-spacing:.18em;color:#d8ad70}
.home-v37 .community-gallery-v40-card figcaption strong{font:600 clamp(1.6rem,2.3vw,2.35rem)/1 "Playfair Display",serif;text-align:right}
.home-v37 .community-gallery-v40-foot{position:relative;z-index:2;display:flex;align-items:center;gap:18px;margin-top:28px;color:#88aab3;font-size:.7rem;letter-spacing:.18em}
.home-v37 .community-gallery-v40-foot i{height:1px;flex:1;background:linear-gradient(90deg,rgba(137,182,194,.35),rgba(137,182,194,.05))}
.home-v37 .community-gallery-v40-foot b{font-weight:600;color:#b5cbd0}
@media (max-width:900px){
  .home-v37 .community-gallery-v40{padding:82px 0 74px}
  .home-v37 .community-gallery-v40-head{grid-template-columns:1fr;gap:28px;margin-bottom:30px}
  .home-v37 .community-gallery-v40-copy{justify-self:start;max-width:680px}
  .home-v37 .community-gallery-v40 h2{font-size:clamp(2.8rem,11vw,5.4rem)}
  .home-v37 .community-gallery-v40-card{flex-basis:min(78vw,360px);border-radius:24px}
  .home-v37 .community-gallery-v40-card:nth-child(3n+2){transform:none}
  .home-v37 .community-gallery-v40-viewport{padding-inline:22px}
  .home-v37 .community-gallery-v40-foot{padding-inline:22px}.home-v37 .community-gallery-v40-foot b{display:none}
}
@media (prefers-reduced-motion:reduce){.home-v37 .community-gallery-v40-card img{transition:none}.home-v37 .community-gallery-v40-viewport{scroll-behavior:auto}}


/* ==========================================================================
   v41 — ajustes mobile no hero + logo clara no rodapé
   ========================================================================== */
.home-v37 .footer-v36-logo{
  display:inline-flex;align-items:center;padding:0;border-radius:0;
  background:transparent;box-shadow:none;
}
.home-v37 .footer-v36-logo img{
  width:205px!important;height:auto!important;object-fit:contain;filter:none!important;opacity:.98;
}

@media(max-width:620px){
  .home-v37 .hero-v28-visual{
    min-height:auto;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    align-items:start;
    margin-top:8px;
  }
  .home-v37 .hero-v28-frame{
    grid-column:1/-1;
    width:100%;
    max-width:430px;
    margin:0 auto 2px;
  }
  .home-v37 .hero-v28-service{
    position:static;
    min-width:0;
    width:100%;
    padding:10px 8px;
    border-radius:14px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:3px;
  }
  .home-v37 .hero-v28-service span{
    width:auto;
    height:auto;
    padding:7px 10px;
    border-radius:10px;
    font-size:.58rem;
    line-height:1;
  }
  .home-v37 .hero-v28-service b{font-size:1rem;line-height:1.05}
  .home-v37 .hero-v28-service small{font-size:.62rem;line-height:1.2;margin-top:0}
  .home-v37 .hero-v28-service-a,.home-v37 .hero-v28-service-b,.home-v37 .hero-v28-service-c{left:auto;right:auto;top:auto;bottom:auto}
  .home-v37 .footer-v36-logo img{width:178px!important}
}
