/*
 * contact/agenda — agenda a gauche, formulaire a droite dans une carte.
 * Engagement 5 : aucun hexadecimal. Le formulaire garde la feuille de
 * FluentForm ; seule sa couleur de texte suit la partie.
 */
.ivy-contact--agenda { padding: clamp( 80px, 9vw, 120px ) clamp( 20px, 5vw, 64px ); }
.ivy-contact--agenda .ivy-contact__inner { display: grid; grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr ); gap: clamp( 28px, 4vw, 56px ); align-items: start; max-width: 1280px; margin-inline: auto; }
.ivy-contact--agenda .ivy-contact__calendar { display: grid; gap: 14px; }
.ivy-contact--agenda .ivy-contact__eyebrow,
.ivy-contact--agenda .ivy-contact__card-label { margin: 0; color: var( --ivy-eyebrow-color, var( --ivy-accent, rgb( 17 17 17 ) ) ); font-size: var( --ivy-font-label ); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ivy-contact--agenda .ivy-contact__card-label { margin-bottom: 16px; color: var( --ivy-card_label-color, var( --ivy-accent, rgb( 17 17 17 ) ) ); }
.ivy-contact--agenda .ivy-contact__title { margin: 0; color: var( --ivy-title-color, var( --ivy-ink, rgb( 17 17 17 ) ) ); line-height: 1.12; }
.ivy-contact--agenda .ivy-contact__text { color: var( --ivy-text-color, var( --ivy-muted, rgb( 82 82 82 ) ) ); }
.ivy-contact--agenda .ivy-contact__text > * { margin: 0; }
.ivy-contact--agenda .ivy-contact__frame { overflow: hidden; margin-top: 10px; border: 1px solid var( --ivy-line, rgb( 205 205 201 ) ); border-radius: var( --ivy-radius-surface, 16px ); background: var( --ivy-surface-soft, rgb( 247 244 238 ) ); }
.ivy-contact--agenda .ivy-contact__embed { display: block; width: 100%; height: 700px; border: 0; }
.ivy-contact--agenda .ivy-contact__fallback-line { margin: 0; color: var( --ivy-muted, rgb( 82 82 82 ) ); font-size: calc( var( --ivy-font-body ) * .8125 ); }
.ivy-contact--agenda .ivy-contact__fallback { color: var( --ivy-cta-color, var( --ivy-ink, rgb( 17 17 17 ) ) ); text-decoration: underline; text-underline-offset: 3px; }
.ivy-contact--agenda .ivy-contact__card {
	box-sizing: border-box;
	padding: clamp( 22px, 2.6vw, 32px );
	border: 1px solid var( --ivy-accent, rgb( 17 17 17 ) );
	border-radius: var( --ivy-radius-surface, 16px );
	background: var( --ivy-surface, rgb( 255 255 255 ) );
}
.ivy-contact--agenda .ivy-contact__form { color: var( --ivy-form-color, var( --ivy-ink, rgb( 17 17 17 ) ) ); }
@media ( max-width: 900px ) {
	.ivy-contact--agenda .ivy-contact__inner { grid-template-columns: minmax( 0, 1fr ); }
	.ivy-contact--agenda .ivy-contact__embed { height: 620px; }
}

/*
 * Le formulaire FluentForm, dans la carte : les champs arrondis au filet du site,
 * le bouton d'envoi en capsule profonde. Sans ces règles, le thème parent pose un
 * bouton de lien rouge et des champs carrés.
 */
.ivy-contact--agenda .ivy-contact__form :is( input[type='text'], input[type='email'], input[type='tel'], textarea ) { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var( --ivy-line, rgb( 205 205 201 ) ); border-radius: var( --ivy-radius-surface, 12px ); background: var( --ivy-surface, rgb( 255 255 255 ) ); font: inherit; }
.ivy-contact--agenda .ivy-contact__form :is( input, textarea ):focus-visible { outline: 2px solid var( --ivy-accent, rgb( 17 17 17 ) ); outline-offset: 1px; }
.ivy-contact--agenda .ivy-contact__form .ff-el-input--label label { color: var( --ivy-form-color, var( --ivy-ink, rgb( 17 17 17 ) ) ); font-weight: 600; }
.ivy-contact--agenda .ivy-contact__form .ff-el-form-check { margin-bottom: 6px; }
.ivy-contact--agenda .ivy-contact__form :is( .ff-btn-submit, button[type='submit'] ) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: var( --ivy-radius-action, 999px ); background: var( --ivy-deep, rgb( 17 17 17 ) ); color: var( --ivy-on-deep, rgb( 255 255 255 ) ); font: inherit; font-weight: 600; cursor: pointer; }
.ivy-contact--agenda .ivy-contact__form :is( .ff-btn-submit, button[type='submit'] ):focus-visible { outline: 2px solid var( --ivy-accent, rgb( 17 17 17 ) ); outline-offset: 3px; }

