/* Page Questionnaire (template-questionnaire.php) : bannière comme la page Contact,
   et habillage du plugin Logiaction Interactive Quiz aux couleurs du site (variables --laiq-*). */

.questionnaire-page {
    background: #070707;
    color: #f4f4f4;
}

/* Bannière */
.quiz-page-hero {
    position: relative;
    overflow: hidden;
    background: #080808;
    border-bottom: 1px solid #4f3c00;
}

.quiz-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dg-fond,url("../images/fond.webp")) center 74% / cover no-repeat;
    opacity: .28;
    pointer-events: none;
}

.quiz-page-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    min-height: 360px;
    align-items: stretch;
}

.quiz-page-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 28px 44px 24px;
}

.quiz-page-crumbs {
    display: flex;
    gap: 9px;
    margin-bottom: 17px;
    color: #ccc;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.quiz-page-crumbs a:hover,
.quiz-page-crumbs .current {
    color: var(--yellow);
}

.quiz-page-kicker {
    margin-bottom: 8px;
    color: var(--yellow);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Gros titre « Questionnaire » sur bande jaune, avec le médiator DL qui scintille */
.quiz-page-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 18px;
}

.quiz-page-label {
    display: inline-block;
    padding: 6px 18px 4px;
    background: var(--yellow);
    box-shadow: 0 4px 0 #4b3900;
    color: #070707;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: skewX(-12deg);
}

/* « 🎁 3 pièces gratuites » : même style que l'encadré « Questionnaire » du bas des pages */
.quiz-page-gift {
    color: var(--yellow);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1;
    text-transform: uppercase;
}

.quiz-page-duration {
    flex-basis: 100%;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.quiz-page-hero h1 {
    font-size: clamp(52px, 6.2vw, 86px);
}

.quiz-page-stroke {
    width: min(370px, 84%);
    height: 7px;
    margin: 14px 0 20px;
    background: var(--yellow);
    box-shadow: 0 3px 0 #4b3900;
    transform: skewX(-15deg);
}

.quiz-page-hero-copy p {
    max-width: 520px;
    margin: 0;
    color: #e0e0e0;
    font-size: 17px;
    line-height: 1.6;
}

.quiz-page-hero-art {
    position: relative;
    overflow: hidden;
    margin-left: -60px;
}

.quiz-page-hero-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 40%;
    /* Fondu progressif vers le fond texturé, sans démarcation */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}

.quiz-page-hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0) 30%, rgba(8, 8, 8, .35) 100%);
}

/* Zone du questionnaire */
.quiz-page-content {
    padding: 44px 0 64px;
    background: linear-gradient(180deg, #080808, #050505);
}

/* Habillage du questionnaire aux couleurs du site */
.questionnaire-page .laiq {
    --laiq-accent: var(--yellow);
    --laiq-accent-text: #070707;
    --laiq-surface: linear-gradient(180deg, #0e0e0e, #090909);
    --laiq-border: #3b3b3b;
    --laiq-radius: 4px;
    --laiq-mark-gap: #0e0e0e;
    max-width: 820px;
}

.questionnaire-page .laiq-card {
    box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
}

.questionnaire-page .laiq-title,
.questionnaire-page .laiq-question-title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.questionnaire-page .laiq-count {
    color: var(--yellow);
    opacity: 1;
}

.questionnaire-page .laiq-btn {
    font-size: 13px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.questionnaire-page .laiq-choice:has(input:checked) {
    background: rgba(255, 196, 0, .1);
}

/* Responsive */
@media (max-width: 900px) {
    .quiz-page-hero-inner {
        grid-template-columns: 1fr 1fr;
        min-height: 320px;
    }

    .quiz-page-hero-art {
        margin-left: -30px;
    }
}

@media (max-width: 680px) {
    .quiz-page-hero-inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .quiz-page-hero-copy {
        padding: 28px 0 18px 10px;
    }

    .quiz-page-hero h1 {
        font-size: 48px;
    }

    .quiz-page-hero-copy p {
        font-size: 15px;
    }

    .quiz-page-hero-art {
        height: 220px;
        margin: 0 -11px;
    }

    .quiz-page-hero-art img {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .quiz-page-hero-art::after {
        background: linear-gradient(180deg, #080808 0%, rgba(8, 8, 8, .1) 25%, rgba(8, 8, 8, .1) 75%, #080808 100%);
    }

    .quiz-page-content {
        padding: 24px 0 40px;
    }
}

/* Badge « Questionnaire 🎁 3 pièces gratuites » placé juste au-dessus du questionnaire */
.quiz-page-badge-above {
    max-width: 820px;
    margin: 0 auto 22px;
}

