/* Bloc d'inscription à la newsletter (Mailchimp) : AC 30747, octobre 2026.
   Maquette : refonte-formulaireNL-1920px / 375px. Tout est rangé sous .terao-nl pour ne rien changer ailleurs. */

@font-face {
	font-family: 'Work Sans';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../../fonts/work-sans/work-sans-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.terao-nl {
	--nl-fond: #0a3e65;
	--nl-vert: #339966;
	--nl-vert-vif: #32be7d;
	--nl-vert-icone: #0c9461;
	--nl-texte: #fff;
	--nl-champ-texte: #0a3e65;
	--nl-placeholder: #7d8fa3;
	background: var(--nl-fond);
	color: var(--nl-texte);
	font-family: 'Work Sans', Arial, Helvetica, sans-serif;
	font-weight: 400;
	margin-bottom: -10px;
	padding: 48px 20px;
}

.terao-nl *,
.terao-nl *::before,
.terao-nl *::after {
	box-sizing: border-box;
}

.terao-nl p,
.terao-nl ul,
.terao-nl fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: inherit;
	color: inherit;
}

.terao-nl__masque {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.terao-nl__piege {
	position: absolute;
	left: -5000px;
}

/* Grille : 1 colonne sur mobile, intro | trait | formulaire au-delà de 960 px */
.terao-nl__grille {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "intro" "champs" "consentements" "droits";
	gap: 28px;
	max-width: 1200px;
	margin: 0 auto;
}

.terao-nl__grille > * {
	width: 100%;
	max-width: 640px;
	justify-self: center;
}

.terao-nl__intro { grid-area: intro; }
.terao-nl__champs { grid-area: champs; }
.terao-nl__consentements { grid-area: consentements; }
.terao-nl__droits { grid-area: droits; }

/* Accroche */
.terao-nl__accroche {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.terao-nl__enveloppe {
	flex: 0 0 auto;
	width: 72px;
	height: auto;
	color: var(--nl-vert-vif);
}

.terao-nl__titre {
	font-size: 19px;
	line-height: 1.25;
}

.terao-nl__titre strong {
	display: block;
	font-weight: 700;
}

.terao-nl__titre span {
	display: block;
	margin-top: 4px;
	font-size: 1.05em;
	font-weight: 300;
}

.terao-nl__texte {
	margin-top: 20px !important;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 400;
}

.terao-nl__atouts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px !important;
	list-style: none;
}

.terao-nl__atouts li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.25;
	font-weight: 300;
	list-style: none;
}

.terao-nl__atouts li::before {
	content: none;
}

.terao-nl__atouts svg {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: var(--nl-vert-icone);
}

/* Champs */
.terao-nl__sous-titre {
	margin-bottom: 18px !important;
	font-size: 19px;
	font-weight: 700;
	text-align: center;
}

.terao-nl__ligne {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.terao-nl input[type="email"],
.terao-nl input[type="text"] {
	display: block;
	width: 100%;
	height: 46px;
	margin: 0 0 14px;
	padding: 0 18px;
	border: 2px solid #fff;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: var(--nl-champ-texte);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
}

.terao-nl input[type="email"]::placeholder,
.terao-nl input[type="text"]::placeholder {
	color: var(--nl-placeholder);
	opacity: 1;
}

.terao-nl input[type="email"]:focus-visible,
.terao-nl input[type="text"]:focus-visible {
	outline: 3px solid var(--nl-vert-vif);
	outline-offset: 2px;
}

.terao-nl input[aria-invalid="true"] {
	border-color: #f2b33d;
}

.terao-nl__bouton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: 100%;
	max-width: 366px;
	min-height: 56px;
	margin: 8px auto 0;
	padding: 0 24px;
	border: 0;
	border-radius: 0;
	background: var(--nl-vert);
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s;
}

.terao-nl__bouton svg {
	width: 36px;
	height: 12px;
	transition: transform 0.2s;
}

.terao-nl__bouton:hover,
.terao-nl__bouton:focus-visible {
	background: #2b8257;
	color: #fff;
}

