
:root {
	--primary-color: #fb236a; /* Rose vif */
	--secondary-color: #5c5f7f; /* Gris-bleu */
	--tertiary-color: #17a2b8; /* Bleu-vert */
	--text-color: #333;
	--light-grey: #f8f9fa;
	--border-color: #dee2e6;
	--white: #fff;
	--shadow-light: rgba(0, 0, 0, 0.1);
}

body {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	padding: 0;
	background-color: var(--light-grey);
	color: var(--text-color);
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	color: var(--primary-color); /* Titres principaux en rose vif */
	margin-top: 0;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

/* Header */
header {
	background-color: var(--white);
	padding: 15px 0;
	box-shadow: var(--shadow-light);
	border-bottom: 1px solid var(--border-color);
}

header .logo {
	font-size: 24px;
	font-weight: bold;
	color: var(--primary-color);
	text-decoration: none;
}

/* Banner */
.banner {
	position: relative;
	height: 400px;
	/* background: url('https://picsum.photos/1200/300?random=1') no-repeat center center/cover; */
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	text-align: center;
	margin-bottom: 30px;
	overflow: hidden;
}

/* Nouveau style pour l'image de la bannière ajoutée via HTML */
.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre toute la zone sans être déformée */
    z-index: 0; /* Place l'image en arrière-plan */
}

.banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
}

.banner-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.banner .company-logo {
	width: 350px;
	height: 175px;
	/* Supprimez ou commentez la ligne suivante pour retirer la forme circulaire */
	/* border-radius: 50%; */
	border: 5px solid var(--white);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	object-fit: cover;
	margin-bottom: 15px;
}

.banner h1 {
	color: var(--white);
	font-size: 2.8em;
	margin: 0;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Main Content Layout */
.main-content {
	display: flex;
	gap: 30px;
}

.employer-brand-area {
	flex: 4; /* 80% */
	background-color: var(--white);
	padding: 30px;
	border-radius: 8px;
	box-shadow: var(--shadow-light);
}

.widgets-area {
	flex: 1; /* 20% */
	background-color: var(--white);
	padding: 20px;
	border-radius: 8px;
	box-shadow: var(--shadow-light);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.widget {
	background-color: var(--light-grey);
	padding: 15px;
	border-radius: 6px;
	border: 1px solid var(--border-color);
}

.widget h4 {
	color: var(--primary-color); /* Titres de widget en rose vif */
	margin-bottom: 10px;
	font-size: 1.1em;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 8px;
}

.widget p {
	font-size: 0.9em;
	color: var(--secondary-color);
	margin-bottom: 10px;
}

.widget .news-item, .widget .review-item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--border-color);
}
.widget .news-item:last-child, .widget .review-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.widget .news-item h5, .widget .review-item h5 {
	margin: 0 0 5px 0;
	font-size: 1em;
	color: var(--secondary-color); /* Titres d'items de widget en rose vif */
}
.widget .news-item p, .widget .review-item p {
	margin: 0;
	font-size: 0.85em;
	color: var(--secondary-color);
}
.widget .news-item span.date, .widget .review-item span.author {
	display: block;
	font-size: 0.75em;
	color: #999;
	margin-top: 5px;
}

.widget .job-link {
	display: block;
	margin-top: 15px;
	background-color: var(--tertiary-color); /* Boutons en bleu-vert */
	color: var(--white);
	padding: 10px 15px;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease;
	text-align: center;
	font-size: 0.95em;
}
.widget .job-link:hover {
	background-color: #138496; /* Nuance plus foncée du bleu-vert au survol */
}

.widget .social-links {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 15px;
}
.widget .social-links a {
	color: var(--tertiary-color); /* Icônes sociales de widget en bleu-vert */
	font-size: 1.8em;
	transition: color 0.3s ease;
}
.widget .social-links a:hover {
	color: #138496; /* Nuance plus foncée du bleu-vert au survol */
}

/* Tabs Navigation */
.tabs-nav {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 2px solid var(--border-color);
	margin-bottom: 20px;
}

.tabs-nav button {
	background-color: transparent;
	border: none;
	padding: 15px 20px;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	color: var(--secondary-color);
	border-bottom: 3px solid transparent;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.tabs-nav button:hover {
	color: var(--primary-color);
}

.tabs-nav button.active {
	color: var(--primary-color);
	border-bottom-color: var(--primary-color);
}

/* Tab Content */
.tab-content {
	display: none;
	padding-top: 20px;
}

.tab-content.active {
	display: block;
}

/* Generic Section Styling */
.section-block {
	background-color: var(--light-grey);
	padding: 20px;
	border-radius: 6px;
	margin-bottom: 20px;
	border: 1px solid var(--border-color);
}

.section-block h3 {
	color: var(--primary-color); /* Titres de section en rose vif */
	margin-bottom: 15px;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 10px;
	font-size: 1.4em;
}

/* Tab Profil Specific */
.profile-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.profile-stat-item {
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: var(--white);
	padding: 15px;
	border-radius: 6px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	border: 1px solid var(--border-color);
}

.profile-stat-item i {
	color: var(--primary-color); /* Icônes de statistiques en rose vif */
	font-size: 1.8em;
}

.profile-stat-item span {
	font-size: 1.1em;
	font-weight: 500;
	color: var(--secondary-color);
}

.profile-social-links {
	display: flex;
	gap: 15px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.profile-social-links a {
	color: var(--tertiary-color); /* Icônes sociales en bleu-vert */
	font-size: 2em;
	transition: transform 0.2s ease, color 0.3s ease;
}

.profile-social-links a:hover {
	transform: translateY(-3px);
	color: #138496; /* Nuance plus foncée du bleu-vert au survol */
}

.profile-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.profile-tags .tag {
	background-color: var(--secondary-color); /* Tags en gris-bleu */
	color: var(--white);
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.9em;
}

/* Tab Culture Specific */
.culture-section {
	margin-bottom: 30px;
}

.culture-section h4 {
	font-size: 1.2em;
	color: var(--primary-color); /* Titres de section culture en rose vif */
	margin-bottom: 10px;
}

.culture-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin-top: 15px;
}

.culture-gallery img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid var(--border-color);
}

