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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f7f7f7;
  color: #333;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  width: 100%;
  max-width: 400px;
  margin: 25px auto 40px;
  padding: 0 10px;

  padding: 0 5px;
}

.logo-container img {
  height: auto;
  display: block;
  max-height: 80px;
}

.logo {
  flex: 1 1 auto;
  max-width: 75%;
  width: 100%;
}

.qr-code {
  flex: 0 0 auto;
  flex: 1 1 auto;
  max-width: 80px;
  width: 25%;
  min-width: 30px;
}

.indice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}

.botao-com-icone {
  position: relative;
  width: 100%;
  max-width: 350px;
  padding: 15px 50px 15px 20px;
  background-color: #9a2327;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  overflow: hidden;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.botao-com-icone:hover {
  background-color: #ad2529;
}

.botao-com-icone .texto {
  display: block;
  width: 95%;
}

.botao-com-icone i {
  position: absolute;
  right: 20px;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  pointer-events: none;
}

.redes-sociais {
  text-align: center;
  padding: 30px 15px;
  background-color: #f0f0f0;
  margin-top: 45px;
}

.redes-sociais h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #2c3e50;
}

.grupo-redes {
  margin-bottom: 30px;
}

.grupo-redes h3 {
  font-size: 1.2em;
  color: #34495e;
}

.icones {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.icones a {
  font-size: 50px;
  color: #C1272D;
}

.icones a:hover {
  color: #d32228;
}

footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
  color: #888;
}

.modal-qr {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-qr.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 98vw;
  max-height: 98vh;
}

.modal-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.fechar-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff555b;
  border: none;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }
}