/*!
Theme Name: aceritech
Theme URI: http://underscores.me/
Author: Vertisoft
Author URI: https://www.vertisoftpme.com/
Version: 1.0.111
Description: Theme pour le site de Aceritech
*/

:root {
	/* Couleurs */
	--primary: #111111;   /* gris foncé */
	--secondary: #E7E1D8; /* beige */
	--third: #025E44;     /* vert1 */
	--fourth: #8AA765;    /* vert2 */
	--fifth: #094A39;     /* vert3 */
	--sixth: #FFFFFF;     /* blanc */
	--accent: #4B803B;    /* vert accent */
	--erreur: #c02b0a; /* rouge */

	/* Mise en page */
	--border-radius: 15px;
	/* 24px sur mobile, jusqu'à 32px sur grand écran */
	--font-size-md: clamp(1.5rem, 1.3rem + 0.5vw, 2rem);
	--font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.75rem);
	--font-size-sm: clamp(0.8rem, 0.7rem + 0.5vw, 1.15rem);
	/* Champs et bouton, un cran sous le texte */
	--font-size-field: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
	--font-body: "Manrope", sans-serif;
}

body {
	font-family: var(--font-body);
	background: var(--secondary);
	color: var(--primary);
	font-size: var(--font-size);
	line-height: 1.3;
}

p {
	font-size: var(--font-size);
}

h1, h2, h3, h4, h5, h6 { color: var(--primary); text-align: center; }

h1 { margin-bottom: 2rem; }

p.site-title { margin-bottom: 0; }

.centrer { text-align: center; }

a  {
	text-decoration: none;
	color: var(--fourth);
	transition: color 0.2s ease;
}
a:hover {
	color: var(--third);
}


/* =============================================
   header
   ============================================= */

header { background: var(--sixth); padding: 3rem 0; text-align: center; }



.site-header .site-branding a {
	display: inline-block;
}

.site-header .site-branding .logo {
	height: auto;
	width: 100%;
	max-width: 250px;
	margin: 0 auto;
	display: block;
	object-fit: contain;
	object-position: center;	
}

.site-main { padding-top: 4rem; }

body .elementor-element.limited { max-width: 800px; }

/* Listes du contenu : rétablir les puces retirées par normalize.css */
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5em;
	padding-left: 1em;
}
.entry-content ul {
	list-style: disc outside;
}
.entry-content ol {
	list-style: decimal outside;
}
.entry-content ul ul {
	list-style-type: circle;
	margin-bottom: 0;
}
.entry-content ul ul ul {
	list-style-type: square;
}
.entry-content ol ol {
	list-style-type: lower-alpha;
	margin-bottom: 0;
}
.entry-content li {
	margin: 0.35em 0;
}
.entry-content .gform_wrapper ul,
.entry-content .gform_wrapper ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* =============================================
   Formulaires
   ============================================= */
