/* Tea Quiz Recommender - Public Styles */

:root {
    /* Paleta Verde Medicina Natural */
    --tqr-green-dark: #2d7a3e;
    --tqr-green-medium: #3d9850;
    --tqr-green-light: #4caf50;
    --tqr-green-bright: #43a047;
    --tqr-green-soft: #e8f5e9;
    --tqr-green-shadow: rgba(46, 125, 50, 0.4);
    
    /* Cores Principais */
    --tqr-primary: #2d7a3e;
    --tqr-primary-hover: #3d9850;
    --tqr-primary-rgb: 45, 122, 62;
    --tqr-secondary: #6c757d;
    --tqr-success: #4caf50;
    --tqr-border: #ddd;
    --tqr-bg: #f9f9f9;
    --tqr-text: #333;
    --tqr-radius: 8px;
    --tqr-shadow: 0 2px 8px rgba(0,0,0,0.1);
    
    /* Cupom */
    --tqr-gold: #ffd700;
    --tqr-gold-light: #fff9c4;
    --tqr-gold-border: #f9a825;
}

/* Container */
.tqr-quiz-container {
    max-width: 800px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tqr-quiz {
    background: #fff;
    border-radius: var(--tqr-radius);
    box-shadow: var(--tqr-shadow);
    padding: 30px;
}

/* Loading */
.tqr-loading {
    text-align: center;
    padding: 60px 20px;
}

.tqr-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--tqr-bg);
    border-top-color: var(--tqr-primary);
    border-radius: 50%;
    animation: tqr-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes tqr-spin {
    to { transform: rotate(360deg); }
}

/* Progress Bar */
.tqr-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--tqr-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.tqr-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tqr-primary) 0%, var(--tqr-success) 100%);
    background-size: 200% 100%;
    animation: progressGradient 2s ease infinite;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes progressGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Question Counter */
.tqr-question-counter {
    text-align: center;
    font-size: 14px;
    color: var(--tqr-secondary);
    margin-bottom: 20px;
}

.tqr-current-question {
    font-weight: 700;
    color: var(--tqr-primary);
    font-size: 18px;
}

/* Question Steps (Step-by-Step) */
.tqr-question-step {
    display: none;
}

.tqr-question-step.active {
    display: block;
    animation: tqr-fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes tqr-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tqr-quiz-form[data-animation="slide"] .tqr-question-step.active {
    animation: tqr-slide-in 0.4s ease;
}

@keyframes tqr-slide-in {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Question Content */
.tqr-question-content {
    margin-bottom: 30px;
}

.tqr-question-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--tqr-text);
    margin: 0 0 25px;
    line-height: 1.4;
}

.tqr-required {
    color: #d63638;
    margin-left: 5px;
}

/* Question Block (Form Mode) */
.tqr-quiz-form-mode .tqr-question-block {
    padding: 25px;
    background: var(--tqr-bg);
    border-radius: var(--tqr-radius);
    margin-bottom: 20px;
}

.tqr-question-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.tqr-question-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--tqr-primary);
    min-width: 30px;
}

