:root {
	--c-background: #FFFDEC;
	--c-text: #133648;
	--c-primary: #133648;
	--c-secondary: #5AB0E3;
	--font-heading: "Cooper Black", Georgia, serif;
	--font-body: "Valley Sans", Arial, sans-serif;
	--font-accent: "Valley Sans", Arial, sans-serif;
	--fs-xs: clamp(.72rem, .69rem + .14vw, .82rem);
	--fs-sm: clamp(.86rem, .82rem + .18vw, .98rem);
	--fs-base: clamp(1rem, .96rem + .2vw, 1.125rem);
	--fs-md: clamp(1.15rem, 1.05rem + .45vw, 1.45rem);
	--fs-lg: clamp(1.4rem, 1.2rem + .9vw, 2rem);
	--fs-xl: clamp(1.9rem, 1.45rem + 1.8vw, 3rem);
	--fs-2xl: clamp(2.35rem, 1.6rem + 3.1vw, 4.65rem);
	--fs-3xl: clamp(2.8rem, 1.7rem + 4.25vw, 5.9rem);
	--fw-light: 300;
	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;
	--fw-extrabold: 800;
	--fw-black: 900;
	--lh-tight: 1.05;
	--lh-snug: 1.25;
	--lh-base: 1.6;
	--lh-relaxed: 1.75;
	--container: 1200px;
	--motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='166' height='166' viewBox='0 0 166 166'%3E%3Cg fill='%23133648' fill-opacity='.055'%3E%3Cpath d='M26 17q2 9 10 10-8 2-10 10-2-8-10-10 8-1 10-10Z'/%3E%3Cpath d='M117 111q1 6 7 7-6 1-7 7-1-6-7-7 6-1 7-7Z'/%3E%3Ccircle cx='113' cy='57' r='3'/%3E%3Cpath d='m41 115 7 2-2 7-7-2Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Les fichiers locaux demandés sont retenus : Cooper Black et Valley Sans,
   plutôt que leurs correspondances Google de validation. */
@font-face {
	font-family: "Cooper Black";
	src: url("assets/fonts/COOPBL.TTF") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Valley Sans";
	src: url("assets/fonts/ValleySans-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Valley Sans";
	src: url("assets/fonts/ValleySans-Light.ttf") format("truetype");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Valley Sans";
	src: url("assets/fonts/ValleySans-Italic.ttf") format("truetype");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Valley Sans";
	src: url("assets/fonts/ValleySans-LightItalic.ttf") format("truetype");
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
	margin: 0;
	background: var(--c-background);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	font-weight: var(--fw-regular);
	line-height: var(--lh-base);
	-webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, input, select, textarea { max-width: 100%; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, h4 {
	margin: 0 0 1.25rem;
	font-family: var(--font-heading);
	font-weight: var(--fw-regular);
	line-height: var(--lh-tight);
	text-wrap: balance;
	overflow-wrap: break-word;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-md); line-height: var(--lh-snug); }
p { margin: 0 0 1.2em; font-size: var(--fs-base); line-height: var(--lh-base); }
p:last-child { margin-bottom: 0; }
a {
	color: inherit;
	text-decoration-thickness: .08em;
	text-underline-offset: .22em;
	transition: color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
a:hover { text-decoration-color: var(--c-secondary); }
strong, b { font-weight: var(--fw-bold); }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .4em; }
figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 5px; }
::selection { color: var(--c-primary); background: var(--c-secondary); }
.container {
	width: min(var(--container), calc(100% - clamp(2.5rem, 7vw, 6rem)));
	margin-inline: auto;
}
.sec { position: relative; scroll-margin-top: 1.5rem; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .8rem;
	max-width: 100%;
	min-height: 3rem;
	padding: .9rem 1.35rem;
	border: 2px solid transparent;
	border-radius: .18rem .3rem .2rem .25rem;
	font-family: var(--font-accent);
	font-size: var(--fs-sm);
	font-weight: var(--fw-extrabold);
	line-height: var(--lh-snug);
	letter-spacing: .045em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}
.btn--primary { color: var(--c-primary); background: var(--c-secondary); }
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--c-primary); }
.btn--outline { color: inherit; border-color: currentColor; background: transparent; }
.btn--outline:hover { color: var(--c-primary); background: var(--c-secondary); }
.btn--link {
	min-height: 2.75rem;
	padding: .7rem .2rem;
	border-radius: 0;
	text-decoration: underline wavy;
	text-decoration-color: var(--c-primary);
	text-underline-offset: .6em;
	text-decoration-thickness: 1px;
}
.btn--link::after { content: "›"; font-size: var(--fs-md); }
.eyebrow {
	display: flex;
	align-items: center;
	gap: .7rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
	font-family: var(--font-accent);
	font-size: var(--fs-sm);
	font-weight: var(--fw-extrabold);
	line-height: var(--lh-snug);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.eyebrow::before { content: "∿"; color: var(--c-secondary); font-size: var(--fs-lg); }
.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	position: fixed;
	z-index: 100;
	top: 1rem;
	left: 1rem;
	padding: 1rem;
	color: var(--c-primary);
	background: var(--c-background);
}
.site-header { position: relative; z-index: 20; background: var(--c-background); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: clamp(5.5rem, 8vw, 7.5rem);
	border-bottom: 1px solid color-mix(in srgb, var(--c-primary) 12%, transparent);
}
.brand { display: inline-block; text-decoration: none; font-family: var(--font-heading); font-size: var(--fs-lg); line-height: var(--lh-snug); }
.brand img { display: block; width: clamp(8rem, 12vw, 10.5rem); max-height: 4.3rem; object-fit: contain; }
.site-header__brand { flex: 0 0 auto; }
.nav__list, .footer__list, .socials { list-style: none; padding: 0; margin: 0; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.9rem); }
.nav__list li { margin: 0; }
.nav__list a {
	display: block;
	position: relative;
	padding-block: .6rem .9rem;
	font-size: var(--fs-sm);
	font-weight: var(--fw-extrabold);
	line-height: var(--lh-snug);
	letter-spacing: .025em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
.nav__list a::after {
	content: "";
	position: absolute;
	inset: auto 0 .25rem;
	height: .35rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='6' viewBox='0 0 56 6'%3E%3Cpath d='M0 3Q7 0 14 3T28 3T42 3T56 3' fill='none' stroke='%23133648' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x center;
	transition: transform .18s ease;
}
.nav__list a:hover::after, .nav__list .current-menu-item a::after { transform: translateY(3px); }
.site-header__cta { flex-shrink: 0; }
.nav-toggle, .site-nav__mobile-cta { display: none; }
.site-footer { padding: clamp(2.5rem, 5vw, 4rem) 0 1.75rem; color: var(--c-background); background: var(--c-primary); }
.site-footer__top {
	display: grid;
	grid-template-columns: 1fr 1.5fr 1fr;
	align-items: center;
	gap: 2rem;
	padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.site-footer__brand .brand { background: var(--c-background); padding: .6rem .8rem; border-radius: .2rem .5rem .25rem .45rem; transform: rotate(-2deg); color: var(--c-primary); }
.site-footer__tagline { margin: 0; max-width: 27rem; font-family: var(--font-heading); font-size: var(--fs-md); line-height: var(--lh-snug); text-align: center; }
.site-footer__socials { justify-self: end; }
.socials { display: flex; flex-wrap: wrap; gap: .8rem; }
.socials li { margin: 0; }
.socials a { display: flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; border: 2px dotted var(--c-secondary); border-radius: 50%; }
.socials a:hover { color: var(--c-primary); background: var(--c-secondary); transform: rotate(-6deg); }
.socials svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 1.75rem;
	border-top: 2px dotted color-mix(in srgb, var(--c-background) 45%, transparent);
}
.site-footer__bottom p, .site-footer__bottom address, .site-footer__nav a { margin: 0; font-size: var(--fs-xs); line-height: var(--lh-base); }
.site-footer__copyright { max-width: 24rem; }
.site-footer__bottom address { max-width: 23rem; text-align: center; }
.footer__list { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer__list li { margin: 0; }
.footer__list a { text-decoration: none; white-space: nowrap; }
.footer__list a::after { content: " ↗"; color: var(--c-secondary); }
.site-footer__legal { margin-top: 1.5rem; font-size: var(--fs-xs); }
.site-footer__legal p { font-size: inherit; }
@media (max-width: 1023px) {
	.site-header__inner { min-height: 5.5rem; }
	.site-header__cta { display: none; }
	.nav-toggle {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 3rem;
		height: 3rem;
		border: 2px solid var(--c-primary);
		border-radius: .3rem .6rem .4rem .3rem;
		color: var(--c-primary);
		background: var(--c-secondary);
	}
	.nav-toggle > span:first-child, .nav-toggle > span:first-child::before, .nav-toggle > span:first-child::after {
		display: block;
		position: absolute;
		width: 1.25rem;
		height: 2px;
		background: currentColor;
		transition: transform .2s ease;
	}
	.nav-toggle > span:first-child::before, .nav-toggle > span:first-child::after { content: ""; left: 0; }
	.nav-toggle > span:first-child::before { transform: translateY(-6px); }
	.nav-toggle > span:first-child::after { transform: translateY(6px); }
	.site-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 1.5rem max(1.25rem, calc((100vw - var(--container)) / 2)); background: var(--c-background); border-bottom: 3px solid var(--c-primary); box-shadow: 0 8px 0 color-mix(in srgb, var(--c-primary) 12%, transparent); }
	.nav-open .site-nav { display: block; }
	.nav-open .nav-toggle > span:first-child { transform: rotate(45deg); }
	.nav-open .nav-toggle > span:first-child::before { transform: rotate(90deg); }
	.nav-open .nav-toggle > span:first-child::after { transform: rotate(90deg); }
	.nav__list { align-items: flex-start; flex-direction: column; gap: .6rem; }
	.site-nav__mobile-cta { display: inline-flex; margin-top: 1.5rem; }
	.site-footer__top { grid-template-columns: 1fr 1.5fr; }
	.site-footer__socials { grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 639px) {
	.site-footer__top { display: flex; flex-direction: column; gap: 1.75rem; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.site-footer__tagline { text-align: center; }
	.site-footer__bottom address { text-align: left; }
	.site-footer__nav { padding-block: .5rem; }
	.btn { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}
