/* ../styles/model.css
	Last update: 2026-01-09 - Modern Corporate Design */

/* --- COLORS & MODERN STYLING --- */

/* Page */
#global {
	background: #ffffff !important;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	border-radius: 16px;
	overflow: hidden;
	will-change: transform;
}

/* Header */
#entete {
	background: #262626 !important;
	color: #ffffff !important;
	padding: 40px 30px;
	text-align: center;
	position: relative;
	border-bottom: 3px solid #ff7e54;
}
#entete h1 {
	margin: 0;
	color: #ffdba7;
	font-size: 2.5em;
	font-weight: 700;
	letter-spacing: -0.5px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
#entete h1 img {
	float: none;
	margin: 0;
}
#entete .sous-titre {
	margin: 10px 0 0 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.1em;
}

/* Navigation - Modern Tabs */
#navigation {
	background: #f8f9fa !important;
	padding: 0;
	border-bottom: 2px solid #e9ecef;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
#navigation ul {
	margin: 0;
	list-style: none;
	text-align: center;
	display: flex;
	justify-content: center;
	padding: 0;
}
#navigation li {
	display: inline-block;
	position: relative;
}
#navigation li:hover {
	background: transparent;
}

.tab {
	padding: 18px 32px;
	line-height: 1.5;
	font-size: 0.95em;
	font-weight: 500;
	text-decoration: none;
	margin: 0;
	cursor: pointer;
	color: #6c757d;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}
.tab:hover {
	color: #495057;
	background: rgba(255, 126, 84, 0.08);
}
.tab.active-tab-nav,
#navigation li.active-tab-nav .tab {
	color: #ff7e54;
	border-bottom-color: #ff7e54;
	font-weight: 600;
}

/* Tab Content */
.tab-content {
	display: none;
	animation: fadeIn 0.4s ease-in-out;
}
.active-tab {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Contenu principal */
#contenu {
	color: #2c3e50 !important;
	background: #ffffff !important;
	padding: 40px 30px;
	min-height: 500px;
}
#contenu a {
	color: #ffffff;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
}
#contenu a:hover, #contenu a:focus {
	color: #ff6533;
	text-decoration: none;
}
#contenu strong {
	color: #1a1a1a;
	font-weight: 600;
}
#contenu h3 {
	text-align: center;
	color: #2c3e50;
	font-size: 1.8em;
	margin: 0 0 30px 0;
	font-weight: 600;
	position: relative;
	padding-bottom: 15px;
}
#contenu h3:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #ff7e54 0%, #ff6533 100%);
	border-radius: 2px;
}
#contenu .tab-content {
	width: 85%;
	max-width: 1200px;
	margin: auto;
}

/* Pied de page */
#pied {
	background: #262626 !important;
	color: #ffffff !important;
	padding: 30px 20px;
	text-align: center;
	font-size: .9em;
	border-top: 3px solid #ff7e54;
}
#pied p {
	text-align: center;
	margin: .5em 0;
	color: rgba(255, 255, 255, 0.95);
}
#pied a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.15);
	transition: all 0.3s ease;
	display: inline-block;
}
#pied a:hover, #pied a:focus {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
}
#copyright {
	text-align: center;
	font-size: 0.9em;
	margin-top: 15px;
	color: rgba(255, 255, 255, 0.7);
}


/* --- RESPONSIVE & POSITIONING --- */

/* Page */
html, body {
	height: 100%;
	min-height: 100vh;
}
body {
	padding: 20px;
}
#global {
	min-height: auto;
	width: 100%;
	max-width: 1400px;
	overflow: visible;
	margin: 20px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
	body {
		padding: 10px;
	}
	#global {
		width: 100%;
		margin: 10px auto;
	}
	#contenu .tab-content {
		width: 95%;
	}
}

@media (max-width: 768px) {
	#entete h1 {
		font-size: 1.8em;
	}
	#navigation ul {
		flex-wrap: wrap;
	}
	.tab {
		padding: 14px 20px;
		font-size: 0.9em;
	}
	#contenu {
		padding: 30px 20px;
	}
	#contenu h3 {
		font-size: 1.5em;
	}
}

@media (max-width: 480px) {
	body {
		padding: 5px;
	}
	#global {
		border-radius: 12px;
	}
	#entete {
		padding: 30px 20px;
	}
	#entete h1 {
		font-size: 1.5em;
	}
	.tab {
		padding: 12px 16px;
		font-size: 0.85em;
	}
	#contenu {
		padding: 20px 15px;
	}
	#contenu .tab-content {
		width: 100%;
	}
}
