/* ICT Banner Home — deux colonnes : bannière gauche + formulaire RDV droite
   Variables CSS inline : --ibnh-c1, --ibnh-c2, --ibnh-bg, --ibnh-bg-rgb, --ibnh-btn-txt */

/* ============================================================
   SECTION PRINCIPALE
   ============================================================ */

.ibnh { width: 100%; }

.ibnh-inner {
	--ibnh-fh: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--ibnh-fb: "Inter", "Segoe UI", system-ui, sans-serif;
	--ibnh-line: #e4e9f0;
	--ibnh-ink-60: #4a5563;
	--ibnh-ink-40: #79828f;
	--ibnh-surface: #F5F7FA;
	--ibnh-err: #c0392b;
	--ibnh-err-bd: #e07a6e;
	--ibnh-ok: #1F9D6B;
	--ibnh-r-sm: 10px;
	--ibnh-r-md: 14px;
	--ibnh-r-lg: 18px;
	--ibnh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, rgba(255,255,255,0.7) 0%, rgba(var(--ibnh-bg-rgb, 238,242,248), 0) 60%),
	            var(--ibnh-bg, #eef2f8);
	min-height: clamp(480px, 56vh, 700px);
	display: flex;
	align-items: stretch;
	box-sizing: border-box;
	font-family: var(--ibnh-fb);
	-webkit-font-smoothing: antialiased;
}
.ibnh-inner *, .ibnh-inner *::before, .ibnh-inner *::after { box-sizing: border-box; }

/* ============================================================
   FOND (image de fond + dégradé — comme ict-banner)
   ============================================================ */

.ibnh-bg {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 100%;
	background-size: cover;
	background-position: center right;
}
.ibnh-bg--mobile { display: none; }

.ibnh-fade {
	position: absolute;
	inset: 0;
	background: #18376366;
}

h1.ibnh-title  , .ibnh-checks li , 
.ibnh-subtitle{
	color:#fff !important;
}

/* ============================================================
   MISE EN PAGE DEUX COLONNES
   ============================================================ */

.ibnh-wrap {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 5%;
	display: flex;
	gap: clamp(32px, 4vw, 60px);
	align-items: center;
}

/* Colonnes gauche et droite : 50 % chacune */
.ibnh-col-left,
.ibnh-col-right {
	flex: 1 1 0;
	min-width: 0;
}

/* ============================================================
   COLONNE GAUCHE — Contenu bannière
   ============================================================ */

.ibnh-eyebrow {
	font-family: var(--ibnh-fh);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ibnh-c2, #FAB519);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.ibnh-eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--ibnh-c2, #FAB519);
	border-radius: 2px;
}

