/* Sector Pages - Specific Styles - Extracted from secteurs/*.html */

/* =============================================
   HEADER SCROLL EFFECT FOR SECTOR PAGES
   ============================================== */

/* Default state: transparent */
.theme-main-menu.sticky-menu.theme-menu-six,
.theme-main-menu.sticky-menu.theme-menu-six.bg-none {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state: visible background (.fixed from theme.js, .is-scrolled from hero.js) */
.theme-main-menu.sticky-menu.fixed,
.theme-main-menu.sticky-menu.theme-menu-six.fixed,
.theme-main-menu.sticky-menu.theme-menu-six.bg-none.fixed,
.theme-main-menu.sticky-menu.is-scrolled,
.theme-main-menu.sticky-menu.theme-menu-six.is-scrolled,
.theme-main-menu.sticky-menu.theme-menu-six.bg-none.is-scrolled {
  background: rgba(6, 47, 43, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  z-index: 9999;
}

/* =============================================
   SECTOR HERO
   ============================================== */

.sector-hero {
	position: relative;
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--bg-body);
	padding-top: 140px;
	padding-bottom: 60px;
}

.sector-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse at center top, rgba(19, 113, 91, 0.12) 0%, transparent 60%);
	z-index: 0;
}

.sector-hero::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		linear-gradient(rgba(19, 113, 91, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(19, 113, 91, 0.03) 1px, transparent 1px);
	background-size: 50px 50px;
	opacity: 0.3;
	z-index: 0;
}

.sector-hero .container {
	position: relative;
	z-index: 1;
	text-align: center;
}

.sector-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	background: rgba(19, 113, 91, 0.15);
	color: var(--accent-muted);
	border-radius: 30px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid rgba(19, 113, 91, 0.3);
	margin-bottom: 24px;
}

.sector-badge-dot {
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: 50%;
}

.sector-hero h1 {
	font-size: 72px;
	font-family: var(--font-heading);
	color: var(--text);
	line-height: 1.2;
	margin-bottom: 16px;
}

.sector-hero p {
	font-size: 20px;
	color: var(--text-muted);
	line-height: 1.6;
}

/* Content Section */
.sector-content {
	background: var(--bg-body);
	padding: 100px 0;
}

.content-wrapper {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 60px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}

.content-main h2 {
	font-size: 36px;
	color: var(--text);
	font-family: var(--font-heading);
	margin-bottom: 16px;
	line-height: 1.3;
}

.content-main .lead {
	font-size: 20px;
	color: var(--text-muted);
	margin-bottom: 40px;
	line-height: 1.8;
}

.content-main p {
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: 24px;
}

.content-main img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	margin: 40px 0;
}

/* Benefits Grid */
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin: 40px 0;
}

.benefit-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 32px;
	transition: all 0.3s ease;
}

.benefit-card:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(19, 113, 91, 0.3);
	transform: translateY(-4px);
}

.benefit-card h4 {
	color: var(--text);
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 20px 0;
}

.benefit-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.benefit-card li {
	color: var(--text-secondary);
	padding: 10px 0 10px 28px;
	position: relative;
	font-size: 14px;
	line-height: 1.6;
}

.benefit-card li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: bold;
	font-size: 16px;
}

/* CTA Banner */
.cta-banner {
	background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-darker) 100%);
	border-radius: 20px;
	padding: 40px;
	margin: 60px 0;
	position: relative;
	overflow: hidden;
}

.cta-banner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
	pointer-events: none;
}

.cta-banner h3 {
	color: rgba(255,255,255,0.7);
	font-size: 16px;
	font-weight: 400;
	margin: 0 0 12px 0;
}

.cta-banner h2 {
	color: var(--text);
	font-size: 28px;
	margin: 0 0 24px 0;
	font-family: var(--font-heading);
	position: relative;
	z-index: 1;
}

.cta-buttons {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

/* FAQ Section */
.faq-section {
	margin-top: 60px;
}

.faq-section h3 {
	font-size: 28px;
	color: var(--text);
	font-family: var(--font-heading);
	margin-bottom: 32px;
}

.faq-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	margin-bottom: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item:hover {
	border-color: rgba(19, 113, 91, 0.3);
}

.faq-question {
	width: 100%;
	padding: 20px 24px;
	background: transparent;
	border: none;
	color: var(--text);
	font-size: 16px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: color 0.2s ease;
}

.faq-question:hover {
	color: var(--accent-muted);
}

.faq-chevron {
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
	color: var(--accent-muted);
	flex-shrink: 0;
}

.faq-item.active .faq-chevron {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
	max-height: 500px;
}

.faq-answer p {
	padding: 0 24px 20px;
	margin: 0;
	color: var(--text-secondary);
	font-size: 15px;
}

/* Sidebar */
.sidebar {
	position: sticky;
	top: 120px;
}

.sidebar-section {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 32px;
	margin-bottom: 24px;
}

.sidebar-section h4 {
	color: var(--text);
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 20px 0;
}

.sidebar-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-section li {
	margin-bottom: 8px;
}

.sidebar-section a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
	display: block;
	padding: 8px 0;
}

.sidebar-section a:hover,
.sidebar-section a.active {
	color: var(--accent-muted);
}