/* Answers */
.tqr-answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Answer Options (Radio/Checkbox) */
.tqr-answer-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid var(--tqr-border);
    border-radius: var(--tqr-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.tqr-answer-option:hover {
    border-color: var(--tqr-primary);
    background: #f0f6fc;
}

.tqr-answer-option input[type="radio"],
.tqr-answer-option input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.tqr-answer-option input:checked ~ .tqr-answer-text {
    font-weight: 600;
    color: var(--tqr-primary);
}

.tqr-answer-text {
    flex: 1;
    font-size: 16px;
}

/* Image Choices */
/* Image Choice - Layout Circular Moderno */
.tqr-image-choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.tqr-image-choice-card {
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}

.tqr-image-choice-card:hover {
    transform: scale(1.05);
}

.tqr-image-choice-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tqr-image-choice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tqr-image-choice-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e0e0e0;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

.tqr-image-choice-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tqr-image-choice-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.tqr-image-choice-icon {
    font-size: 48px;
    opacity: 0.5;
}

.tqr-image-choice-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: var(--tqr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.tqr-image-choice-input:checked ~ .tqr-image-choice-content .tqr-image-choice-circle {
    border-color: var(--tqr-primary);
    border-width: 5px;
    box-shadow: 0 0 0 3px rgba(var(--tqr-primary-rgb), 0.2),
                0 8px 16px rgba(0,0,0,0.15);
}

.tqr-image-choice-input:checked ~ .tqr-image-choice-content .tqr-image-choice-check {
    transform: translate(-50%, -50%) scale(1);
}

.tqr-image-choice-label {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.tqr-image-choice-input:checked ~ .tqr-image-choice-content .tqr-image-choice-label {
    color: var(--tqr-primary);
}

/* Color Choices */
.tqr-color-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tqr-color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.tqr-color-option input {
    position: absolute;
    opacity: 0;
}

.tqr-color-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--tqr-border);
    transition: all 0.2s;
}

.tqr-color-option:hover .tqr-color-box {
    transform: scale(1.1);
}

.tqr-color-option input:checked ~ .tqr-color-box {
    border-color: var(--tqr-primary);
    border-width: 4px;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
}

.tqr-color-label {
    margin-top: 8px;
    font-size: 13px;
    text-align: center;
}

/* Scale Input */
.tqr-scale-input {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.tqr-scale-option {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.tqr-scale-option input {
    position: absolute;
    opacity: 0;
}

.tqr-scale-number {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 auto;
    border: 2px solid var(--tqr-border);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.2s;
}

.tqr-scale-option:hover .tqr-scale-number {
    border-color: var(--tqr-primary);
    background: #f0f6fc;
}

.tqr-scale-option input:checked ~ .tqr-scale-number {
    background: var(--tqr-primary);
    color: #fff;
    border-color: var(--tqr-primary);
}

/* Yes/No */
.tqr-yes-no {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Dropdown */
.tqr-dropdown {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid var(--tqr-border);
    border-radius: var(--tqr-radius);
    background: #fff;
    cursor: pointer;
}

.tqr-dropdown:focus {
    outline: none;
    border-color: var(--tqr-primary);
}

/* Text/Email Input */
.tqr-text-input,
.tqr-email-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid var(--tqr-border);
    border-radius: var(--tqr-radius);
}

.tqr-text-input:focus,
.tqr-email-input:focus {
    outline: none;
    border-color: var(--tqr-primary);
}

/* Navigation */
.tqr-navigation {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Buttons */
.tqr-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--tqr-radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.tqr-btn-primary {
    background: var(--tqr-primary);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(var(--tqr-primary-rgb), 0.2);
}

.tqr-btn-primary:hover {
    background: var(--tqr-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(var(--tqr-primary-rgb), 0.25);
}

.tqr-btn-secondary {
    background: var(--tqr-secondary);
    color: #fff;
}

.tqr-btn-secondary:hover {
    background: #5a6268;
}

.tqr-btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Lead Form */
.tqr-lead-section,
.tqr-lead-form {
    background: var(--tqr-bg);
    padding: 25px;
    border-radius: var(--tqr-radius);
    margin-bottom: 20px;
}

.tqr-form-group {
    margin-bottom: 20px;
}

.tqr-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--tqr-text);
}

.tqr-form-group input {
    width: 100%;
    padding: 18px 20px;
    font-size: 17px;
    border: 2px solid var(--tqr-border);
    border-radius: var(--tqr-radius);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.tqr-form-group input:focus {
    outline: none;
    border-color: var(--tqr-primary);
    box-shadow: 0 0 0 3px rgba(var(--tqr-primary-rgb), 0.1), 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.tqr-form-group input:hover {
    border-color: #bbb;
}

.tqr-form-group input.tqr-error {
    border-color: #dc3545;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Submit Section */
.tqr-submit-section {
    text-align: center;
    margin-top: 30px;
}

/* ========================================


/* ========================================
   RESULTADO DO QUIZ - COMPACTO E PROFISSIONAL
======================================== */

.tqr-result {
    animation: tqr-fade-in 0.5s ease;
}

/* Cabeçalho Hero */
.tqr-result-hero {
    background: linear-gradient(135deg, var(--tqr-primary) 0%, var(--tqr-primary-hover) 100%);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--tqr-radius) var(--tqr-radius) 0 0;
    margin: -30px -30px 25px -30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tqr-trophy-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: tqr-trophy-bounce 1s ease infinite;
}

@keyframes tqr-trophy-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.tqr-result-main-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.tqr-result-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    margin: 0;
    font-weight: 400;
}

/* Banner de Cupom */
.tqr-discount-banner {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border: 2px solid #ffd966;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}  animation: tqr-gift-shake 2s ease-in-out infinite;
}

@keyframes tqr-gift-shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-8deg); }
    20%, 40% { transform: rotate(8deg); }
    50%, 100% { transform: rotate(0deg); }
}

.tqr-discount-content {
    flex: 1;
}

.tqr-discount-title {
    font-size: 16px;
    font-weight: 700;
    color: #e65100;
    margin-bottom: 8px;
}

.tqr-discount-code-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tqr-discount-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.tqr-discount-code {
    background: #fff;
    border: 3px dashed #ff9800;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #e65100;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 2px 6px rgba(255, 152, 0, 0.2);
}

.tqr-copy-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.35);
}