.ibnh-title {
	font-family: var(--ibnh-fh);
	color: var(--ibnh-c1, #183763);
	font-size: clamp(1.9rem, 4.2vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 16px 0 0;
}
.ibnh-accent { color: var(--ibnh-c2, #FAB519); }

.ibnh-subtitle {
	color: var(--ibnh-ink-60);
	font-size: 1.08rem;
	line-height: 1.65;
	margin: 18px 0 0;
	max-width: 44ch;
}

/* Boutons */
.ibnh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.ibnh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 52px;
	padding: 0 26px;
	border-radius: var(--ibnh-r-sm);
	font-family: var(--ibnh-fh);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.ibnh-btn .dashicons,
.ibnh-btn svg,
.ibnh-btn img { width: 18px; height: 18px; font-size: 18px; line-height: 18px; }

.ibnh-btn-primary {
	background: var(--ibnh-c2, #FAB519);
	color: #fff;
	box-shadow: 0 8px 20px rgba(24,55,99,.16);
}
.ibnh-btn-primary:hover {
	color:#fff ;
	filter: brightness(.96);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(24,55,99,.2);
}

.ibnh-btn-secondary {
	background: rgba(255,255,255,.88);
	color: var(--ibnh-c1, #183763);
	border-color: var(--ibnh-line);
}
.ibnh-btn-secondary:hover {
	border-color: var(--ibnh-c1, #183763);
	transform: translateY(-2px);
}

/* Mini-liste */
.ibnh-checks {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ibnh-checks li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #374151;
	font-size: 1rem;
	font-weight: 500;
}
.ibnh-check-ico {
	flex: none;
	color: var(--ibnh-c2, #FAB519);
	display: inline-flex;
}

/* ============================================================
   COLONNE DROITE — Carte formulaire
   ============================================================ */

.ibnh-form-card {
	background: #fff;
	border: 1px solid var(--ibnh-line);
	border-radius: var(--ibnh-r-lg);
	box-shadow: 0 24px 60px rgba(24,55,99,.18);
	padding: clamp(20px, 3vw, 36px);
}

/* Champs */
.ibnh-field { margin-bottom: 5px; }
.ibnh-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.ibnh-label {
	display: block;
	font-weight: 600;
	font-size: .8rem;
	color: var(--ibnh-c1, #183763);
	margin-bottom: 6px;
}
.ibnh-req { color: var(--ibnh-err); }

.ibnh-input,
.ibnh-select,
.ibnh-textarea {
	width: 100%;
	border: 1.5px solid var(--ibnh-line);
	border-radius: var(--ibnh-r-sm);
	padding: 11px 13px;
	font-size: .96rem;
	font-family: var(--ibnh-fb);
	color: #1a1a1a;
	background: #fff;
	transition: border-color .15s var(--ibnh-ease), box-shadow .15s var(--ibnh-ease);
}
.ibnh-textarea { min-height: 90px; resize: vertical; }
.ibnh-input:focus,
.ibnh-select:focus,
.ibnh-textarea:focus {
	outline: none;
	border-color: var(--ibnh-c1, #183763);
	box-shadow: 0 0 0 3px rgba(24,55,99,.1);
}

/* Select chevron */
.ibnh-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234d5663' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 38px;
}

/* Cartes de choix (profil) */
.ibnh-choice-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.ibnh-choice-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1.5px solid var(--ibnh-line);
	border-radius: var(--ibnh-r-sm);
	max-height: 40px;
	padding: 8px 12px;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.ibnh-choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.ibnh-choice-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 8px;
	background: #eef2f8;
	color: var(--ibnh-c1, #183763);
	flex: none;
	transition: background .15s, color .15s;
}
.ibnh-choice-ico svg { width: 18px; height: 18px; }
.ibnh-choice-label { font-family: var(--ibnh-fh); font-weight: 600; font-size: .88rem; color: var(--ibnh-c1, #183763); }
.ibnh-choice-card.is-selected {
	border-color: var(--ibnh-c2, #FAB519);
	box-shadow: 0 0 0 3px rgba(250,181,25,.22);
	background: #fef6e2;
}
.ibnh-choice-card.is-selected .ibnh-choice-ico {
	background: var(--ibnh-c2, #FAB519);
	color: var(--ibnh-c1, #183763);
}

/* Chips (mode de rencontre) */
.ibnh-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ibnh-chips.three { grid-template-columns: repeat(3, 1fr); }

.ibnh-chip {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: 40px;
	border: 1.5px solid var(--ibnh-line);
	border-radius: var(--ibnh-r-sm);
	font-size: .88rem;
	font-weight: 500;
	color: var(--ibnh-c1, #183763);
	cursor: pointer;
	transition: border-color .15s, background .15s, box-shadow .15s;
	text-align: center;
	padding: 6px 8px;
}
.ibnh-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ibnh-chip.is-selected {
	border-color: var(--ibnh-c2, #FAB519);
	background: #fef6e2;
	box-shadow: 0 0 0 3px rgba(250,181,25,.2);
}

/* Erreurs */
.ibnh-form-error {
	display: none;
	align-items: center;
	gap: 5px;
	color: var(--ibnh-err);
	font-size: .82rem;
	margin-top: 4px;
}
.ibnh-form-error svg { width: 14px; height: 14px; flex: none; }
.ibnh-field.invalid .ibnh-input,
.ibnh-field.invalid .ibnh-select { border-color: var(--ibnh-err-bd); }
.ibnh-field.invalid .ibnh-form-error { display: flex; }

/* Bouton submit */
.ibnh-submit {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	max-height: 40px;
	border: 0;
	border-radius: var(--ibnh-r-sm);
	background: var(--ibnh-c2, #FAB519);
	color: var(--ibnh-form-btn-txt, #183763);
	font-family: var(--ibnh-fh);
	font-weight: 600;
	font-size: 0.8rem;
	cursor: pointer;
	margin-top: 4px;
	transition: transform .15s var(--ibnh-ease), box-shadow .2s var(--ibnh-ease), filter .2s;
}
.ibnh-submit svg { width: 18px; height: 18px; }
.ibnh-submit:hover { transform: translateY(-2px); filter: brightness(.97); box-shadow: 0 10px 24px rgba(24,55,99,.18); }
.ibnh-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* Texte sous le bouton */
.ibnh-secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--ibnh-ink-40);
	font-size: .8rem;
	margin: 10px 0 0;
}
.ibnh-lock { display: inline-flex; color: var(--ibnh-ok); }
.ibnh-lock svg { width: 14px; height: 14px; }

/* Message d'erreur global */
.ibnh-form-fail {
	display: none;
	margin-top: 12px;
	padding: 10px 13px;
	border-radius: var(--ibnh-r-sm);
	background: #fdeaea;
	border: 1px solid #f3c2c2;
	color: #8a2020;
	font-size: .9rem;
}
.ibnh-form-fail.show { display: block; }

/* Honeypot */
.ibnh-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

/* ============================================================
   CONFIRMATION SUCCÈS
   ============================================================ */

.ibnh-success {
	display: none;
	text-align: center;
	padding: 8px 4px;
}
.ibnh-success.show { display: block; }

.ibnh-success-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: #fef6e2;
	color: var(--ibnh-ok);
	margin-bottom: 8px;
}
.ibnh-success-ico svg { width: 34px; height: 34px; }
.ibnh-success h2 {
	font-family: var(--ibnh-fh);
	color: var(--ibnh-c1, #183763);
	font-size: 1.45rem;
	margin: 6px 0 4px;
}
.ibnh-success > p { color: var(--ibnh-ink-60); max-width: 42ch; margin: 0 auto; }

.ibnh-recap {
	text-align: left;
	background: var(--ibnh-surface);
	border-radius: var(--ibnh-r-md);
	padding: 14px 18px;
	margin: 18px auto 0;
	max-width: 420px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 14px;
}
.ibnh-recap dt { font-weight: 600; color: var(--ibnh-c1, #183763); font-size: .88rem; }
.ibnh-recap dd { margin: 0; color: var(--ibnh-ink-60); font-size: .92rem; }

.ibnh-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px;
	margin-top: 18px;
	border: 1.5px solid var(--ibnh-line);
	border-radius: var(--ibnh-r-sm);
	font-family: var(--ibnh-fh);
	font-weight: 600;
	font-size: .94rem;
	color: var(--ibnh-c1, #183763);
	text-decoration: none;
	transition: border-color .15s, transform .15s;
}
.ibnh-btn-ghost:hover { border-color: var(--ibnh-c1, #183763); transform: translateY(-2px); }

@keyframes ibnhPop {
	0% { transform: scale(.96); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}
.ibnh-success.show { animation: ibnhPop .45s var(--ibnh-ease); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
	.ibnh-wrap {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		padding-top: clamp(40px, 8vw, 72px);
		padding-bottom: clamp(40px, 8vw, 72px);
	}
	.ibnh-col-right { flex: none; }
	.ibnh-bg { width: 100%; }
	.ibnh-bg--has-mobile { display: none; }
	.ibnh-bg--mobile { display: block; }
	.ibnh-fade {
		background: #1837638f;
	}
}

@media (max-width: 540px) {
	.ibnh-field-row { grid-template-columns: 1fr; }
	.ibnh-choice-row { grid-template-columns: 1fr 1fr; }
	.ibnh-chips.three { grid-template-columns: 1fr; }
	.ibnh-actions .ibnh-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.ibnh-btn,
	.ibnh-btn-ghost,
	.ibnh-submit,
	.ibnh-choice-card,
	.ibnh-chip,
	.ibnh-input,
	.ibnh-select,
	.ibnh-textarea { transition: none; }
	.ibnh-success.show { animation: none; }
}

.ibnh-input, .ibnh-select, .ibnh-textarea {
	font-size: .8rem !important;
	padding: 5px 13px !important;
}
.ibnh-wrap{
	padding: 2% 5% 2% 5%;
}