/* Polices locales */

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/Poppins-Light.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/Poppins-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/Poppins-Medium.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
}


@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/Poppins-Bold.woff2") format("woff2");
}


:root {
	--lookly-purple: #8161d4;
	--lookly-purple-dark: #7945bf;
	--lookly-purple-light: #e5def9;
	--lookly-text: #000000;
	--lookly-muted: #606060;
	--lookly-white: #ffffff;
	--lookly-border: #e8e8e8;
	--lookly-container: 1200px;
	--lookly-radius: 8px;
        --lookly-letter-spacing: -0.02em;
}

/* Base générale */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--lookly-white);
	color: var(--lookly-text);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: var(--lookly-letter-spacing);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
textarea,
select {
	font: inherit;
	letter-spacing: inherit;
}

button {
	cursor: pointer;
}

.site {
	min-height: 100vh;
}

/* Accessibilité */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	margin: 0;
	overflow: visible;
	clip: auto;
	background: var(--lookly-white);
	color: var(--lookly-text);
	border: 2px solid var(--lookly-purple);
	border-radius: 4px;
}

/* Pages WordPress classiques */

.site-main > article {
	width: min(100% - 40px, var(--lookly-container));
	margin: 60px auto;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

/* Réduction des animations si demandée par l’utilisateur */

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}