/* Timeline */
.timeline {
	position: relative;
	padding: 20px 0;
	list-style: none;
	margin-left: 20px;
	border-left: 2px solid var(--secondary-color); /* Ligne de la timeline en gris-bleu */
}

.timeline:before {
	content: '';
	position: absolute;
	left: -1px;
	top: 0;
	bottom: 0;
	width: 2px;
	background-color: var(--secondary-color); /* Ligne de la timeline en gris-bleu */
}

.timeline-item {
	position: relative;
	margin-bottom: 30px;
	padding-left: 30px;
}

.timeline-item:before {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: var(--secondary-color); /* Points de la timeline en gris-bleu */
	border: 3px solid var(--white);
	left: -10px;
	top: 5px;
	z-index: 1;
}

.timeline-item-date {
	font-weight: 600;
	color: var(--secondary-color); /* Date de la timeline en gris-bleu */
	margin-bottom: 5px;
	font-size: 1.1em;
}

.timeline-item-description {
	background-color: var(--white);
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border: 1px solid var(--border-color);
}

/* Tab Equipe Specific */
.team-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.team-card {
	background-color: var(--light-grey);
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	border: 1px solid var(--border-color);
}

.team-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-card h4 {
	margin-bottom: 10px;
	color: var(--secondary-color); /* Titres de carte équipe en rose vif */
}

.team-members {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 15px;
	margin-top: 20px;
}

.member-card {
	background-color: var(--white);
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	border: 1px solid var(--border-color);
}

.member-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.member-card img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 10px;
	border: 2px solid var(--primary-color);
}

.member-card h5 {
	margin: 0 0 5px 0;
	color: var(--secondary-color); /* Nom du collaborateur en gris-bleu dans la liste */
	font-size: 1.1em;
}

.member-card p {
	font-size: 0.9em;
	color: var(--secondary-color);
}

.member-detail {
	display: none;
	margin-top: 20px;
	background-color: var(--light-grey);
	padding: 20px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	text-align: center;
}

.member-detail.active {
	display: block;
}

.member-detail img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 15px;
	border: 4px solid var(--primary-color);
}

.member-detail video {
	width: 100%;
	max-width: 400px;
	margin: 15px auto;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.member-detail h3 {
	margin-bottom: 10px;
	font-size: 1.8em;
	color: var(--secondary-color); /* Nom du collaborateur en rose vif dans le détail */
}

.member-detail p {
	margin-bottom: 8px;
	color: var(--secondary-color);
}

/* Tab Jobs Specific */
.job-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.job-offer-card {
	background-color: var(--light-grey);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	border: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.job-offer-card h4 {
	color: var(--secondary-color); /* Titres d'offres d'emploi en gris-bleu */
	margin-bottom: 10px;
	font-size: 1.3em;
}

.job-offer-card p {
	margin-bottom: 8px;
	font-size: 0.95em;
	color: var(--secondary-color);
}

.job-offer-card p i {
	margin-right: 5px;
	color: var(--primary-color); /* Icônes d'offres d'emploi en rose vif */
}

.job-offer-card .job-link {
	display: inline-block;
	margin-top: 15px;
	background-color: var(--tertiary-color); /* Boutons d'offres d'emploi en bleu-vert */
	color: var(--white);
	padding: 10px 15px;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease;
	text-align: center;
}

.job-offer-card .job-link:hover {
	background-color: #138496; /* Nuance plus foncée du bleu-vert au survol */
}

/* Tab Avantages Specific */
.benefits-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.benefits-tags .tag {
	background-color: var(--secondary-color); /* Tags d'avantages en gris-bleu */
	color: var(--white);
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 0.95em;
	font-weight: 500;
}

/* Tab Actus Specific */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.news-card {
	background-color: var(--light-grey);
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	border: 1px solid var(--border-color);
}

.news-card h4 {
	margin-bottom: 10px;
	color: var(--secondary-color); /* Titres d'actualités en gris-bleu */
	font-size: 1.2em;
}

.news-card p {
	font-size: 0.9em;
	color: var(--secondary-color);
	margin-bottom: 15px;
}

.news-card .news-meta {
	font-size: 0.8em;
	color: #888;
	margin-bottom: 10px;
	display: block;
}

.news-card .share-link {
	display: inline-block;
	background-color: var(--tertiary-color); /* Boutons de partage en bleu-vert */
	color: var(--white);
	padding: 8px 12px;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	font-size: 0.9em;
	transition: background-color 0.3s ease;
}

.news-card .share-link:hover {
	background-color: #138496; /* Nuance plus foncée du bleu-vert au survol */
}

/* Tab Avis Specific */
.review-form-section {
	background-color: var(--light-grey);
	padding: 20px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	margin-bottom: 30px;
}

.review-form-section label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--secondary-color);
}

