/* views/css/hero.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&family=Poppins:wght@300;700&display=swap');
/* Animações de Entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Layout da Hero Section */
.form .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    min-height: 90dvh;
    overflow: hidden;
}

.form .infos {
    flex: 1;
    max-width: 55%;
    text-align: left;
    animation: fadeIn 0.8s ease-out forwards;
}

.form .video {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 0.8s ease-out 0.2s forwards; /* Atraso para efeito escalonado */
    opacity: 0; /* Começa invisível para a animação */
}

/* Design da Tipografia */
.form .title h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff69b4;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: start;
}

.form .title h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.3;
    background: linear-gradient(135deg, #ffffff 0%, #818181 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

}

#typing-demo {
    color: #ff69b4;
    position: relative;
    height: 50px;
    background: linear-gradient(135deg, #ff69b4 0%, #ff2691 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

#typing-demo .cursor {
    display: inline-block;
    width: 2px;
    height: 3rem;
    background-color: #ff69b4;
    animation: blink-caret 0.75s step-end infinite;
    vertical-align: bottom;
    margin-left: 4px;
}

.form .title p {
    font-family: var(--primary-font);
    font-size: 1rem;
    color: var(--secondary-text-color);
    max-width: 500px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Animação do Cursor */
@keyframes blink-caret {
  from, to { background-color: transparent }
  50% { background-color: #ff69b4; }
}

/* Responsividade */
@media (max-width: 992px) {
    .form .title h1 {
        font-size: 2.6rem;
    }
    #typing-demo .cursor {
        height: 2.6rem;
    }
}

@media (max-width: 768px) {
    .form .container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
    }

    .form .infos, .form .video {
        max-width: 100%;
        text-align: center;
    }

    .form .infos {
        order: 2;
    }

    .form .video {
        order: 1;
        margin-bottom: 40px;
    }

    .form .title h1, .form .title h2, .form .title p {
        text-align: center;
    }
    
    .form .title p {
        margin: 20px 0;
        margin-left: auto;
        margin-right: auto;
    }

    .form .title p.hide-mobile {
        display: none;
    }

    .form .title h1 {
        font-size: 2.2rem;
    }
    #typing-demo .cursor {
        height: 2.2rem;
    }
    .shadow__btn {
        width: 80%;
        margin: 0 auto;
    }

}

h2[data-aos] {
  font-size: 3.5rem;
  text-align: center;
  color: #333;
  position: relative;
  padding: 20px 0;
  font-weight: 700;
  letter-spacing: -0.5px;
  opacity: 0;
  animation: fadeIn 1.2s forwards 0.5s;
}

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

@keyframes pulse {
  0% { opacity: 0.3; transform: translateX(-50%) scale(0.9); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
  100% { opacity: 0.3; transform: translateX(-50%) scale(0.9); }
}

h2[data-aos] span {
  background: linear-gradient(135deg, #ff69b4 0%, #ff2691 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

h2[data-aos] span::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, transparent, #ff69b4, transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

h2[data-aos]:hover span::before {
  opacity: 1;
}
