/* Styles pour les pages d'authentification - MédiaCSE /public/css/index.css */

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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	background: #f8f9fa;
	position: relative;
	margin-top: 116px; /* Déplacé du PHP */
}

/* Background publicitaire */
.ad-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.ad-background::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.85);
	z-index: 1;
}

/* Container principal élargi pour les pubs latérales */
.page-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 3;
}

/* Publicités latérales */
.sidebar-ads {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 160px;
	z-index: 5;
}

.sidebar-ads.left {
	left: 20px;
}

.sidebar-ads.right {
	right: 20px;
}

.sidebar-ad {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	transition: transform 0.3s ease;
}

.sidebar-ad:hover {
	transform: scale(1.05);
}

.sidebar-ad img {
	width: 100%;
	height: auto;
	display: block;
}

/* Header */
.header {
	background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
	color: white;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 20px rgba(26, 35, 126, 0.3);
}

.header-top {
	background: rgba(0, 0, 0, 0.1);
	padding: 8px 0;
	font-size: 0.9em;
}

.header-top-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.contact-info {
	display: flex;
	gap: 20px;
}

.auth-links a {
	color: #e3f2fd;
	text-decoration: none;
	margin-left: 15px;
	transition: color 0.3s;
}

.auth-links a:hover {
	color: white;
}

.navbar {
	padding: 15px 0;
}

.nav-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.logo img {
	height: 50px;
	width: auto;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 25px;
}

.nav-menu a {
	color: white;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95em;
	transition: all 0.3s;
	position: relative;
}

.nav-menu a:hover {
	color: #64b5f6;
	transform: translateY(-2px);
}

.nav-menu a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: #64b5f6;
	transition: width 0.3s;
}

.nav-menu a:hover::after {
	width: 100%;
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: white;
	margin: 3px 0;
	transition: 0.3s;
}

/* Bannière publicitaire top */
.ad-banner-top {
	background: white;
	padding: 10px 0;
	text-align: center;
	border-bottom: 1px solid #e0e4e7;
	position: relative;
	z-index: 999;
}

.ad-banner-top img {
	max-width: 970px;
	width: 100%;
	height: auto;
	max-height: 90px;
	object-fit: contain;
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, rgba(26, 35, 126, 0.95) 0%, rgba(57, 73, 171, 0.95) 50%, rgba(92, 107, 192, 0.95) 100%);
	color: white;
	padding: 80px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.1"/></svg>');
}

.hero-content {
	position: relative;
	z-index: 2;
	background: rgba(26, 35, 126, 0.8);
	padding: 50px 40px;
	border-radius: 15px;
	max-width: 800px;
	margin: 0 auto;
	backdrop-filter: blur(10px);
}

.hero h1 {
	font-size: 3.5em;
	margin-bottom: 20px;
	font-weight: 700;
	animation: fadeInUp 1s ease;
}

.hero .subtitle {
	font-size: 1.3em;
	margin-bottom: 30px;
	opacity: 0.9;
	animation: fadeInUp 1s ease 0.2s both;
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-top: 40px;
	animation: fadeInUp 1s ease 0.4s both;
}

.btn {
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.3s;
	display: inline-block;
}

.btn-primary {
	background: #ff6b35;
	color: white;
	box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
	background: #e55a2b;
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
	background: transparent;
	color: white;
	border: 2px solid white;
}

.btn-secondary:hover {
	background: white;
	color: #1a237e;
	transform: translateY(-3px);
}

/* Publicité dans le contenu */
.ad-content {
	text-align: center;
	padding: 30px 0;
	margin: 40px 0;
}

.ad-content img {
	max-width: 728px;
	width: 100%;
	height: auto;
	max-height: 90px;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
	padding: 80px 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
}

.section-title h2 {
	font-size: 2.5em;
	color: #1a237e;
	margin-bottom: 15px;
}

.section-title p {
	font-size: 1.1em;
	color: #666;
	max-width: 600px;
	margin: 0 auto;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 40px;
	margin-top: 60px;
}

.feature-card {
	background: rgba(255, 255, 255, 0.95);
	padding: 40px 30px;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(26, 35, 126, 0.1);
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(10px);
}

