/* ========================================================================
   AFFILIATION PAGE - PREMIUM STYLES v9.0
   Expert Marketing Relationnel & Technique de Vente
   ======================================================================== */

/* Hero Section */
.affiliation-hero-premium {
	background: linear-gradient(135deg, #1e5a3e 0%, #0d3d2a 50%, #1e5a3e 100%);
	padding: 5rem 1.5rem;
	color: white;
	position: relative;
	overflow: hidden;
}

.affiliation-hero-premium::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
	pointer-events: none;
}

.hero-badge-premium {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	color: #1e5a3e;
	padding: 0.625rem 1.5rem;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
	animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.03); }
}

.hero-title-premium {
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 1.5rem;
}

.hero-title-premium .highlight-gold {
	color: #fbbf24;
	display: block;
}

.hero-subtitle-premium {
	font-size: 1.25rem;
	opacity: 0.95;
	max-width: 600px;
	margin: 0 auto 2rem;
	line-height: 1.7;
}

/* Stats Grid */
.stats-grid-premium {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	max-width: 800px;
	margin: 0 auto 2.5rem;
}

@media (max-width: 768px) {
	.stats-grid-premium {
		grid-template-columns: repeat(2, 1fr);
	}
}

.stat-card-hero {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 1.25rem;
	text-align: center;
	transition: all 0.3s ease;
}

.stat-card-hero:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.15);
}

.stat-number-hero {
	display: block;
	font-size: 1.75rem;
	font-weight: 900;
	color: #fbbf24;
	line-height: 1;
	margin-bottom: 0.375rem;
}

.stat-label-hero {
	font-size: 0.75rem;
	opacity: 0.9;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* CTA Button Primary */
.cta-btn-hero {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	color: #1e5a3e;
	font-size: 1.125rem;
	font-weight: 800;
	padding: 1.25rem 2.5rem;
	border-radius: 16px;
	text-decoration: none;
	box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.cta-btn-hero:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 12px 40px rgba(251, 191, 36, 0.5);
}

/* Section Titles */
.section-badge {
	display: inline-block;
	padding: 0.5rem 1.25rem;
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	color: #1e5a3e;
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
}

.section-title-premium {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	color: #1e5a3e;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.section-subtitle-premium {
	font-size: 1.125rem;
	color: #6b7280;
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.7;
}

/* Avantages Cards */
.avantage-card {
	background: white;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 2px solid transparent;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

.avantage-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #1e5a3e 0%, #fbbf24 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.avantage-card:hover::before {
	transform: scaleX(1);
}

.avantage-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
	border-color: #1e5a3e;
}

.avantage-icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin-bottom: 1.5rem;
	transition: all 0.3s ease;
}

.avantage-card:hover .avantage-icon {
	background: linear-gradient(135deg, #1e5a3e 0%, #2d7a4e 100%);
	transform: rotate(5deg) scale(1.1);
}

.avantage-title {
	font-size: 1.375rem;
	font-weight: 700;
	color: #1e5a3e;
	margin-bottom: 0.75rem;
}

.avantage-description {
	color: #6b7280;
	line-height: 1.7;
	margin-bottom: 1rem;
}

.avantage-highlight {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #fef3c7;
	color: #92400e;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
}

/* Témoignages */
.testimonial-card-premium {
	background: white;
	border-radius: 24px;
	padding: 2.5rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	border-left: 6px solid #fbbf24;
	position: relative;
}

.testimonial-card-premium::before {
	content: '"';
	position: absolute;
	top: 1rem;
	right: 2rem;
	font-size: 6rem;
	color: rgba(30, 90, 62, 0.08);
	font-family: Georgia, serif;
	line-height: 1;
}

.testimonial-results {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	padding: 1.5rem;
	border-radius: 16px;
	margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
	.testimonial-results {
		grid-template-columns: 1fr;
	}
}

.result-item {
	text-align: center;
}

.result-number {
	display: block;
	font-size: 1.5rem;
	font-weight: 900;
	color: #1e5a3e;
}

.result-label {
	font-size: 0.8rem;
	color: #6b7280;
}

/* Guide Gratuit Section - PREMIUM */
.guide-section-premium {
	background: linear-gradient(135deg, #1e5a3e 0%, #0d3d2a 50%, #1e5a3e 100%);
	position: relative;
	overflow: hidden;
	padding: 5rem 1.5rem;
}

.guide-section-premium::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
	pointer-events: none;
}

.guide-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

@media (max-width: 1024px) {
	.guide-container {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
}

.guide-content {
	color: white;
}

.guide-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	color: #1e5a3e;
	padding: 0.5rem 1.25rem;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1.5rem;
}

.guide-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 0.75rem;
}

.guide-title .highlight {
	color: #fbbf24;
}

.guide-subtitle {
	font-size: 1.5rem;
	color: #fbbf24;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.guide-description {
	font-size: 1.125rem;
	opacity: 0.95;
	line-height: 1.8;
	margin-bottom: 2rem;
}

