@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100..900&family=Sansation:wght@300;400;700&display=swap');

:root {
  --cor: #c4976e;
  --cor0: #fff;
  --cor2: #ccc;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

body {
  background: #f4f4f4;
}

a,
ul,
li,
button,
input {
  text-decoration: none;
  list-style: none;
  border: none;
}

a:hover,
button:hover {
  filter: brightness(.8);
}

.img-main {
  width: 100%;
  height: 80vh;
  overflow: hidden;
  position: relative;
}

.img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-main .text {
  position: absolute;
  color: var(--cor0);
  left: 7%;
  bottom: 20%;
  max-width: 500px;
}

.img-main .first {
  font-size: 3rem;
  font-weight: 700;
}

.img-main .second {
  font-size: 1.3rem;
}

/* Seção sobre */
#about {
  .cards-section {
    width: 100%;
    padding: 25px;
    overflow: auto;
    background: transparent;
  }

  .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
  }

  .card {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    background: url(../../public/logo/logo.jpg) no-repeat top;
    background-size: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--cor0);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    position: relative;
    border-right: 2px solid #b12fcbea;
    border-bottom: 2px solid #b12fcbea;
    overflow: hidden;
  }

  i {
    color: #b12fcbea;
  }

  .card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    border: 1px solid #b12fcb;
    padding: 10px 20px;
    transition: transform 0.5s ease;
    position: relative;
  }

  .card .texto {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    font-size: 15px;
    color: #fff8;
    background-color: transparent;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    height: 100%;
    overflow: auto;
    /* padding: 5px; */
  }

  .card:hover .texto {
    transform: translateY(5px);
  }

  .card:hover h3 {
    transform: translateY(-280px);
  }

  .card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
  }

  .card p {
    color: var(--cor2);
    font-size: 1rem;
    position: relative;
  }

  /* Responsividade */
  @media (max-width: 700px) {
    .img-main {
      height: 100vh;
    }
  }

  @media (max-width: 500px) {
    .cards-container {
      justify-items: start;
    }
  }
}
/* ----------Count------------- */
#count{
  .container{
    margin: 3rem 0px 0px 0px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    .card{
      display: flex;
      flex-flow: column wrap;
      align-items: center;
      justify-content: center;
      margin: 1rem 0px;
      gap: 0px;
      span{
        font-size: 3rem;
        font-weight: 700;
        color: #b12fcb;
      }
      p{
        color: #0009;
        font-size: 1.1rem;
      }
    }
  }
}
/* ----------------------------- */
/* Departamentos */
#departments {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;

  .section-title {
    font-size: 2.5rem;
    font-weight: 200;
    margin-bottom: 40px;
    color: #000;
  }

  .departments-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
  }

  .dep-card {
    background: #fafafa;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    max-width: 300px;
  }

  .dep-card:hover {
    transform: translateY(-10px);
  }

  .dep-card i {
    font-size: 2.5rem;
    color: #c4976e;
    margin-bottom: 15px;
  }

  .dep-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
  }

  .dep-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
  }

}
/* ------------------------------- */
/* primeira punlicidade */
#pub1 .container{
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  width: 100%;

  .texto{
    background: url('../public/logo/logo-lovisibility.gif');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    color: #0009;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    gap: 10px;
    h3{
      font-size: 2.5rem;
      font-weight: 500;
    }p{
      max-width: 400px;
      text-align: center;
    }button{
      background: #1877f3;
      padding: 9px 15px;
      font-size: 1.3rem;
      border-radius: 8px;
      color: #fff;
    }i{
      color: #ccc9;
      font-size: 8.5rem;
    }

  }
  .image{
    display: flex;
    align-items: center;
    justify-content: center;
    /* position: relative; */
    height: auto;
    img{
      width: 100%;
      object-fit: contain;
    @media(width > 700px ){
      width: 400px;
    }
    }
  }
}

/* caontact */
#contact {
  background: #e8491dc2;
  color: #fff;
  padding: 50px 0;
  text-align: center;
  padding: 30px;
  gap: 20px;

  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;

  >.container {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    gap: 20px;
    max-width: 500px;

    p{
      font-size: 1.7rem;
      font-weight: 280;
    }
  }

  img {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
  }

  /* Social Icons */
  .container .social-icons {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 18px;

  a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #e8491d;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.3s, color 0.3s, transform 0.2s;
    text-decoration: none;
    border: 2px solid #e8491d;
  }

  a.facebook:hover {
    background: #1877f3;
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
    border-color: #1877f3;
  }

  a.instagram:hover {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
    transform: scale(1.1) rotate(6deg);
    border-color: #d6249f;
  }

  a.whatsapp:hover {
    background: #25d366;
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
    border-color: #25d366;
  }
  }
}

/* c-------------------------------- */

/* Footer */
footer {
  background: #333;
  color: #fff;
  padding: 50px 0 20px;
  padding: 10px 20px;

.footer-col {
  margin-bottom: 30px;
}

.footer-col h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col p,
.footer-col a {
  color: #bbb;
  margin-bottom: 10px;
  display: block;
  display: inline-block;
}

.footer-col a:hover {
  color: #e8491d;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  margin-top: 20px;
}
}