.tqr-copy-btn:hover {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 152, 0, 0.5);
}

/* Cards de Chás */
.tqr-tea-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.tqr-tea-card {
    background: #fff;
    border: none !important;
    outline: none !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.tqr-tea-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Badge de Ranking */
.tqr-rank-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.tqr-rank-badge.tqr-rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
}

.tqr-rank-badge.tqr-rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #daa06d 100%);
}

/* Imagens lado a lado */
.tqr-tea-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: #fff;
}

.tqr-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: none;
    outline: none;
}

.tqr-image-wrapper.tqr-image-single {
    grid-column: 1 / -1;
}

.tqr-image-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(var(--tqr-primary-rgb), 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
}

.tqr-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: none;
}

.tqr-tea-card:hover .tqr-image-wrapper img {
    transform: scale(1.05);
}

.tqr-image-placeholder {
    grid-column: 1 / -1;
    aspect-ratio: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    gap: 8px;
}

.tqr-placeholder-icon {
    font-size: 48px;
    opacity: 0.6;
}

.tqr-placeholder-text {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

/* Informações do Chá */
.tqr-tea-info {
    padding: 20px;
}

.tqr-tea-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--tqr-primary);
    margin: 0 0 10px;
    line-height: 1.3;
}

.tqr-tea-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 15px;
}

/* Barra de Afinidade */
.tqr-affinity {
    margin-bottom: 15px;
}

.tqr-affinity-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
    color: #666;
}

.tqr-affinity-label strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--tqr-primary);
}

.tqr-affinity-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.tqr-affinity-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tqr-primary) 0%, var(--tqr-primary-hover) 100%);
    border-radius: 10px;
    transition: width 0.8s ease;
}

/* Footer do Card */
.tqr-tea-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
}

.tqr-price {
    display: flex;
    flex-direction: column;
}

.tqr-price-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tqr-price-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--tqr-primary);
    line-height: 1;
}

/* Botão Comprar */
.tqr-button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.tqr-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.tqr-btn-primary {
    background: var(--tqr-primary);
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(var(--tqr-primary-rgb), 0.2);
}

.tqr-btn-primary:hover {
    background: var(--tqr-primary-hover);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(var(--tqr-primary-rgb), 0.25);
}

.tqr-btn-secondary {
    background: #fff;
    color: var(--tqr-primary) !important;
    border: 2px solid var(--tqr-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.tqr-btn-secondary:hover {
    background: #f0f6fc;
    color: var(--tqr-primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(var(--tqr-primary-rgb), 0.15);
}

.tqr-btn-icon {
    font-size: 18px;
}

/* Rodapé */
.tqr-result-footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.tqr-restart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--tqr-primary);
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tqr-restart-btn:hover {
    background: #f5f5f5;
    border-color: var(--tqr-primary);
    color: var(--tqr-primary);
}

.tqr-restart-icon {
    font-size: 16px;
}

/* Responsividade */
@media (max-width: 768px) {
    .tqr-result-hero {
        padding: 25px 15px;
    }
    
    .tqr-result-main-title {
        font-size: 26px;
    }
    
    .tqr-tea-cards {
        grid-template-columns: 1fr;
    }
    
    .tqr-discount-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .tqr-tea-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tqr-price {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tqr-trophy-icon {
        font-size: 40px;
    }
    
    .tqr-result-main-title {
        font-size: 22px;
    }
    
    .tqr-tea-images {
        grid-template-columns: 1fr;
    }
    
    .tqr-image-wrapper {
        grid-column: 1 / -1;
    }
}

/* Quiz Header */
.tqr-quiz-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--tqr-border);
}

.tqr-quiz-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--tqr-text);
    margin: 0 0 8px 0;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.tqr-question-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--tqr-text);
    margin: 0 0 8px 0;
    text-align: center;
    line-height: 1.3;
}

