/* Variables (light) */
:root {
	--axocontact_colorborder: #ededed;
	--axocontact_colortitle: #3f3f3f;
	--axocontact_colortxt: #4e4e4e;
	--axocontact_backcolor: #fff;
	--axocontact_shadowcolor: rgba(17, 12, 46, 0.1);
	--axocontact_chipbg: rgba(0, 0, 0, 0.04);
}

/* Variables (dark) */
.axo-contact_container.dark-module {
	--axocontact_colorborder: rgba(255, 255, 255, 0.15);
	--axocontact_colortitle: rgba(255, 255, 255, 0.95);
	--axocontact_colortxt: rgba(255, 255, 255, 0.9);
	--axocontact_backcolor: rgba(0, 0, 0, 0.3);
	--axocontact_shadowcolor: rgba(255, 255, 255, 0.05);
	--axocontact_chipbg: rgba(255, 255, 255, 0.08);
}

.axo-contact_container {
	width: 1440px;
	max-width: 100%;
}

/* Cartes génériques */
.axo-card {
	margin: 15px auto;
	background: var(--axocontact_backcolor);
	border: 1px solid var(--axocontact_colorborder);
	border-radius: 12px;
	box-shadow: 0 12px 30px var(--axocontact_shadowcolor);
}

/* Bloc infos (gauche) */
.axo-contact_info {
	padding: 18px;
}

.axo-contact_logo {
	width: 100%;
	max-width: 190px;
	height: 70px;
	object-fit: contain;
	object-position: left center;
	display: block;
	margin: 4px 0 14px;
}

.axo-contact_info h3 {
	font-size: 18px;
	font-weight: 700;
	color: var(--axocontact_colortitle);
	margin: 6px 0 12px;
}

.axo-contact_info p,
.axo-contact_list {
	color: var(--axocontact_colortxt);
	font-size: 14px;
}

.axo-contact_list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.axo-contact_list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--axocontact_colorborder);
}

.axo-contact_list li:last-child {
	border-bottom: 0;
}

.axo-contact_list i {
	width: 28px;
	height: 28px;
	border-radius: 7.5px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--axo_module_chipbg, rgba(0, 0, 0, 0.06));
	color: var(--axo_module_maincolor);
	font-size: 13px;
	flex: 0 0 28px;
}

.axo-contact_list a {
	transition: all 0.4s;
	color: var(--axocontact_colortitle);
	text-decoration: none;
	font-weight: 600;
}

.axo-contact_list a:hover {
	color: var(--axo_module_maincolor);
}

/* Titre section style (comme tes modules) */
.axo-title {
	position: relative;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--axo_module_maincolor);
	padding: 12px 0;
	margin: 6px 0 10px;
}

.axo-title:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 5px;
	width: 55px;
	border-radius: 5px;
	background-color: var(--axo_module_secondcolor);
	z-index: 3;
}

.axo-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 2px;
	height: 1px;
	width: 100%;
	background-color: var(--axocontact_colorborder);
	z-index: 2;
}

/* Réseaux sociaux (reprend ton style actu, adapté) */
.axo-contact_social .axo-contact_socialbox {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.axo-contact_social .axo-contact_socialbox a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	border-radius: 7.5px;
	background: var(--axo_module_maincolor);
	color: #fff;
	margin-right: 10px;
	margin-bottom: 10px;
	transition: .4s;
	font-size: 14px;
}

.axo-contact_social .axo-contact_socialbox a:hover {
	opacity: .6;
}

form#axoContactForm {
	margin-top: 15px;
	display: block;
}

/* Formulaire (droite) */
.axo-contact_form {
	padding: 18px;
}

.axo-form_group {
	margin-bottom: 16px;
}

.axo-form_group label {
	font-weight: 700;
	font-size: 13px;
	color: var(--axocontact_colortitle);
	margin-bottom: 6px;
}

.axo-form_control,
.axo-form_select,
.axo-form_textarea {
	display: block;
	max-width: 100%;
	width: 100%;
	border: 1.5px solid var(--axocontact_colorborder);
	background: var(--axocontact_backcolor);
	color: var(--axocontact_colortitle);
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 14px;
	transition: .2s;
}

