/* ==========================================
   RESET
========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080008;
    color: #ffffff;
    min-height: 100vh;
}

/* ==========================================
   HEADER
========================================== */
.header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 0, 8, 0.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.logo {
    font-size: 25px;
    font-weight: bold;
}
.logo span {
    color: #ff2874;
}
.header-button {
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 10px 18px;
    transition: 0.25s;
    background: transparent;
    cursor: pointer;
}
.header-button:hover {
    background: #ff2874;
    border-color: #ff2874;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Alias : le HTML utilise header-btn / whatsapp-btn */
.header-btn {
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 10px 18px;
    transition: 0.25s;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    white-space: nowrap;
}
.header-btn:hover {
    background: #ff2874;
    border-color: #ff2874;
}
.header-btn.whatsapp-btn {
    background: #25D366;
    border-color: #25D366;
}
.header-btn.whatsapp-btn:hover {
    opacity: 0.85;
}

/* ==========================================
   HERO
========================================== */
.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at center, #61002f, transparent 50%), linear-gradient(#16000e, #080008);
}
.hero-content {
    width: 100%;
    max-width: 800px;
}
.badge {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffc4d9;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero h1 {
    font-size: clamp(45px, 8vw, 85px);
    line-height: 0.95;
    margin-bottom: 30px;
}
.hero h1 span {
    color: #ff2874;
}
.hero p {
    color: #d0c3ca;
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 35px;
}
.hero-note {
    margin-top: 20px;
    color: #777;
    font-size: 13px;
}

/* ==========================================
   BOUTONS PRINCIPAUX
========================================== */
.primary, .generate {
    border: none;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 40px;
    padding: 16px 28px;
    background: linear-gradient(90deg, #ff0865, #ff5999);
    box-shadow: 0 15px 40px rgba(255, 0, 100, 0.25);
    transition: 0.25s;
    font-family: inherit;
}
.primary {
    font-size: 16px;
}
.primary:hover, .generate:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 0, 100, 0.35);
}
.primary:active, .generate:active {
    transform: translateY(0);
}
/* Alias : le HTML utilise btn-primary / btn-generate */
.btn-primary {
    border: none;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 40px;
    padding: 16px 28px;
    background: linear-gradient(90deg, #ff0865, #ff5999);
    box-shadow: 0 15px 40px rgba(255, 0, 100, 0.25);
    transition: 0.25s;
    font-family: inherit;
    font-size: 16px;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 0, 100, 0.35);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-generate {
    border: none;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 40px;
    background: linear-gradient(90deg, #ff0865, #ff5999);
    box-shadow: 0 15px 40px rgba(255, 0, 100, 0.25);
    transition: 0.25s;
    font-family: inherit;
    width: 100%;
    margin-top: 5px;
    font-size: 17px;
    min-height: 55px;
}
.btn-generate:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 0, 100, 0.35);
}
.btn-generate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================
   CREATOR
========================================== */
.creator {
    max-width: 1050px;
    margin: auto;
    padding: 90px 20px 100px;
}
.creator-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-badge {
    display: inline-block;
    color: #ff9fbd;
    background: rgba(255, 255, 255, 0.06);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 15px;
    font-size: 14px;
}
.creator-title h2 {
    font-size: clamp(32px, 5vw, 45px);
    margin-bottom: 12px;
}
.creator-title p {
    color: #999;
    line-height: 1.6;
}

