.didatec-contact {
	background: rgba(6, 5, 60, 0.05);
	padding: 98px 168px 98px 128px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 64px;
	box-shadow: 0 0 0 100vmax rgba(6, 5, 60, 0.05);
	clip-path: inset(0 -100vmax);
}

/* Left */
.didatec-contact__left {
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-width: 472px;
	flex-shrink: 0;
}

.didatec-contact__titre {
	font-family: 'Stack Sans Headline', sans-serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.1;
	color: #06053c;
	margin: 0;
}

.didatec-contact__avantages {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.didatec-contact__avantage {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	font-size: 14px;
	color: #06053c;
	line-height: 1.5;
}

.didatec-contact__check {
	width: 19px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 1px;
}

/* Right */
.didatec-contact__right {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 549px;
	flex-shrink: 0;
}

.didatec-contact__form-titre {
	font-size: 14px;
	color: #06053c;
	margin: 0;
}

.didatec-contact__form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.didatec-contact__row {
	display: flex;
	gap: 8px;
}

.didatec-contact__input {
	background: #ffffff;
	border: none;
	border-radius: 12px;
	padding: 16px;
	font-size: 14px;
	color: rgba(6, 5, 60, 0.5);
	font-family: 'Stack Sans Headline', sans-serif;
	width: 100%;
	outline: none;
	transition: box-shadow 0.2s;
}

.didatec-contact__input:focus {
	box-shadow: 0 0 0 2px #100ea2;
	color: #06053c;
}

.didatec-contact__select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2306053c' stroke-opacity='0.5' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 36px;
}

.didatec-contact__input--full {
	width: 100%;
}

.didatec-contact__textarea {
	resize: vertical;
	min-height: 125px;
}

.didatec-contact__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 24px;
	background: #100ea2;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Stack Sans Headline', sans-serif;
	border: 1px solid #100ea2;
	border-radius: 8px;
	cursor: pointer;
	transition: opacity 0.2s;
}

.didatec-contact__btn:hover {
	opacity: 0.9;
}

.didatec-contact__btn img {
	width: 17px;
	height: 17px;
	filter: invert(1);
}

/* ── Gravity Forms dans le bloc contact ───────────────────── */

.didatec-contact__gf-wrap .gform_wrapper,
.didatec-contact__gf-wrap form {
	margin: 0 !important;
}

.didatec-contact__gf-wrap .gform_fields {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 8px !important;
}

.didatec-contact__gf-wrap .gfield:not(.gf_left_half):not(.gf_right_half) {
	grid-column: 1 / -1 !important;
}

.didatec-contact__gf-wrap .gf_left_half {
	grid-column: 1 !important;
}

.didatec-contact__gf-wrap .gf_right_half {
	grid-column: 2 !important;
}

.didatec-contact__gf-wrap .gfield {
	padding: 0 !important;
	margin: 0 !important;
}

.didatec-contact__gf-wrap .gfield_label {
	display: none !important;
}

.didatec-contact__gf-wrap select option:first-child {
	color: rgba(6, 5, 60, 0.4) !important;
}

.didatec-contact__gf-wrap select option:not(:first-child) {
	color: #06053c !important;
}

.didatec-contact__gf-wrap input:not([type=submit]),
.didatec-contact__gf-wrap select,
.didatec-contact__gf-wrap textarea {
	background: #ffffff !important;
	border: none !important;
	border-radius: 12px !important;
	padding: 16px !important;
	font-size: 14px !important;
	color: rgba(6, 5, 60, 0.5) !important;
	font-family: 'Stack Sans Headline', sans-serif !important;
	width: 100% !important;
	outline: none !important;
	box-sizing: border-box !important;
	transition: box-shadow 0.2s !important;
	margin: 0 !important;
}

.didatec-contact__gf-wrap input:focus:not([type=submit]),
.didatec-contact__gf-wrap select:focus,
.didatec-contact__gf-wrap textarea:focus {
	box-shadow: 0 0 0 2px #100ea2 !important;
	color: #06053c !important;
}

.didatec-contact__gf-wrap select {
	appearance: none !important;
	-webkit-appearance: none !important;
	color: #06053c !important;
	-webkit-text-fill-color: #06053c !important;
	opacity: 1 !important;
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2306053c' stroke-opacity='0.5' stroke-width='1.5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	padding-right: 36px !important;
}

.didatec-contact__gf-wrap select.placeholder-active {
	color: rgba(6, 5, 60, 0.45) !important;
	-webkit-text-fill-color: rgba(6, 5, 60, 0.45) !important;
}

.didatec-contact__gf-wrap .gform_footer,
.didatec-contact__gf-wrap .gform_page_footer {
	margin: 0 !important;
	padding: 0 !important;
}

.didatec-contact__gf-wrap input[type=submit] {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	padding: 16px 24px !important;
	background: #100ea2 !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	font-family: 'Stack Sans Headline', sans-serif !important;
	border: 1px solid #100ea2 !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: opacity 0.2s !important;
	margin-top: 8px !important;
}

.didatec-contact__gf-wrap input[type=submit]:hover {
	opacity: 0.9 !important;
}

.didatec-contact__gf-wrap .gform_confirmation_message {
	font-size: 14px;
	color: #06053c;
	padding: 16px;
	background: rgba(16, 14, 162, 0.06);
	border-radius: 12px;
}

@media (max-width: 1024px) {
	.didatec-contact {
		flex-direction: column;
		padding: 72px 24px;
	}

	.didatec-contact__right {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.didatec-contact {
		padding: 48px 24px;
		flex-direction: column;
		gap: 32px;
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
	}

	.didatec-contact__row {
		flex-direction: column;
		gap: 8px;
	}

	.didatec-contact__left {
		max-width: 100%;
	}

	.didatec-contact__right {
		width: 100%;
	}

	.didatec-contact__gf-wrap .gform_fields {
		grid-template-columns: 1fr 1fr !important;
	}
}
