@charset "UTF-8";
/**
 * Theme 2026 - Modals CSS
 * Styles pour les fenêtres modales (langue, cookies)
 *
 * @version 1.0.0
 * @date 2026-02
 */

/* ==========================================================================
   LANGUAGE MODAL
   ========================================================================== */

/* Language Modal Button in Footer */
.language-modal-btn {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: inherit;
	padding: 6px 12px;
	border-radius: 0;
	cursor: pointer;
	font-family: 'Oswald', sans-serif;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	vertical-align: middle;
}

.language-modal-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-1px);
}

.language-modal-btn .globe-icon {
	font-size: 16px;
}

.language-modal-btn .current-lang {
	font-weight: 500;
	letter-spacing: 1px;
}

/* Language Modal */
.language-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.language-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
}

.language-modal-content {
	position: relative;
	background: #fff;
	border-radius: 0;
	max-width: 480px;
	width: 90%;
	max-height: 80vh;
	overflow: hidden;
	box-shadow: 0px 0px 3px 0px rgba(6, 6, 6, 0.14);
	border: 1px solid #F1F1F1;
	z-index: 10001;
	animation: slideIn 0.3s ease;
}

@keyframes slideIn {
	from {
		transform: translateY(-30px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.language-modal-header {
	padding: 24px 28px;
	border-bottom: 1px solid #F1F1F1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #000;
	color: #fff;
	position: relative;
}

.language-modal-header:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 28px;
	width: 40px;
	height: 2px;
	background-color: #A86F37;
}

.language-modal-header h3 {
	margin: 0;
	font-family: 'Oswald', sans-serif;
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 10px;
}

.language-modal-header .globe-icon {
	font-size: 18px;
	opacity: 0.8;
}

.language-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	color: #fff;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: all 0.3s ease;
	opacity: 0.7;
}

.language-modal-close:hover {
	opacity: 1;
	transform: rotate(90deg);
}

.language-modal-body {
	padding: 12px;
	max-height: calc(80vh - 100px);
	overflow-y: auto;
	background: #fff;
}

/* Language Options */
.language-option {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	text-decoration: none;
	color: #222;
	border-radius: 0;
	margin: 6px 0;
	transition: all 0.3s ease;
	position: relative;
	border: 1px solid transparent;
}

.language-option:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	background-color: #A86F37;
	transition: width 0.3s ease;
}

.language-option:hover {
	background: #F7F7F7;
	border-left: 1px solid #F1F1F1;
	padding-left: 20px;
}

.language-option:hover:after {
	width: 3px;
}

.language-option.active {
	background: #F7F7F7;
	border-left: 1px solid #000;
	padding-left: 20px;
}

.language-option.active:after {
	width: 3px;
	background-color: #000;
}

.language-option .flag {
	font-size: 28px;
	width: 36px;
	text-align: center;
	position: relative;
	z-index: 1;
}

.language-option .lang-names {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
	position: relative;
	z-index: 1;
}

.language-option .lang-native {
	font-family: 'Oswald', sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.5px;
	color: #222;
	text-transform: uppercase;
}

.language-option .lang-english {
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 300;
	color: #666;
	letter-spacing: 0.05em;
}

.language-option .checkmark {
	color: #A86F37;
	font-size: 20px;
	font-weight: bold;
	position: relative;
	z-index: 1;
}

/* Scrollbar styling */
.language-modal-body::-webkit-scrollbar {
	width: 6px;
}

.language-modal-body::-webkit-scrollbar-track {
	background: #F7F7F7;
}

.language-modal-body::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 0;
}

.language-modal-body::-webkit-scrollbar-thumb:hover {
	background: #A86F37;
}

/* ==========================================================================
   COOKIE SETTINGS MODAL
   ========================================================================== */

/* Cookie Settings Button */
.cookie-settings-btn {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: inherit;
	padding: 6px 12px;
	border-radius: 0;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Oswald', sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	margin-left: 8px;
}

.cookie-settings-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-1px);
}

/* Cookie Modal Wide */
.cookie-modal-wide {
	max-width: 500px;
	width: 90%;
}

/* Cookie Settings Modal Body */
.cookie-settings-body {
	padding: 24px !important;
	text-align: center;
}

.cookie-description {
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #666;
	line-height: 1.6;
	margin-bottom: 24px;
}

/* Cookie Global Actions */
.cookie-global-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 20px;
}

.cookie-btn {
	padding: 10px 24px;
	font-family: 'Oswald', sans-serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 4px;
	border: 1px solid;
}

.cookie-btn-accept {
	background: linear-gradient(90deg, #A86F37 0%, #C89554 100%);
	border-color: #A86F37;
	color: #fff;
}

.cookie-btn-accept:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(168, 111, 55, 0.3);
}

.cookie-btn-refuse {
	background: transparent;
	border-color: #ccc;
	color: #666;
}

