:root {
  --primary-gold: #F4C430;
  --secondary-gold: #FFD700;
  --gold-light: #F8D66D;
  --gold-deep: #E5B700;
  --blue-deep: #0E2955;
  --primary-red: #C8102E;
  --primary-blue: #0057B8;
  --dark-blue: #003D82;
  --accent-brown: #654321;
  --light-cream: #FFFEF2;
  --beige: #F5F5DC;
  --bege-claro: #f8f4ec;
  --dourado: #d9b66d;
  --dourado-escuro: #b98b40;
  --marrom: #6b4b2e;
  --marrom-escuro: #3d2a1a;
  --branco: #ffffff
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--marrom-escuro);
  background-color: var(--bege-claro);
}


.top-bar {
    background: linear-gradient(90deg, var(--dourado) 0%, var(--dourado-escuro) 100%);
    color: #fff;
    padding: 8px 0;
}

.top-bar a {
    color: var(--marrom-escuro);
    margin: 0 10px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
  color: var(--light-cream);
}

.site-header {
/*    background: linear-gradient(135deg, rgba(107, 75, 46, 0.8), rgba(61, 42, 26, 0.9)), url(/imagens/topo.jpg) center / contain no-repeat;*/
    padding: 40px 0;
    background: url(/imagens/topo.jpg) center / contain no-repeat #f8efda;
}

@media (min-width: 1000px) {
    .site-header {
        height: 283px;
    }
}

@media (max-width: 768px) {
    body header.site-header {
        background: url(/imagens/topo.jpg) center / cover;
    }
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-area img {
  height: 130px;
}

.logo-text h1 {
    color: var(--marrom-escuro);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    line-height: 1.5rem;
}

.main-nav {
  background: linear-gradient(90deg, var(--marrom) 0%, var(--marrom-escuro) 100%);
}

.main-nav .nav-link {
  color: var(--branco) !important;
  text-transform: uppercase;
  padding: 14px 18px;
  transition: all 0.3s;
  margin:0 10px;
}

.main-nav .nav-link:hover {
  background: var(--dourado);
  color: var(--marrom-escuro) !important;
  border-radius: 3px;
}

.featured-section {
  padding: 40px 0;
}

.featured-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
  min-height: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, 
    rgba(25, 17, 11, 0.96) 0%, 
    rgba(45, 31, 20, 0.88) 35%, 
    rgba(70, 50, 32, 0.5) 65%, 
    transparent 100%);
  color: #fff;
  padding: 15px 20px;
  mix-blend-mode: normal;
}

.featured-overlay h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
}

.featured-overlay h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-overlay h3 a:hover, .news-card-body h4 a:hover {
  color: var(--dourado);
}

.featured-overlay .badge {
  background-color: var(--secondary-gold);
  color: var(--marrom-escuro);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 8px;
  display: inline-block;
  text-transform: uppercase;
}

.news-section {
  padding: 50px 0;
}

.section-header {
    background: linear-gradient(90deg, var(--dourado), var(--dourado-escuro));
    color: var(--marrom-escuro);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.4rem;
}

.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--dourado);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 20px;
}

.news-card-body .date {
  color: var(--dourado-escuro);
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.news-card-body h4{
    line-height: 1.3rem;
}

.news-card-body h4 a {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--marrom);
  text-decoration: none;
}

.btn-outline-primary {
  color: var(--primary-red);
  border-color: var(--primary-red);
}

.btn-outline-primary:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: white;
}

.pastor-section {
  background: linear-gradient(135deg, #FFF4D6 0%, #F4D78C 30%, #b18540a6 70%, #b0843f 100%);
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.pastor-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 10 L60 40 L90 40 L65 60 L75 90 L50 70 L25 90 L35 60 L10 40 L40 40 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  opacity: 0.3;
}

.pastor-section .container {
  position: relative;
  z-index: 1;
}

.pastor-section h2 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--accent-brown);
}

.pastor-section .lead {
  color: var(--accent-brown);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.pastor-section .btn-light {
  background-color: white;
  color: var(--accent-brown);
  border: 2px solid white;
  font-weight: 600;
}

/* Quick Links */
.quick-links {
  padding: 70px 0 50px 0;
  text-align: center;
  background-color: var(--light-cream);
}

.quick-link-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border-bottom: 4px solid var(--primary-gold);
}

.quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-bottom-color: var(--dourado-escuro);
}

.quick-link-card i {
  font-size: 3rem;
  color: var(--marrom);
  margin-bottom: 15px;
}

.quick-link-card h5 {
  color: var(--dark-blue);
  font-weight: 600;
}

.quick-link-btn {
  background: linear-gradient(90deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
  color: var(--dark-blue);
  border: none;
  padding: 12px 30px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 10px;
  transition: all 0.3s;
}

.quick-link-btn:hover {
  background: linear-gradient(90deg, var(--dourado) 0%, var(--dourado-escuro) 100%);
  color: white;
  transform: scale(1.05);
}

/* Formation Section */
.formation-section {
  padding: 30px 0;
}

.vermais {
  background-color: var(--primary-gold);
  color: var(--dark-blue);
  border: none;
  font-weight: 600;
}

.vermais:hover {
  background-color: white;
  color: var(--primary-red);
}

/* Banner */
.banner-section {
  padding: 50px 0;
}

.banner-section img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 4px solid var(--primary-gold);
}

/* paroquias Section */
.paroquias-section {
  padding: 30px 0;
}

.paroquias-section .section-header {
  background-color: var(--dark-blue);
}

.paroquias-section .btn-light {
  background-color: white;
  color: var(--primary-blue);
  border: 2px solid white;
}

.paroquias-section .btn-light:hover {
  background-color: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
}

.parish-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  border-top: 4px solid var(--dourado-escuro);
}

.parish-card:hover {
  transform: translateY(-5px);
}

.parish-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.parish-card a{
 color: var(--dourado);
 text-decoration: none;
}

.parish-card-body {
  padding: 20px;
}

.parish-card-body h5 {
  color: var(--accent-brown);
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
}

.col-md-9 h3{
  color: var(--dourado);
  text-decoration: none;
}

.dourado{
  color: var(--dourado);
  text-decoration: none;
}

.marrom{
  color: var(--marrom);
  text-decoration: none;
}

/* === RODAPÉ === */
.site-footer {
  background: linear-gradient(180deg, var(--marrom-escuro), var(--marrom));
  color: var(--branco);
  padding: 60px 0 30px;
}

.site-footer h5 {
  color: var(--dourado);
  border-bottom: 1px solid var(--dourado-escuro);
  padding-bottom: 10px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer a:hover {
  color: var(--dourado);
}

.site-footer i:not(.social-icons i){
    color: var(--dourado);
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  margin-right: 10px;
  font-size: 1.3rem;
  transition: all 0.3s;
  background: rgba(255,255,255,0.15);
}

.social-icons a:hover {
  transform: translateY(-4px);
  color: #fff;
}

.social-icons a[href*="facebook"]:hover { background: #1877F2; }
.social-icons a[href*="instagram"]:hover { 
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-icons a[href*="youtube"]:hover { background: #FF0000; }
.social-icons a[href*="whatsapp"]:hover { background: #25D366; }

.footer-bottom {
  border-top: 1px solid rgba(244, 196, 48, 0.3);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--light-cream);
}
#noticia_texto {
    text-align:justify
}
#noticia_texto p{
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
#noticia_texto a{
    color: var(--marrom-escuro);
}
#noticia_texto a:hover{
    color: var(--marrom);
}

#filhos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

#filhos li a {
    display: inline-block;
    background: linear-gradient(180deg, #886a4c, #4b2e15);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

#filhos li a:hover {
    background: linear-gradient(135deg, #5a3518, var(--marrom-escuro));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

#filhos li a:active {
    transform: scale(0.97);
}

#filhos li a::after {
    content: "›";
    margin-left: 8px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

#filhos li a:hover::after {
    opacity: 1;
}

.main-image-container{
    text-align: center;
}

.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-area {
        background: linear-gradient(to left, 
            rgba(248, 239, 218, 0.95) 0%, 
            rgba(248, 239, 218, 0.85) 70%, 
            transparent 100%);
        padding: 15px;
        border-radius: 8px;
    }
}
