/* Estilos adicionais para formulários e elementos interativos */

/* Estilos de erro para formulários */
.form-group.error input,
.form-group.error textarea {
    border-color: #ff3333;
}

.error-message {
    color: #ff3333;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Estilos de sucesso para formulários */
.success-message {
    text-align: center;
    padding: 20px;
    background-color: #e8f5e9;
    border-radius: 5px;
    margin-bottom: 20px;
}

.success-message i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 15px;
}

.success-message h3 {
    margin-bottom: 10px;
    color: #2e7d32;
}

/* Estilos para o contador regressivo */
.countdown {
    background-color: #ff6b00;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.4;
}

/* Estilos para o popup de saída */
#exit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#exit-popup .popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
}

#exit-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Estilos para botões de compartilhamento */
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.share-button {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 60px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.whatsapp {
    background-color: #25d366;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.reddit {
    background-color: #ff4500;
}

/* Estilos para o campo de compartilhamento de link */
.share-link-container {
    margin-top: 40px;
    text-align: center;
}

.share-link-input {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 15px;
}

/* Estilos para o FAQ interativo */
.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: #ff6b00;
    transition: all 0.3s ease;
}

.faq-answer {
    background-color: #f9f9f9;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: #f5f5f5;
}

.faq-item.active .faq-question:after {
    content: '-';
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Estilos para formulários de newsletter */
.newsletter-form {
    max-width: 500px;
    margin: 30px auto 0;
}

.newsletter-form-container {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.newsletter-button {
    border-radius: 0 5px 5px 0;
    margin: 0;
}

.newsletter-privacy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
}

/* Estilos para depoimentos em vídeo */
.video-testimonial {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    margin-bottom: 40px;
}

.video-thumbnail {
    background-color: #f0f0f0;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-thumbnail i {
    color: #999;
    font-size: 3rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-thumbnail:hover i {
    color: #ff6b00;
    transform: scale(1.2);
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-thumbnail:hover::before {
    background-color: rgba(0, 0, 0, 0.2);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    z-index: 2;
}

.video-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.video-description {
    color: #666;
}

/* Estilos para o modal de vídeo */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.video-modal iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Responsividade para formulários */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form, .contact-info {
        flex: 0 0 100%;
    }
    
    .contact-info {
        margin-top: 50px;
    }
    
    .newsletter-form-container {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .newsletter-button {
        border-radius: 5px;
    }
    
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal iframe {
        height: 300px;
    }
}
