
:root {
	--primary-color: #6a1b9a;
	--primary-light: #9c4dcc;
	--primary-dark: #38006b;
	--secondary-color: #d32f2f;
	--text-dark: #333;
	--text-light: #fff;
	--bg-light: #f9f9f9;
	--bg-white: #fff;
	--border-radius: 8px;
	--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Source Sans Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-dark);
	background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', Arial, sans-serif;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--primary-dark);
}

p {
	margin-bottom: 1.5rem;
}

a {
	text-decoration: none;
	color: var(--primary-color);
	transition: var(--transition);
}

a:hover {
	color: var(--primary-light);
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
	color: var(--text-light);
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 15px;
}

.logo img {
	height: 60px;
	border-radius: var(--border-radius);
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.logo h1 {
	font-size: 1.2rem;
	margin-bottom: 0;
	color: var(--text-light);
}

.logo p {
	font-size: 0.9rem;
	margin-bottom: 0;
	opacity: 0.9;
}

/* Navigation */
nav ul {
	display: flex;
	list-style: none;
	gap: 20px;
}

nav a {
	color: var(--text-light);
	font-weight: 500;
	padding: 8px 15px;
	border-radius: var(--border-radius);
	transition: var(--transition);
}

nav a:hover, nav a.active {
	background-color: rgba(255, 255, 255, 0.2);
	color: var(--text-light);
}

.language-selector {
	display: flex;
	gap: 10px;
	margin-left: 20px;
}

.language-selector img {
	width: 30px;
	height: 20px;
	border-radius: 3px;
	transition: var(--transition);
}

.language-selector img:hover {
	transform: scale(1.1);
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: var(--text-light);
	font-size: 1.4rem;
	cursor: pointer;
}

/* Hero Section */
.hero {
	background: linear-gradient(rgba(106, 27, 154, 0.8), rgba(56, 0, 107, 0.8)), url('../images/palais_des_papes.jpg') center/cover no-repeat;
	color: var(--text-light);
	text-align: center;
	padding: 100px 20px;
	margin-bottom: 50px;
}

.hero h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	color: var(--text-light);
}

.hero p {
	font-size: 1.2rem;
	max-width: 700px;
	margin: 0 auto 2rem;
}

.btn {
	display: inline-block;
	background-color: var(--secondary-color);
	color: var(--text-light);
	padding: 12px 30px;
	border-radius: var(--border-radius);
	font-weight: 600;
	transition: var(--transition);
	border: none;
	cursor: pointer;
}

.btn:hover {
	background-color: #b71c1c;
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
	color: var(--text-light);
}

/* Section Styling */
section {
	padding: 80px 0;
}

.section-header {
	text-align: center;
	margin-bottom: 50px;
}

.section-header h2 {
	font-size: 2.2rem;
	position: relative;
	display: inline-block;
	padding-bottom: 15px;
}

.section-header h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background-color: var(--secondary-color);
	border-radius: 2px;
}

.section-header p {
	font-size: 1.1rem;
	color: #666;
	max-width: 700px;
	margin: 0 auto;
}

/* History Section */
.history-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.history-text {
	flex: 1;
}

.history-image {
	flex: 1;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

.history-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: var(--transition);
}

.history-image:hover img {
	transform: scale(1.05);
}

/* Activities Section */
.activities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.activity-card {
	background-color: var(--bg-white);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.activity-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.activity-image {
	height: 200px;
	overflow: hidden;
}

.activity-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.activity-card:hover .activity-image img {
	transform: scale(1.1);
}

.activity-content {
	padding: 25px;
}

.activity-content h3 {
	font-size: 1.4rem;
	margin-bottom: 15px;
	color: var(--primary-dark);
}

.activity-content p {
	color: #666;
	margin-bottom: 20px;
}

/* Team Preview Section */
.team-preview {
	background-color: var(--bg-white);
	border-radius: var(--border-radius);
	padding: 60px 40px;
	box-shadow: var(--box-shadow);
	text-align: center;
}

.team-members {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
	margin: 40px 0;
}

.team-member {
	text-align: center;
	max-width: 200px;
}

.member-avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 15px;
	border: 4px solid var(--primary-light);
}

.member-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.member-name {
	font-weight: 600;
	margin-bottom: 5px;
}

.member-role {
	color: var(--primary-color);
	font-size: 0.9rem;
}

/* Events Section */
.events-timeline {
	max-width: 800px;
	margin: 0 auto;
}

.event-item {
	display: flex;
	margin-bottom: 40px;
	position: relative;
}

