/* Responsividade e melhorias UX */
.quiz-pet-start, .quiz-pet-question, .quiz-pet-results, .quiz-pet-lead-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.quiz-pet-start h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 20px;
    color: #1f2937;
    line-height: 1.2;
}

.quiz-pet-start h1 span {
    color: #f97316;
}

.quiz-pet-start p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #6b7280;
    margin-bottom: 30px;
}

.quiz-pet-btn-start, .quiz-pet-btn-cta {
    background: linear-gradient(to right, #f97316, #f59e0b);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    width: 100%;
    max-width: 400px;
}

.quiz-pet-btn-start:hover, .quiz-pet-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.quiz-pet-progress {
    margin-bottom: 30px;
}

.quiz-pet-progress span {
    display: block;
    margin-bottom: 10px;
    color: #6b7280;
    font-weight: 600;
}

.quiz-pet-progress-bar {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.quiz-pet-progress-bar div {
    height: 100%;
    background: linear-gradient(to right, #f97316, #f59e0b);
    transition: width 0.5s ease;
}

.quiz-pet-question h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 20px 0;
    color: #1f2937;
    line-height: 1.3;
}

.quiz-pet-question p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #6b7280;
    margin-bottom: 20px;
}

.quiz-pet-question img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.quiz-pet-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.quiz-pet-option {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.quiz-pet-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    transition: left 0.5s;
}

.quiz-pet-option:hover::before {
    left: 100%;
}

.quiz-pet-option:hover {
    border-color: #f97316;
    background: #fff7ed;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quiz-pet-option:active {
    transform: scale(0.98);
}

.quiz-pet-option span {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 500;
    color: #1f2937;
}

.quiz-pet-option small {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.quiz-pet-result-badge {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.quiz-pet-result-badge.red {
    background: #fee2e2;
    color: #991b1b;
}

.quiz-pet-result-badge.orange {
    background: #ffedd5;
    color: #9a3412;
}

.quiz-pet-result-badge.green {
    background: #d1fae5;
    color: #065f46;
}

.quiz-pet-results h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 15px;
    color: #1f2937;
}

.quiz-pet-results p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #6b7280;
    margin-bottom: 30px;
}

.quiz-pet-lead-form h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 10px;
    color: #1f2937;
}

.quiz-pet-lead-form p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: #6b7280;
    margin-bottom: 20px;
}

.quiz-pet-lead-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 30px auto;
}

.quiz-pet-lead-form input {
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    transition: all 0.3s;
}

.quiz-pet-lead-form input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.quiz-pet-lead-form button {
    background: linear-gradient(to right, #f97316, #f59e0b);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.quiz-pet-lead-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* Loading state */
.quiz-pet-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .quiz-pet-start, .quiz-pet-question, .quiz-pet-results, .quiz-pet-lead-form {
        padding: 30px 15px;
    }
    
    .quiz-pet-option {
        padding: 15px;
    }
    
    .quiz-pet-question img {
        max-height: 200px;
        border-radius: 15px;
    }
    
    .quiz-pet-btn-start, .quiz-pet-btn-cta {
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .quiz-pet-start, .quiz-pet-question, .quiz-pet-results, .quiz-pet-lead-form {
        padding: 20px 10px;
    }
    
    .quiz-pet-option:hover {
        transform: none;
    }
    
    .quiz-pet-result-badge {
        padding: 8px 20px;
    }
}

/* VSL Styles */
.quiz-pet-video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

/* YouTube Player Responsivo */
#quiz-pet-youtube-player {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}

#quiz-pet-youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* HTML5 Video Responsivo */
#quiz-pet-html5-video {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 30px;
    display: block;
}

/* Botão VSL */
#quiz-pet-video-btn {
    animation: pulse 2s infinite;
    margin-top: 20px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* VSL Mobile Optimizations */
@media (max-width: 768px) {
    .quiz-pet-video-container {
        padding: 20px 10px;
    }
    
    #quiz-pet-youtube-player {
        border-radius: 10px;
        margin-bottom: 20px;
    }
    
    #quiz-pet-html5-video {
        border-radius: 10px;
        margin-bottom: 20px;
    }
    
    #quiz-pet-video-btn {
        font-size: 1rem;
        padding: 12px 25px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .quiz-pet-video-container {
        padding: 15px 5px;
    }
    
    #quiz-pet-youtube-player {
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    #quiz-pet-html5-video {
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    #quiz-pet-video-btn {
        font-size: 0.95rem;
        padding: 10px 20px;
        animation: pulse 1.5s infinite;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .quiz-pet-video-container {
        padding: 10px 5px;
    }
    
    #quiz-pet-youtube-player {
        max-width: 90vw;
    }
    
    #quiz-pet-html5-video {
        max-width: 90vw;
    }
}

/* Touch devices - remover hover */
@media (hover: none) and (pointer: coarse) {
    #quiz-pet-video-btn:hover {
        transform: none;
    }
    
    #quiz-pet-video-btn:active {
        transform: scale(0.95);
    }
}
