@font-face {
      font-family: 'minhaFonte';
      src: url(/portfolio/fonts/fonnts.com-Eigerdals_Heavy.otf) format('woff');
      font-weight: 400;
      font-style: normal;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background-color: #f9f9f9;
      margin: 0;
      padding: 40px 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    h1 {
      font-family: minhaFonte, sans-serif;
      font-size: 2.5rem;
      margin-bottom: 40px;
      background: linear-gradient(to right, #e91e63, #2196f3);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-align: left;
    }

    .topo {
      width: 80%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
      max-width: 1000px;
    }

    a.voltar {
      text-decoration: none;
      background: linear-gradient(to right, #e91e63, #2196f3);
      color: white;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: bold;
      transition: 0.3s;
    }

    a.voltar:hover {
      opacity: 0.85;
    }

    /* ----------------------------- */
    /* GRADE DAS POLAROIDS           */
    /* ----------------------------- */
    .galeria {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
      width: 80%;
      max-width: 1000px;
    }

    .polaroid {
      background-color: #fff;
      box-shadow: 0 5px 15px rgba(0,0,0,0.15);
      border-radius: 8px;
      padding: 10px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-decoration: none;
      color: inherit;
    }

    .polaroid img {
      width: 100%;
      border-radius: 5px;
      object-fit: cover;
    }

    .descricao {
      font-size: 0.95rem;
      margin-top: 10px;
      color: #333;
      padding: 0 5px 5px 5px;
    }

    .polaroid:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    }

    .video-container {
        position: relative;
        width: 100%;
        max-width: 640px;
        margin: 0 auto 40px;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
      }

      .video-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
      }

      .descricao-projeto {
        max-width: 800px;
        margin: 0 auto 40px;
        text-align: left;
        line-height: 1.6;
      }

      .descricao-projeto img {
      width: 100%;
      height: auto;
      max-width: 100%;
      display: block;
      object-fit: contain;
    }


      .descricao-projeto h3 {
        font-family: "MinhaFonte", sans-serif;
        font-size: 1.8rem;
        color: #444;
        margin-bottom: 10px;
      }

      .descricao-projeto h2{
      font-family: "MinhaFonte", sans-serif;
        font-size: 1.4rem;
        color: #444;
        margin-bottom: 10px;}

      .descricao-projeto p {
        font-family: 'Poppins', sans-serif;
        font-size: 1rem;
        color: #666;
        margin-bottom: 15px;
      }

      .miniaturas {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
      }

      .miniaturas img {
        width: 500px;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
      }
      .miniaturas image {
        width: 200%;
        height:auto;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
      }

      .miniaturas img:hover {
        transform: scale(1.15);
      }

      h4{
      font-family: MinhaFonte, sans-serif;
      font-size: 1.4rem;
      margin-bottom: 40px;
      background: linear-gradient(to right, #e91e63, #2196f3); /* rosa -> azul */
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }



    .contato {
  margin-top: 60px;
  width: 100%;
  text-align: center;
  font-family: minhaFonte, sans-serif;
  font-size: 1.2rem;
}

.contato a {
  display: inline-block;
  margin: 0 8px;
  text-decoration: none;
  font-weight: bold;
  background: linear-gradient(to right, #ff9800, #e91e63, #2196f3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.contato a:hover {
  background: linear-gradient(to right, #2196f3, #e91e63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(33,150,243,0.5);
}


/* Rodape               */

.footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9rem;
  color: #777;
}

/*--------*/

.container {
      width: 90%;
      max-width: 1100px;
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    .grupo {
      margin-bottom: 20px;
    }

    .grupo h2 {
      font-family: minhaFonte, sans-serif;
      font-size: 1.8rem;
      margin-bottom: 15px;
      background: linear-gradient(to right, #e91e63, #2196f3);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

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

  .card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    text-align: left;
  }

    .card:hover {
      transform: scale(1.05);
    }

  

    .card-title {
      font-family: minhaFonte, sans-serif;
      font-size: 1.3rem;
       background: linear-gradient(to right, #2b7fa7, #c591dd);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 5px;
    }

    .card-desc {
      color: #555;
      font-size: 0.95rem;
      margin-bottom: 8px;
      line-height: 1.4;
    }

    .voltar {
      display: inline-block;
      margin-top: 30px;
      padding: 12px 24px;
      background: linear-gradient(to right, #e91e63, #2196f3);
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: bold;
      transition: 0.3s;
    }