/* ==========================================
   FORM CARD
========================================== */
.form-card {
    background: #130a12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}
.form-section {
    margin-bottom: 30px;
}
.main-label {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}
.field-help {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 13px;
}
.optional {
    color: #777;
    font-weight: normal;
    font-size: 13px;
}

/* ==========================================
   CHOIX OCCASIONS (dynamiques)
========================================== */
.choices {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.choice {
    min-height: 85px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #090509;
    color: #ffffff;
    border-radius: 15px;
    padding: 12px 8px;
    cursor: pointer;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-family: inherit;
}
.choice-icon {
    font-size: 25px;
}
.choice:hover {
    border-color: #ff2874;
    transform: translateY(-3px);
    background: #160912;
}
.choice.active {
    background: #ff2874;
    border-color: #ff2874;
    box-shadow: 0 10px 25px rgba(255, 40, 116, 0.2);
}

/* ==========================================
   INPUTS
========================================== */
input, textarea, select {
    width: 100%;
    background: #080508 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    outline: none;
    transition: 0.25s;
    caret-color: #ff2874;
}
input:not(:placeholder-shown), textarea:not(:placeholder-shown) {
    color: #ffffff !important;
}
input::placeholder, textarea::placeholder {
    color: #777777 !important;
    opacity: 1;
}
input:focus, textarea:focus, select:focus {
    color: #ffffff !important;
    background: #0d080c !important;
    border-color: #ff2874;
    box-shadow: 0 0 0 3px rgba(255, 40, 116, 0.12);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #080508 inset !important;
    box-shadow: 0 0 0 1000px #080508 inset !important;
}
textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

/* ==========================================
   REVEAL BOX
========================================== */
.reveal-box {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 15px;
}
.checkbox-wrapper {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.checkbox-wrapper input {
    position: absolute;
    width: 22px;
    height: 22px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    border: none;
    background: transparent !important;
}
.custom-check {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: transparent;
    background: #080508;
    font-size: 14px;
    transition: 0.2s;
}
.checkbox-wrapper input:checked + .custom-check {
    background: #ff2874;
    border-color: #ff2874;
    color: #ffffff;
}
.reveal-title {
    display: block;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 4px;
}
.reveal-description {
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

/* ==========================================
   STYLES
========================================== */
.styles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.style {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #090509;
    color: #ffffff;
    border-radius: 30px;
    padding: 12px 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: 0.2s;
    font-family: inherit;
}
.style:hover {
    border-color: #ff2874;
    transform: translateY(-2px);
}
.style.active {
    background: #ff2874;
    border-color: #ff2874;
}

/* ==========================================
   COULEURS DU THÈME
========================================== */
/* Option « Enlever l'arrière-plan » */
.option-detourage {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    text-align: left;
    line-height: 1.4;
}
.option-detourage input { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; accent-color: #ff2874; }
.option-detourage small { display: block; color: #bbb; font-size: 12px; margin-top: 3px; }
.detourage-statut:empty { display: none; }
/* Badge sur les miniatures : photo détourée */
.photo-thumb .badge-detouree { position: absolute; top: 4px; left: 4px; font-size: 16px; text-shadow: 0 1px 3px #000; }
.photo-thumb.en-cours img { opacity: 0.4; }
.photo-thumb.en-cours::after { content: "⏳"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; }
/* Aperçu du montage à la création */
.apercu-montage { margin-top: 16px; text-align: center; }
.apercu-scene {
    height: 360px;
    aspect-ratio: 9 / 16;
    max-width: 100%;
    margin: 8px auto 0;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.apercu-scene canvas { width: 100%; height: 100%; display: block; }

/* Fonds paysages (nature, jardin, église...) : miniatures à toucher */
.scenes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}
.scene {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    border: 3px solid transparent;
    background: #222 center / cover no-repeat;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: 0.2s;
}
.scene span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 4px 5px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    line-height: 1.2;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.scene.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px #ff2874;
}
.scene.active::after {
    content: "✓";
    position: absolute;
    top: 4px;
    right: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.color-swatch {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: 0.2s;
}
.color-swatch:hover {
    transform: translateY(-2px);
}
.color-swatch.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px #ff2874;
}
.color-swatch.active::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(0,0,0,.6);
}

/* ==========================================
   PHOTO UPLOAD
========================================== */
.photo-upload-grid {
    /* Ne sert plus qu'au bloc audio (un seul élément) depuis le passage
       des photos à photos-upload-zone / photos-preview-grid (jusqu'à 5). */
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.photo-upload {
    cursor: pointer;
    display: block;
}
.photo-upload input[type="file"] {
    display: none;
}
.photo-preview {
    background: #090509;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.photo-preview:hover {
    border-color: #ff2874;
}
.upload-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.photo-preview strong {
    font-size: 14px;
}
.photo-preview small {
    color: #777;
    font-size: 12px;
}
.character-info {
    color: #777;
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
}
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    color: #777;
    padding: 25px 0;
}
.char-counter {
    text-align: right;
    color: #777;
    font-size: 12px;
    margin-top: 6px;
}
.char-counter .over-limit {
    color: #ff4d6d;
    font-weight: bold;
}

/* ==========================================
   MULTI-PHOTOS (jusqu'à 5) + APERÇU
========================================== */
.photos-upload-zone {
    display: block;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background: #090509;
}
.photos-upload-zone:hover {
    border-color: #ff2874;
}
.photos-upload-zone input[type="file"] {
    display: none;
}
.photos-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.photo-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
    display: block;
}
.photo-thumb .remove-photo {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-thumb .remove-photo:hover {
    background: #ff2874;
}

/* ==========================================
   GENERATE
========================================== */
.generate {
    width: 100%;
    margin-top: 5px;
    font-size: 17px;
    min-height: 55px;
}

/* ==========================================
   RESULTAT
========================================== */
.result {
    margin-top: 25px;
}
.success {
    background: #090509;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 22px;
    animation: resultAppear 0.4s ease;
}
@keyframes resultAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.success h3 {
    color: #ff6d9d;
    margin-bottom: 10px;
    font-size: 20px;
}
.success p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 15px;
}
.generated-link {
    width: 100%;
    margin-bottom: 10px;
    color: #ffffff !important;
    background: #080508 !important;
}
.result-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.result-buttons button,
.result-buttons a {
    border: none;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
}
.open-message {
    background: #ff2874;
    color: #ffffff;
}
.whatsapp {
    background: #25D366;
    color: #ffffff;
}
.copy-link {
    background: #6c63ff;
    color: #ffffff;
}
.open-message:hover,
.whatsapp:hover,
.copy-link:hover {
    opacity: 0.85;
}

/* ==========================================
   HOW IT WORKS
========================================== */
.how-it-works {
    max-width: 1050px;
    margin: auto;
    padding: 30px 20px 100px;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.step {
    background: #130a12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}
.step-number {
    width: 45px;
    height: 45px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ff2874;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
}
.step h3 {
    margin-bottom: 10px;
    font-size: 20px;
}
.step p {
    color: #888;
    line-height: 1.6;
    font-size: 14px;
}

/* ==========================================
   FOOTER
========================================== */
footer {
    text-align: center;
    padding: 55px 20px;
    color: #777;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}
.footer-logo span {
    color: #ff2874;
}
footer p {
    margin-bottom: 20px;
}
.footer-copy {
    font-size: 12px;
    color: #555;
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */
@media (max-width: 850px) {
    .choices {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 650px) {
    .header {
        padding: 0 20px;
    }
    .logo {
        font-size: 21px;
    }
    .header-button {
        padding: 8px 13px;
        font-size: 13px;
    }
    .hero {
        min-height: 580px;
    }
    .hero h1 {
        font-size: 52px;
    }
    .hero p {
        font-size: 16px;
    }
    .creator {
        padding: 65px 15px 80px;
    }
    .form-card {
        padding: 22px 17px;
        border-radius: 20px;
    }
    .choices {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .result-buttons {
        grid-template-columns: 1fr;
    }
    .header-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}
@media (max-width: 400px) {
    .hero h1 {
        font-size: 45px;
    }
    .choice {
        min-height: 75px;
        font-size: 13px;
    }
    .choice-icon {
        font-size: 22px;
    }
    .styles {
        flex-direction: column;
    }
    .style {
        width: 100%;
        justify-content: center;
    }
    .header {
        padding: 0 12px;
    }
    .logo {
        font-size: 17px;
    }
    .header-btn {
        white-space: normal;
        text-align: center;
        font-size: 11px;
        padding: 7px 9px;
        line-height: 1.3;
    }
}
/* ==========================================
   COMPTE (connexion par pseudo + code)
========================================== */
.compte-section {
    max-width: 520px;
    margin: 30px auto 0;
    padding: 0 20px;
}
.compte-card {
    margin-bottom: 20px;
}
.compte-titre {
    font-size: 22px;
    margin-bottom: 8px;
}
.compte-sous-titre {
    margin: 22px 0 12px;
    font-size: 17px;
}
.compte-message {
    margin-top: 12px;
    color: #ff9fbd;
    font-size: 14px;
    min-height: 18px;
}
.mes-message {
    background: #090509;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
}
.mes-message strong {
    display: block;
    margin-bottom: 4px;
}
.mes-message small {
    color: #888;
    font-size: 12px;
}
.mes-message .statut-publie { color: #6ee7b7; }
.mes-message .statut-attente { color: #ffb366; }
.mes-message a {
    display: inline-block;
    margin-top: 8px;
    color: #ff2874;
    word-break: break-all;
    font-size: 13px;
}

/* Après l'envoi d'une surprise (comme NGL) : seule la confirmation reste visible */
.masque-envoye { display: none !important; }
.success.envoye { text-align: center; }

/* Confirmation : case "copier le lien pour WhatsApp" (gros, facile à toucher) */
.case-lien { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 16px auto 4px; padding: 14px 16px; max-width: 420px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); cursor: pointer; text-align: left; font-size: 15px; }
.case-lien input { width: 26px; height: 26px; flex-shrink: 0; accent-color: #25d366; cursor: pointer; }
/* Gros boutons de l'écran de confirmation (faciles à toucher, couleurs du site) */
.btn-conf {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; max-width: 420px; margin: 12px auto 0; box-sizing: border-box;
    padding: 17px 22px; border: none; border-radius: 40px;
    font-family: inherit; font-size: 17px; font-weight: bold; line-height: 1.2;
    color: #fff; text-decoration: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn-conf:hover { transform: translateY(-2px); }
.btn-conf:active { transform: scale(0.98); }
.btn-conf-vert { background: linear-gradient(90deg, #25d366, #1ebe5d); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3); }
.btn-conf-rose { background: linear-gradient(90deg, #ff0865, #ff5999); box-shadow: 0 12px 30px rgba(255, 0, 100, 0.3); }
.btn-conf-contour { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: none; }
.btn-conf-contour:hover { border-color: #ff2874; }
.bloc-recevoir { margin: 22px auto 0; max-width: 420px; padding: 18px 16px; background: rgba(255, 40, 116, 0.12); border: 1px solid rgba(255, 40, 116, 0.3); border-radius: 18px; }
.bloc-recevoir strong { display: block; font-size: 16px; margin-bottom: 4px; }
.bloc-recevoir small { color: #cbbdc5; font-size: 13px; }

/* ===== Page "Créer" : étapes numérotées, conviviales ===== */
.form-section.etape .main-label { font-size: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.num-etape {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 32px; height: 32px; margin-right: 8px; border-radius: 50%;
    background: linear-gradient(135deg, #ff0865, #ff5999); color: #fff;
    font-size: 16px; font-weight: bold; box-shadow: 0 6px 16px rgba(255, 0, 100, 0.3);
}
.facultatif {
    margin-left: 6px; padding: 3px 9px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.08); color: #aaa;
    font-size: 12px; font-weight: normal;
}
.form-section.etape .field-help { color: #9a8f95; font-size: 14px; }
/* Bloc "Décorer" replié par défaut */
details.decorer { border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 18px; padding: 16px; }
details.decorer > summary { cursor: pointer; list-style: none; margin-bottom: 0; }
details.decorer > summary::-webkit-details-marker { display: none; }
details.decorer > summary::after { content: '▾'; margin-left: auto; color: #ff5999; font-size: 20px; transition: transform 0.2s; }
details.decorer[open] > summary::after { transform: rotate(180deg); }
details.decorer[open] > summary { margin-bottom: 8px; }
details.decorer > .field-help { margin-top: 8px; }
details.decorer .form-section { margin: 18px 0 0; }
.sous-label { font-size: 15px; color: #ffc4d9; }

/* Aide sous le bouton musique (Chrome Android impose une liste d'applications) */
.aide-musique { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(255, 179, 102, 0.1); border: 1px solid rgba(255, 179, 102, 0.35); color: #ffd6a8; font-size: 14px; line-height: 1.5; }
.aide-musique .lien-apk { display: inline-block; margin-top: 8px; color: #6ee7b7; font-weight: bold; text-decoration: underline; }