.guide-features {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.guide-features li {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-features li:last-child {
	border-bottom: none;
}

.guide-features .feature-icon {
	width: 28px;
	height: 28px;
	background: rgba(251, 191, 36, 0.2);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fbbf24;
	flex-shrink: 0;
	font-size: 0.875rem;
}

.guide-features .feature-text {
	font-size: 1rem;
	line-height: 1.6;
}

.guide-features .feature-text strong {
	color: #fbbf24;
}

/* Guide Form Card */
.guide-form-card {
	background: white;
	border-radius: 24px;
	padding: 2.5rem;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
	position: relative;
}

.guide-form-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
	border-radius: 24px 24px 0 0;
}

.form-header {
	text-align: center;
	margin-bottom: 2rem;
}

.form-header .icon {
	font-size: 3.5rem;
	margin-bottom: 1rem;
}

.form-header h3 {
	font-size: 1.5rem;
	font-weight: 800;
	color: #1e5a3e;
	margin-bottom: 0.5rem;
}

.form-header p {
	color: #6b7280;
	font-size: 0.95rem;
}

.form-group {
	margin-bottom: 1.25rem;
}

.form-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	color: #374151;
	margin-bottom: 0.5rem;
}

.form-group input {
	width: 100%;
	padding: 1rem 1.25rem;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-group input:focus {
	outline: none;
	border-color: #1e5a3e;
	box-shadow: 0 0 0 4px rgba(30, 90, 62, 0.1);
}

.form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-top: 0.125rem;
	accent-color: #1e5a3e;
}

.form-checkbox label {
	font-size: 0.875rem;
	color: #6b7280;
	line-height: 1.5;
}

.form-submit-btn {
	width: 100%;
	background: linear-gradient(135deg, #1e5a3e 0%, #2d7a4e 100%);
	color: white;
	font-size: 1.125rem;
	font-weight: 800;
	padding: 1.25rem 2rem;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

.form-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(30, 90, 62, 0.3);
}

.form-trust-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
}

.trust-badge-mini {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	color: #6b7280;
}

.trust-badge-mini svg {
	width: 14px;
	height: 14px;
	color: #22c55e;
}

/* FAQ Section - Grid 3 colonnes */
.faq-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 1024px) {
	.faq-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.faq-grid {
		grid-template-columns: 1fr;
	}
}

.faq-item {
	background: white;
	border-radius: 16px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	border: 2px solid #e5e7eb;
	transition: all 0.3s ease;
	height: fit-content;
}

.faq-item:hover {
	border-color: #1e5a3e;
	box-shadow: 0 8px 25px rgba(30, 90, 62, 0.15);
	transform: translateY(-2px);
}

.faq-item summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem;
	cursor: pointer;
	font-weight: 700;
	color: #1e5a3e;
	font-size: 0.95rem;
	line-height: 1.4;
	list-style: none;
	-webkit-user-select: none;
	user-select: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::marker {
	display: none;
	content: '';
}

.faq-item summary .question-text {
	flex: 1;
}

.faq-item summary .icon {
	width: 28px;
	height: 28px;
	min-width: 28px;
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	flex-shrink: 0;
	margin-top: 2px;
}

.faq-item[open] summary .icon {
	transform: rotate(180deg);
	background: linear-gradient(135deg, #1e5a3e 0%, #2d7a4e 100%);
	color: white;
}

.faq-item[open] {
	border-color: #1e5a3e;
}

.faq-answer {
	padding: 0 1.25rem 1.25rem;
	color: #6b7280;
	line-height: 1.7;
	font-size: 0.9rem;
	border-top: 1px solid #e5e7eb;
	margin-top: 0;
	padding-top: 1rem;
	animation: fadeIn 0.3s ease;
}

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

/* CTA Final Section */
.cta-final-section {
	background: linear-gradient(135deg, #1e5a3e 0%, #0d3d2a 100%);
	padding: 5rem 1.5rem;
	text-align: center;
	color: white;
	position: relative;
	overflow: hidden;
}

.cta-final-section::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.cta-buttons-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

@media (max-width: 640px) {
	.cta-buttons-group {
		flex-direction: column;
		align-items: center;
	}

	.cta-buttons-group a,
	.cta-buttons-group button {
		width: 100%;
		max-width: 320px;
	}
}

.cta-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	color: #1e5a3e;
	font-size: 1.125rem;
	font-weight: 800;
	padding: 1.25rem 2rem;
	border-radius: 12px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.cta-btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 40px rgba(251, 191, 36, 0.5);
}

.cta-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.5);
	color: white;
	font-size: 1.125rem;
	font-weight: 700;
	padding: 1.25rem 2rem;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
	background: white;
	color: #1e5a3e;
	border-color: white;
}

/* Urgency Banner */
.urgency-banner {
	background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
	color: #1e5a3e;
	padding: 1rem;
	text-align: center;
	font-weight: 700;
}

.urgency-banner .countdown {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
	.affiliation-hero-premium {
		padding: 3.5rem 1rem;
	}

	.guide-section-premium {
		padding: 3rem 1rem;
	}

	.guide-form-card {
		padding: 1.5rem;
	}

	.testimonial-card-premium {
		padding: 1.5rem;
	}
}

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

.animate-fadeInUp {
	animation: fadeInUp 0.6s ease-out forwards;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