.review-form-section input[type="text"],
.review-form-section textarea,
.review-form-section select {
	width: calc(100% - 20px);
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	font-family: inherit;
	color: var(--text-color);
}

.review-form-section input[type="radio"] {
	margin-right: 5px;
}

.review-form-section .rating-stars {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 15px;
}

.review-form-section .rating-stars .star {
	font-size: 1.5em;
	color: #ccc;
	cursor: pointer;
}

.review-form-section .rating-stars .star.selected {
	color: #ffc107; /* Gold for selected stars */
}

.review-form-section button {
	background-color: var(--tertiary-color); /* Boutons de formulaire d'avis en bleu-vert */
	color: var(--white);
	padding: 12px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1.1em;
	transition: background-color 0.3s ease;
}

.review-form-section button:hover {
	background-color: #138496; /* Nuance plus foncée du bleu-vert au survol */
}

.reviews-summary {
	background-color: var(--secondary-color); /* Gris-bleu pour le fond du résumé des avis */
	color: var(--white);
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	margin-bottom: 30px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.reviews-summary h3 {
	color: var(--white); /* Titre du résumé des avis en blanc pour contraste */
	margin-bottom: 10px;
	border-bottom: none;
	padding-bottom: 0;
}
.reviews-summary .total-reviews {
	font-size: 1.1em;
	margin-bottom: 5px;
}
.reviews-summary .global-rating {
	font-size: 2.5em;
	font-weight: 700;
	margin-bottom: 5px;
}
.reviews-summary .global-stars {
	color: #ffc107; /* Gold stars */
	font-size: 1.8em;
	margin-bottom: 10px;
}
.reviews-summary .recommendation {
	font-size: 1em;
	font-weight: 500;
}


.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.testimonial-card {
	background-color: var(--light-grey);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	border: 1px solid var(--border-color);
}

.testimonial-card .quote {
	font-style: italic;
	margin-bottom: 15px;
	color: var(--secondary-color);
	line-height: 1.8;
}

.testimonial-card .author {
	font-weight: 600;
	color: var(--primary-color); /* Auteur de témoignage en rose vif */
	text-align: right;
	display: block;
}

.testimonial-card .rating-display {
	color: #ffc107;
	font-size: 1.2em;
	margin-bottom: 10px;
}

/* Tab Bureaux Specific */
.office-locations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.office-card {
	background-color: var(--light-grey);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	border: 1px solid var(--border-color);
}

.office-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 15px;
	border: 1px solid var(--border-color);
}

.office-card h4 {
	color: var(--secondary-color); /* Titres de bureau en gris-bleu */
	margin-bottom: 10px;
	font-size: 1.3em;
}

.office-card address {
	font-style: normal;
	margin-bottom: 10px;
	color: var(--secondary-color);
}

.office-card p {
	font-size: 0.95em;
	margin-bottom: 15px;
	color: var(--secondary-color);
}

.office-card .view-on-map {
	display: inline-block;
	background-color: var(--tertiary-color); /* Boutons "Voir sur la carte" en bleu-vert */
	color: var(--white);
	padding: 8px 12px;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.office-card .view-on-map:hover {
	background-color: #138496; /* Nuance plus foncée du bleu-vert au survol */
}

/* Footer */
footer {
	background-color: #343a40; /* Dark grey */
	color: var(--white);
	padding: 30px 0;
	text-align: center;
	margin-top: 50px;
}

footer p {
	margin: 0;
	font-size: 0.9em;
}

footer .social-links a {
	color: var(--tertiary-color); /* Icônes sociales du footer en bleu-vert */
	margin: 0 10px;
	font-size: 1.5em;
	transition: color 0.3s ease;
}

footer .social-links a:hover {
	color: #138496; /* Nuance plus foncée du bleu-vert au survol */
}

/* Responsive adjustments */
@media (max-width: 992px) {
	.main-content {
		flex-direction: column;
	}
	.employer-brand-area, .widgets-area {
		flex: none;
		width: 100%;
	}
	.tabs-nav {
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.banner h1 {
		font-size: 2em;
	}
	.tabs-nav button {
		padding: 12px 15px;
		font-size: 0.9em;
	}
	.profile-stats {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.banner .company-logo {
		width: 100px;
		height: 100px;
	}
	.banner h1 {
		font-size: 1.5em;
	}
	.profile-social-links {
		justify-content: center;
	}
	.widgets-area {
		padding: 15px;
	}
}
