   * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
            max-width: 600px; 
            margin: 0 auto; 
            padding: 20px; 
            line-height: 1.6; 
            color: #333;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            min-height: 100vh;
        }
        .hero { 
            background: linear-gradient(135deg, #D3212D 0%, #7C0A02 100%); 
            color: white; 
            padding: 30px 20px; 
            border-radius: 12px; 
            margin-bottom: 30px;
            box-shadow: 0 8px 24px rgba(211, 33, 45, 0.3);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }
        .hero h1 { font-size: 1.8em; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 1px; }
        .hero p { font-size: 1em; opacity: 0.95; margin: 0; }
        .hero-logo { 
            flex-shrink: 0; 
            max-width: 150px; 
            height: auto;
        }
        .hero-logo img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }
		
		optgroup { font-weight: bold; color: #D3212D; }
        option { font-weight: normal; color: #333; }
		
		
		
		
        .step { 
            background: white; 
            border: 3px solid #D3212D; 
            border-radius: 12px; 
            padding: 30px; 
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .step h2 { 
            color: #D3212D; 
            margin-top: 0; 
            font-size: 1.6em;
            border-bottom: 2px solid #D3212D;
            padding-bottom: 10px;
        }
        .benefit { 
            background: #fff5f5; 
            padding: 20px; 
            border-radius: 8px; 
            margin: 20px 0; 
            border-left: 4px solid #D3212D;
        }
        label { 
            display: block; 
            margin: 20px 0 8px; 
            font-weight: 600; 
            color: #333;
        }
        input, textarea, select { 
            width: 100%; 
            padding: 14px; 
            border: 2px solid #ddd; 
            border-radius: 8px; 
            font-size: 16px; 
            box-sizing: border-box;
            transition: all 0.3s;
        }
        input:focus, textarea:focus, select:focus { 
            border-color: #D3212D; 
            box-shadow: 0 0 0 3px rgba(211, 33, 45, 0.1);
            outline: none;
        }
        .required { color: #D3212D; }
        .btn { 
            background: linear-gradient(135deg, #D3212D 0%, #7C0A02 100%); 
            color: white; 
            padding: 16px 32px; 
            border: none; 
            border-radius: 8px; 
            font-size: 18px; 
            font-weight: 600; 
            cursor: pointer; 
            width: 100%; 
            margin-top: 20px;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .btn:hover { 
            transform: translateY(-2px); 
            box-shadow: 0 6px 20px rgba(211, 33, 45, 0.4);
        }
        .btn:disabled { 
            opacity: 0.6; 
            cursor: not-allowed;
            transform: none;
        }
        .consent { 
            display: flex; 
            align-items: flex-start; 
            gap: 12px; 
            margin: 25px 0 20px; 
            font-size: 14px;
        }
        .consent input[type="checkbox"] { 
            flex-shrink: 0; 
            margin: 0; 
            width: 20px; 
            height: 20px;
            accent-color: #D3212D;
        }
        .consent strong { color: #333; font-weight: 600; }
        .consent small { color: #666; display: block; margin-top: 4px; }
        .consent a { color: #D3212D; text-decoration: none; }
        .consent a:hover { text-decoration: underline; }
        .success { 
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); 
            color: #155724; 
            padding: 40px; 
            border-radius: 12px; 
            text-align: center; 
            margin-top: 20px;
            border: 2px solid #28a745;
        }
        .success h2 { color: #28a745; margin-bottom: 15px; }
        .next-form { 
            background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%); 
            padding: 20px; 
            border-radius: 8px; 
            margin-top: 20px;
            border-left: 4px solid #D3212D;
        }
        .next-form h3 { color: #D3212D; margin-top: 0; }
        .error { 
            background: #f8d7da; 
            color: #721c24; 
            padding: 12px; 
            border-radius: 8px; 
            margin: 10px 0;
            border-left: 4px solid #D3212D;
            display: none;
        }
        .loading { 
            display: none; 
            text-align: center; 
            padding: 10px;
        }
        .loading::after { content: "⏳ "; }
        .dynamic-fields {
            background: white;
            padding: 20px;
            border-radius: 8px;
            margin-top: 15px;
            border: 2px solid #e0e0e0;
        }
        .field-group {
            margin-bottom: 15px;
        }
        optgroup {
            font-weight: bold;
            color: #D3212D;
        }
        option {
            font-weight: normal;
            color: #333;
        }
		/* Zone de dépôt */
		.drop-zone {
			border: 2px dashed #ccc;
			border-radius: 8px;
			padding: 20px;
			text-align: center;
			cursor: pointer;
			transition: all 0.3s ease;
			background: #fafafa;
		}
		.drop-zone:hover, .drop-zone.dragover {
			border-color: #D3212D;
			background: #fff5f5;
			transform: scale(1.01);
		}
		.drop-icon { font-size: 32px; margin-bottom: 8px; }
		.drop-zone p { margin: 0 0 4px; font-weight: 600; color: #333; }
		.drop-zone small { color: #666; font-size: 12px; }

		/* Grille de miniatures */
		.preview-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
			gap: 12px;
			margin-top: 15px;
		}

		/* Conteneur miniature */
		.thumb-item {
			position: relative;
			width: 100%;
			aspect-ratio: 1 / 1;
			border-radius: 8px;
			overflow: hidden;
			border: 1px solid #ddd;
			background: #fff;
			box-shadow: 0 2px 6px rgba(0,0,0,0.1);
		}
		.thumb-item img {
			width: 100%;
			height: 100%;
			object-fit: cover; /* Conserve le ratio, remplit le carré */
			max-width: 300px;
			max-height: 300px;
			display: block;
		}

		/* Bouton suppression */
		.thumb-remove {
			position: absolute;
			top: 4px;
			right: 4px;
			width: 24px;
			height: 24px;
			background: rgba(220, 53, 69, 0.9);
			color: white;
			border: none;
			border-radius: 50%;
			font-size: 16px;
			line-height: 24px;
			text-align: center;
			cursor: pointer;
			transition: background 0.2s;
		}
		.thumb-remove:hover { background: #c82333; }
		
		
		
		
        @media (max-width: 600px) {
            .hero { flex-direction: column; text-align: center; }
            .hero h1 { font-size: 1.5em; }
            .hero-logo { max-width: 120px; }
        }
		 optgroup { font-weight: bold; color: #D3212D; }
        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #D3212D;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
		
		