@import url("fonts.css");

:root {
	--grey: #E5E6F3;
	--blue: #0193CC;
	--black: #000000;
	--red: #E2001A;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 150px;
}

body {
	margin: 0;
	color: var(--black);
	background: #fff;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

button,
input {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button {
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
p,
figure,
ul {
	margin-top: 0;
}

h1,
h2,
h3 {
	hyphens: auto;
}

[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 5px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 100;
	padding: 10px 20px;
	color: #fff;
	background: var(--black);
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: none;
}

.container {
	width: min(100% - 40px, 1120px);
	margin-inline: auto;
}

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 20;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 140px;
	transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
	pointer-events: none;
}

.site-header a {
	pointer-events: auto;
}

.site-header img {
	width: 98px;
	height: 100px;
	object-fit: contain;
}

.site-header.is-scrolled {
	background: #ffffff5e;
	backdrop-filter: blur(8px);
	box-shadow: 0 2px 10px #0000001a;
}

.hero {
	position: relative;
	height: 636px;
	overflow: hidden;
	background: var(--blue);
}

.hero::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(#ffffff80, transparent 50%);
	pointer-events: none;
}

.hero-slide {
	position: absolute;
	inset: -64px 0 0;
	opacity: 0;
	transition: opacity .5s ease;
}

.hero-slide.is-active {
	opacity: 1;
}

.hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 12px 24px;
	border: 0;
	border-radius: 20px;
	color: #fff;
	background: var(--red);
	font-size: 16px;
	line-height: 1;
	text-align: center;
	transition: color .3s, background-color .3s;
}

.button:hover,
.button:focus-visible {
	background: var(--black);
}

.button-blue {
	padding: 15px 30px;
	background: var(--blue);
}

.division-nav {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	justify-items: center;
	align-items: start;
	gap: 20px;
	margin-top: -25px;
	min-height: 60px;
}

.division-cards {
	display: flex;
	gap: 4px;
	max-width: 1200px;
	margin: 52px auto 34px;
}

.division-card {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	height: 396px;
	overflow: hidden;
	transition: flex-grow .5s;
}

.division-card > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.division-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	color: #fff;
	background: #00000080;
	opacity: 0;
	text-align: center;
	transition: opacity .5s;
}

.division-overlay h2 {
	margin: 0 0 15px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: .5px;
}

.division-overlay p {
	margin: 0 0 20px;
}

.division-card:hover,
.division-card:focus-visible {
	flex-grow: 2.3333;
}

.division-card:hover .division-overlay,
.division-card:focus-visible .division-overlay {
	opacity: 1;
}

.division-card:hover .button-blue {
	background: var(--blue);
}

.activities {
	padding: 40px 0 75px;
	background: var(--grey);
}

.activities h2 {
	margin: 0 0 55px;
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: .5px;
	text-align: center;
	text-transform: uppercase;
}

.activities h2 b {
	font-weight: 700;
}

.activities-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
	margin-inline: 15px;
}

.activity-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 270px;
	padding: 15px;
	isolation: isolate;
	transition: box-shadow .3s;
}

.activity-card img,
.activity-card::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.activity-card::after {
	content: "";
	border-top: 10px solid var(--red);
	background: #00000080;
	opacity: 0;
	transition: opacity .3s;
}

.activity-card .button {
	width: 100%;
	min-height: 45px;
	padding: 6px 20px;
	line-height: 15px;
}

.activity-card:hover,
.activity-card:focus-visible {
	box-shadow: 0 0 10px #00000080;
}

.activity-card:hover::after,
.activity-card:focus-visible::after {
	opacity: 1;
}

.activity-card:hover .button,
.activity-card:focus-visible .button {
	background: var(--black);
}

.company {
	padding: 110px 0;
	color: #fff;
	background: var(--blue) url("../images/fond-atelier-scaled.webp") center / cover fixed;
}

.company-intro {
	margin-bottom: 36px;
	text-align: justify;
	hyphens: auto;
}

.company-intro p {
	margin-bottom: 0;
}

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

.company-card {
	display: block;
	padding: 50px;
	color: #fff;
	background: var(--blue);
}

