/* RESET
-----------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 100%;
}

/* FONTS
-----------------------------------------------*/

@font-face {
	font-family: 'Quicksand';
	src: url('quicksand-bold.woff2') format('woff2'),
	     url('quicksand-bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: 'Outfit';
	src: url('outfit.woff2') format('woff2'),
	     url('outfit.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Outfit Bold';
	src: url('outfit-bold.woff2') format('woff2'),
	     url('outfit-bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter Tight Italic';
	src: url('inter-tight-italic.woff2') format('woff2'),
	     url('inter-tight-italic.woff') format('woff');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

/* COLOR SCHEME - ALL DEVICES
-----------------------------------------------*/

:root {
	color-scheme: light dark;
}

body {
	background: var(--bg);
	color: var(--text);
	transition: background 0.3s, color 0.3s;
}

/* COLOR SCHEME - LIGHT
-----------------------------------------------*/

:root {
	--bg: #ffffff;
	--text: #404040;
}

.site-header {
	background: #ffffff;
}

.cta-info-button {
	background-color: #ffffff;
}

a, a:visited {
	color: #3f3f3f;
}

.avert-titling {
	color: #000000;
}

.avert-message ul li {
	color: #000000;
}

summary {
	color: #515151;
}

.conditions {
	color: #656565;
}

.and-or-color {
	color: #1c1c1c;
}

nav {
	color: #656565;
}

/* COLOR SCHEME - DARK
-----------------------------------------------*/

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #232325;
		--text: #ffffff;
	}

	.site-header {
		background: #232325;
	}

	.cta-info-button {
		background-color: #232325;
	}
	
	a, a:visited {
		color: #e7e7e7;
	}

	.avert-titling {
		color: #ffffff;
	}

	.avert-message ul li {
		color: #ffffff;
	}

	summary {
		color: #ffffff;
	}

	.conditions {
		color: #cccccc;
	}

	.and-or-color {
		color: #cccccc;
	}

	nav {
		color: #9a9a9a;
	}
}

/* ELEMENTS - ALL DEVICES
-----------------------------------------------*/

body {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
	cursor: default;
}

b, strong {
	font-family: 'Outfit Bold', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	transition: all 0.3s ease;
	z-index: 1000;
}

.logo-container {
	display: flex;
	justify-content: center;
}

.logo {
	width: auto;
	transition: height 0.3s ease;
}

h1, h2, h3 {
	font-family: 'Quicksand';
}

h1, h2 {
	color: #70bf44;
}

h1 {
	text-align: center;
}

main, .copyright-info, .menu-bottom {
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
}

footer {
	color: #9a9a9a;
	text-align: center;
}

.copyright-date::after {
	content: "2026";
}

img {
	display: block;
	margin: auto;
}

.cta-button {
	background-color: #70bf44;
	text-align: center;
	font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 30px;
	border: 1px solid #70bf44;
}

.cta a, .cta a:visited, .cta a:hover, .cta a:active {
	color: #ffffff;
}

.cta-info-button {
	text-align: center;
	font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 30px;
	border: 2px solid #70bf44;
}

.info-cta a, .info-cta a:visited, .info-cta a:hover, .info-cta a:active {
	color: #70bf44;
}

nav::before {
	content: "Sommaire";
	text-transform: uppercase;
}

nav ol {
	list-style-type: none;
}

.catch-phrase {
	font-family: 'Inter Tight Italic';
	color: #70bf44;
}

.buy-button, .info-button {
	text-align: center;
}

details {
	border: 1px solid #9a9a9a;
	border-radius: 10px;
}

summary {
	font-family: 'Outfit Bold';
	cursor: pointer;
}

.avert-message {
	text-align: center;
}

.avert-titling {
	font-family: 'Outfit Bold';
}

.text-underline {
	text-decoration: underline;
}

.alarm-list {
	list-style: none;
}

.warning-alert {
	font-family: 'Outfit Bold';
	color: #ed2024;
}

a:hover, a:active {
	color: #70bf44;
}

/* ELEMENTS - DESKTOP
-----------------------------------------------*/

.site-header {
	padding: 1.2rem 0;
}	

body.scrolled .site-header {
	padding: 0.5rem 0;
	box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

.logo {
	height: 41px;
}

body.scrolled .logo {
	height: 30px;
}

main {
	margin-top: 5rem;
}

footer {
	font-size: 1rem;
	margin-bottom: 1rem;
	margin-top: 4rem;
}

.article-heading {
	margin-top: 3em;
}

.cta, .info-cta {
	margin: 1.5rem 0 2rem 1rem;
}

.cta-button, .cta-info-button {
	font-size: 1rem;
}

.copyright-info {
	margin-bottom: 0.5rem;
}

h1 {
	font-size: 2.3rem;
	margin: 0 0 2.3rem 0;
}

h2 {
	font-size: 1.7rem;
	margin: 4rem 0 1.2rem 2rem;
}

h3 {
	font-size: 1.3rem;
	margin: 0 0 1rem 1rem;
}

nav {
	margin: 0 0 2.5rem 3rem;
	font-size: 1.1rem;
}

nav::before {
	margin: 0 0 0 0.5rem;
	opacity: 0.9;
}

ul li {
	line-height: 1.8rem;
	margin-bottom: 0.8rem;
}

ol li {
	line-height: 1.8rem;
	margin-top: 0.5rem;
}

.maj-date {
	margin: 0 0 1rem 2rem;
	font-size: 1rem;
}

p {
	margin: 0 0 1rem 0;
	line-height: 1.8rem;
	font-size: 1.2rem;
}

.buy-button, .info-button {
	margin-top: 3rem;
}

.catch-phrase {
	font-size: 1.5rem;
	line-height: 2rem;
	margin: 2rem;
}

ul {
	font-size: 1.2rem;
	margin-left: 3.25rem;
}

nav {
	margin-top: 4rem;
}

.conditions p {
	font-size: 1rem;
	line-height: 1rem;
}

.conditions {
	margin-top: 4rem;
}

details {
	padding: 0.5em 0.5em 0;
	margin: 1.5rem;
}

summary {
	margin: -0.5em 0.5em 0;
	padding: 0.5em;
	font-size: 1.2rem;
}

details[open] {
	padding: 0.5em;
}

details[open] summary {
	margin-bottom: 0.5em;
}

details p {
	margin: 0 0.5em 0.5em 0.5em;
	font-size: 1.2rem;
	line-height: 1.6rem;
}
.avert-message {
	margin-top: 6rem;
}

.avert-titling {
	margin-top: 1rem;
	font-size: 2rem;
	line-height: 2.5rem;
}

.icon-avert {
	height: 100px;
}

.alarm-list {
	font-size: 1.8rem;
	margin: 1.9rem 0 2.7rem 0;
	line-height: 1rem;
}

.alarm-list .and-or {
	font-size: 1rem;
}

.icon-warning {
	height: 66px;
	margin-bottom: 0.6rem;
}

.warning-alert {
	font-size: 1.5rem;
	margin-bottom: 3.5rem;
}

.cta-button, .cta-info-button {
	padding: 0.6rem 2rem 0.6rem 2rem;
}

.alarm-list li {
	margin: 0;
}

nav ol {
	margin-top: 0;
}

/* ELEMENTS - MOBILE
-----------------------------------------------*/

@media screen and (max-width: 1100px) {	
	.cta, .info-cta {
		margin: 1.2rem 0 2rem 1rem;
	}
	
	.cta-button, .cta-info-button {
		font-size: 0.9rem;
	}
	
	.menu-bottom {
		line-height: 1.8;
	}
	
	h1 {
		font-size: 1.8rem;
		padding: 1.5rem 0 0 0;
		margin: 0;
	}
	
	h2 {
		font-size: 1.5rem;
		margin: 3.5rem 0 1.2rem 1.5rem;
	}

	h3 {
		font-size: 1.2rem;
		margin: 0 0 1rem 0.5rem;
	}
	
	nav {
		margin: 0 0 2.5rem 0;
		font-size: 1.1rem;
	}
	
	nav::before {
		margin: 0;
		opacity: 0.9;
	}
	
	li {
		line-height: 1.8;
		margin-left: -1.5rem;
	}
	
	.maj-date {
		margin: 0 0 1rem 0;
		font-size: 1rem;
	}
	
	p {
		margin: 0 0 1rem 0;
		line-height: 1.7rem;
		font-size: 1.2rem;
	}
}