html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', sans-serif;
	background-color: #ffffff;
	color: #2c2c2c;
}

.page-container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Barre de navigation */
.navbar {
	background-color: #333333;
	padding: 10px 20px;
}

.navbar ul{
	list-style-type: none;
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 20px;
	align-items: center;
	margin: 0;
	padding: 0;
}

.nav-links li a {
	color: #ffffff;
	text-decoration: none;
	padding: 10px 15px;
	display: block;
	border-radius: 6px;
	transition: background 0.3s;
	font-weight: 500;
}

.nav-links li a:hover {
	background-color: #777777;
}

/* Dropdown container */
.dropdown {
	position: relative;
}

/* Menu déroulant caché */
.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #ffffff;
	min-width: 180px;
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	padding: 0;
	z-index: 1000;
}

/* Liens dans le menu déroulant */
.dropdown-menu li a {
	color: #333333;
	padding: 10px 15px;
	text-decoration: none;
	display: block;
	border-bottom: 1px solid #e0e0e0;
}

.dropdown-menu li:last-child a {
	border-bottom: none;
}

.dropdown-menu li a:hover {
	background-color: #f5f5f5;
}

/* Afficher le menu au survol */
.dropdown:hover .dropdown-menu {
	display: block;
}

.titre {
	font-size: 2.8rem;
	font-weight: 700;
	text-align: center;
	color: #1976d2;
	margin-top: 40px;
}

.container {
	padding: 60px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
}

.but {
	background: #f9f9f9;
	border: 1px solid #ddd;
	padding: 25px;
	border-radius: 15px;
	width: 85%;
	color: #444;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.but h2 {
	color: #135ed1;
	text-align: center;
	font-size: 1.75rem;
	font-weight: 700;
}

.but h3 {
	color: #0d47a1;
}

.but ul {
	padding-left: 20px;
}

.but ul li {
	margin: 5px 0;
}

.duo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 400px;
}

.illustration-section {
    margin-top: 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.illustration-image {
	width: 95%;
	height: 350px;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 6px 12px rgba(0,0,0,0.1);
	transition: transform 0.3s;
	background-color: black;
}


.but > .illustration-section .illustration-image {
	width: 90%;
	height: 400px;
	object-fit: contain;
}

.caption {
	font-size: 0.95rem;
	font-style: italic;
	margin-top: 8px;
	color: #666;
}

/* Footer */
footer {
	background-color: #333333;
	text-align: center;
	padding: 1rem 0;
	position: relative;
	margin-top: 4rem;
}

footer h2 {
	margin: 0 0 10px;
	font-size: 1.3rem;
	color: #ffffff;
}

.bottom_line {
	width: 100px;
	margin: 0 auto 1rem;
	border: none;
	height: 2px;
	background: #fff;
}

.contact {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}

footer img {
	width: 32px;
	height: auto;
	filter: brightness(0) invert(1);
	transition: transform 0.2s ease;
}

footer img:hover {
	transform: scale(1.1);
}

.area {
	background: linear-gradient(to left, #bbdefb, #e3f2fd);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -1;
}

.circles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.circles li {
	position: absolute;
	list-style: none;
	width: 20px;
	height: 20px;
	background: rgba(25, 118, 210, 0.5);
	animation: animate 25s linear infinite;
	bottom: -150px;
}

.circles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.circles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.circles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.circles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.circles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.circles li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.circles li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.circles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.circles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.circles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }

@keyframes animate {
	0% { transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 0; }
	100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; border-radius: 50%; }
}