.company-card h2 {
	margin: 0 0 20px;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: .5px;
	text-align: center;
	text-transform: uppercase;
}

.company-card h3 {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.company-card p {
	margin-bottom: 16px;
	text-align: justify;
	hyphens: auto;
}

.company-card:focus-visible {
	outline-color: #fff;
}

.key-figures {
	max-width: 1331px;
	margin-inline: auto;
	padding: 10px 20px;
}

.figures-map {
	width: 100%;
}

.figures-mobile {
	display: none;
}

.clients {
	padding: 10px 0 50px;
}

.clients h2 {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: .5px;
	text-align: center;
	text-transform: uppercase;
}

.logo-carousel {
	position: relative;
}

.logo-window {
	overflow-x: auto;
}

.logo-carousel.is-ready .logo-window {
	overflow: hidden;
}

.logo-track {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.logo-item {
	flex: 0 0 calc((100% - 240px) / 7);
	min-width: 0;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-item img {
	width: 100%;
	max-height: 110px;
	object-fit: contain;
}

.carousel-arrow {
	position: absolute;
	top: 50%;
	z-index: 1;
	width: 36px;
	height: 44px;
	padding: 0;
	border: 0;
	color: #bbb;
	background: transparent;
	font: 40px/1 "Roboto", sans-serif;
	transform: translateY(-50%);
}

.carousel-arrow:hover {
	color: var(--red);
}

.carousel-arrow.previous {
	left: -32px;
}

.carousel-arrow.next {
	right: -32px;
}

.motion-toggle {
	z-index: 2;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	font: 14px/1 "Roboto", sans-serif;
}

.hero-pause {
	position: absolute;
	right: 15px;
	bottom: 40px;
	color: #fff;
	background: #0006;
}

.carousel-pause {
	position: absolute;
	right: 0;
	bottom: -25px;
	color: #777;
	background: #f5f5f5;
}

.site-footer {
	padding: 60px 0 40px;
	color: #fff;
	background: var(--black);
	font-size: 14px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.site-footer h2 {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: .5px;
}

.site-footer address {
	margin-bottom: 14px;
	font-style: normal;
}

.site-footer p {
	margin-bottom: 14px;
}

.site-footer a:hover {
	text-decoration: underline;
}

.site-footer .copyright {
	margin: 34px 0 0;
}

.copyright a {
	color: var(--red);
}

.social-links {
	padding: 0;
	margin: 0;
	list-style: none;
}

.social-links li + li {
	margin-top: 10px;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.social-links svg {
	flex-shrink: 0;
	width: 31px;
	height: 31px;
	color: var(--red);
	transition: color .3s;
}

.social-links a:hover svg {
	color: #fff;
}

.french-fab {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.french-fab img {
	width: 60%;
	max-width: 216px;
}

.back-to-top {
	position: fixed;
	right: 25px;
	bottom: 20px;
	z-index: 10;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: #555;
}

.back-to-top svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}

.legal-page {
	padding-top: 200px;
	padding-bottom: 100px;
}

.legal-page h1 {
	margin-bottom: 30px;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .5px;
}

.legal-content {
	margin-bottom: 40px;
	overflow-wrap: anywhere;
}

.legal-content h3 {
	margin: 32px 0 16px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
}

.legal-content p {
	margin-bottom: 16px;
}

.legal-content a {
	color: #0075a3;
	text-decoration: underline;
}

#matomo-opt-out {
	margin-block: 20px;
	padding: 20px;
	background: var(--grey);
}

#matomo-opt-out label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

#matomo-opt-out input {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 4px;
}

@media (max-width: 1250px) {
	.division-cards {
		margin-inline: 20px;
	}

	.carousel-arrow.previous {
		left: -20px;
	}

	.carousel-arrow.next {
		right: -20px;
	}
}

@media (max-width: 1024px) {
	.activities h2 {
		font-size: 30px;
	}

	.activities-grid {
		gap: 24px;
		margin-inline: 0;
	}

	.activity-card {
		height: 250px;
		padding: 10px;
	}

	.activity-card .button {
		padding-inline: 8px;
		font-size: 14px;
	}

	.company-card {
		padding: 35px 25px;
	}

	.company-grid {
		gap: 30px;
	}

	.company-card h2 {
		font-size: 26px;
	}

	.company {
		background-attachment: scroll;
	}

	.logo-item {
		flex-basis: calc((100% - 120px) / 4);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.french-fab {
		grid-column: 1 / -1;
	}

	.french-fab img {
		width: 180px;
	}
}

@media (max-width: 767px) {
	html {
		scroll-padding-top: 110px;
	}

	.container {
		width: calc(100% - 40px);
	}

	.site-header {
		height: 110px;
	}

	.site-header img {
		width: 78.4px;
		height: 80px;
	}

	.hero {
		height: 450px;
	}

	.hero-slide {
		inset: 0;
	}

	.division-nav {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: -22px;
		min-height: 0;
	}

	.division-nav .button {
		max-width: 100%;
		min-height: 44px;
		padding: 12px 18px;
		font-size: 13px;
		line-height: 1.3;
	}

	.division-cards {
		flex-direction: column;
		gap: 15px;
		margin-top: 35px;
		margin-bottom: 35px;
	}

	.division-card {
		flex: none;
		width: 100%;
		height: 340px;
	}

	.division-overlay {
		padding: 24px;
		opacity: 1;
	}

	.division-overlay h2 {
		font-size: 17px;
	}

	.division-overlay p {
		font-size: 14px;
	}

	.activities {
		padding: 35px 0 40px;
	}

	.activities h2 {
		margin-bottom: 30px;
		font-size: 25px;
		line-height: 1.2;
	}

	.activities-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.activity-card {
		height: 220px;
	}

	.activity-card .button {
		min-height: 48px;
		font-size: 13px;
		line-height: 1.1;
	}

	.company {
		padding: 50px 0;
	}

	.company-intro {
		margin-bottom: 30px;
		text-align: left;
	}

	.company-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.company-card {
		padding: 30px 25px;
	}

	.company-card h2 {
		font-size: 25px;
	}

	.company-card h3 {
		font-size: 18px;
		line-height: 1.2;
	}

	.company-card p {
		text-align: left;
	}

	.key-figures {
		padding: 45px 20px;
	}

	.figures-map {
		display: none;
	}

	.figures-mobile {
		display: block;
		background: url("../images/long-emg-carte.webp") center / contain no-repeat;
	}

	.figures-mobile dl {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 15px;
		margin: 0;
	}

	.figures-mobile dl > div {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		justify-content: flex-end;
		text-align: center;
	}

	.figures-mobile dt {
		padding: 3px 6px;
		color: #fff;
		background: var(--red);
		font-size: 12px;
		font-weight: 700;
		line-height: 1.4;
	}

	.figures-mobile dd {
		margin: 0;
		font-size: 38px;
		font-weight: 800;
		line-height: 1.2;
	}

	.figures-mobile p {
		margin: 30px 0 0;
		color: var(--red);
		font-size: 14px;
		font-weight: 700;
		text-align: center;
	}

	.clients h2 {
		font-size: 21px;
	}

	.logo-track {
		gap: 25px;
	}

	.logo-item {
		flex-basis: calc((100% - 50px) / 3);
		height: 100px;
	}

	.logo-item img {
		max-height: 85px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.site-footer {
		padding: 40px 0;
	}

	.site-footer .copyright {
		margin-top: 25px;
	}

	.french-fab {
		grid-column: auto;
		justify-content: flex-start;
	}

	.french-fab img {
		width: 160px;
	}

	.legal-page {
		padding-top: 150px;
		padding-bottom: 50px;
	}

	.legal-page h1 {
		font-size: 30px;
	}
}

@media (max-width: 390px) {
	.activities-grid {
		gap: 15px;
	}

	.activity-card {
		height: 190px;
		padding: 8px;
	}

	.activity-card .button {
		font-size: 12px;
	}

	.logo-item {
		flex-basis: calc((100% - 25px) / 2);
	}
}

@media (hover: none) {
	.division-overlay {
		opacity: 1;
	}

	.division-card:hover {
		flex-grow: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
	}
}

