.tirage-au-sort-page {
    background:
        radial-gradient(circle at 15% 20%, rgba(181, 68, 214, 0.14), transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(44, 21, 85, 0.09), transparent 40%),
        #f8f7fb;
    overflow-x: hidden;
}

.tirage-au-sort-card {
    border: 1px solid #ece8f5;
    overflow: hidden;
}

.tirage-au-sort-card .wpcf7 {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.tirage-au-sort-card .wpcf7 form,
.tirage-au-sort-card .wpcf7 p,
.tirage-au-sort-card .wpcf7-form-control-wrap {
    width: 100%;
    max-width: 100%;
}

.tirage-au-sort-card .wpcf7 * {
    max-width: 100%;
}

.tirage-au-sort-card .wpcf7 p {
    margin-bottom: 1rem;
}

.tirage-au-sort-card .wpcf7 label {
    display: block;
    font-size: 1.9rem;
    line-height: 1.2;
    color: #2c1555;
}

.tirage-au-sort-card .wpcf7-form-control-wrap {
    display: block;
    margin-top: 0.55rem;
}

.tirage-au-sort-card .wpcf7 input[type="text"],
.tirage-au-sort-card .wpcf7 input[type="email"],
.tirage-au-sort-card .wpcf7 input[type="tel"],
.tirage-au-sort-card .wpcf7 textarea,
.tirage-au-sort-card .wpcf7 select {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    border: 1px solid #d8d3e5;
    border-radius: 0.95rem;
    padding: 0.8rem 1rem;
    background: #fff;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.tirage-au-sort-card .wpcf7 input:focus,
.tirage-au-sort-card .wpcf7 textarea:focus,
.tirage-au-sort-card .wpcf7 select:focus {
    border-color: #b544d6;
    box-shadow: 0 0 0 4px rgba(181, 68, 214, 0.18);
    outline: none;
}

.tirage-au-sort-card .wpcf7 input[type="submit"] {
    border: 0;
    border-radius: 9999px;
    padding: 0.8rem 1.55rem;
    background: linear-gradient(135deg, #b544d6 0%, #8b3df2 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tirage-au-sort-card .wpcf7 input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(139, 61, 242, 0.35);
    filter: brightness(1.02);
}

.tirage-au-sort-card .wpcf7-spinner {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .tirage-au-sort-page .container {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .tirage-au-sort-card .wpcf7 label {
        font-size: 1.35rem;
    }

    .tirage-au-sort-card {
        box-sizing: border-box;
        width: 100%;
        padding: 1.1rem;
    }
}
