:root{--green:#173e2d;--green2:#245c42;--sage:#edf3ed;--cream:#f7f3e9;--gold:#b89552;--ink:#183126;--muted:#64736a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff}.site-head{height:78px;background:#fff;border-bottom:1px solid #e6ece7;position:sticky;top:0;z-index:50}.bar{width:min(1500px,94vw);height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand .mon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-family:serif;font-size:20px}.brand strong,.brand small{display:block}.brand strong{font-family:Georgia,serif;font-size:20px}.brand small{font-size:11px;color:#758178;margin-top:2px;letter-spacing:.05em}.site-head nav{display:flex;align-items:center;gap:25px}.site-head nav a{color:#334a3d;text-decoration:none;font-size:14px;font-weight:600}.site-head nav a:hover{color:var(--green2)}.outline{border:1px solid #b7c9bd;padding:9px 14px;border-radius:7px}.menu{display:none;border:0;background:transparent;font-size:25px}.hero{min-height:640px;position:relative;overflow:hidden;background:var(--green)}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,49,34,.96) 0%,rgba(14,49,34,.84) 42%,rgba(14,49,34,.28) 75%),url('https://fastly.4sqi.net/img/general/600x600/39641620_zGG-lLsv_BSZlStE51mCRnSRU4-N-0cYoR5LYB3iXr8.jpg') center 42%/cover no-repeat;filter:saturate(.7)}.hero-inner{width:min(1500px,94vw);margin:auto;position:relative;z-index:2;padding:105px 0}.hero-copy{max-width:700px;color:#fff}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.2em;font-weight:800;color:#d9c391}.eyebrow.dark{color:#8b703c}.hero h1{font:500 clamp(45px,5.7vw,78px)/.98 Georgia,serif;margin:17px 0 24px;letter-spacing:-.035em}.hero h1 em{font-weight:400;color:#e8d8ad}.hero-copy>p{font-size:19px;color:#e3ebe5}.hero blockquote{font:italic 18px/1.65 Georgia,serif;border-left:2px solid #c9aa68;margin:28px 0;padding-left:22px;max-width:630px;color:#f3eee1}.hero-actions,.contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}.primary,.secondary{display:inline-block;text-decoration:none;padding:13px 20px;border-radius:7px;font-weight:750;font-size:14px}.primary{background:#d1b46f;color:#173529}.secondary{border:1px solid #b9cbbf;color:#fff}.section-wrap{width:min(1500px,94vw);margin:auto}.quick{padding:72px 0;background:var(--cream)}.section-title{text-align:center}.section-title>span,.section-heading span,.contact span{color:#9b7b3e;text-transform:uppercase;letter-spacing:.17em;font-size:11px;font-weight:800}.section-title h2,.section-heading h2,.official h2,.about h2,.contact h2{font:500 clamp(30px,3vw,44px) Georgia,serif;margin:8px 0 8px}.section-title p{color:var(--muted)}.schedule{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;max-width:1050px;margin:35px auto 0}.schedule article{background:#fff;border:1px solid #e4dfd2;padding:25px;text-align:center;border-radius:10px}.schedule b,.schedule span{display:block;font-size:13px;color:#66766c}.schedule strong{display:block;font:500 38px Georgia,serif;color:var(--green2);margin:8px}.events{padding:82px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}.section-heading p{color:var(--muted)}.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.event-card{border:1px solid #dfe7e1;border-radius:10px;padding:18px;display:flex;gap:17px;min-height:150px}.date{width:64px;min-width:64px;border-right:1px solid #e3e9e4;text-align:center;padding-right:15px}.date strong{display:block;font:500 36px Georgia,serif;color:var(--green2)}.date span{font-size:9px;letter-spacing:.08em;color:#8c7447}.tag{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#94783f}.event-card h3{font:600 19px Georgia,serif;margin:7px 0}.event-card p{font-size:12px;color:#69776e;line-height:1.5}.empty{grid-column:1/-1;background:var(--sage);padding:25px;border-radius:10px}.official{padding:82px 0;background:var(--green);color:#fff}.official-grid{display:grid;grid-template-columns:1fr 430px;align-items:center;gap:80px}.official p{color:#d6e0d9;font-size:17px;line-height:1.7;max-width:670px}.paper{height:280px;background:#f8f2e3;color:#294535;border-radius:6px;box-shadow:0 18px 45px #061c1240;padding:40px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;transform:rotate(2deg)}.paper span{font:32px Georgia,serif;color:#a28448}.paper strong{font:600 27px/1.15 Georgia,serif;margin:15px}.paper small{color:#718076}.about{padding:90px 0}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.temple-photo{min-height:430px;border-radius:12px;background:linear-gradient(0deg,#102c2070,#102c2010),url('https://fastly.4sqi.net/img/general/600x600/39641620_zGG-lLsv_BSZlStE51mCRnSRU4-N-0cYoR5LYB3iXr8.jpg') center/cover;position:relative}.temple-photo div{position:absolute;left:25px;bottom:25px;background:#fff;padding:15px 20px;border-radius:7px}.temple-photo span,.temple-photo strong{display:block}.temple-photo span{font-size:10px;color:#9a7b40;text-transform:uppercase;letter-spacing:.12em}.temple-photo strong{font:600 20px Georgia,serif;margin-top:3px}.about p{font-size:16px;line-height:1.8;color:#5f6e65}.text-link{color:var(--green2);font-weight:750;text-decoration:none}.contact{background:#eadfca;padding:62px 0}.contact-grid{display:flex;align-items:center;justify-content:space-between;gap:30px}.contact p{line-height:1.7;color:#485d50}.primary.light{background:var(--green);color:#fff}.secondary.light-border{border-color:#809486;color:var(--green)}footer{background:#102e21;color:#d8e3dc;padding:32px max(3vw,20px);display:flex;justify-content:space-between;gap:20px;align-items:center}footer strong,footer span{display:block}footer span,footer small{color:#9db0a4;font-size:12px;margin-top:4px}@media(max-width:900px){.site-head nav{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:20px;box-shadow:0 12px 30px #0002;flex-direction:column;align-items:stretch}.site-head nav.open{display:flex}.menu{display:block}.hero{min-height:600px}.hero-bg{background:linear-gradient(90deg,rgba(14,49,34,.94),rgba(14,49,34,.72)),url('https://fastly.4sqi.net/img/general/600x600/39641620_zGG-lLsv_BSZlStE51mCRnSRU4-N-0cYoR5LYB3iXr8.jpg') center/cover}.schedule,.event-grid{grid-template-columns:1fr}.official-grid,.about-grid{grid-template-columns:1fr}.paper{max-width:450px}.section-heading,.contact-grid,footer{align-items:flex-start;flex-direction:column}.about-grid{gap:35px}}@media(max-width:560px){.brand small{display:none}.hero-inner{padding:75px 0}.hero h1{font-size:48px}.hero blockquote{font-size:16px}.quick,.events,.official,.about{padding:58px 0}.temple-photo{min-height:320px}.paper{height:230px}.contact-actions{margin-top:5px}}

/* Hero com fotografia oficial do Templo */
.hero-inner{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)!important;gap:clamp(32px,5vw,80px);align-items:center}
.hero-copy{max-width:760px}
.hero-photo{position:relative;justify-self:stretch;max-width:650px}
.hero-photo>img:first-child{display:block;width:100%;height:520px;object-fit:cover;object-position:center;border-radius:4px 48px 4px 48px;box-shadow:0 28px 70px rgba(0,0,0,.34);border:1px solid rgba(238,211,143,.32)}
.hero-seal{position:absolute!important;width:92px!important;height:92px!important;object-fit:contain!important;right:-20px;bottom:-20px;background:#f4f0e7;border-radius:50%;padding:7px;box-shadow:0 12px 30px rgba(0,0,0,.28)}
.brand{gap:0!important}
@media(max-width:900px){.hero-inner{grid-template-columns:1fr!important}.hero-photo{max-width:none;width:100%;margin-top:10px}.hero-photo>img:first-child{height:min(70vw,500px)}.hero-seal{width:72px!important;height:72px!important;right:12px;bottom:-16px}}

/* Butsumaru como símbolo oficial no cabeçalho */
.brand{display:flex!important;align-items:center!important;gap:10px!important}
.brand-mark{width:48px;height:48px;object-fit:contain;flex:0 0 48px}
.hero-seal{display:none!important}
/* Mapa na seção O Templo */
.temple-map{position:relative;min-height:470px;border-radius:16px;overflow:hidden;background:#e7ebe8;box-shadow:0 14px 38px rgba(20,55,39,.10)}
.temple-map iframe{display:block;width:100%;height:470px;border:0}
.temple-map>a{position:absolute;left:22px;bottom:22px;background:#fff;color:#143c2b;text-decoration:none;font-weight:700;padding:12px 16px;border-radius:9px;box-shadow:0 7px 20px rgba(0,0,0,.16)}
@media(max-width:700px){.brand-mark{width:40px;height:40px;flex-basis:40px}.temple-map,.temple-map iframe{min-height:360px;height:360px}}

/* Refinamento visual conforme layout aprovado */
.site-head .bar{max-width:1540px}
.brand-mark{display:block!important;width:54px!important;height:54px!important;flex:0 0 54px!important;object-fit:contain!important;margin-right:10px}
.brand strong{font-size:1.38rem}
.hero{overflow:hidden}
.hero-inner{max-width:1540px!important;grid-template-columns:minmax(0,.98fr) minmax(520px,1.02fr)!important}
.hero-photo{max-width:720px!important}
.hero-photo>img:first-child{height:430px!important;border-radius:28px!important;object-position:center 46%!important}
.hero:before{content:"";position:absolute;left:-135px;top:20px;width:430px;height:430px;background:url("/assets/site/butsumaru.png") center/contain no-repeat;opacity:.055;pointer-events:none}
.about .section-wrap{max-width:1540px}
.about-grid{grid-template-columns:minmax(560px,1.08fr) minmax(430px,.92fr)!important;gap:64px!important;align-items:center}
.temple-map{position:relative!important;width:100%;min-height:500px!important;height:500px!important;border-radius:28px!important;overflow:hidden!important;background:#e7ebe8;box-shadow:0 16px 40px rgba(20,55,39,.13);border:1px solid #d5ded8}
.temple-map iframe{display:block!important;width:100%!important;height:100%!important;border:0!important}
.temple-map>a{display:none!important}
.map-info{position:absolute;left:22px;top:22px;width:min(285px,calc(100% - 44px));background:rgba(255,255,255,.96);padding:18px 20px;border-radius:14px;box-shadow:0 10px 28px rgba(0,0,0,.16);display:flex;flex-direction:column;gap:7px;color:#193d2d}
.map-info strong{font-size:1.13rem}.map-info span{font-size:.88rem;line-height:1.45;color:#5c6961}.map-info a{font-size:.88rem;font-weight:700;color:#17663e;text-decoration:none;margin-top:3px}
.map-pin{position:absolute;left:52%;top:45%;width:78px;height:78px;border-radius:50% 50% 50% 0;transform:translate(-50%,-50%) rotate(-45deg);background:#174d35;padding:5px;box-shadow:0 9px 24px rgba(0,0,0,.28);border:3px solid white;pointer-events:none}
.map-pin img{width:100%;height:100%;border-radius:50%;object-fit:cover;transform:rotate(45deg)}
@media(max-width:1000px){.hero-inner{grid-template-columns:1fr!important}.hero-photo{max-width:none!important}.about-grid{grid-template-columns:1fr!important}.temple-map{height:430px!important;min-height:430px!important}.hero:before{opacity:.035}}
@media(max-width:700px){.brand-mark{width:43px!important;height:43px!important;flex-basis:43px!important}.hero-photo>img:first-child{height:330px!important}.temple-map{height:380px!important;min-height:380px!important;border-radius:20px!important}.map-info{left:12px;top:12px;width:calc(100% - 24px);padding:13px 15px}.map-pin{width:62px;height:62px}}

/* CORREÇÃO FINAL DE LAYOUT — 04/10/2026
   Sobrescreve regras antigas conflitantes sem alterar a lógica PHP. */
.site-head{position:relative;z-index:20;background:#fff}
.site-head .bar{
  width:min(1540px,calc(100% - 64px))!important;
  max-width:1540px!important;
  min-height:92px!important;
  margin:0 auto!important;
  padding:10px 0!important;
  display:flex!important;
  align-items:center!important;
}
.brand{display:flex!important;align-items:center!important;gap:14px!important;text-decoration:none!important}
.brand-mark{
  display:block!important;
  position:static!important;
  width:62px!important;height:62px!important;
  min-width:62px!important;max-width:62px!important;
  flex:0 0 62px!important;
  margin:0!important;padding:0!important;
  object-fit:contain!important;
  transform:none!important;
}
.brand strong{display:block!important;font-size:1.42rem!important;line-height:1.05!important}
.brand small{display:block!important;margin-top:5px!important}
.site-head nav{margin-left:auto!important}

.hero-inner,.section-wrap{
  width:min(1540px,calc(100% - 64px))!important;
  max-width:1540px!important;
  margin-left:auto!important;margin-right:auto!important;
}
.hero-inner{min-height:680px!important;padding-top:56px!important;padding-bottom:56px!important}
.hero-photo>img:first-child{width:100%!important;height:500px!important;border-radius:32px!important}

.about{padding:88px 0!important}
.about .section-wrap.about-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr)!important;
  gap:72px!important;
  align-items:center!important;
}
.temple-map{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:520px!important;
  min-height:520px!important;
  max-height:none!important;
  border-radius:32px!important;
  overflow:hidden!important;
  background:#e6ebe7!important;
  border:1px solid #d6dfd9!important;
  box-shadow:0 18px 45px rgba(20,55,39,.14)!important;
}
.temple-map iframe{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;height:100%!important;
  min-width:100%!important;min-height:100%!important;
  border:0!important;
}
.map-info{
  position:absolute!important;
  z-index:4!important;
  left:24px!important;top:24px!important;
  width:300px!important;max-width:calc(100% - 48px)!important;
  box-sizing:border-box!important;
  background:rgba(255,255,255,.97)!important;
  padding:18px 20px!important;
  border-radius:16px!important;
  box-shadow:0 10px 30px rgba(0,0,0,.18)!important;
}
.map-pin{display:none!important}

/* impede que regras antigas de .temple-photo atinjam o novo mapa */
.temple-map:before,.temple-map:after{content:none!important}

@media(max-width:1000px){
 .site-head .bar,.hero-inner,.section-wrap{width:min(100% - 36px,1540px)!important}
 .about .section-wrap.about-grid{grid-template-columns:1fr!important;gap:38px!important}
 .temple-map{height:460px!important;min-height:460px!important}
 .hero-inner{min-height:auto!important}
}
@media(max-width:700px){
 .site-head .bar{width:calc(100% - 24px)!important;min-height:74px!important}
 .brand-mark{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;flex-basis:46px!important}
 .brand strong{font-size:1.05rem!important}
 .brand small{font-size:.68rem!important}
 .hero-inner,.section-wrap{width:calc(100% - 28px)!important}
 .hero-photo>img:first-child{height:330px!important;border-radius:22px!important}
 .temple-map{height:390px!important;min-height:390px!important;border-radius:22px!important}
 .map-info{left:12px!important;top:12px!important;width:calc(100% - 24px)!important;max-width:none!important;padding:13px 15px!important}
}