.sidebar-section a.active {
	font-weight: 600;
}

.sidebar-testimonial {
	background: linear-gradient(135deg, rgba(19, 113, 91, 0.1) 0%, rgba(19, 113, 91, 0.05) 100%);
	border: 1px solid rgba(19, 113, 91, 0.3);
	border-radius: 20px;
	padding: 32px;
}

.sidebar-testimonial p {
	color: var(--text);
	font-style: italic;
	line-height: 1.6;
	margin: 0 0 16px 0;
	font-size: 15px;
}

.sidebar-testimonial span {
	color: var(--accent-muted);
	font-size: 13px;
}

/* Sectors Slider */
.sectors-slider {
	background: var(--bg2);
	padding: 100px 0;
}

.slider-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1320px;
	margin: 0 auto 60px;
	padding: 0 24px;
}

.slider-header h2 {
	color: var(--text);
	font-size: 36px;
	font-family: var(--font-heading);
	margin: 0;
}

.slider-arrows {
	display: flex;
	gap: 12px;
}

.slider-arrow {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: var(--text-muted);
	cursor: pointer;
	transition: all 0.3s ease;
}

.slider-arrow:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--accent-muted);
	border-color: rgba(19, 113, 91, 0.3);
}

.slider-arrow.prev {
	transform: rotate(180deg);
}

/* Slick Overrides */
.portfolio_slider_one {
	padding: 0 24px;
}

.portfolio_slider_one .item {
	padding: 0 12px;
}

.sector-card-item {
	display: block;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.sector-card-item:hover {
	transform: translateY(-8px);
}

.sector-card-image {
	position: relative;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
	background: rgba(255, 255, 255, 0.03);
	height: 250px;
}

.sector-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.sector-card-item:hover .sector-card-image img {
	transform: scale(1.05);
}

.sector-card-content {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: none;
	border-radius: 0 0 20px 20px;
	padding: 24px;
	transition: all 0.3s ease;
}

.sector-card-item:hover .sector-card-content {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(19, 113, 91, 0.3);
}

.sector-card-tag {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 8px;
}

.sector-card-title {
	font-size: 24px;
	color: var(--text);
	font-family: var(--font-heading);
	margin: 0;
}

/* Final CTA */
.final-cta {
	background: var(--bg-body);
	padding: 150px 0;
	position: relative;
	overflow: hidden;
}

.final-cta::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(19, 113, 91, 0.1) 0%, transparent 70%);
	pointer-events: none;
}

.final-cta .container {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 24px;
}

.final-cta h2 {
	font-size: 48px;
	color: var(--text);
	font-family: var(--font-heading);
	margin-bottom: 16px;
	line-height: 1.3;
}

.final-cta p {
	font-size: 20px;
	color: var(--text-muted);
	margin-bottom: 40px;
}

.final-cta .note {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 24px;
}

/* Buttons */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 40px;
	font-size: 16px;
	font-weight: 500;
	border-radius: 18px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	background: var(--accent-dark);
	color: var(--text);
}

.btn-primary:hover {
	background: var(--accent-darker);
	transform: translateY(-2px);
	box-shadow: 0 15px 40px rgba(19, 113, 91, 0.4);
	color: var(--text);
}

.btn-primary--large {
	padding: 20px 50px;
	font-size: 18px;
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 40px;
	font-size: 16px;
	font-weight: 500;
	border-radius: 18px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	background: transparent;
	color: var(--accent-muted);
	border: 2px solid rgba(19, 113, 91, 0.3);
}

.btn-secondary:hover {
	background: rgba(19, 113, 91, 0.1);
	border-color: var(--accent-dark);
	color: var(--accent);
}

/* Footer Styles */
.footer {
	background: var(--bg2);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 100px 0 40px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1.5fr 1fr;
	gap: 60px;
	max-width: 1320px;
	margin: 0 auto 60px;
	padding: 0 24px;
}

.footer-brand img {
	margin-bottom: 16px;
}

.footer-col h5 {
	color: var(--text);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col li {
	margin-bottom: 12px;
}

.footer-col a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.footer-col a:hover {
	color: var(--accent-muted);
}

.footer-bottom {
	max-width: 1320px;
	margin: 0 auto;
	padding: 24px 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-bottom p {
	color: var(--text-muted);
	margin: 0;
	font-size: 14px;
}

.footer-social {
	display: flex;
	gap: 12px;
}

.footer-social a {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: var(--text-muted);
	transition: all 0.3s ease;
	text-decoration: none;
}

.footer-social a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--accent-muted);
	border-color: rgba(19, 113, 91, 0.3);
	transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
	.content-wrapper {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.sidebar {
		position: relative;
		top: auto;
	}

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

@media (max-width: 767px) {
	.sector-hero {
		padding-top: 120px;
		padding-bottom: 40px;
		min-height: auto;
	}

	.sector-hero h1 {
		font-size: 42px;
	}

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

	.slider-header {
		flex-direction: column;
		gap: 24px;
		text-align: center;
	}

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

	.footer-bottom {
		flex-direction: column;
		gap: 24px;
		text-align: center;
	}

	.final-cta h2 {
		font-size: 36px;
	}
}