.axo-form_control:focus,
.axo-form_select:focus,
.axo-form_textarea:focus {
	border-color: var(--axo_module_maincolor);
	box-shadow: 0 0 0 0.15rem rgba(61, 180, 255, .15);
	outline: 0;
}

.axo-form_textarea {
	min-height: 140px;
	resize: vertical;
}

.axo-help {
	font-size: 12px;
	color: #8f8f8f;
	margin-top: 6px;
}

/* Range (budget) */
.axo-range_wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.axo-range_value {
	min-width: 92px;
	text-align: center;
	font-weight: 700;
	font-size: 13px;
	color: var(--axocontact_colortitle);
	border: 1px solid var(--axocontact_colorborder);
	border-radius: 8px;
	padding: 6px 10px;
	background: var(--axocontact_backcolor);
}

/* Check/radio */
.axo-check,
.axo-radio {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.axo-check input,
.axo-radio input {
	width: 18px;
	height: 18px;
}

.axo-check label,
.axo-radio label {
	margin: 0;
	font-size: 14px;
	color: var(--axocontact_colortitle);
}

/* Fichier */
.axo-file {
	position: relative;
	border: 1.5px dashed var(--axocontact_colorborder);
	border-radius: 10px;
	padding: 14px;
	background: var(--axocontact_backcolor);
}

.axo-file input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.axo-file .axo-file_label {
	margin: 0;
	font-size: 14px;
	color: var(--axocontact_colortitle);
}

.axo-file .axo-file_meta {
	font-size: 12px;
	color: #8f8f8f;
	margin-top: 4px;
}

/* Wrapper icône à droite (FA) */
.axo-input-icon {
	position: relative;
}

.axo-input-icon::after {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: .95rem;
	color: rgba(0, 0, 0, .45);
	pointer-events: none;
	content: "";
	/* défini par les variantes ci-dessous */
}

.axo-input-date::after {
	content: "\f073";
}

/* fa-calendar-alt */
.axo-input-time::after {
	content: "\f017";
}

/* fa-clock */

/* Unifie la hauteur et évite le zoom iOS (>=16px) */
.axo-form_control[type="date"],
.axo-form_control[type="time"] {
	height: 40px;
	line-height: 1;
	padding-right: 2.5rem;
	/* place pour l’icône */
	font-size: 16px;
	/* évite le zoom auto iOS */
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}

/* Ajuste le rendu du contenu interne WebKit (iOS) */
.axo-form_control[type="date"]::-webkit-date-and-time-value,
.axo-form_control[type="time"]::-webkit-date-and-time-value {
	min-height: 38px;
	/* centre verticalement le texte */
}

/* Garde le “picker” natif cliquable, mais cache l’icône système */
.axo-form_control[type="date"]::-webkit-calendar-picker-indicator,
.axo-form_control[type="time"]::-webkit-calendar-picker-indicator {
	opacity: 0;
	/* icône native invisible… */
	position: absolute;
	/* …mais la zone reste cliquable */
	right: 10px;
	width: 1.6rem;
	height: 1.6rem;
	cursor: pointer;
}

/* Dark mode cohérent */
.axo-contact_container.dark-module .axo-input-icon::after {
	color: rgba(255, 255, 255, .75);
}

/* iPhone petits écrans : garde 16px pour éviter le zoom */

#bloc-captcha .captcha-btn {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

#bloc-captcha .ico {
	background-color: var(--primary);
	border-radius: 100%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	width: 40px;
	height: 40px;
}


@media (max-width: 576px) {

	.axo-form_control,
	.axo-form_select,
	.axo-form_textarea {
		font-size: 16px;
	}
}

/* Boutons */
.axo-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	margin-bottom: 0px;
}

.axo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 5px 14px;
	border-radius: 7.5px;
	border: 1.5px solid var(--axocontact_colorborder);
	background: var(--axocontact_backcolor);
	color: var(--axocontact_colortitle);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: all .3s;
	cursor: pointer;
	text-decoration: none !important;
	color: var(--axocontact_colortxt);
	transition: all 0.4s;
}

