/* Formulaire de contact public intégré dans un site externe (iframe) */

.body--embed {
    background: transparent;
    margin: 0;
}

.embed-shell {
    padding: 0.5rem;
}

.contact-embed {
    max-width: 44rem;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.contact-embed__title {
    margin: 0 0 1rem;
    font-size: 1.75rem;
}

.contact-embed__intro p {
    margin: 0 0 0.5rem;
}

.contact-embed__warning {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border-left: 4px solid var(--color-warning);
    background: var(--color-warning-bg);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.contact-embed__steps {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 1.5rem 0;
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--color-border);
}

.contact-embed__step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-subtle);
}

.contact-embed__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-embed__step.is-current {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-embed__step.is-current .contact-embed__step-number {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.contact-embed__step.is-done {
    color: var(--color-success);
}

.contact-embed__form .form-group {
    margin-bottom: 1.25rem;
}

.contact-embed__form .form-group label {
    margin-bottom: 0;
}

.contact-embed__form .form-hint {
    margin-top: 0.35rem;
}

.contact-embed__choice {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
}

.contact-embed__choice legend {
    padding: 0 0.35rem;
    font-weight: 600;
}

/* Spécificité renforcée : « .form label » force sinon un affichage en bloc */
.contact-embed__form .contact-embed__radio {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 1.5rem 0 0;
    font-weight: 400;
}

.contact-embed__form .contact-embed__radio input {
    margin: 0;
}

/* Pot de miel anti-robots : invisible pour les visiteurs, rempli par les bots */
.contact-embed__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-embed__done p {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}