.cookie-btn-refuse:hover {
	background: rgba(0, 0, 0, 0.05);
	border-color: #999;
}

/* Toggle Detail Mode */
.cookie-toggle-mode {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: transparent;
	border: none;
	color: #A86F37;
	font-family: 'Oswald', sans-serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1px;
	cursor: pointer;
	padding: 10px;
	margin-bottom: 16px;
	width: 100%;
	transition: color 0.3s ease;
}

.cookie-toggle-mode:hover {
	color: #C89554;
}

.toggle-arrow {
	font-size: 10px;
	transition: transform 0.3s ease;
}

/* Cookie Toggle Switch */
.cookie-toggle-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 20px;
}

.cookie-switch {
	position: relative;
	display: inline-block;
	width: 52px;
	height: 28px;
}

.cookie-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cookie-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.3s;
	border-radius: 28px;
}

.cookie-slider:before {
	position: absolute;
	content: "";
	height: 22px;
	width: 22px;
	left: 3px;
	bottom: 3px;
	background-color: #fff;
	transition: 0.3s;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .cookie-slider {
	background: linear-gradient(90deg, #A86F37 0%, #C89554 100%);
}

.cookie-switch input:checked + .cookie-slider:before {
	transform: translateX(24px);
}

.cookie-toggle-label {
	font-family: 'Oswald', sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 1px;
	color: #333;
}

/* Cookie Status */
.cookie-status {
	margin-bottom: 24px;
	padding: 12px;
	background: rgba(0, 0, 0, 0.03);
	border-radius: 6px;
}

.cookie-status span {
	font-family: 'Oswald', sans-serif;
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 1px;
	color: #888;
	text-transform: uppercase;
}

/* Cookie Save Button */
.cookie-save-btn {
	background: linear-gradient(90deg, #A86F37 0%, #C89554 100%);
	border: none;
	color: #fff;
	padding: 12px 32px;
	font-family: 'Oswald', sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 4px;
}

.cookie-save-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(168, 111, 55, 0.3);
}

/* Cookie Categories */
.cookie-categories {
	text-align: left;
	margin-bottom: 20px;
	border-top: 1px solid #eee;
	padding-top: 16px;
}

.cookie-category {
	padding: 16px 0;
	border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
	border-bottom: none;
}

.cookie-category-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.cookie-category-info {
	flex: 1;
}

.cookie-category-info h4 {
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	color: #333;
	margin: 0 0 6px 0;
}

.cookie-category-info p {
	font-family: 'Oswald', sans-serif;
	font-size: 12px;
	font-weight: 300;
	color: #888;
	line-height: 1.5;
	margin: 0;
}

.cookie-category-toggle {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.cookie-always-active {
	font-family: 'Oswald', sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1px;
	color: #A86F37;
	text-transform: uppercase;
	background: rgba(168, 111, 55, 0.1);
	padding: 4px 10px;
	border-radius: 4px;
}

/* ==========================================================================
   FOOTER LANGUAGE SELECTOR
   ========================================================================== */

.footer-language-selector {
	display: inline-block;
	white-space: nowrap;
}

.footer-language-selector a {
	color: inherit;
	text-decoration: none;
	padding: 2px 4px;
	transition: opacity 0.3s ease;
	opacity: 0.7;
}

.footer-language-selector a:hover {
	opacity: 1;
	text-decoration: underline;
}

.footer-language-selector a.active {
	opacity: 1;
	font-weight: bold;
	text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE - TABLET & MOBILE
   ========================================================================== */

@media (max-width: 768px) {
	/* Footer */
	.footer-links {
		line-height: 1.8;
	}

	.footer-language-selector {
		display: block;
		margin-top: 5px;
	}

	/* Language Modal */
	.language-modal-content {
		width: 95%;
		max-height: 85vh;
	}

	.language-modal-header {
		padding: 20px 24px;
	}

	.language-modal-header h3 {
		font-size: 15px;
	}

	.language-option {
		padding: 12px 14px;
	}

	.language-option:hover,
	.language-option.active {
		padding-left: 18px;
	}

	.language-option .flag {
		font-size: 24px;
		width: 32px;
	}

	.language-option .lang-native {
		font-size: 14px;
	}

	.language-option .lang-english {
		font-size: 10px;
	}

	/* Cookie Modal */
	.cookie-settings-body {
		padding: 20px !important;
	}

	.cookie-description {
		font-size: 13px;
	}

	.cookie-toggle-label {
		font-size: 14px;
	}

	.cookie-modal-wide {
		max-width: 100%;
		width: 95%;
		margin: 10px;
	}

	.cookie-global-actions {
		flex-direction: column;
		gap: 8px;
	}

	.cookie-btn {
		width: 100%;
	}

	.cookie-category-header {
		flex-direction: column;
		gap: 12px;
	}

	.cookie-category-toggle {
		align-self: flex-start;
	}
}
