/*###### IMPORTS ###### */
@import "template.css";

/* ================================ */
/* ASSISTANT CONTAINER */
/* ================================ */

.assistant-container {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 35px;
    margin: 40px 0;
    min-height: 200px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.assistant-container:hover {
    box-shadow: 0 8px 30px rgba(30, 30, 226, 0.12);
}

/* Bouton Reset */
#restart-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1e1ee2 0%, #0f4585 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-family: 'Poppins', sans-serif;
}

#restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 30, 226, 0.3);
}

/* Titre du formulaire */
.form-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 30px 0;
    color: #0b0c2a;
    font-family: 'Poppins', sans-serif;
}

#question-container h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b0c2a;
    text-align: center;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

/* ================================ */
/* OPTIONS GRID */
/* ================================ */

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 850px;
    margin: 0 auto;
}

.form-button-square {
    width: 100%;
    min-height: 65px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    font-family: 'Poppins', sans-serif;
}

.form-button-square:hover {
    transform: translateY(-3px);
    border-color: #1e1ee2;
    box-shadow: 0 10px 30px rgba(30, 30, 226, 0.12);
}

.form-button-square .icon {
    font-size: 1.4rem;
    color: #1e1ee2;
}

.form-button-square .label {
    font-size: 0.95rem;
    color: #0b0c2a;
    font-weight: 600;
}

/* ================================ */
/* RÉSULTATS */
/* ================================ */

#result-container {
    text-align: center;
    padding: 25px;
}

#result-container p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.form-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e1ee2 0%, #0f4585 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 25px 0;
    font-family: 'Chakra Petch', sans-serif;
}

/* Animation fade-in */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ================================ */
/* RESPONSIVE */
/* ================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px 60px;
    }

    .hero-section h2 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 40px;
    }

    .stat-value {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .assistant-container {
        padding: 25px 18px;
        min-height: 180px;
    }

    #restart-btn {
        top: 15px;
        right: 15px;
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .form-title {
        font-size: 1.2rem;
        margin: 0 0 20px 0;
    }

    #question-container h3 {
        font-size: 1.1rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-button-square {
        min-height: 58px;
        padding: 10px 15px;
    }

    .form-button-square .icon {
        font-size: 1.2rem;
    }

    .form-button-square .label {
        font-size: 0.9rem;
    }

    .form-price {
        font-size: 1.6rem;
    }

    #result-container p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-section h2 {
        font-size: 2rem;
    }

    .assistant-container {
        padding: 20px 15px;
    }

    .form-button-square {
        min-height: 52px;
    }

    .hero-stats {
        gap: 30px;
    }
}