
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --vermelho:#b32025;
  --vermelho-escuro:#7f1116;
  --texto:#222;
  --claro:#fff5f5;
}

html{
  scroll-behavior:smooth;
}

body {
  background: linear-gradient(rgba(255,255,255,0.23), rgba(255,255,255,0.23)), url("../imagens/fundo.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  color: var(--texto);
  overflow-x: hidden;
}

.botao-menu {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1000;
  background-color: var(--vermelho);
  color: white;
  border: none;
  font-size: 26px;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
}

.menu-superior {
  width: 100%;
  background: #4c0605;
  border-bottom: 4px solid var(--vermelho);
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 70px;
  position: sticky;
  top: 0;
  z-index: 800;
  backdrop-filter: blur(6px);
  overflow-x: auto;
}

.menu-superior a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s;
  white-space: nowrap;
}

.menu-superior a:hover {
  background: var(--vermelho);
  transform: translateY(-2px);
}

.menu-lateral {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: linear-gradient(180deg, #111, #5e0d11);
  padding: 25px;
  transition: 0.3s;
  z-index: 1001;
}

.menu-lateral.ativo {
  left: 0;
}

.logo-menu {
  width: 100px;
  display: block;
  margin: 45px auto 25px;
  background-color: white;
  padding: 8px;
  border-radius: 12px;
}

.menu-lateral a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.menu-lateral a:hover {
  background-color: var(--vermelho);
  border-radius: 8px;
}

.fechar {
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  float: right;
  cursor: pointer;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  max-width: 1660px;
  margin: auto;
  padding: 42px;
}

.conteudo-central {
  background-color: rgba(255,255,255,0.95);
  padding: 46px;
  border-radius: 22px;
  border-top: 8px solid var(--vermelho);
  box-shadow: 0 8px 26px rgba(0,0,0,0.20);
}

.topo {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 28px;
  margin-bottom: 38px;
}

.topo-destaque {
  background: linear-gradient(135deg, #fff, #fff5f5);
  padding: 25px;
  border-radius: 20px;
  border-left: 8px solid var(--vermelho);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.etiqueta-site {
  display: inline-block;
  background: var(--vermelho);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 10px;
}

.logo {
  width: 118px;
  flex-shrink: 0;
}

.logo-grande{
  width: 140px;
}

.topo h1 {
  color: var(--vermelho);
  font-size: 44px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.topo p {
  color: #555;
  font-size: 18px;
}

.hero {
  background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
  color: white;
  padding: 44px;
  border-radius: 20px;
  margin-bottom: 44px;
  box-shadow: 0 7px 20px rgba(127,17,22,0.26);
}

.hero-profissional {
  min-height: 290px;
  display: flex;
  align-items: center;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.hero p {
  line-height: 1.8;
  font-size: 17px;
}

.bloco {
  margin-bottom: 54px;
}

.bloco h2 {
  color: var(--vermelho);
  margin-bottom: 16px;
  border-left: 6px solid var(--vermelho);
  padding-left: 12px;
  font-size: 29px;
}

.bloco p {
  line-height: 1.75;
  margin-bottom: 12px;
  font-size: 16.5px;
}

.cards-site {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
  margin-top: 22px;
}

.card-site,
.card-link {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  border-top: 5px solid var(--vermelho);
  box-shadow: 0 5px 14px rgba(0,0,0,0.10);
  min-height: 175px;
}

.card-site h3,
.card-link h3 {
  color: var(--vermelho);
  margin-bottom: 10px;
  font-size: 22px;
}

.card-site p,
.card-link p {
  line-height: 1.62;
}

.card-link {
  display: block;
  text-decoration: none;
  color: #222;
  transition: 0.25s;
}

.card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.16);
}

.card-site a,
.info-card a {
  color: var(--vermelho);
  font-weight: bold;
  text-decoration: none;
}

.card-site a:hover,
.info-card a:hover {
  text-decoration: underline;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.foto {
  height: 230px;
  background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
  color: white;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 5px 14px rgba(0,0,0,0.18);
  transition: 0.3s;
}

.foto:hover {
  transform: scale(1.02);
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Se alguma imagem estiver faltando, o card fica vermelho sem quebrar o layout */
.foto img[src=""] {
  display:none;
}

.painel-direito {
  background: rgba(255,255,255,0.95);
  padding: 26px;
  border-radius: 20px;
  height: fit-content;
  position: sticky;
  top: 92px;
  border-top: 8px solid var(--vermelho);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.painel-direito h3 {
  color: var(--vermelho);
  margin-bottom: 20px;
  font-size: 23px;
}

.info-card {
  background: var(--claro);
  padding: 16px;
  border-left: 5px solid var(--vermelho);
  border-radius: 10px;
  margin-bottom: 13px;
}

.info-card strong {
  color: #333;
}

.botao-voltar {
  display: inline-block;
  margin-bottom: 25px;
  background-color: var(--vermelho);
  color: white;
  padding: 11px 17px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
}

.botao-voltar:hover {
  background-color: var(--vermelho-escuro);
}

.voltar-fixo {
  position: sticky;
  top: 82px;
  z-index: 900;
  width: fit-content;
}

.botoes-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 26px;
}

.botoes-acoes a,
.botao-eventos {
  display: inline-block;
  background: white;
  color: var(--vermelho);
  padding: 13px 19px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.botoes-acoes a:hover,
.botao-eventos:hover {
  background: #eee;
  transform: translateY(-2px);
}

.botoes-vermelhos a,
.botao-eventos {
  background: var(--vermelho);
  color: white;
}

.botoes-vermelhos a:hover,
.botao-eventos:hover {
  background: var(--vermelho-escuro);
}

.whatsapp {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 27px;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
  z-index: 999;
  font-family: Arial, sans-serif;
}

.whatsapp:hover {
  transform: scale(1.1);
}

.calendario {
  background-color: white;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  margin-top: 25px;
  border: 1px solid #eee;
}

.calendario h2 {
  color: var(--vermelho);
  margin-bottom: 20px;
  text-transform: capitalize;
  border: none;
  padding-left: 0;
}

.grade-calendario {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.dia-semana {
  font-weight: bold;
  color: var(--vermelho);
  text-align: center;
  padding: 10px 0;
  background: var(--claro);
  border-radius: 8px;
}

.dia {
  background-color: #f0f0f0;
  min-height: 75px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-weight: bold;
  padding: 10px;
  position: relative;
}

.dia.vazio {
  background-color: transparent;
}

.dia.com-evento {
  background-color: var(--vermelho);
  color: white;
  cursor: pointer;
}

.dia.com-evento::after {
  content: "Evento";
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 11px;
  background: white;
  color: var(--vermelho);
  padding: 3px 6px;
  border-radius: 8px;
}

.pagina-calendario {
  background: linear-gradient(rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.30)), url("../imagens/fundo.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.calendario-completo {
  max-width: 1080px;
  margin: auto;
  padding: 42px 25px;
}

.topo-calendario {
  text-align: center;
  margin-bottom: 35px;
  background: rgba(255,255,255,0.96);
  padding: 30px;
  border-radius: 18px;
  border-top: 7px solid var(--vermelho);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.topo-calendario h1 {
  font-size: 38px;
  margin-bottom: 10px;
  color: var(--vermelho);
}

.mes-calendario {
  margin-bottom: 58px;
}

.mes-calendario h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 18px;
  color: white;
  background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
  padding: 14px;
  border-radius: 14px;
  text-transform: capitalize;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.grade-mes-completo {
  background: rgba(255,255,255,0.97);
  border-radius: 18px;
  padding: 25px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  border-top: 7px solid var(--vermelho);
}

.nome-dia-completo {
  color: var(--vermelho);
  text-align: center;
  font-weight: bold;
  padding: 10px 0;
  background: var(--claro);
  border-radius: 10px;
}

.dia-completo {
  min-height: 78px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #222;
  font-size: 21px;
  position: relative;
  background: #f1f1f1;
  font-weight: bold;
}

.dia-completo.evento {
  background: var(--vermelho);
  color: white;
  cursor: pointer;
}

.dia-completo.evento::after {
  content: "Evento";
  position: absolute;
  bottom: 7px;
  font-size: 11px;
  background: white;
  color: var(--vermelho);
  padding: 3px 7px;
  border-radius: 8px;
}

.dia-completo.evento:hover {
  background: var(--vermelho-escuro);
}

.dia-completo.vazio {
  opacity: 0;
}

.rodape-faixa {
  width: 100%;
  background: var(--vermelho);
  color: white;
  padding: 13px 25px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 14px;
}

.rodape-faixa a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.rodape-faixa a:hover {
  text-decoration: underline;
}

.rodape-faixa span:last-child {
  font-weight: 600;
}

@media(max-width: 1100px) {
  .menu-superior {
    padding-left: 80px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .painel-direito {
    position: static;
  }
}

@media(max-width: 900px) {
  body{
    background-attachment: scroll;
  }

  .layout {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .conteudo-central {
    padding: 28px;
  }

  .cards-site,
  .galeria {
    grid-template-columns: 1fr;
  }

  .topo {
    flex-direction: column;
    text-align: center;
  }

  .topo h1 {
    font-size: 32px;
  }

  .logo-grande{
    width: 125px;
  }

  .hero h2{
    font-size: 28px;
  }

  .dia {
    min-height: 55px;
    font-size: 14px;
  }

  .rodape-faixa {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}