.axo-btn.primary {
	background: var(--axo_module_maincolor);
	color: #fff;
	width: 500px;
	text-align: center;
	border-color: transparent;
}

a.axo-btn {
	color: var(--axocontact_colortxt);
	text-decoration: none;
}

.axo-btn:hover {
	opacity: .65;
}

/* Alert succès fake */
.axo-alert {
	display: none;
}

.axo-alert.show {
	display: block;
}

/* ===== Checkboxes & Radios — style moderne (sans JS) ===== */
:root {
	/* taille du contrô le (tu peux ajuster) */
	--axo-choice-size: 18px;
}

/* conteneur de ligne */
.axo-check,
.axo-radio {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
}

/* on cache l'input natif mais il reste focusable (a11y) */
.axo-check input[type="checkbox"],
.axo-radio input[type="radio"] {
	position: absolute;
	opacity: 0;
	inset: 0 auto auto 0;
	/* pour que le focus tab fonctionne sur la zone */
	width: var(--axo-choice-size);
	height: var(--axo-choice-size);
	cursor: pointer;
}

/* le label porte le visuel custom */
.axo-check label,
.axo-radio label {
	position: relative;
	padding-left: calc(var(--axo-choice-size) + 12px);
	cursor: pointer;
	user-select: none;
	color: var(--axocontact_colortitle, #3f3f3f);
	font-size: 14px;
	line-height: 1.4;
}

/* "boîte" ou "rond" de base */
.axo-check label::before,
.axo-radio label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: var(--axo-choice-size);
	height: var(--axo-choice-size);
	transform: translateY(-50%);
	background: var(--axocontact_backcolor, #fff);
	border: 1.5px solid var(--axocontact_colorborder, #ededed);
	border-radius: 4px;
	/* checkbox = carré arrondi */
	box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
	transition: border-color .2s, background .2s, box-shadow .2s;
}

.axo-radio label::before {
	border-radius: 50%;
	/* radio = rond */
}

/* état hover (sur le label) */
.axo-check label:hover::before,
.axo-radio label:hover::before {
	border-color: var(--axo_module_secondcolor);
}

/* état focus clavier (sur l'input natif) */
.axo-check input:focus+label::before,
.axo-radio input:focus+label::before {
	outline: 2px solid var(--axo_module_secondcolor);
	outline-offset: 2px;
}

/* CHECKBOX: coche */
.axo-check label::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 50%;
	width: 6px;
	height: 10px;
	transform: translateY(-60%) rotate(45deg);
	border-right: 2px solid transparent;
	border-bottom: 2px solid transparent;
	transition: border-color .2s;
}

.axo-check input:checked+label::before {
	background: var(--axo_module_maincolor);
	border-color: var(--axo_module_maincolor);
}

.axo-check input:checked+label::after {
	border-right-color: #fff;
	border-bottom-color: #fff;
}

/* RADIO: point central */
.axo-radio label::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 50%;
	width: calc(var(--axo-choice-size) - 8px);
	height: calc(var(--axo-choice-size) - 8px);
	transform: translateY(-50%) scale(0.6);
	background: transparent;
	border-radius: 50%;
	transition: transform .2s, background .2s;
}