.gform_wrapper {
	font-family: var(--font-body);
}
.gform_required_legend, .gform_wrapper div.charleft, .hidden-label label, body .gform_validation_errors .gform_submission_error, body .gform_wrapper .gform_validation_errors {
	display: none !important;
}
.site-content .gform_wrapper ul li {
    padding-left: 0;
}
.site-content .gform_wrapper ul li:before {
    content: none;
    display:none !important;
}
.gform-theme--api, .gform-theme--foundation, .gform-theme--orbital {
    --gf-form-gap-y: 30px !important;
	--gf-local-font-family: var(--font-body) !important;
	--gf-ctrl-textarea-line-height: 1.2 !important;
	--gf-ctrl-input-line-height: 1 !important;
	--gf-color-primary: var(--accent) !important;
	--gf-color-primary-rgb: 27, 94, 36 !important;
	--gf-color-primary-contrast: var(--sixth) !important;
	--gf-color-in-ctrl-primary: var(--accent) !important;
	--gf-ctrl-choice-check-color: var(--accent) !important;
	--gf-ctrl-choice-color: var(--accent) !important;
	--gf-ctrl-border-color-focus: var(--accent) !important;
	--gf-ctrl-border-color: var(--fourth) !important;
	--gf-ctrl-shadow-focus: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent) !important;
	--gf-error-color: var(--accent) !important;
	--gf-ctrl-btn-font-size: var(--font-size-field);
	--gf-ctrl-btn-font-weight: 600;
	--gf-ctrl-btn-line-height: 1;
	--gf-ctrl-btn-padding-x: 2.75rem;
	--gf-ctrl-btn-padding-y: 1.2rem;
	--gf-ctrl-btn-radius: var(--border-radius) !important;
	--gf-ctrl-btn-border-width: 0px;
	--gf-ctrl-btn-color: var(--sixth);
	--gf-ctrl-btn-bg-color: var(--accent);
	--gf-ctrl-btn-border-color: var(--accent);
	--gf-ctrl-btn-color-hover: var(--sixth);
	--gf-ctrl-btn-bg-color-hover: var(--accent);
	--gf-ctrl-btn-border-color-hover: var(--accent);
	--gf-ctrl-btn-color-primary: var(--sixth);
	--gf-ctrl-btn-bg-color-primary: var(--accent);
	--gf-ctrl-btn-border-color-primary: var(--accent);
	--gf-ctrl-btn-color-hover-primary: var(--sixth);
	--gf-ctrl-btn-bg-color-hover-primary: var(--accent);
	--gf-ctrl-btn-border-color-hover-primary: var(--accent);
	font-weight: normal !important;
}
body .gform-theme--framework {
	--gf-ctrl-btn-radius: var(--border-radius) !important;
}
.gform_wrapper div.error, .gfield_description.validation_message, .gfield_validation_message {
	width: 100% !important;
	margin-top: 0 !important;
	color: var(--accent) !important;
	font-size: var(--font-size-field) !important;
}
body .gform-theme--framework .gform_validation_errors, body .gform-theme--framework .gform_validation_errors:focus-visible, body .gform-theme--framework .gform_validation_errors:focus {
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    color: var(--accent) !important;
    font-size: var(--text-base) !important;
    font-weight: normal !important;
	box-shadow: none !important;
	outline: none !important;
}
.gform_wrapper .ginput_container_select .ui-select {
	position: relative;
	width: 100%;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	margin-left: 0;
	margin-right: 0;
}
.gform_wrapper .ginput_container_select .ui-select.is-open {
	z-index: 1002;
}
.gform_wrapper .ginput_container_select .ui-select-trigger {
	order: 1;
}
.gform_wrapper .ginput_container_select .ui-select > div.error {
	order: 2;
	width: 100%;
}
.gform_wrapper .ginput_container_select .ui-select.is-enhanced .ui-select-native {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 1px;
	height: 1px;
	left: 0;
	top: 0;
}
.gform_wrapper .ui-select.is-disabled .ui-select-trigger {
	cursor: not-allowed;
	opacity: 0.65;
}
.gform_wrapper .ui-select-trigger,
.gform_wrapper .ui-select-option {
	min-width: 0;
	text-transform: uppercase;
}
.gform_wrapper .ui-select-trigger {
	display: none;
	width: 100%;
	max-width: 650px;
	height: 65px;
	min-height: 65px;
	padding: 3px 68px 0 28px;
	border: 1px solid var(--fourth);
	border-radius: var(--border-radius);
	background-color: var(--sixth);
	color: var(--primary);
	font-size: var(--font-size-field);
	line-height: 1;
	text-align: left;
	box-shadow: none;
}
.gform_wrapper .ui-select.is-enhanced .ui-select-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.gform_wrapper .ui-select-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 1003;
	background-color: var(--sixth) !important;
	border: 1px solid var(--primary);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    padding: 8px;
	max-height: min(380px, 55vh);
	overflow-y: auto;
}
.gform_wrapper .ui-select.is-open .ui-select-menu {
	display: block;
}
.gform_wrapper .ui-select-option.is-selected, .gform_wrapper .ui-select-option.is-selected:hover, .gform_wrapper .ui-select-option.is-selected:focus-visible, .gform_wrapper .ui-select-option[aria-selected="true"] {
    background-color: rgba(86, 69, 70, 0.12) !important;
}
.gform_wrapper .ui-select-option:hover,
.gform_wrapper .ui-select-option:focus-visible {
	background-color: rgba(86, 69, 70, 0.08) !important;
	outline: none;
}
.gform_wrapper .ui-select-option {
	display: block;
	width: 100%;
	min-height: 0;
	padding: 12px 16px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--primary);
	font-size: var(--font-size-field);
	line-height: 1.25;
	box-shadow: none;
}
.gform_wrapper .ui-select-option.is-disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

