body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}
.inline {
    display: inline-block;
}

#titulo {
    flex: 1;
    text-align: center;
}

#titulo h1,
#titulo h3 {
    margin: 0;
}

#titulo h1 {
    font-size: 80px;
     font-family: 'Poppins';
}
#titulo h3 {
    font-size: 18px;
     font-family: 'Poppins';
}

.logo{
    width: 200px;
    height: 200px;
    position: fixed;
    text-align: left;   
}
.topo {
    background: #2d7a7b;
    color: white;
    padding: 20px 80px 20px 20px; /* espaço para os ícones */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.topo nav {
    width: 100%;
    margin-top: 15px;
    text-align: center;
}

.icone{
    
    margin: 10px;
}

nav {
  margin-top: 15px;
}

nav a {
  margin: 6px;
  padding: 10px 16px;
  background: #f0c040;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

nav a:hover {
  background: #ddb030;
}

main {
  padding: 25px;
}

.galeria img {
  width: 100%;
  height: 180px;
  object-fit: contain;   /* NÃO CORTA */
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

body {
  background: #d5c6ed;
}

.galeria {
  background: #d5c6ed;
}

.galeria img {
  background: #ffffff;
}


.social-fixo {
    position: fixed;
    top: 20px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 9999;
}

.social-fixo img {
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social-fixo img:hover {
    transform: scale(1.1);
}

.galeria {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 imagens lado a lado */
  gap: 35px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal img {
  max-width: 200%;
  max-height: 200%;
  border-radius: 10px;
}

/* Tablets */
@media (max-width: 1024px) {
  .galeria {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Celulares */
@media (max-width: 600px) {
  .galeria {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria img {
    height: 200px;
  }
}

/* Celulares pequenos */
@media (max-width: 400px) {
  .galeria {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
    .topo {
        flex-direction: column;
        padding-right: 20px;
    }

    .social-fixo {
        position: static; /* deixa de ser flutuante */
        margin-top: 10px;
    }

    #titulo {
        order: 2;
        margin: 10px 0;
    }

    #logo {
        order: 1;
    }
}