.terao-nl__bouton:hover svg {
	transform: translateX(4px);
}

.terao-nl__bouton:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.terao-nl__bouton[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.terao-nl__message {
	margin-top: 16px !important;
	padding: 12px 16px !important;
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
	border-left: 4px solid var(--nl-vert-vif) !important;
	background: rgba(255, 255, 255, 0.08);
}

.terao-nl__message--erreur {
	border-left-color: #f2b33d !important;
}

.terao-nl__message[hidden] {
	display: none;
}

/* Consentements */
.terao-nl__case {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 14px;
	padding: 0;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
}

.terao-nl__case span {
	color: inherit; /* le thème colore les span en gris foncé */
}

.terao-nl__case input[type="checkbox"] {
	flex: 0 0 auto;
	appearance: none;
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 0;
	border-radius: 3px;
	background: #fff center / 16px no-repeat;
	cursor: pointer;
}

.terao-nl__case input[type="checkbox"]:checked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23339966' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.terao-nl__case input[type="checkbox"]:focus-visible {
	outline: 3px solid var(--nl-vert-vif);
	outline-offset: 2px;
}

.terao-nl__case input[aria-invalid="true"] {
	box-shadow: 0 0 0 3px #f2b33d;
}

/* Droits */
.terao-nl__droits {
	font-size: 13px;
	line-height: 1.45;
}

.terao-nl__droits a,
.terao-nl__droits a:visited {
	color: var(--nl-vert-vif);
	text-decoration: underline;
}

.terao-nl__droits a:hover,
.terao-nl__droits a:focus-visible {
	color: #fff;
}

@media (min-width: 960px) {
	.terao-nl {
		padding: 56px 32px 48px;
	}

	.terao-nl__grille {
		grid-template-columns: minmax(0, 1.15fr) 2px minmax(0, 1fr);
		grid-template-areas:
			"intro trait champs"
			"droits trait consentements";
		column-gap: 56px;
		row-gap: 28px;
	}

	.terao-nl__grille > * {
		max-width: none;
	}

	.terao-nl__grille::before {
		content: "";
		grid-column: 2;
		grid-row: 1 / span 2;
		margin-top: 60px;
		background: var(--nl-vert);
	}

	.terao-nl__droits {
		align-self: end;
	}

	.terao-nl__enveloppe {
		width: 116px;
	}

	.terao-nl__titre {
		padding-top: 18px;
		font-size: 27px;
		line-height: 1.2;
	}

	.terao-nl__titre span {
		font-size: 1.4em;
		margin-top: 6px;
	}

	.terao-nl__texte {
		font-size: 18px;
		margin-top: 28px !important;
	}

	.terao-nl__atouts {
		margin-top: 32px !important;
		gap: 24px;
	}

	.terao-nl__atouts li {
		gap: 14px;
		font-size: 16px;
	}

	.terao-nl__atouts svg {
		width: 32px;
		height: 32px;
	}

	.terao-nl__sous-titre {
		font-size: 22px;
		text-align: left;
	}

	.terao-nl__droits {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.terao-nl__bouton,
	.terao-nl__bouton svg {
		transition: none;
	}
}

/* Règles globales reprises de l'ancien bloc newletter_wp_footer() : elles s'appliquaient à tout le site
   (pied de page, classes utilitaires .row/.col-*), on les conserve pour ne rien changer ailleurs. */
footer .textwidget p {
	line-height: 1.4rem;
}
div.h3 {
	color: #fff !important;
	font-family: 'Raleway', Montserrat, Arial, Helvetica, sans-serif;
	font-size: 17px;
	font-weight: normal;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 1.4em;
	margin-bottom: 20px;
	padding-top: 20px;
}
footer label span {
	font-size: 11px !important;
	color: #fff !important;
}
.row {
	display: flex;
	flex-wrap: wrap;
}
.col-50 { width: 50%; margin-bottom: 15px !important; }
.col-100 { width: 100%; }
.m-auto { margin: auto !important; }
.text-center { text-align: center; }
footer .col { margin: 0 0 0 3% !important; }
.footer_btm { margin-top: 0 !important; }
