@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');


body {
    background-color: black;
    font-family: "Exo 2", sans-serif;
    color: white;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
}


.header img {
    width: 157.25px;
    height: 34px;
}


.header ul {
    font-size: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 51px; 
}

.header a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

.header a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #00aced;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4,0.2,0.2,1);
    transform-origin: right;
}

.header a:hover {
    color: #00aced;
}

.header a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.sheader a:hover {
    color: #00aced;
}

.conteudo--comeco {
    font-size: 40px;
    margin-top: 176px;
    margin-left: 144px;
}

.conteudo--comeco p {
    font-size: 14px;
}

#PERFORMANCE{
    margin-left: 368px;
    margin-top: -70px;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* leve descida */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.conteudo--comeco h1 {
    margin: 0 0 10px 0;
    line-height: 1.2;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

h1:hover, h2:hover, h3:hover {
    text-shadow: none;
    transition: text-shadow 0.3s;
    cursor: pointer;
}

#BRANDING {
    animation-delay: 0.2s;
}
#DESIGN {
    animation-delay: 0.4s;
}
#CONTEUDO {
    animation-delay: 0.6s;
}
#PERFORMANCE {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Quando visível na tela */
.fade-in.show {
    animation: fadeInUp 0.8s forwards;
}
.conteudo--comeco p {
    font-size: 16px;
}


.projetos {
    font-size: 16px;

    margin-top: 400px;
    margin-left: 144px;
    display: flex;
    align-items: center;
    gap: 40px; /* Espaço entre os elementos, ajuste conforme necessário */
}

.projetos p {
    margin: 0;
}

.projetos p:nth-child(2) {
    margin-left: 800px;
}

.trabalhos {
    display: flex;
    flex-wrap: wrap;
    gap: 33px;
    justify-content: center;
    margin: 60px 0;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
}

.trabalho-img {
    width: 260px;
    height: 325px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    background: #222;
    transition: transform 0.3s cubic-bezier(0.4,0.2,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0.2,0.2,1);
}

.trabalho-img:hover {
    transform: scale(1.07) translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 1.5px 8px rgba(0,172,237,0.15);
    z-index: 2;
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.conteudo--final--titulo {
    font-size: 16px;
    margin-top: 100px;
    margin-left: 144px;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4,0.2,0.2,1);
}
.fade-in-right.show {
    opacity: 1;
    transform: translateX(0);
}

.conteudo--final--slogan--titulo{
    font-size: 100px;

}

.espaco--em--branco{
    height: 300px;
    width: 100%;
    margin-top: 100px;
}

.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 60px;
    font-size: 15px;
    color: #888;
    background-color: #000;
    height: 100px;
    width: 100%;
}

.footer img {
    width: 157.25px;
    height: 34px;
    margin: 10px 10px 10px 100px;
}

button, .btn {
    position: relative;
    overflow: hidden;
    background: transparent;
    color: #00aced;
    border: 2px solid #00aced;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s;
}

button::before, .btn::before {
    content: "";
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: #00aced;
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4,0.2,0.2,1);
    border-radius: 30px;
}

button:hover, .btn:hover {
    color: #fff;
}

button:hover::before, .btn:hover::before {
    transform: scaleX(1);
}

button span, .btn span {
    position: relative;
    z-index: 1;
}

section:hover, .card:hover {
    box-shadow: 0 8px 32px rgba(0,172,237,0.10), 0 1.5px 8px rgba(0,172,237,0.15);
    transform: translateY(-4px) scale(1.01);
    transition: box-shadow 0.3s, transform 0.3s;
}

.footer--texto {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4,0.2,0.2,1);
}

.footer--texto:hover {
    transform: translateY(-6px) scale(1.04) rotate(-1deg);
    text-shadow: 0 4px 16px #00aced33;
}

.footer img:hover {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 0 8px #00aced88);
    transition: transform 0.3s, filter 0.3s;
}


/* ===== MOBILE LAYOUT ===== */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 0;
    margin: 0;
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
    gap: 16px;
  }
  .header img {
    width: 120px;
    height: auto;
  }
  .header ul {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    font-size: 16px;
  }
  .conteudo--comeco {
    font-size: 24px;
    margin-top: 40px;
    margin-left: 16px;
    margin-right: 16px;
  }
  .conteudo--comeco p {
    font-size: 14px;
  }
  #PERFORMANCE, #BRANDING, #DESIGN, #CONTEUDO {
    margin-left: 0;
    margin-top: 0;
    font-size: 22px;
  }
  .projetos {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
    margin-left: 16px;
    gap: 16px;
  }
  .projetos p:nth-child(2) {
    margin-left: 0;
  }
  .trabalhos {
    flex-direction: column;
    gap: 24px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 32px 0;
  }
  .trabalho-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 180px;
  }
  .conteudo--final--titulo {
    font-size: 14px;
    margin-top: 40px;
    margin-left: 16px;
  }
  .conteudo--final--slogan--titulo {
    font-size: 36px;
    word-break: break-word;
  }
  .espaco--em--branco {
    height: 80px;
    margin-top: 40px;
  }
  .footer {
    flex-direction: column;
    padding: 20px 16px;
    height: auto;
    font-size: 13px;
  }
  .footer img {
    width: 120px;
    height: auto;
    margin: 10px 0 0 0;
  }
}


