@font-face {
  font-family: 'Umbrage';
  src: url('Umbrage/umbrage2.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  src: url('Montserrat-VariableFont_wght.ttf') format('truetype');
}

/* === Reset e Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Umbrage', sans-serif;
  background-color: #ffffff;
  color: #8B0000;
  line-height: 1.6;
}

/* === Header Principal === */
header.topo {
  text-align: center;
  background-color: #ffffff;
  padding: 120px 20px 60px;
  position: relative;
}

.logo,
.logo-grande {
  width: 480px;
  margin-bottom: 25px;
}

header.topo h1 {
  display: none;
}

.subtitulo {
  display: none;
}

/* === Redes Sociais (removido visualmente) === */
.redes-sociais {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Navbar === */
nav.navbar {
  background-color: #8B0000;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

nav .menu {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

nav .menu li {
  margin: 0 20px;
  transition: transform 0.3s ease;
}

nav .menu li:hover {
  transform: scale(1.1);
}

nav .menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
}

nav .menu li a:hover {
  color: #ddd;
}

/* === Conteúdo Principal === */
main {
  flex-grow: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 30px;
  width: 100%;
}

section {
  background-color: #fff;
  padding: 40px 20px;
  margin-bottom: 50px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.1);
  position: relative;
}

h2 {
  font-size: 2.4rem;
  color: #8B0000;
  margin-bottom: 10px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #8B0000;
  margin-top: 10px;
  border-radius: 2px;
}

#conceito p,
#valores p,
#vontade p,
#equipe p,
#visao p,
#eventos p {
  color: #000000;
  font-size: 1.4rem;
  line-height: 1.8;
  font-weight: normal;
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
}

/* === Unidades === */
.container-unidades {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 20px 0;
}

.card-unidade {
  background-color: #1a1a1a;
  border: 1px solid #9d2b2b;
  border-radius: 15px;
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-unidade h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card-unidade a {
  color: #e63946;
  text-decoration: none;
}

.card-unidade p {
  color: #f1f1f1;
  font-size: 0.95rem;
}

.card-unidade:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* === Rodapé === */
footer {
  background-color: #8B0000;
  color: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
}

.secao-final {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background-color: #8B0000;
  color: #fff;
  padding: 50px 30px;
  flex-wrap: wrap;
  width: 100%;
}

.secao-final .coluna {
  flex: 1 1 300px;
}

.secao-final h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #fff;
  display: flex;
  align-items: center;
}

.icone-instagram {
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

.secao-final p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ddd;
}

.botao-franquia,
.botao-instagram {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background-color: #fff;
  color: #8B0000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.botao-franquia:hover,
.botao-instagram:hover {
  background-color: #e2e2e2;
}

.imagem-insta {
  width: 100%;
  max-width: 240px;
  border-radius: 12px;
  margin-top: 10px;
}

/* === Botão Voltar ao Topo === */
.btn-voltar-topo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #8B0000;
  color: white;
  border-radius: 50%;
  font-size: 20px;
  text-align: center;
  line-height: 56px;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* === Estilos para Página de Franqueado === */
form {
  display: flex;
  flex-direction: column;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

form label {
  margin-bottom: 6px;
  font-weight: bold;
  color: #8B0000;
  font-size: 1.1rem;
}

form input,
form textarea {
  margin-bottom: 20px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

form input:focus,
form textarea:focus {
  border-color: #8B0000;
  outline: none;
  box-shadow: 0 0 5px rgba(139, 0, 0, 0.3);
}

form button {
  background-color: #8B0000;
  color: #fff;
  padding: 12px;
  border: none;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #a40000;
}

/* === Responsivo === */
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }

  .unidade p {
    font-size: 1rem;
  }

  header.topo h1 {
    display: none;
  }

  .logo,
  .logo-grande {
    width: 340px;
  }

  nav .menu {
    flex-direction: column;
  }

  nav .menu li {
    margin: 10px 0;
  }

  .secao-final {
    flex-direction: column;
    text-align: center;
  }

  .secao-final .coluna {
    margin-bottom: 30px;
  }

  .imagem-insta {
    margin: 0 auto;
  }

  form {
    padding: 20px;
  }
}

/* === NOVAS REGRAS (APENAS PARA O RODAPÉ COM MONTSERRAT) === */
.coluna-montserrat h3,
.coluna-montserrat p,
.coluna-montserrat a {
  font-family: 'Montserrat', sans-serif !important;
}

.coluna-montserrat .botao-franquia,
.coluna-montserrat .botao-instagram {
  font-family: 'Montserrat', sans-serif !important;
  color: #8B0000;
}