.feature-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(26, 35, 126, 0.05), transparent);
	transform: rotate(45deg);
	transition: all 0.6s;
	opacity: 0;
}

.feature-card:hover::before {
	opacity: 1;
	transform: rotate(45deg) translate(50%, 50%);
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(26, 35, 126, 0.2);
}

.feature-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #1a237e, #3949ab);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
	font-size: 2em;
	color: white;
}

.feature-card h3 {
	font-size: 1.4em;
	color: #1a237e;
	margin-bottom: 15px;
}

.feature-card p {
	color: #666;
	line-height: 1.6;
}

/* Publicité carrée intégrée */
.ad-square {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(26, 35, 126, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.ad-square img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Stats Section avec carrousel */
.stats {
	background: linear-gradient(135deg, rgba(26, 35, 126, 0.95) 0%, rgba(40, 53, 147, 0.95) 100%);
	color: white;
	padding: 60px 0;
	backdrop-filter: blur(10px);
}

.stats-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 60px;
	align-items: center;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.stat-item h3 {
	font-size: 3em;
	margin-bottom: 10px;
	font-weight: 700;
}

.stat-item p {
	font-size: 1.1em;
	opacity: 0.9;
}

/* Carrousel publicitaire */
.ad-carousel {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	padding: 30px;
	text-align: center;
}

.carousel-title {
	color: #64b5f6;
	margin-bottom: 20px;
	font-size: 1.2em;
}

.carousel-container {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease;
}

.carousel-slide {
	min-width: 100%;
	padding: 20px;
}

.carousel-slide img {
	max-width: 200px;
	height: auto;
	border-radius: 8px;
}

/* Newsletter Section */
.newsletter {
	background: rgba(248, 249, 250, 0.95);
	padding: 80px 0;
	backdrop-filter: blur(10px);
}

.newsletter-content {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}

.newsletter h2 {
	color: #1a237e;
	margin-bottom: 20px;
	font-size: 2.2em;
}

.newsletter p {
	color: #666;
	margin-bottom: 40px;
	font-size: 1.1em;
}

.newsletter-form {
	display: flex;
	gap: 15px;
	max-width: 400px;
	margin: 0 auto;
}

.newsletter-form input {
	flex: 1;
	padding: 15px 20px;
	border: 2px solid #e0e4e7;
	border-radius: 50px;
	font-size: 1em;
	transition: border-color 0.3s;
}

.newsletter-form input:focus {
	outline: none;
	border-color: #1a237e;
}

.newsletter-form button {
	background: #ff6b35;
	color: white;
	border: none;
	padding: 15px 25px;
	border-radius: 50px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s;
}

.newsletter-form button:hover {
	background: #e55a2b;
	transform: translateY(-2px);
}

/* Section partenaires */
.partners {
	background: rgba(255, 255, 255, 0.95);
	padding: 60px 0;
	backdrop-filter: blur(10px);
}

.partners h2 {
	text-align: center;
	color: #1a237e;
	margin-bottom: 40px;
	font-size: 2em;
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 30px;
	align-items: center;
}

.partner-logo {
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	transition: transform 0.3s ease;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.partner-logo:hover {
	transform: translateY(-5px);
}

.partner-logo img {
	max-width: 120px;
	height: auto;
	opacity: 0.7;
	transition: opacity 0.3s;
}

.partner-logo:hover img {
	opacity: 1;
}

/* Footer */
.footer {
	background: rgba(26, 35, 126, 0.95);
	color: white;
	padding: 40px 0 20px;
	backdrop-filter: blur(10px);
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 30px;
}

.footer-section h3 {
	margin-bottom: 20px;
	color: #64b5f6;
}

.footer-section a {
	color: #e3f2fd;
	text-decoration: none;
	display: block;
	margin-bottom: 8px;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: white;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	text-align: center;
	color: #b3c3f7;
}

/* Sections thématiques attractives - Déplacé du PHP */
.theme-sections {
	padding: 80px 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
}

.theme-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.theme-card {
	background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
	border-radius: 20px;
	padding: 40px 30px;
	color: white;
	text-decoration: none;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(26, 35, 126, 0.3);
}

.theme-card::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transform: rotate(45deg);
	transition: all 0.6s;
	opacity: 0;
}

.theme-card:hover::before {
	opacity: 1;
	transform: rotate(45deg) translate(50%, 50%);
}

.theme-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 40px rgba(26, 35, 126, 0.4);
}

.theme-icon {
	font-size: 3.5em;
	margin-bottom: 20px;
	display: block;
	text-align: center;
}

.theme-card h3 {
	font-size: 1.6em;
	margin-bottom: 15px;
	text-align: center;
	font-weight: 700;
}

.theme-card p {
	font-size: 1.1em;
	line-height: 1.6;
	text-align: center;
	opacity: 0.9;
}

.theme-card.featured {
	background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 50%, #d04a1a 100%);
}

/* Section actualités spéciale */
.actualites-card {
	background: linear-gradient(135deg, #2e7d32 0%, #388e3c 50%, #43a047 100%);
}

/* ========================================
   SECTION MARKETPLACE - PLACE DE MARCHÉ
========================================= */

/* Variables CSS pour le marketplace */
:root {
	/* Couleurs principales */
	--primary-color: #2563eb;
	--primary-light: #3b82f6;
	--primary-dark: #1d4ed8;
	--secondary-color: #7c3aed;
	--accent-color: #06b6d4;
	
	/* Couleurs neutres */
	--text-primary: #1f2937;
	--text-secondary: #4b5563;
	--text-light: #6b7280;
	--white: #ffffff;
	
	/* Arrière-plans */
	--bg-primary: #ffffff;
	--bg-secondary: #f8fafc;
	--bg-tertiary: #f1f5f9;
	
	/* Ombres et effets */
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
	--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
	
	/* Transitions */
	--transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	
	/* Typographie */
	--font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
	--font-family-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Section Marketplace */
.marketplace-hero {
	background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
	padding: 6rem 0;
	position: relative;
}

.marketplace-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.section-title.center {
	text-align: center;
	margin-bottom: 3rem;
}

.marketplace-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	gap: 2.5rem;
	margin: 3rem 0;
}

.marketplace-card {
	background: var(--white);
	border-radius: 20px;
	padding: 2.5rem;
	box-shadow: var(--shadow-lg);
	transition: var(--transition-base);
	position: relative;
	overflow: hidden;
}

.marketplace-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	border-radius: 20px 20px 0 0;
}

.marketplace-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
}

