:root {
  --vermelho: #951c24;
  --vermelho-escuro: #810000;
  --vermelho-claro: #b32832;

  --azul: #053d6b;
  --azul-claro: #0b5ea5;

  --dourado: #d97809;
  --dourado-claro: #f29b2e;

  --verde: #007000;
  --verde-claro: #0c8c0c;

  --texto-claro: #ffffff;
  --texto-escuro: #222222;
}

* {
  box-sizing: border-box;
}
body {
  position: relative;
  background: linear-gradient(180deg, #810000, #951c24 40%, #5a0f15 100%);
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url("bg.png") repeat;
  pointer-events: none;
  opacity: 0.45; /* ajuste aqui */
  z-index: 1;
}

h1, h2, h3, .cinzel {
  font-family: "Cinzel", serif;
}

h2{
  font-weight: 700;
}
section {
  position: relative;
  padding: 4rem 0;
}

a {
  text-decoration: none;
}



/* cores de fundo de seção */
.bg-vermelho {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02) 0, transparent 25%),
    linear-gradient(135deg, var(--vermelho-claro) 0%, var(--vermelho) 50%, var(--vermelho-escuro) 100%);
    color: white;
}

.bg-azul {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0, transparent 30%),
    linear-gradient(135deg, var(--azul-claro) 0%, var(--azul) 60%, #021e35 100%);
}

.bg-dourado {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.12) 0, transparent 40%),
    linear-gradient(135deg, var(--dourado-claro) 0%, var(--dourado) 55%, #a85d05 100%);
}

.bg-preto {
  background:
    linear-gradient(180deg, #000000 0%, #121212 60%, #000000 100%);
  color: #ffffff;
}

/* Botões */
.btn-natal {
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  border: none;
  background-color: #e88513;
  color: #ffffff;
  display: inline-block;

}

.btn-natal:hover {
  background-color: #5e0000;
  color: #ffffff;
}

.btn-natal-azul {
  background-color: var(--azul);
}

.btn-natal-dourado {
  border-radius: 999px;
  padding: 0.9rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--dourado);
  color: #ffffff;
  border: none;
}

.btn-natal-dourado:hover {
  background-color: #b76200;
  color: #ffffff;
}

/* navbar topo direito */
.navbar {
  background-color: transparent;
  padding-top: 1rem;
}

.navbar-nav {
  margin-left: auto;
  gap: 1rem;
}

.navbar a {
  color: #ffece9;
  font-size: 0.9rem;
}

.navbar a:hover {
  color: #ffffff;
}

/* HERO */

.logo-menu {
  height: 55px;   /* ajuste conforme o tamanho do seu logo */
  width: auto;
}


.hero-text {
  max-width: 500px;
  color: white;
}

.hero-logo {

  width: 50%;
}

.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: clamp(2rem, 3vw + 1rem, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-sub {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* GALERIA */

.gallery-modal-img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* botão X fixo no canto superior direito */
.gallery-close {
  position: absolute !important;
  top: 10px;
  right: 10px;
  z-index: 5;
}

.modal-content {
  position: relative;
  overflow: hidden;
}

.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.4);
  transform: scale(1.2);
  z-index: 1;
}

.gallery-modal-img {
  position: relative;
  z-index: 2;
  max-height: 90vh;
  max-width: 100%;
  object-fit: contain;
}

#galeria{
  color: white;
}
.gallery-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background-color: #7a161d;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-thumb::after {
  content: "Clique para ampliar";
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}

.gallery-thumb:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* cartões de experiências */
.card-experiencia {
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  color: #ffffff;
  border: none;
  height: 100%;
}

.card-experiencia.vermelho {
  background:
    linear-gradient(135deg, var(--vermelho-claro) 0%, var(--vermelho) 60%, var(--vermelho-escuro) 100%);
}