.axo-radio input:checked+label::before {
	border-color: var(--axo_module_maincolor);
	background: var(--axocontact_backcolor, #fff);
}

.axo-radio input:checked+label::after {
	background: var(--axo_module_maincolor);
	transform: translateY(-50%) scale(1);
}

/* disabled */
.axo-check input:disabled+label,
.axo-radio input:disabled+label {
	opacity: .55;
	cursor: not-allowed;
}

.axo-check input:disabled+label::before,
.axo-radio input:disabled+label::before {
	background: rgba(0, 0, 0, .03);
}

/* invalid (ton script ajoute .is-invalid sur l'input) */
.axo-check input.is-invalid+label::before,
.axo-radio input.is-invalid+label::before {
	border-color: #dc3545;
	/* red Bootstrap */
}

/* dark mode (si ta page contact applique .dark-module sur .axo-contact_container) */
.axo-contact_container.dark-module .axo-check label::before,
.axo-contact_container.dark-module .axo-radio label::before {
	background: var(--axocontact_backcolor);
	border-color: var(--axocontact_colorborder);
}

/* ========= Taille unifiée + placeholders ========== */

/* Variable de hauteur (tu peux passer à 44px si tu veux un peu plus iOS-like) */
:root {
	--axo-input-h: 40px;
}

/* Base : même padding/hauteur sur champs simples */
.axo-form_control:not(textarea),
.axo-form_select:not([multiple]) {
	height: var(--axo-input-h);
	line-height: 1;
	padding: 10px 12px;
	box-sizing: border-box;
}

.axo-form_control.is-invalid,
.axo-form_textarea.is-invalid {
	border-color: #ff7272;
}

/* Textarea = pas de hauteur forcée */
.axo-form_textarea {
	min-height: 140px;
}

/* Placeholders : même taille/couleur que le texte de l’input */
.axo-form_control::placeholder,
.axo-form_textarea::placeholder {
	font-size: inherit;
	color: #8f8f8f;
	opacity: 1;
	/* Safari iOS */
}

/* Select : apparence neutre + padding pour l’icône */
.axo-form_select:not([multiple]) {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.5rem;
	/* place pour chevron */
}

/* Multiple select: pas de hauteur fixe, mais typo cohérente */
.axo-form_select[multiple] {
	min-height: calc(var(--axo-input-h) * 2.2);
	line-height: 1.3;
	padding: 10px 12px;
}

/* Wrapper pour injecter l’icône FA au select simple */
.axo-selectwrap {
	position: relative;
	width: 100%;
}

.axo-selectwrap::after {
	content: "\f107";
	/* fa-angle-down */
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: .95rem;
	line-height: 1;
	color: rgba(0, 0, 0, .45);
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.axo-selectwrap:hover::after {
	color: var(--axo_module_maincolor);
}

.axo-selectwrap:focus-within::after {
	color: var(--axo_module_maincolor);
	transform: translateY(-50%) rotate(180deg);
}

.axo-privacy_notice {
	margin-top: 20px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border: 1px dashed var(--axocontact_colorborder);
	background: var(--axocontact_backcolor);
	color: var(--axocontact_colortxt);
	border-radius: 10px;
	padding: 12px;
	font-size: 13px;
	line-height: 1.6;
}

.axo-privacy_notice i {
	color: var(--axo_module_maincolor);
	margin-top: 2px;
}

.axo-contact_container.dark-module .axo-privacy_notice {
	background: rgba(255, 255, 255, .05);
	border-color: var(--axocontact_colorborder);
	color: rgba(255, 255, 255, .85);
}

.axo-privacy_notice a {
	color: var(--axo_module_maincolor);
	text-decoration: none;
}

.axo-privacy_notice a:hover {
	opacity: .75;
}

/* iOS: évite le zoom auto en mobile en mettant 16px aux labels ET aux champs */
@media (max-width: 576px) {
	.axo-form_group label {
		font-size: 12px;
	}

	.axo-form_control,
	.axo-form_select,
	.axo-form_textarea {
		font-size: 16px;
	}
}

/* iOS WebKit: harmonise la zone de valeur interne des champs date/heure */
.axo-form_control[type="date"]::-webkit-date-and-time-value,
.axo-form_control[type="time"]::-webkit-date-and-time-value {
	min-height: calc(var(--axo-input-h) - 2px);
}

/* Icône native des pickers masquée (mais cliquable) */
.axo-form_control[type="date"]::-webkit-calendar-picker-indicator,
.axo-form_control[type="time"]::-webkit-calendar-picker-indicator {
	opacity: 0;
	position: absolute;
	right: 10px;
	width: 1.6rem;
	height: 1.6rem;
	cursor: pointer;
}

/* Dark mode cohérent */
.axo-contact_container.dark-module .axo-selectwrap::after {
	color: rgba(255, 255, 255, .75);
}

/* Responsive micro-ajustements */
@media (max-width: 991px) {
	.axo-contact_media {
		margin-bottom: 15px;
	}
}