/* assets/style.css - Styles pour le Guide des Pierres */

.guide-pierres-quiz {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, #f9f6f3 0%, #fff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 115, 85, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Header */
.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header h2 {
    color: #8b7355;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.quiz-header p {
    color: #666;
    font-size: 16px;
    margin-top: 0;
}

/* Étapes du quiz */
.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Questions */
.quiz-question {
    margin-bottom: 30px;
}

.quiz-question h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.quiz-question p {
    margin-bottom: 15px;
}

/* Options */
.quiz-options {
    display: grid;
    gap: 15px;
}

.quiz-option {
    background: white;
    border: 3px solid #e8e4df;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.quiz-option:hover {
    border-color: #8b7355;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.15);
}

.quiz-option input[type="radio"],
.quiz-option input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: #8b7355;
    cursor: pointer;
    flex-shrink: 0;
}

.quiz-option label {
    cursor: pointer;
    flex: 1;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.quiz-option .emoji {
    font-size: 28px;
    flex-shrink: 0;
}

/* Boutons */
.quiz-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: space-between;
}

.quiz-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.quiz-btn-primary {
    background: #8b7355;
    color: white;
    flex: 1;
}

.quiz-btn-primary:hover:not(:disabled) {
    background: #6f5a44;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.quiz-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.quiz-btn-secondary {
    background: white;
    color: #8b7355;
    border: 2px solid #8b7355;
}

.quiz-btn-secondary:hover {
    background: #f9f6f3;
}

/* Barre de progression */
.quiz-progress {
    width: 100%;
    height: 8px;
    background: #e8e4df;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b7355 0%, #b89876 100%);
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Résultats */
.quiz-results {
    display: none;
}

.quiz-results.active {
    display: block;
}

/* Cartes de pierres */
.pierre-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid #e8e4df;
    transition: all 0.3s ease;
}

.pierre-card:hover {
    border-color: #8b7355;
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.15);
    transform: translateY(-3px);
}

.pierre-card h4 {
    color: #8b7355;
    font-size: 22px;
    margin-bottom: 10px;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pierre-card .bienfaits {
    color: #666;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.pierre-card .chakra-info {
    display: inline-block;
    background: #f9f6f3;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #8b7355;
    margin-right: 8px;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Formulaire email */
.email-form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    border: 2px solid #8b7355;
}

.email-form h3 {
    color: #8b7355;
    margin-bottom: 15px;
    margin-top: 0;
    font-size: 20px;
}

.email-form p {
    margin-bottom: 15px;
}

.email-form input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e8e4df;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: #8b7355;
}

/* Boîte promo */
.promo-box {
    background: linear-gradient(135deg, #8b7355 0%, #b89876 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin: 20px 0;
}

.promo-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
}

.promo-box .code {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 3px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.promo-box p {
    margin-bottom: 0;
    font-size: 16px;
}

/* Boîte contact */
.contact-box {
    background: #f9f6f3;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: center;
}

.contact-box h4 {
    color: #8b7355;
    margin-bottom: 15px;
    margin-top: 0;
    font-size: 20px;
}

.contact-box p {
    margin-bottom: 15px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #8b7355;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.2);
    border-color: #8b7355;
}

/* Section Produits */
.products-section {
    margin: 30px 0;
}

.products-box {
    background: linear-gradient(135deg, #f9f6f3 0%, #fff 100%);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid #8b7355;
    margin: 20px 0;
}

.products-box h3 {
    color: #8b7355;
    text-align: center;
    margin: 0 0 25px 0;
    font-size: 24px;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.product-card {
    background: white;
    border: 3px solid #e8e4df;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    border-color: #8b7355;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(139, 115, 85, 0.25);
    background: linear-gradient(135deg, #fff 0%, #f9f6f3 100%);
}

.product-card-single {
    grid-column: 1 / -1;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.product-icon {
    font-size: 50px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(139, 115, 85, 0.2));
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    color: #8b7355;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

/* CTA Produit */
.product-cta {
    text-align: center;
    margin: 30px 0;
}

.product-cta a {
    display: inline-block;
    padding: 20px 50px;
    background: #8b7355;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.product-cta a:hover {
    background: #6f5a44;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.3);
}

/* Message de succès */
.success-message {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    display: none;
    text-align: center;
    font-weight: 500;
}

.success-message.show {
    display: block;
    animation: slideDown 0.3s ease-in;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .guide-pierres-quiz {
        padding: 20px;
        margin: 20px 10px;
        border-radius: 15px;
    }

    .quiz-header h2 {
        font-size: 24px;
    }

    .quiz-question h3 {
        font-size: 20px;
    }

    .quiz-option {
        padding: 15px;
    }

    .quiz-option .emoji {
        font-size: 24px;
    }

    .quiz-option label {
        font-size: 15px;
    }

    .quiz-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .contact-links {
        flex-direction: column;
        gap: 10px;
    }

    .contact-link {
        width: 100%;
        justify-content: center;
    }

    .pierre-card h4 {
        font-size: 20px;
    }

    .promo-box .code {
        font-size: 24px;
    }

    .product-cta a {
        padding: 15px 30px;
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-card-single {
        grid-column: 1;
    }

    .products-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .quiz-header h2 {
        font-size: 22px;
    }

    .quiz-buttons {
        flex-direction: column;
    }

    .quiz-btn-primary,
    .quiz-btn-secondary {
        width: 100%;
    }
}