 :root {
            --couleur-primaire: #2c3e50;
            --couleur-accent: #e74c3c;
            --couleur-fond: #e7fce7;
            --couleur-bordure: #ddd;
        }
        * {
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: var(--couleur-fond);
            color: #333;
            margin: 0;
            padding: 20px;
            line-height: 1.6;
        }.logo-top-left {
    position: absolute ;
    top: 15px;
    left: 12px;
    width: 140px;
    height: auto;
    z-index: 1200;
}

@media (max-width: 480px) {
    .logo-top-left { width: 48px; top: 24px; left: 8px; }
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #1CE000;
    color: black;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: opacity 0.3s;
}

.back-to-top:hover {
    background-color: #2F7E33;
    transform: scale(1.1);
}/* Header (logo + titre) */

.header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
}
.header-logo img {
    width: 25%; /* fill the same width as the form */
    height: auto;
    display: block;
    object-fit: contain;
 
}


/* Réseaux sociaux en haut à droite */
.social-media-top {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 15px;
    padding: 10px 15px;
    backdrop-filter: blur(5px);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.social-icon svg {
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Facebook spécifique */
.social-icon:nth-child(1):hover {
    background: #1877F2;
}

.social-icon:nth-child(1):hover svg {
    fill: white;
}

/* Instagram spécifique */
.social-icon:nth-child(2):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon:nth-child(2):hover svg {
    fill: white;
}

        .conteneur {
            max-width: 700px;
            margin: 0 auto;
	    margin-top: 40px;
            background: #d4efdf;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.8);
            padding: 30px 25px;
        }
        h1 {
            font-size: 1.8em;
            color: var(--couleur-primaire);
            text-align: center;
            margin-bottom: 5px;
        }
        .sous-titre {
            text-align: center;
            font-style: italic;
            color: #666;
            margin-bottom: 30px;
        }
        fieldset {
            border: 1px solid var(--couleur-bordure);
            border-radius: 8px;
            padding: 15px 20px;
            margin-bottom: 20px;
        }
        legend {
            font-weight: bold;
            color: var(--couleur-primaire);
            padding: 0 8px;
        }
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="date"],
        textarea {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid var(--couleur-bordure);
            border-radius: 6px;
            font-size: 1em;
            font-family: inherit;
            margin-bottom: 15px;
            transition: border-color 0.2s;
        }
        input:focus,
        textarea:focus {
            outline: none;
            border-color: var(--couleur-accent);
            box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
        }
        textarea {
            min-height: 120px;
            resize: vertical;
        }
        .radio-group {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 15px;
        }
        .radio-group label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: normal;
            cursor: pointer;
        }
        .radio-group input[type="radio"] {
            width: auto;
            margin: 0;
        }
        .case {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 15px;
            font-size: 0.95em;
        }
        .case input[type="checkbox"] {
            margin-top: 4px;
            flex-shrink: 0;
        }
        .note {
            font-size: 0.85em;
            color: #777;
            margin-top: -10px;
            margin-bottom: 15px;
        }
        .btn {
            display: inline-block;
            background: var(--couleur-accent);
            color: #fff;
            border: none;
            padding: 12px 30px;
            font-size: 1.1em;
            border-radius: 6px;
            cursor: pointer;
            width: 100%;
            transition: background 0.2s;
        }
        .btn:hover {
            background: #c0392b;
        }
        .erreurs {
            background: #fdecea;
            border-left: 4px solid var(--couleur-accent);
            padding: 12px 15px;
            border-radius: 6px;
            margin-bottom: 20px;
            color: #b71c1c;
        }
        .succes {
            background: #e8f5e9;
            border-left: 4px solid #4caf50;
            padding: 15px;
            border-radius: 6px;
            margin-bottom: 20px;
            color: #2e7d32;
        }
        .qr-zone {
            text-align: center;
            margin: 25px 0 10px;
            padding: 15px;
            background: #f1f1f1;
            border-radius: 8px;
            font-size: 0.95em;
        }
        .qr-image {
            display: block;
            width: 180px;
            height: 180px;
            margin: 10px auto;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            background: #fff;
            padding: 8px;
}
        .mentions {
            font-size: 0.8em;
            color: #888;
            margin-top: 25px;
            padding-top: 15px;
            border-top: 1px solid var(--couleur-bordure);
            text-align: center;
        }
        .mentions a {
            color: var(--couleur-primaire);
        }
        @media (max-width: 480px) {
            .conteneur {
                padding: 20px 15px;
            }
            h1 {
                font-size: 1.4em;
            }
            .radio-group {
                flex-direction: column;
                gap: 8px;
            }
        }
