/* =============================
   1. Reset and styles
============================= */

html,
body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

section.bva-footer-newsletter,
footer.bva-footer {
	font-family: var(--font-arial) !important;
}

/* NEWSLETTER & SOCIAL MEDIA */
.bva-footer-newsletter {
	background-color: var(--color-myrtille-100);
	padding: 40px 20px;
	color: white;
}

.newsletter-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
	justify-items: center;
	gap: 20px;
}

.newsletter-title {
	font-weight: bold;
	text-transform: uppercase;
	font-size: var(--font-arial-20);
	margin: 0;
}

.newsletter-form {
	display: flex;
	width: 100%;
}

.newsletter-form input {
	flex: 1;
	padding: 10px;
	border: 1px solid var(--color-white);
	background-color: transparent;
	color: white;
}

.newsletter-form input[type='submit'] {
	padding: 10px 20px;
	border: none;
	background-color: var(--color-white);
	color: black;
	font-weight: bold;
	cursor: pointer;
}

.newsletter-socials {
	display: flex;
	gap: 40px;
	justify-content: flex-end;
}

.newsletter-socials img {
	background: var(--color-white);
	border-radius: 50%;
	padding: 8px;
	width: 40px;
	height: 40px;
}

/* FOOTER: Styles du pied de page */
.bva-footer {
	background-color: #a04f17;
	color: var(--color-white);
	font-size: 1em;
	padding: 50px 80px;
	text-align: left;
}

.bva-footer-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 40px 0;
	line-height: 1.5em;
}

.bva-footer-col {
	flex: 1 1 200px;
	padding: 0;
	margin: 0 50px;
}

/* FOOTER: Titles and nav */
.bva-footer-col h4 {
	border-bottom: 1px dashed var(--color-white) !important;
	padding-bottom: 5px;
	margin-bottom: 10px;
}

.bva-footer-col ul {
	padding-left: 0;
	list-style: none;
}

.bva-footer-col li {
	margin-bottom: 8px;
}

.bva-footer a {
	color: var(--color-white);
	text-decoration: none;
}
/* FOOTER: Titles and nav */

.bva-footer-bottom {
	padding-top: 15px;
	text-align: center;
}

.bva-footer-bottom p {
	max-width: 1000px;
	margin: 20px auto 0;
	line-height: 1.5em;
	text-align: justify;
	color: white;
}

.bva-footer-logo-section {
	text-align: center;
	margin-bottom: 40px;
}

img.bva-footer-logo {
	width: 217px;
	margin-bottom: 10px;
}

.bva-footer-logo-section p {
	max-width: 100%;
	margin: 0 auto;
	font-size: 1em;
	line-height: 1.8;
}

.bva-legals-links {
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
	align-items: center;
}
.bva-legals-links span {
	position: relative;
}
.bva-legals-links span:before {
	position: absolute;
	top: 50%;
	right: -25px;
	transform: translateY(-50%);
	content: '|';
	color: var(--color-white);
	font-size: 8px;
	font-family: var(--font-futura);
	padding: 0 8px;
}
.bva-legals-links span:last-child:before {
	display: none;
}

.footer-separator {
	color: var(--color-white);
}

p.copyright {
	text-align: center;
}

.bva-footer-links {
	padding-top: 50px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
	.newsletter-container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.newsletter-form {
		flex-direction: column;
		gap: 10px;
		align-items: stretch;
		margin-top: 10px;
	}

	.newsletter-socials {
		justify-content: center;
		margin-top: 20px;
	}
	img.bva-footer-logo {
		width: 150px;
		margin-bottom: 10px;
	}

	.bva-legals-links {
		gap: 10px;
	}

	.bva-footer-legals a {
		display: block;
		padding: 5px 0;
		text-align: center;
		text-decoration: underline !important;
	}

	.bva-footer-legals p {
		text-align: center;
	}

	.bva-footer-bottom p {
		text-align: left;
		line-height: 1.5em;
	}

	.bva-footer {
		padding: 20px;
		font-size: var(--font-size-20);
	}

	.bva-footer a {
		color: white;
		text-decoration: none;
		word-break: break-word;
	}

	.bva-footer-col {
		padding: 0;
		margin: 45px 0;
	}

	.bva-footer-content {
		display: block;
	}

	.footer-separator {
		display: none;
	}

	.bva-footer-newsletter {
		padding: 35px;
	}
}
