@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;600;700&family=Karla:wght@400;500;600;700&display=swap');

:root{
  --brown:#37231d;
  --brown-2:#6b3f2a;
  --gold:#b68a4c;
  --gold-light:#d8bb7d;
  --cream:#f5eee4;
  --paper:#fbf6ed;
  --ink:#3b2a24;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family:Karla,Arial,sans-serif;
  background:
    linear-gradient(rgba(251,246,237,.10),rgba(251,246,237,.10)),
    url('../img/fundo-site.png') center top/cover fixed no-repeat;
  background-color:var(--cream);
}

.site-header{
  background:var(--brown);
  color:#fff;
  position:sticky;
  top:0;
  z-index:20;
  box-shadow:0 2px 14px #0003;
  border-bottom:1px solid rgba(216,187,125,.25);
}
.header-inner{
  max-width:1440px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:24px;
  padding:8px 28px;
}
.brand{
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  min-width:285px;
  flex:0 0 285px;
}
.brand img{
  display:block;
  width:275px;
  height:auto;
  max-height:88px;
  object-fit:contain;
  object-position:left center;
}
.main-nav{
  display:flex;
  gap:18px;
  align-items:center;
  flex:1;
  justify-content:center;
}
.main-nav a{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  white-space:nowrap;
  transition:color .2s ease;
}
.main-nav a:hover,.main-nav a.active{color:var(--gold-light)}
.mass-btn{
  background:#c6a267;
  color:#fff;
  text-decoration:none;
  border-radius:4px;
  padding:10px 13px;
  font-size:12px;
  white-space:nowrap;
  font-weight:600;
}

.hero{
  min-height:390px;
  background:
    linear-gradient(90deg,rgba(55,35,29,.88),rgba(55,35,29,.38),rgba(55,35,29,.20)),
    url('../img/fundo-site.png') center/cover;
  display:grid;
  place-items:center;
  text-align:center;
  color:#fff;
  border-bottom:1px solid rgba(182,138,76,.5);
}
.hero-overlay{
  padding:58px 20px;
  max-width:900px;
  text-shadow:0 2px 8px #0008;
}
.hero h1{
  font:700 58px "EB Garamond",serif;
  margin:10px 0;
}
.hero p{
  max-width:720px;
  margin:auto;
  line-height:1.7;
  font-size:18px;
}
.eyebrow{
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:12px;
}

.pastoral-menu{
  position:sticky;
  top:104px;
  z-index:15;
  background:rgba(245,238,228,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid #cdb994;
  display:flex;
  gap:22px;
  overflow-x:auto;
  padding:15px 24px;
  scrollbar-width:thin;
}
.pastoral-menu a{
  white-space:nowrap;
  color:var(--brown);
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}
.pastoral-menu a:hover{color:#9a743b}

main{
  max-width:1120px;
  margin:auto;
}
.pastoral-section{
  padding:78px 24px;
  border-bottom:1px solid rgba(216,199,172,.8);
  scroll-margin-top:165px;
  background:rgba(251,246,237,.64);
}
.section-heading{
  display:flex;
  align-items:center;
  gap:15px;
  justify-content:center;
  margin-bottom:28px;
}
.section-heading span{
  height:1px;
  background:#c8a66d;
  flex:1;
  max-width:150px;
}
.section-heading h2{
  font:600 38px "EB Garamond",serif;
  text-align:center;
  margin:0;
  color:var(--brown);
}
.richtext{
  font-size:17px;
  line-height:1.8;
  max-width:900px;
  margin:0 auto 28px;
}
.photo-grid{margin-top:25px}
.main-photo{margin:0}
.main-photo img{
  display:block;
  width:100%;
  max-height:560px;
  object-fit:cover;
  border-radius:4px;
}
.thumbs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:12px;
}
.thumbs figure{margin:0}
.thumbs img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:4px;
}
.details{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin:28px 0;
}
.details>div{
  background:rgba(243,231,214,.90);
  border-left:3px solid var(--gold);
  padding:20px;
}
.details p{
  margin:8px 0 0;
  line-height:1.6;
}
.contact-btn{
  display:inline-block;
  background:var(--brown);
  color:#fff;
  text-decoration:none;
  padding:13px 22px;
  border-radius:4px;
  font-size:14px;
  font-weight:600;
}
.footer{
  background:var(--brown);
  color:#eee;
  text-align:center;
  padding:30px 20px;
  font-size:13px;
}
.footer small{
  display:block;
  text-align:right;
  max-width:1120px;
  margin:15px auto 0;
  font-size:10px;
  opacity:.7;
}

@media(max-width:1100px){
  .header-inner{gap:14px;padding:7px 18px}
  .brand{min-width:240px;flex-basis:240px}
  .brand img{width:230px;max-height:72px}
  .main-nav{gap:12px}
  .main-nav a{font-size:11px}
  .mass-btn{font-size:11px;padding:9px 10px}
}
@media(max-width:900px){
  .main-nav{display:none}
  .header-inner{justify-content:center}
  .brand{min-width:0;flex-basis:auto;justify-content:center}
  .brand img{width:280px;max-height:76px}
  .mass-btn{display:none}
  .hero{min-height:320px}
  .hero h1{font-size:44px}
  .hero p{font-size:16px}
  .pastoral-menu{top:76px}
  .details{grid-template-columns:1fr}
  .thumbs img{height:110px}
  .section-heading h2{font-size:30px}
}
@media(max-width:560px){
  .header-inner{padding:5px 12px}
  .brand img{width:245px;max-height:66px}
  .hero{min-height:290px}
  .hero-overlay{padding:45px 18px}
  .hero h1{font-size:38px}
  .pastoral-section{padding:58px 18px}
  .pastoral-menu{gap:16px;padding:13px 16px}
}