.event-date {
	flex: 0 0 120px;
	background-color: var(--primary-color);
	color: var(--text-light);
	padding: 15px;
	border-radius: var(--border-radius);
	text-align: center;
	margin-right: 30px;
	position: relative;
	z-index: 2;
}

.event-date .day {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.event-date .month {
	font-size: 1rem;
	text-transform: uppercase;
}

.event-content {
	flex: 1;
	background-color: var(--bg-white);
	padding: 20px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.event-content h3 {
	margin-bottom: 10px;
	color: var(--primary-dark);
}

.event-content p {
	margin-bottom: 15px;
}

/* Contact Section */
.contact-container {
	display: flex;
	gap: 50px;
}

.contact-info {
	flex: 1;
}

.contact-details {
	margin-top: 30px;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 25px;
}

.contact-icon {
	background-color: var(--primary-light);
	color: var(--text-light);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	flex-shrink: 0;
}

.contact-form {
	flex: 1;
	background-color: var(--bg-white);
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	font-family: inherit;
	font-size: 1rem;
	transition: var(--transition);
}

.form-control:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.2);
}

textarea.form-control {
	min-height: 150px;
	resize: vertical;
}

/* Footer */
footer {
	background-color: var(--primary-dark);
	color: var(--text-light);
	padding: 60px 0 30px;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin-bottom: 40px;
}

.footer-column {
	flex: 1;
	min-width: 250px;
}

.footer-column h3 {
	color: var(--text-light);
	font-size: 1.3rem;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.footer-column h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background-color: var(--secondary-color);
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--text-light);
	padding-left: 5px;
}

.social-links {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--text-light);
	border-radius: 50%;
	transition: var(--transition);
}

.social-links a:hover {
	background-color: var(--primary-light);
	transform: translateY(-3px);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
	.history-content {
		flex-direction: column;
	}
	
	.contact-container {
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.header-container {
		flex-wrap: wrap;
	}
	
	nav {
		order: 3;
		width: 100%;
		margin-top: 15px;
		display: none;
	}
	
	nav.active {
		display: block;
	}
	
	nav ul {
		flex-direction: column;
		gap: 10px;
	}
	
	.mobile-menu-btn {
		display: block;
	}
	
	.language-selector {
		margin-left: auto;
		margin-right: 15px;
	}
	
	.hero h2 {
		font-size: 2rem;
	}
	
	.hero p {
		font-size: 1rem;
	}
	
	section {
		padding: 60px 0;
	}
	
	.section-header h2 {
		font-size: 1.8rem;
	}
}

@media (max-width: 576px) {
	.logo h1 {
		font-size: 1.4rem;
	}
	
	.hero {
		padding: 80px 20px;
	}
	
	.event-item {
		flex-direction: column;
	}
	
	.event-date {
		margin-right: 0;
		margin-bottom: 15px;
		align-self: flex-start;
	}
}

/* Styles pour la page d'adhésion */
.adhesion-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.adhesion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .adhesion-container {
        grid-template-columns: 1fr;
    }
}

.adhesion-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.adhesion-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #B22222;
}

.info-box h4 {
    color: #B22222;
    margin-bottom: 10px;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.info-box li:before {
    content: "✓";
    color: #28a745;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Formulaire */
fieldset {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

legend {
    font-weight: bold;
    color: #B22222;
    padding: 0 10px;
    width: auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #B22222;
    box-shadow: 0 0 0 0.2rem rgba(178, 34, 34, 0.25);
}

/* Options de paiement */
.payment-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-option {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: #B22222;
    background: #f8f9fa;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked + .payment-icon + .payment-text {
    color: #B22222;
    font-weight: bold;
}

.payment-option input[type="radio"]:checked ~ * {
    color: #B22222;
}

.payment-icon {
    font-size: 24px;
    color: #6c757d;
    margin-bottom: 8px;
    display: block;
}

.payment-text {
    font-size: 14px;
    color: #495057;
}

.payment-details {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Cases à cocher */
.checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox label {
    margin-bottom: 0;
    font-size: 14px;
}

/* Boutons du formulaire */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    background: #B22222;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #8B1A1A;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: #545b62;
}

.form-notice {
    margin-top: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 5px;
    font-size: 14px;
}

.form-notice i {
    color: #007bff;
    margin-right: 5px;
}

/* Processus d'adhésion */
.process-section {
    padding: 60px 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #B22222;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-content h4 {
    color: #B22222;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .payment-options {
        flex-direction: column;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}