.marketplace-card.cse-card::before {
	background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.marketplace-card.supplier-card::before {
	background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.card-header h3 {
	font-family: var(--font-family-heading);
	font-size: 1.5rem;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.card-header p {
	color: var(--text-secondary);
	font-size: 1rem;
	margin-bottom: 2rem;
}

.marketplace-feature {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1.5rem;
	gap: 1rem;
}

.marketplace-feature .feature-icon {
	font-size: 1.5rem;
	min-width: 40px;
	height: 40px;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	color: var(--white);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.marketplace-feature div {
	flex: 1;
}

.marketplace-feature strong {
	display: block;
	color: var(--text-primary);
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.marketplace-feature p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}

.card-footer {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--bg-tertiary);
}

.marketplace-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin-top: 4rem;
}

.stat-box {
	background: var(--white);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	box-shadow: var(--shadow-md);
	transition: var(--transition-base);
	position: relative;
	overflow: hidden;
}

.stat-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.stat-box:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.stat-box h4 {
	font-family: var(--font-family-heading);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
	line-height: 1;
}

.stat-box p {
	color: var(--text-secondary);
	font-weight: 500;
	font-size: 0.9rem;
	margin: 0;
}

/* Section témoignages */
.testimonials {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
	color: var(--white);
	padding: 6rem 0;
	position: relative;
}

.testimonials::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, 
		rgba(37, 99, 235, 0.95) 0%, 
		rgba(29, 78, 216, 0.95) 100%);
}

.testimonials > .container {
	position: relative;
	z-index: 2;
}

.testimonials .section-title h2,
.testimonials .section-title p {
	color: var(--white);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.testimonial-card {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 2rem;
	border-radius: 20px;
	transition: var(--transition-base);
}

.testimonial-card:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-4px);
}

.testimonial-content {
	margin-bottom: 1.5rem;
}

