.test-deco-app {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 24px;
    font-family: inherit;
}

.test-deco-progress {
    width: 100%;
    height: 6px;
    background: #9C6874 !important;
    border-radius: 3px;
    margin-bottom: 24px;
    overflow: hidden;
}

.test-deco-progress-bar {
    height: 100%;
    background: #4E2A33 !important;
    transition: width 0.3s ease;
}

.test-deco-question-image img,
.test-deco-answer-image img {
    /* Ces photos restent carrées, quelle que soit leur forme d'origine. */
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.test-deco-moodboard img {
    /* Les photos de résultat gardent leur format d'origine (rectangulaire), sans recadrage. */
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.test-deco-question-image {
    margin-bottom: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.test-deco-question h3 {
    text-align: center;
    margin-bottom: 20px;
}

.test-deco-answers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.test-deco-answer {
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid #635D2C !important;
    background: #D9C89C !important;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
    outline: none !important;
    box-shadow: none !important;
}

.test-deco-answer:hover {
    border-color: #D9C89C !important;
    background: #635D2C !important;
}

.test-deco-answer.is-selected {
    border-color: #D9C89C !important;
    background: #635D2C !important;
}

.test-deco-answer:focus,
.test-deco-answer:focus-visible,
.test-deco-answer:active {
    outline: 2px solid #D9C89C !important;
    outline-offset: 2px;
    box-shadow: none !important;
}

.test-deco-app img,
.test-deco-app button {
    outline: none !important;
    box-shadow: none !important;
}

.test-deco-winner {
    text-align: center;
    margin-bottom: 30px;
}

.test-deco-winner img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 14px;
    margin: 0 auto 16px;
}

.test-deco-winner h2 {
    font-size: 22px;
    margin: 0;
}

.test-deco-winner h2 span {
    color: #4e2a33;
}

.test-deco-answer-image {
    display: block;
    margin-bottom: 8px;
}

.test-deco-answer-text {
    display: block;
    font-size: 14px;
}

.test-deco-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.test-deco-btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid #4E2A33 !important;
    background: #635D2C !important;
    color: #D9C89C !important;
    cursor: pointer;
    font-size: 14px;
    outline: none !important;
    box-shadow: none !important;
}

.test-deco-btn-primary {
    background: #635D2C !important;
    color: #D9C89C !important;
    margin-left: auto;
}

.test-deco-btn:focus,
.test-deco-btn:focus-visible {
    outline: 2px solid #D9C89C !important;
    outline-offset: 2px;
}

.test-deco-result {
    text-align: center;
}

.test-deco-chart-wrapper {
    max-width: 320px;
    margin: 0 auto 30px;
}

.test-deco-moodboards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.test-deco-moodboard h4 {
    margin-top: 10px;
    font-size: 15px;
}

@media (max-width: 480px) {
    .test-deco-answers {
        grid-template-columns: 1fr 1fr;
    }
}

.test-deco-subtitle {
    font-size: 14px;
    color: #666;
    margin-top: -8px;
    margin-bottom: 16px;
}

.test-deco-intro {
    padding: 30px 20px;
}

.test-deco-intro h2 {
    margin-bottom: 12px;
	text-align: center;
}

.test-deco-intro p {
    margin-bottom: 24px;
    color: #555;
    line-height: 1.5;
	text-align: justify;
	hyphens: auto;
}

.test-deco-winner-description {
    margin-top: 12px;
    text-align: left;
    color: #444;
    line-height: 1.6;
}