body .gform_wrapper .autre.gfield label.gfield_label span, body .gform_wrapper .gfield_required {
	font-size: var(--font-size-field) !important;
}

/* Questions : zone arrondie, hors infolettre */
body .gform-theme--framework.gform_wrapper .gform_fields > fieldset:not(.hidden-label) {
	border: none;
	border-radius: 1.4rem;
	background: var(--sixth);
	padding: 1.45rem 1.25rem 1.2rem;
	min-inline-size: 0;
	box-sizing: border-box;
}

/* Choix radio et cases à cocher */
body .gform-theme--framework.gform_wrapper fieldset.gfield--type-choice {
	margin: 0;
	min-inline-size: 0;
}
body .gform-theme--framework.gform_wrapper .gfield_label {
	display: block;
	float: left;
	width: 100%;
	margin: 0 0 0.35rem;
	padding: 0;
	text-align: left !important;
	font-family: var(--font-body) !important;
	font-size: var(--font-size-field) !important;
	font-weight: normal !important;
	line-height: 1.3;
	color: var(--primary) !important;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice legend.gfield_label {
	font-weight: 600 !important;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice > .gfield_description:not(.validation_message) {
	display: block;
	clear: both;
	width: 100%;
	margin: 0 0 1rem;
	font-size: var(--font-size-sm);
	line-height: 1.4;
	color: var(--primary) !important;
	text-align: left !important;
}
body .gform-theme--framework.gform_wrapper .gfield_radio,
body .gform-theme--framework.gform_wrapper .gfield_checkbox {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	width: 100%;
}
body .gform-theme--framework.gform_wrapper .gfield--choice-align-horizontal .gfield_radio,
body .gform-theme--framework.gform_wrapper .gfield--choice-align-horizontal .gfield_checkbox {
	flex-direction: row;
	flex-wrap: wrap;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gchoice {
	display: flex !important;
	align-items: center;
	gap: 0.85rem;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0.8rem 1rem;
	border: none;
	border-radius: 0.8rem;
	background: color-mix(in srgb, var(--secondary) 33%, transparent);
	box-sizing: border-box;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
body .gform-theme--framework.gform_wrapper .gfield--choice-align-horizontal .gchoice {
	width: auto;
	flex: 1 1 14rem;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gchoice:hover,
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gchoice:has(.gfield-choice-input:focus-visible) {
	background: color-mix(in srgb, var(--third) 16%, transparent);
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gchoice:has(.gfield-choice-input:checked) {
	background: color-mix(in srgb, var(--accent) 22%, transparent);
	box-shadow: none;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gchoice:has(.gfield-choice-input:focus-visible) {
	outline: 3px solid color-mix(in srgb, var(--third) 16%, transparent);
	outline-offset: 3px;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gfield-choice-input {
	appearance: none !important;
	-webkit-appearance: none !important;
	accent-color: var(--accent);
	position: relative;
	z-index: 2;
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem;
	margin: 0 !important;
	flex: 0 0 auto;
	border: 1.5px solid var(--primary) !important;
	border-radius: 0.3rem;
	background-color: transparent !important;
	background-image: none !important;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 0.8rem;
	box-shadow: none !important;
	cursor: pointer;
}
body .gform-theme--framework.gform_wrapper .gfield_radio .gfield-choice-input {
	border-radius: 50% !important;
}
body .gform-theme--framework.gform_wrapper .gfield_checkbox .gfield-choice-input {
	border-radius: 0.3rem !important;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gfield-choice-input:focus {
	outline: none;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gchoice label {
	position: static;
	flex: 1 1 auto;
	margin: 0;
	text-align: left !important;
	font-size: var(--font-size-field);
	line-height: 1.3;
	cursor: pointer;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gchoice label::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	cursor: pointer;
}
body .gform-theme--framework.gform_wrapper .gfield--type-choice .gchoice :is(input, textarea, select, button, a):not(.gfield-choice-input) {
	position: relative;
	z-index: 2;
}

.gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.gform_wrapper textarea.textarea,
.gform_wrapper select {
	width: 100%;
	min-height: 65px;
	padding: 0 28px;
	border: 1px solid #bfb29f;
	border-radius: 15px !important;
	background-color: var(--sixth);
	color: var(--primary);
	font-family: var(--font-body) !important;
	font-size: var(--font-size-field) !important;
	line-height: 1;
	text-align: left !important;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.gform_wrapper textarea.textarea {
	min-height: 190px;
	padding-top: 22px;
	padding-bottom: 22px;
	resize: vertical;
	border-radius: 15px !important;
}
body .gform-theme.gform-theme--framework.gform_wrapper :is(input, textarea):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="hidden"]) {
	text-align: left !important;
}
.gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="hidden"]) {
	box-sizing: border-box;
	height: auto;
	font-size: var(--font-size-field) !important;
	line-height: 1 !important;
	padding-block: 0.75rem !important;
}
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
	color: var(--primary) !important;
	font-size: var(--font-size-field) !important;
	line-height: 1 !important;
}
body .gform-theme--framework.gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):is(:focus, :focus-visible),
body .gform-theme--framework.gform_wrapper textarea:is(:focus, :focus-visible),
body .gform-theme--framework.gform_wrapper select:is(:focus, :focus-visible) {
	outline: none !important;
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent) !important;
}
.gform_wrapper input:disabled,
.gform_wrapper textarea:disabled,
.gform_wrapper select:disabled {
	cursor: not-allowed;
	opacity: 0.65;
}
body .gform-theme--framework :is(.gform_footer, .gform-footer, .gform_page_footer) :is(button, input)[type="submit"].gform_button,
body .gform-theme--framework :is(.gform_footer, .gform-footer, .gform_page_footer) button[type="submit"].gform-theme-button,
body .gform-theme--framework button.button.gform_button[type="submit"],
body .gform-theme--framework button.gform-theme-button[type="submit"] {
	--border-radius: 15px;
	--gf-ctrl-btn-radius: 15px !important;
	--gf-local-radius: 15px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: auto !important;
	min-height: 65px !important;
	height: auto !important;
	padding: 1.15rem 2.75rem !important;
	border: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	border-radius: 15px !important;
	border-start-start-radius: 15px !important;
	border-start-end-radius: 15px !important;
	border-end-start-radius: 15px !important;
	border-end-end-radius: 15px !important;
	background: var(--accent) !important;
	color: var(--sixth) !important;
	font-family: var(--font-body) !important;
	font-size: var(--font-size-field) !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase !important;
	box-shadow: none !important;
	cursor: pointer;
	outline: none !important;
	transition: background-color 0.2s ease, filter 0.2s ease;
}
.gform_wrapper :is(input, button).gform_button[type="submit"]:not(.gform_next_button):not(.gform_previous_button):hover,
.gform_wrapper :is(.gform-footer, .gform_footer) :is(input, button)[type="submit"]:not(.gform_next_button):not(.gform_previous_button):hover {
	background: color-mix(in srgb, var(--accent) 82%, #000) !important;
	color: var(--sixth) !important;
	box-shadow: none !important;
	transform: none;
}
.gform_wrapper :is(input, button).gform_button[type="submit"]:not(.gform_next_button):not(.gform_previous_button):active,
.gform_wrapper :is(.gform-footer, .gform_footer) :is(input, button)[type="submit"]:not(.gform_next_button):not(.gform_previous_button):active {
	background: color-mix(in srgb, var(--accent) 70%, #000) !important;
	box-shadow: none !important;
	transform: none;
}
.gform_wrapper :is(input, button).gform_button[type="submit"]:not(.gform_next_button):not(.gform_previous_button):focus-visible,
.gform_wrapper :is(.gform-footer, .gform_footer) :is(input, button)[type="submit"]:not(.gform_next_button):not(.gform_previous_button):focus-visible {
	outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent) !important;
	outline-offset: 3px;
}
.gform_wrapper :is(input, button).gform_button[type="submit"]:disabled,
.gform_wrapper :is(input, button).gform_button[type="submit"][aria-busy="true"] {
	cursor: wait;
	filter: saturate(0.7);
	box-shadow: none !important;
}
.gform_wrapper span.gfield_required {
	color: var(--accent) !important;
}
@media (max-width: 991px) {
	.gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
	.gform_wrapper textarea,
	.gform_wrapper select {
		padding-left: 22px;
		padding-right: 22px;
	}
	.gform_wrapper :is(input, button).gform_button[type="submit"]:not(.gform_next_button):not(.gform_previous_button) {
		min-height: 60px !important;
		padding: 1rem 1.75rem !important;
	}
	.gform_wrapper textarea {
		min-height: 150px;
		padding-top: 18px;
		padding-bottom: 18px;
	}
}

/* forcer le radius du submit Gravity Forms */
body .gform-theme.gform-theme--framework button[id^="gform_submit_button"].button.gform_button,
body .gform-theme.gform-theme--framework button[id^="gform_submit_button"].gform-theme-button {
	--border-radius: 15px;
	--gf-ctrl-btn-radius: 15px !important;
	--gf-local-radius: 15px !important;
	border-radius: 15px !important;
}

/* Contrôles de choix : passer devant le style bleu de Gravity Forms */
body .gform-theme.gform-theme--framework.gform_wrapper .gfield--type-choice input[type="radio"].gfield-choice-input,
body .gform-theme.gform-theme--framework.gform_wrapper .gfield--type-choice input[type="checkbox"].gfield-choice-input {
	appearance: none !important;
	-webkit-appearance: none !important;
	accent-color: var(--accent) !important;
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem !important;
	margin: 0 !important;
	border: 1.5px solid var(--primary) !important;
	background-color: transparent !important;
	background-image: none !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 0.8rem !important;
	box-shadow: none !important;
	color: var(--accent) !important;
}
body .gform-theme.gform-theme--framework.gform_wrapper .gfield--type-choice input[type="radio"].gfield-choice-input {
	border-radius: 50% !important;
}
body .gform-theme.gform-theme--framework.gform_wrapper .gfield--type-choice input[type="checkbox"].gfield-choice-input {
	border-radius: 0.3rem !important;
}
body .gform-theme.gform-theme--framework.gform_wrapper .gfield--type-choice input[type="radio"].gfield-choice-input:checked {
	border-color: var(--accent) !important;
	background-color: var(--sixth) !important;
	background-image: radial-gradient(circle, var(--accent) 0 42%, transparent 46%) !important;
}
body .gform-theme.gform-theme--framework.gform_wrapper .gfield--type-choice input[type="checkbox"].gfield-choice-input:checked {
	border-color: var(--accent) !important;
	background-color: var(--sixth) !important;
	color: var(--accent) !important;
	font-weight: 600 !important;
}
body .gform-theme.gform-theme--framework.gform_wrapper .gfield--type-choice input[type="checkbox"].gfield-choice-input:checked:before {
	font-weight: 600 !important;
}


/* =============================================
   zone infolettre pré-lancement
   ============================================= */

   .infolettre {
	background-color: var(--secondary);
	padding: 4rem;
	margin-top: 1rem !important;
}
body .elementor-element.infolettre.e-con,
body .elementor-element.infolettre.e-con > .e-con-inner {
	--column-gap: 4rem !important;
	column-gap: 4rem !important;
}
.infolettre h2 {
	font-size: var(--font-size-md);
	text-transform: uppercase;
}
.infolettre .paragraphe {
	font-family: var(--font-body) !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-bottom: 1rem !important;
}
.infolettre .paragraphe p {
	margin-bottom: 0 !important;
}
.infolettre .paragraphe em {
	font-size: var(--font-size-sm);
}
.infolettre .gform_wrapper {
	width: 100% !important;
	max-width: 100% !important;
}
.infolettre .gform_wrapper form {
	position: relative;
	display: block !important;
	width: 100% !important;
}
.infolettre .gform-body,
.infolettre .gform_body,
.infolettre .gform_fields,
.infolettre .gfield,
.infolettre .ginput_container,
.infolettre .gfield_validation_message,
.infolettre .validation_message,
.infolettre .gform_validation_errors {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}
.infolettre .gform_fields,
.infolettre .gfield,
.infolettre .ginput_container {
	margin: 0 !important;
	padding: 0 !important;
}
.infolettre .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="hidden"]) {
	border:none !important;
}
.infolettre .gform-footer,
.infolettre .gform_footer {
	position: absolute;
	right: 4px;
	bottom: 4px;
	z-index: 2;
	display: flex !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none;
}

.infolettre .gfield {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 0 !important;
}
body .gform_wrapper .ginput_counter, body .infolettre .gform-theme--framework .gform_validation_errors {
	display: none !important;
}
.infolettre .ginput_container input:not([type="hidden"]) {
	width: 100% !important;
	padding-right: 12rem !important;
}
body .infolettre .gform-theme.gform-theme--framework :is(.gform-footer, .gform_footer) button[id^="gform_submit_button"].gform_button {
	pointer-events: auto;
	box-sizing: border-box;
	min-height: 57px !important;
	border-radius: 11px !important;
	font-size: 1.25rem !important;
}


/* =============================================
   Page 404
   ============================================= */
.error-404 {
	padding: 1rem 1.5rem 3rem;
	text-align: center;
}
.error-404 .page-content p {
	margin: 0 auto 1.75rem;
	max-width: 36rem;
}
.error-404-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 65px;
	padding: 1.15rem 2.75rem;
	border-radius: var(--border-radius);
	background: var(--accent);
	color: var(--sixth);
	font-size: var(--font-size-field);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.error-404-button:hover,
.error-404-button:focus-visible {
	background: color-mix(in srgb, var(--accent) 82%, #000);
	color: var(--sixth);
}
.error-404-button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
	outline-offset: 3px;
}
@media (max-width: 991px) {
	.error-404-button {
		min-height: 60px;
		padding: 1rem 1.75rem;
	}
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
	padding: 3rem;
	margin-top: 3rem;
	text-align: center;
	background-color: var(--primary);
	color: var(--sixth);
}
.site-footer .site-info {
	font-size: var(--font-size-sm);
	line-height: 1.6;
	font-weight: 400;
}

/* =============================================
   Mobile
   Le contenu des pages passe par .site-main > article
   (.entry-title + .entry-content).
   ============================================= */
@media (max-width: 991px) {
	:root {
		--page-gutter: 1.75rem;
	}

	header,
	.site-main,
	.site-footer {
		padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
		padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
	}

	.site-main {
		padding-top: 2.5rem;
	}

	.site-footer {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}

	/* La gouttière est déjà sur .site-main */
	.error-404 {
		padding-left: 0;
		padding-right: 0;
	}

	/*
	   .infolettre est un conteneur Elementor (e-con-boxed).
	   Elementor remet les marges à 0 après le thème, donc on force
	   le fond jusqu'aux bords de l'écran. Le padding reste sur .e-con-inner.
	*/
	body .elementor-element.infolettre.e-con {
		--padding-left: 0px;
		--padding-right: 0px;
		--padding-inline-start: 0px;
		--padding-inline-end: 0px;
		width: 100vw !important;
		max-width: 100vw !important;
		flex-basis: 100vw !important;
		align-self: center !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		margin-inline-start: calc(50% - 50vw) !important;
		margin-inline-end: calc(50% - 50vw) !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-inline: 0 !important;
		box-sizing: border-box;
	}

	body .elementor-element.infolettre.e-con > .e-con-inner {
		width: 100% !important;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		margin-inline: 0 !important;
		padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px)) !important;
		padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px)) !important;
		padding-inline-start: max(var(--page-gutter), env(safe-area-inset-left, 0px)) !important;
		padding-inline-end: max(var(--page-gutter), env(safe-area-inset-right, 0px)) !important;
		box-sizing: border-box;
	}

	h1, .h1,
	h1.elementor-heading-title {
		font-size: 2.15rem !important;
		line-height: 1.2;
		margin-bottom: 1.25rem;
	}
	h2, .h2,
	h2.elementor-heading-title {
		font-size: 1.7rem !important;
		line-height: 1.25;
	}
	h3, .h3,
	h3.elementor-heading-title {
		font-size: 1.35rem !important;
		line-height: 1.3;
	}
	h4, .h4,
	h5, .h5,
	h6, .h6,
	:is(h4, h5, h6).elementor-heading-title {
		font-size: 1.15rem !important;
		line-height: 1.3;
	}

	.infolettre h2 {
		font-size: 1.45rem !important;
	}
}