.tqr-question-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.5;
}

/* Coupon Store Button */
.tqr-coupon-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px 24px;
    background: var(--tqr-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--tqr-radius);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(var(--tqr-primary-rgb), 0.3);
}

.tqr-coupon-store-btn:hover {
    background: var(--tqr-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--tqr-primary-rgb), 0.4);
    color: white;
    text-decoration: none;
}

.tqr-coupon-store-btn .tqr-btn-icon {
    font-size: 20px;
}

/* ===== v1.2.0: Imagens Clicáveis ===== */
.tqr-image-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.tqr-image-link:hover img {
    transform: scale(1.05);
    filter: brightness(1.02);
}

.tqr-image-wrapper .tqr-image-link img {
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

/* ===== v1.2.0: Melhorias nos Campos de Lead ===== */
.tqr-form-group input {
    padding: 18px 20px;
    font-size: 17px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.tqr-form-group input:focus {
    border-color: var(--tqr-primary);
    box-shadow: 0 0 0 3px rgba(var(--tqr-primary-rgb), 0.1);
    outline: none;
}

.tqr-form-group input:hover {
    border-color: #bbb;
}

/* Animação de erro mais visível */
.tqr-form-group input.tqr-error {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Asterisco obrigatório */
.tqr-required {
    color: #dc3545;
    font-weight: bold;
    margin-left: 3px;
}

/* ===== v1.2.0: Confetti Animation ===== */
.tqr-confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.tqr-confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    opacity: 1;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===== v1.2.0: Visual Feedback (Checkmark) ===== */
.tqr-selected-feedback {
    position: relative;
    background-color: rgba(var(--tqr-primary-rgb), 0.1) !important;
    border-color: var(--tqr-primary) !important;
    animation: pulse 0.6s ease-out;
}

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

.tqr-selected-feedback::after {
    content: '✅';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 24px;
    animation: checkmark-pop 0.3s ease;
}

@keyframes checkmark-pop {
    0% {
        transform: translateY(-50%) scale(0);
    }
    50% {
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

/* ===== v1.2.0: Progress Percentage ===== */
.tqr-progress-percentage {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--tqr-primary);
    margin-top: 8px;
}

/* ===== v1.2.0: Social Proof ===== */
.tqr-social-proof {
    text-align: center;
    padding: 14px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tqr-social-proof strong {
    color: #333;
    font-weight: 600;
}

.tqr-avg-time {
    font-size: 13px;
    color: #888;
}

.tqr-social-proof::before {
    content: '';
    display: none;
}

/* ===== v1.2.0: Mobile Improvements ===== */
@media (max-width: 768px) {
    /* Botões maiores para touch */
    .tqr-next-step,
    .tqr-prev-step,
    .tqr-submit-quiz,
    .tqr-restart-quiz,
    .tqr-buy-btn {
        min-height: 48px !important;
        padding: 14px 24px !important;
        font-size: 16px !important;
    }
    
    /* Opções de resposta maiores */
    .tqr-answer-option,
    .tqr-option {
        min-height: 48px !important;
        padding: 14px 16px !important;
        font-size: 16px !important;
    }
    
    /* Campos de input maiores */
    .tqr-form-group input,
    .tqr-form-group select {
        min-height: 48px !important;
        font-size: 16px !important;
        padding: 14px 18px !important;
    }
    
    /* Espaçamento melhor */
    .tqr-question-step {
        padding: 20px 15px !important;
    }
    
    .tqr-tea-card {
        margin-bottom: 20px !important;
    }
    
    /* Checkmark menor em mobile */
    .tqr-selected-feedback::after {
        font-size: 20px;
        right: 10px;
    }
}

/* Touch targets mínimos */
@media (hover: none) and (pointer: coarse) {
    button,
    a.tqr-buy-btn,
    .tqr-answer-option,
    .tqr-option,
    input[type="radio"] + label,
    input[type="checkbox"] + label {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ===== Inline Error Message ===== */
.tqr-inline-error {
    display: block;
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    padding: 8px 12px;
    background: #fff5f5;
    border-left: 3px solid #dc3545;
    border-radius: 4px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Motivational Message ===== */
.tqr-motivational-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tqr-motivational-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