/*
 * LE FORMULAIRE PAR ETAPES (`ivy-form-steps`). L'en-tete de la carte : le
 * libelle a gauche, le compteur d'etapes a droite. Une etape de choix : la
 * question en grand, les reponses en pastilles. Sans script : le formulaire
 * entier, sans compteur.
 */
.ivy-contact--agenda .ivy-contact__card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ivy-contact--agenda .ivy-contact__card-head .ivy-contact__card-label { margin-bottom: 0; }
.ivy-contact--agenda .ivy-contact__progress { color: var( --ivy-progress-color, var( --ivy-muted, rgb( 82 82 82 ) ) ); font-size: var( --ivy-font-label ); }
.ivy-contact--agenda .ivy-contact__progress:empty { display: none; }
.ivy-contact--agenda .is-steps .ff-el-group:has( input[type='radio'] ) .ff-el-input--label label { display: block; margin-bottom: 18px; color: var( --ivy-step_question-color, var( --ivy-ink, rgb( 17 17 17 ) ) ); font-family: var( --e-global-typography-primary-font-family, inherit ); font-size: var( --ivy-font-h4 ); font-weight: 400; line-height: 1.25; }
.ivy-contact--agenda .is-steps .ff-el-group:has( input[type='radio'] ) .ff-el-input--label label::after { content: none; }
.ivy-contact--agenda .is-steps .ff-el-group:has( input[type='radio'] ) .ff-el-input--content { display: grid; gap: 10px; }
.ivy-contact--agenda .is-steps .ff-el-form-check { margin: 0; }
.ivy-contact--agenda .is-steps .ff-el-form-check-label { position: relative; display: flex; align-items: center; min-height: 52px; box-sizing: border-box; padding: 12px 18px; border: 1px solid var( --ivy-line, rgb( 205 205 201 ) ); border-radius: calc( var( --ivy-radius-surface, 20px ) * .7 ); cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
.ivy-contact--agenda .is-steps .ff-el-form-check-label:hover { border-color: var( --ivy-accent, rgb( 17 17 17 ) ); }
.ivy-contact--agenda .is-steps .ff-el-form-check-label:has( input:checked ) { border-color: var( --ivy-ink, rgb( 17 17 17 ) ); background: var( --ivy-surface-soft, rgb( 245 245 243 ) ); }
.ivy-contact--agenda .is-steps .ff-el-form-check-label:has( input:focus-visible ) { outline: 2px solid var( --ivy-accent, rgb( 17 17 17 ) ); outline-offset: 2px; }
.ivy-contact--agenda .is-steps .ff-el-group.ivy-steps-missing .ff-el-form-check-label { border-color: var( --ivy-danger, rgb( 176 42 42 ) ); }
.ivy-contact--agenda .ivy-steps-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.ivy-contact--agenda .ivy-steps-nav button { min-height: 44px; border: 0; background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.ivy-contact--agenda .ivy-steps-nav .ivy-steps-back { padding: 0; color: var( --ivy-muted, rgb( 82 82 82 ) ); }
.ivy-contact--agenda .ivy-steps-nav .ivy-steps-next { margin-left: auto; padding: 0 22px; border-radius: var( --ivy-radius-action, 999px ); background: var( --ivy-deep, rgb( 17 17 17 ) ); color: var( --ivy-on-deep, rgb( 255 255 255 ) ); }
.ivy-contact--agenda .ivy-steps-nav button[hidden] { display: none; }
.ivy-contact--agenda .ivy-steps-nav button:focus-visible { outline: 2px solid var( --ivy-accent, rgb( 17 17 17 ) ); outline-offset: 3px; }
@media ( prefers-reduced-motion: reduce ) { .ivy-contact--agenda .is-steps .ff-el-form-check-label { transition: none; } }
.ivy-contact--agenda .is-steps .ff-el-form-check-input[type='radio'] { flex: none; width: 16px; height: 16px; margin: 0 12px 0 0; border: 1px solid var( --ivy-accent, rgb( 17 17 17 ) ); border-radius: 50%; background: var( --ivy-surface, rgb( 255 255 255 ) ); box-shadow: inset 0 0 0 3px var( --ivy-surface, rgb( 255 255 255 ) ); appearance: none; -webkit-appearance: none; }
.ivy-contact--agenda .is-steps .ff-el-form-check-input[type='radio']:checked { border-color: var( --ivy-ink, rgb( 17 17 17 ) ); background: var( --ivy-ink, rgb( 17 17 17 ) ); }