.testimonial-content p {
	font-size: 1rem;
	line-height: 1.7;
	font-style: italic;
	margin: 0;
}

.testimonial-author {
	margin-bottom: 1rem;
}

.testimonial-author strong {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.testimonial-author span {
	font-size: 0.9rem;
	opacity: 0.9;
}

.testimonial-rating {
	color: #fbbf24;
	font-size: 1.1rem;
}

/* Section équipe */
.team-section {
	padding: 6rem 0;
	background: var(--bg-secondary);
}

.team-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	margin-top: 3rem;
	align-items: center;
}

.team-member.spotlight {
	background: var(--white);
	border-radius: 24px;
	padding: 3rem;
	box-shadow: var(--shadow-xl);
	display: flex;
	gap: 2rem;
	transition: var(--transition-base);
}

.team-member.spotlight:hover {
	transform: translateY(-8px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.member-photo {
	flex-shrink: 0;
}

.member-photo img {
	width: 160px;
	height: 200px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: var(--shadow-md);
}

.member-info h3 {
	font-family: var(--font-family-heading);
	font-size: 1.5rem;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.member-role {
	color: var(--primary-color);
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.member-description {
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.member-expertise {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.expertise-tag {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	color: var(--white);
	padding: 0.5rem 1rem;
	border-radius: 25px;
	font-size: 0.8rem;
	font-weight: 500;
}

.team-highlights {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.highlight-item {
	background: var(--white);
	padding: 2rem;
	border-radius: 16px;
	box-shadow: var(--shadow-md);
	border-left: 4px solid var(--primary-color);
	transition: var(--transition-base);
}

.highlight-item:hover {
	transform: translateX(8px);
	box-shadow: var(--shadow-lg);
}

.highlight-item h4 {
	font-family: var(--font-family-heading);
	color: var(--text-primary);
	margin-bottom: 0.75rem;
	font-weight: 600;
}

.highlight-item p {
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0;
}

/* CTA final */
.final-cta {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
	color: var(--white);
	padding: 6rem 0;
	text-align: center;
	position: relative;
}

.final-cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, 
		rgba(37, 99, 235, 0.9) 0%, 
		rgba(124, 58, 237, 0.9) 100%);
}

.cta-content {
	position: relative;
	z-index: 2;
}

.cta-content h2 {
	font-family: var(--font-family-heading);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	margin-bottom: 1rem;
}

.cta-content > p {
	font-size: 1.25rem;
	margin-bottom: 2.5rem;
	opacity: 0.95;
}

.cta-buttons {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.cta-guarantee {
	font-size: 1rem;
	opacity: 0.9;
	font-weight: 500;
}

/* Responsive marketplace */
@media (max-width: 1024px) {
	.marketplace-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.team-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	
	.team-member.spotlight {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 768px) {
	.marketplace-grid {
		grid-template-columns: 1fr;
	}
	
	.marketplace-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
	
	.testimonials-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	
	.cta-buttons {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}
}

@media (max-width: 480px) {
	.marketplace-stats {
		grid-template-columns: 1fr;
	}
	
	.marketplace-card,
	.testimonial-card,
	.team-member.spotlight {
		padding: 1.5rem;
	}
	
	.stat-box {
		padding: 1.5rem;
	}
	
	.stat-box h4 {
		font-size: 2rem;
	}
}

/* ===== NOUVELLE SECTION ÉDITO MAGAZINE ===== */
.magazine-editorial {
	background: linear-gradient(135deg, #ffffff, #f8faff);
	padding: 60px 0;
	margin: 40px 0;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
}

.editorial-header {
	text-align: center;
	margin-bottom: 50px;
}

.editorial-main-title {
	font-size: 2.8em;
	font-weight: 700;
	color: #1a237e;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

.magazine-type {
	background: linear-gradient(135deg, #ff6b35, #e55a2b);
	color: white;
	padding: 8px 20px;
	border-radius: 25px;
	font-size: 0.5em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.magazine-number {
	background: linear-gradient(135deg, #1a237e, #3949ab);
	color: white;
	padding: 8px 20px;
	border-radius: 25px;
	font-size: 0.5em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.editorial-content {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 40px;
	align-items: flex-start;
	max-width: 1200px;
	margin: 0 auto;
}

.editorial-cover-container {
	position: sticky;
	top: 130px;
}

.editorial-cover-link {
	display: block;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.editorial-cover-link:hover {
	transform: scale(1.05);
}

.editorial-cover-image {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transition: box-shadow 0.3s ease;
}

.editorial-cover-image:hover {
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.editorial-cover-placeholder {
	width: 100%;
	height: 280px;
	background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #718096;
	font-size: 16px;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.editorial-cover-placeholder i {
	font-size: 48px;
	margin-bottom: 15px;
	color: #a0aec0;
}

.editorial-text {
	background: white;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.editorial-title {
	font-size: 2.2em;
	font-weight: 700;
	color: #2d3748;
	margin-bottom: 25px;
	line-height: 1.3;
}

.editorial-full-content {
	font-size: 1.1em;
	color: #4a5568;
	line-height: 1.8;
	margin-bottom: 30px;
}

.editorial-full-content p {
	margin-bottom: 20px;
}

.editorial-full-content h1,
.editorial-full-content h2,
.editorial-full-content h3,
.editorial-full-content h4 {
	color: #2d3748;
	margin: 25px 0 15px 0;
}

.editorial-full-content ul,
.editorial-full-content ol {
	margin: 15px 0;
	padding-left: 25px;
}

.editorial-full-content li {
	margin-bottom: 8px;
}

.editorial-full-content blockquote {
	border-left: 4px solid #ff6b35;
	padding-left: 20px;
	margin: 20px 0;
	font-style: italic;
	color: #666;
	background: #f8f9fa;
	padding: 15px 20px;
	border-radius: 0 8px 8px 0;
}

.editorial-meta {
	display: flex;
	gap: 25px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
	font-size: 14px;
	color: #718096;
}

.editorial-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
}

.editorial-meta i {
	color: #ff6b35;
}

/* Badge édito dans l'admin */
.badge-editorial {
	background: linear-gradient(135deg, #ff6b35, #f39c12);
	color: white;
	font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 1200px) {
	.sidebar-ads {
		display: none;
	}
}

@media (max-width: 1024px) {
	.editorial-content {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: left;
	}
	
	.editorial-cover-container {
		position: static;
		max-width: 250px;
		margin: 0 auto;
	}
	
	.editorial-main-title {
		font-size: 2.4em;
		flex-direction: column;
		gap: 10px;
	}
	
	.magazine-editorial {
		padding: 40px 0;
	}
}

@media (max-width: 768px) {
	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: #1a237e;
		flex-direction: column;
		padding: 20px;
		gap: 15px;
	}

	.nav-menu.active {
		display: flex;
	}

	.hamburger {
		display: flex;
	}

	.hero h1 {
		font-size: 2.5em;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.stats-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ad-banner-top {
		margin-top: 120px;
	}

	.ad-banner-top img {
		max-width: 100%;
		max-height: 60px;
	}

	.partners-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.theme-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.theme-card {
		padding: 30px 20px;
	}
	
	.theme-icon {
		font-size: 3em;
	}

	.editorial-main-title {
		font-size: 2em;
	}
	
	.editorial-title {
		font-size: 1.8em;
	}
	
	.editorial-full-content {
		font-size: 1em;
	}
	
	.editorial-meta {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}
	
	.editorial-text {
		padding: 20px;
	}
	
	.magazine-editorial {
		padding: 30px 0;
		margin: 20px 0;
	}
}

@media (max-width: 480px) {
	.hero h1 {
		font-size: 2em;
	}

	.stats-grid {
		grid-template-columns: 1fr;
	}

	.partners-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.editorial-main-title {
		font-size: 1.6em;
	}
}

/* Styles pour le login - Correction CSP */
.login-resend-verification {
	margin-top: 15px;
	text-align: center;
}

.login-resend-text {
	font-size: 0.9em;
	color: #666;
	margin-bottom: 8px;
}

.login-resend-link {
	color: #1a237e;
	text-decoration: none;
	font-size: 0.9em;
	font-weight: 500;
}

/* Style pour le CTA histoire - Correction CSP */
.story-cta {
	text-align: center;
	margin-top: 40px;
}