.card-experiencia.verde {
  background:
    linear-gradient(135deg, var(--verde-claro) 0%, var(--verde) 60%, #005300 100%);
}

.card-experiencia h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-experiencia p {
  margin: 0;
  font-size: 0.95rem;
}

/* links das cards sem sublinhado/sublimado */
.card-experiencia a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.card-experiencia a:hover {
  text-decoration: none;
}

/* separador com estrelas entre seções */
.stars-separator {
  position: relative;
  height: 60px;
  overflow: visible;
}

.star-shape {
  position: absolute;
  width: 36px;
  height: 36px;
  background:
    radial-gradient(circle at 30% 30%, #ffe6aa 0, #f2b53d 45%, #c48310 100%);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.star-shape.small {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.star-shape:nth-child(1) { left: 5%; top: 10px; }
.star-shape:nth-child(2) { left: 45%; top: -10px; }
.star-shape:nth-child(3) { right: 8%; top: 15px; }
.star-shape:nth-child(4) { right: 25%; top: -5px; }
.star-shape:nth-child(5) { left: 25%; top: 20px; }

/* sessão experiência Portalegre */
.btn-pill {
  border-radius: 18px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  border: none;
  font-size: 0.95rem;
  color: #ffffff;
  display: inline-block;
}

.btn-pill-azul {
  background:
    linear-gradient(135deg, var(--azul-claro) 0%, var(--azul) 60%, #021e35 100%);
}

.btn-pill-dourado {
  background:
    linear-gradient(135deg, var(--dourado-claro) 0%, var(--dourado) 60%, #a85d05 100%);
}

/* banner fixo placeholder */
.banner-fixo {
  width: 100%;
  padding: 0;
  margin: 0;
}

.banner-fixo-img {
  width: 100%;
  height: auto;
  display: block;
}

/* rodapé */

.footer-simples {
  background: #340600;
  padding: 20px 0;
}

.footer-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  opacity: 0.9;
}


/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .hero-text {
    margin: 0 auto 2rem;
  }

  .hero-logo-wrapper {
    text-align: center;
  }

  .navbar-collapse {
    background-color: rgba(149, 28, 36, 0.96);
    padding: 1rem 0.75rem;
  }
}

/* ANIMAÇÃO DE ROLAGEM (repetível) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================== PROGRAMAÇÃO ================== */

/* banner preto com imagem ao fundo */
.program-hero {
  background: #000 url("programacao/programacaobg.jpg") center center / cover no-repeat;
  color: #ffffff;
  padding: 5rem 0;
}

.program-hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.program-hero-content h1 {
  font-size: 1.9rem;
}

.program-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.program-title {
  letter-spacing: 0.1em;
  font-size: 1.5rem;
}

/* lista de dias */
.program-list {
  max-width: 780px;
  margin: 0 auto;
  font-size: 0.98rem;
}

.program-day {
  margin-bottom: 2rem;
  color: white;
}

.program-date {
  font-size: 1.2rem;
  color: #f8c237;
  text-transform: none; /* segue norma culta, sem caixa alta obrigatória */
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.program-content {
  margin-left: 0.1rem;
}

.program-cultural ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.7rem;
}

.program-cultural li::before {
  content: "•";
  margin-right: 0.45rem;
  color: #ffd98a;
}

/* bloco da Vila dos Sabores, com separação visual */
.program-vila {
  margin-top: 0.7rem;
}

.vila-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: #f8c237;
}

.vila-horario {
  margin: 0.15rem 0 0;
  font-weight: 500;
}

/* linha fina amarela entre datas */
.program-divider {
  border-bottom: 1px solid rgba(217, 120, 9, 0.7); /* dourado */
  margin-top: 1.3rem;
  margin-bottom: 1.5rem;
}

/* responsivo */
@media (max-width: 576px) {
  .program-hero {
    padding: 3rem 0;
  }
  .program-hero-content h1 {
    font-size: 1.6rem;
  }
  .program-list {
    font-size: 0.95rem;
  }
}

/* texto das descrições das vilas */
.vila-texto {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
}

/* fundo verde da Vila do Noel (sem perder o padrão de gradiente) */
.bg-verde-vila {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.12) 0, transparent 40%),
    linear-gradient(135deg, #0c8c0c 0%, #007000 55%, #005300 100%);
}

/* grid de logos dos participantes */
.logo-participante {
  aspect-ratio: 1 / 1; /* quadrado */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-participante img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;  
  border-radius: 18px;

}

/* =========================
   BLOCO SEO (VISÍVEL E ELEGANTE)
   ========================= */

.seo-info-section {
  padding: 100px 0;
  background: #822320;
  color: rgba(255, 255, 255, 0.85);
}

.seo-wrapper {
  max-width: 960px;
}

.seo-logo {
  width: 120px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.9;
}

.seo-text {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  text-align: left;
}




/* MOBILE — remove o logo e centraliza */
@media (max-width: 768px) {
  .seo-logo {
    display: none;
  }

  .seo-info-section {
    padding: 40px 0;
  }

  .seo-text {
    text-align: center;
    font-size: 0.95rem;
  }
}

#galeria-videos{
  color: white;
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.insta-item {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}

.insta-frame {
  width: 100%;
  height: 100%;
  border: 0;
}