@media (max-width: 767px) {
	:root {
		--page-gutter: 1.75rem;
		--font-size-md: 1.35rem;
		--font-size-field: 1.05rem;
	}

	.site-main {
		padding-top: 2rem;
	}

	h1, .h1,
	h1.elementor-heading-title {
		font-size: 1.75rem !important;
		margin-bottom: 1rem;
	}
	h2, .h2,
	h2.elementor-heading-title {
		font-size: 1.45rem !important;
	}
	h3, .h3,
	h3.elementor-heading-title {
		font-size: 1.25rem !important;
	}
	h4, .h4,
	h5, .h5,
	h6, .h6,
	:is(h4, h5, h6).elementor-heading-title {
		font-size: 1.1rem !important;
	}

	h1, h2, h3, h4, h5, h6 {
		overflow-wrap: anywhere;
	}

	.infolettre {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.gform_wrapper .ui-select-trigger {
		height: 3.25rem;
		min-height: 3.25rem;
		padding: 0 2.75rem 0 1rem;
	}

	.gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
	.gform_wrapper textarea,
	.gform_wrapper select {
		min-height: 3.25rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]):not([type="submit"]):not([type="button"]):not([type="hidden"]) {
		padding-block: 0.65rem !important;
	}

	.gform_wrapper textarea {
		min-height: 8.5rem;
		padding-top: 0.85rem;
		padding-bottom: 0.85rem;
	}

	body .gform-theme--framework.gform_wrapper .gform_fields > .gfield:not(.hidden-label) {
		padding: 1.05rem 0.95rem 0.95rem;
	}

	body .gform-theme--framework.gform_wrapper .gfield--type-choice .gchoice {
		gap: 0.65rem;
		padding: 0.65rem 0.8rem;
	}

	body .gform-theme--framework :is(.gform_footer, .gform-footer, .gform_page_footer) :is(button, input)[type="submit"].gform_button,
	body .gform-theme--framework :is(.gform_footer, .gform-footer, .gform_page_footer) button[type="submit"].gform-theme-button,
	body .gform-theme--framework button.button.gform_button[type="submit"],
	body .gform-theme--framework button.gform-theme-button[type="submit"],
	.gform_wrapper :is(input, button).gform_button[type="submit"]:not(.gform_next_button):not(.gform_previous_button),
	.error-404-button {
		min-height: 3.25rem !important;
		padding: 0.8rem 1.35rem !important;
	}

	/* Le bouton dans le champ déborde : on le place en dessous */
	.infolettre .gform-footer,
	.infolettre .gform_footer {
		position: static;
		right: auto;
		bottom: auto;
		width: 100% !important;
		margin-top: 0.75rem !important;
		pointer-events: auto;
	}

	.infolettre .ginput_container input:not([type="hidden"]) {
		padding-right: 1rem !important;
	}

	body .infolettre .gform-theme.gform-theme--framework :is(.gform-footer, .gform_footer) button[id^="gform_submit_button"].gform_button {
		width: 100% !important;
		min-height: 3.25rem !important;
		padding: 0.8rem 1.25rem !important;
		font-size: var(--font-size-field) !important;
		border-radius: var(--border-radius) !important;
	}
}


/* =============================================
   Page Accueil en développement
   ============================================= */
.page-template-template_accueil_developpement .site-main {
	padding-top: 0;
}