/**
 * TIC INNOV — Header & Footer (reproduction TicInnov)
 */

/* Masquer tout résidu Colibri/Page Builder */
body.tic-has-custom-layout .header,
body.tic-has-custom-layout .footer,
body.tic-has-custom-layout .page-footer,
body.tic-has-custom-layout [data-colibri-component="footer-parallax"],
body.tic-has-custom-layout .h-navigation_outer {
	display: none !important;
}

body.tic-has-custom-layout,
body.tic-has-custom-layout #page-top {
	background-color: var(--tic-bg-primary, #0a0f1e);
	color: var(--tic-text-primary, #f3f4f6);
}

/* Colibri met overflow:hidden sur #page-top — casse position:sticky */
body.tic-has-custom-layout #page-top {
	overflow: visible !important;
}

/* Offset header fixe */
body.tic-has-custom-layout {
	padding-top: 4rem;
}

body.tic-has-custom-layout.admin-bar {
	padding-top: calc(4rem + 32px);
}

body.tic-has-custom-layout.admin-bar .tic-header-nav {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.tic-has-custom-layout.admin-bar {
		padding-top: calc(4rem + 46px);
	}

	body.tic-has-custom-layout.admin-bar .tic-header-nav {
		top: 46px;
	}
}

body.tic-has-custom-layout.tic-homepage {
	padding-top: 0;
}

/* ========== HEADER (TicInnov) ========== */
.tic-header-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background-color: var(--tic-header-nav-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--tic-header-nav-border);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.tic-header-nav.is-scrolled {
	background-color: var(--tic-header-nav-bg-scrolled);
	box-shadow: var(--tic-header-nav-shadow);
}

.tic-header-nav__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4rem;
	gap: 0.75rem;
}

.tic-header-nav__logo {
	flex-shrink: 0;
	min-width: 0;
}

/* Groupe droite : langue + actions desktop + hamburger */
.tic-header-nav__tools {
	display: flex;
	align-items: center;
	gap: clamp(0.375rem, 2vw, 0.75rem);
	flex-shrink: 0;
	margin-left: auto;
}

/* --- Theme toggle (Light / Dark) --- */
.tic-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 0.625rem;
	background: var(--tic-theme-toggle-bg);
	border: 1px solid var(--tic-theme-toggle-border);
	color: var(--tic-theme-toggle-color);
	cursor: pointer;
	transition: background-color 300ms ease-in-out, border-color 300ms ease-in-out, color 300ms ease-in-out, box-shadow 300ms ease-in-out, transform 150ms ease;
	-webkit-tap-highlight-color: transparent;
}

.tic-theme-toggle:hover {
	box-shadow: 0 8px 24px rgba(56, 189, 248, 0.18);
	transform: translateY(-1px);
}

.tic-theme-toggle svg {
	width: 1.125rem;
	height: 1.125rem;
}

@media (max-width: 1023px) {
	.tic-theme-toggle {
		width: 1.75rem;
		height: 1.75rem;
	}

	.tic-theme-toggle svg {
		width: 1rem;
		height: 1rem;
	}
}

.tic-theme-toggle__icon {
	display: none;
}

html[data-theme="dark"] .tic-theme-toggle__icon--sun {
	display: inline-flex;
}

html[data-theme="dark"] .tic-theme-toggle__icon--moon {
	display: none;
}

html[data-theme="light"] .tic-theme-toggle__icon--sun {
	display: none;
}

html[data-theme="light"] .tic-theme-toggle__icon--moon {
	display: inline-flex;
}

/* Logo texte + globe tech (header / footer) */
.tic-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	text-decoration: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.tic-logo__mark {
	display: flex;
	flex-shrink: 0;
}

.tic-logo__globe {
	display: block;
	width: 2rem;
	height: 2rem;
	shape-rendering: geometricPrecision;
	filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.22));
	transition: filter 0.25s ease, transform 0.25s ease;
}

.tic-logo:hover .tic-logo__globe {
	filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.38));
	transform: scale(1.04);
}

.tic-logo__text {
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--tic-text-primary);
	white-space: nowrap;
}

.tic-logo__accent {
	background: linear-gradient(90deg, #f79007, #38bdf8);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.tic-logo--footer {
	margin-bottom: 1rem;
}

.tic-logo--footer .tic-logo__globe {
	width: 1.75rem;
	height: 1.75rem;
}

.tic-logo--footer .tic-logo__text {
	font-size: 1rem;
	font-weight: 600;
}

.tic-logo__fallback {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--tic-text-primary);
}

.tic-logo__fallback .tic-logo__accent {
	color: #38bdf8;
}

/* Menu desktop */
.tic-header-nav__menu-wrap {
	display: none;
	flex: 1;
	justify-content: center;
}

@media (min-width: 1024px) {
	.tic-header-nav__menu-wrap {
		display: flex;
	}
}

.tic-nav__menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tic-nav__menu a {
	display: block;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	color: var(--tic-text-body);
	text-decoration: none;
	border-radius: 0.5rem;
	transition: color 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 1024px) {
	.tic-nav__menu a {
		white-space: nowrap;
	}
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.tic-nav__menu a {
		padding: 0.5rem 0.625rem;
		font-size: 0.8125rem;
	}
}

.tic-nav__menu a:hover,
.tic-nav__menu .current-menu-item > a,
.tic-nav__menu .is-active > a {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.05);
}

/* Actions desktop uniquement */
.tic-header-nav__actions {
	display: none;
	align-items: center;
	gap: 0.75rem;
}

@media (min-width: 1024px) {
	.tic-header-nav__actions {
		display: flex;
	}
}

/* Sélecteur de langue GTranslate — thème sombre TIC INNOV */
.tic-header-nav__lang {
	position: relative;
	flex-shrink: 0;
}

body.tic-has-custom-layout .tic-header-nav__lang #gt_float_wrapper {
	position: static !important;
	z-index: auto !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher {
	font-size: 0.8125rem !important;
	line-height: 1.25 !important;
	border-radius: 0.5rem !important;
	color: #d1d5db !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(56, 189, 248, 0.22) !important;
	box-shadow: none !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	overflow: visible !important;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher:hover {
	border-color: rgba(56, 189, 248, 0.45) !important;
	background: rgba(255, 255, 255, 0.09) !important;
	box-shadow: 0 0 18px rgba(56, 189, 248, 0.14) !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt-selected,
body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt-selected .gt-current-lang {
	background-color: transparent !important;
	color: #f3f4f6 !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher img {
	width: 1.125rem !important;
	height: auto !important;
	margin: 0 0.375rem 0 0 !important;
	border-radius: 2px !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt-selected .gt-current-lang {
	padding: 0.5rem 0.75rem !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
	color: #e5e7eb !important;
	top: 0 !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
	width: 0.75rem !important;
	height: 0.75rem !important;
	background-size: 0.625rem !important;
	opacity: 0.7;
	filter: brightness(0) saturate(100%) invert(72%) sepia(35%) saturate(1200%) hue-rotate(170deg);
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options {
	position: absolute !important;
	top: calc(100% + 0.375rem) !important;
	right: 0 !important;
	left: auto !important;
	min-width: 11.5rem !important;
	max-width: min(16rem, calc(100vw - 2rem)) !important;
	max-height: 16rem !important;
	transform: none !important;
	float: none !important;
	background: rgba(10, 15, 30, 0.98) !important;
	border: 1px solid rgba(56, 189, 248, 0.22) !important;
	border-radius: 0.5rem !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(56, 189, 248, 0.45) rgba(255, 255, 255, 0.04);
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options a {
	display: flex !important;
	align-items: center !important;
	gap: 0.375rem;
	padding: 0.625rem 0.875rem !important;
	color: #9ca3af !important;
	font-size: 0.8125rem !important;
	white-space: normal !important;
	line-height: 1.35 !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options a:hover {
	background: rgba(56, 189, 248, 0.12) !important;
	color: #ffffff !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options::-webkit-scrollbar {
	width: 5px !important;
	height: 0 !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.04) !important;
	border-radius: 4px !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options::-webkit-scrollbar-thumb {
	background-color: rgba(56, 189, 248, 0.4) !important;
	border-radius: 4px !important;
	border: 1px solid rgba(10, 15, 30, 0.5) !important;
}

body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options::-webkit-scrollbar-thumb:hover {
	background-color: rgba(56, 189, 248, 0.6) !important;
}

/* --- Light Mode : GTranslate dropdown compatible --- */
html[data-theme="light"] body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options {
	background: var(--tic-surface-bg) !important;
	border: 1px solid var(--tic-surface-border) !important;
	box-shadow: 0 12px 40px rgba(2, 6, 23, 0.12) !important;
}

html[data-theme="light"] body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options a {
	color: var(--tic-text-body) !important;
}

html[data-theme="light"] body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options a:hover {
	background: rgba(37, 99, 235, 0.08) !important;
	color: var(--tic-text-primary) !important;
}

html[data-theme="light"] body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options::-webkit-scrollbar-track {
	background: rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt_options::-webkit-scrollbar-thumb {
	border: 1px solid rgba(15, 23, 42, 0.12) !important;
	background-color: rgba(14, 165, 233, 0.45) !important;
}

/* Masquer tout widget GTranslate flottant résiduel (cache / ancienne config) */
body.tic-has-custom-layout > #gt_float_wrapper,
body.tic-has-custom-layout #page-top > #gt_float_wrapper {
	display: none !important;
}

/* Empêche la barre Google Translate de créer un vide sous le header fixe */
body.tic-has-custom-layout.translated-ltr,
body.tic-has-custom-layout.translated-rtl,
html.translated-ltr body.tic-has-custom-layout,
html.translated-rtl body.tic-has-custom-layout {
	top: 0 !important;
}

body.tic-has-custom-layout > .skiptranslate,
body.tic-has-custom-layout iframe.goog-te-banner-frame {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
}

.tic-header-nav__ghost {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	color: #d1d5db;
	text-decoration: none;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.tic-header-nav__ghost:hover {
	color: #ffffff;
}

.tic-header-nav__ghost svg {
	width: 0.875rem;
	height: 0.875rem;
}

.tic-header-nav__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.6875rem 1.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #0a0f1e;
	text-decoration: none;
	background: linear-gradient(90deg, #f79007, #f5c842);
	border: none;
	border-radius: var(--tic-radius-button, 0.5rem);
	box-shadow: 0 4px 16px rgba(247, 144, 7, 0.35), var(--tic-btn-inset-shine);
	transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
}

.tic-header-nav__cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--tic-btn-shine);
	transform: translateX(-120%);
	transition: transform 0.55s ease;
	pointer-events: none;
}

.tic-header-nav__cta:hover::before {
	transform: translateX(120%);
}

.tic-header-nav__cta:hover {
	background: linear-gradient(90deg, #e07d00, #e8b923);
	box-shadow: 0 6px 22px rgba(247, 144, 7, 0.45), var(--tic-btn-inset-shine);
	color: #0a0f1e;
	transform: translateY(-1px);
}

.tic-header-nav__cta svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	stroke: currentColor;
}

/* Toggle mobile */
.tic-header-nav__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	border: none;
	border-radius: 0.5rem;
	background: transparent;
	color: #d1d5db;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tic-header-nav__toggle:hover {
	background-color: rgba(255, 255, 255, 0.05);
	color: #ffffff;
}

.tic-header-nav__toggle svg {
	width: 1.5rem;
	height: 1.5rem;
}

@media (min-width: 1024px) {
	.tic-header-nav__toggle {
		display: none;
	}
}

/* Menu mobile */
.tic-header-nav__mobile {
	padding-block: 0.75rem 1rem;
	background-color: var(--tic-header-nav-bg-scrolled);
	border-top: 1px solid var(--tic-header-nav-border);
	max-height: calc(100dvh - 4rem);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 1023px) {
	.tic-header-nav__bar {
		gap: 0.5rem;
	}

	.tic-header-nav__logo {
		flex: 1 1 auto;
	}

	.tic-logo__text {
		font-size: 0.9375rem;
	}

	.tic-logo__globe {
		width: 1.625rem;
		height: 1.625rem;
	}

	body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt-selected .gt-current-lang {
		padding: 0.375rem 0.5rem !important;
	}

	body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher img {
		width: 1rem !important;
		margin-right: 0.25rem !important;
	}
}

@media (max-width: 380px) {
	body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code,
	body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
		display: none !important;
	}

	body.tic-has-custom-layout .tic-header-nav__lang .gt_float_switcher .gt-selected .gt-current-lang {
		padding: 0.375rem !important;
	}
}

.tic-header-nav__mobile[hidden] {
	display: none !important;
}

.tic-nav__menu--mobile {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.tic-nav__menu--mobile a {
	padding: 0.875rem 0.5rem;
	font-size: 0.9375rem;
	color: #9ca3af;
	border-radius: 0.375rem;
}

.tic-nav__menu--mobile a:hover {
	color: #ffffff;
	background: transparent;
}

.tic-header-nav__mobile-divider {
	border: none;
	border-top: 1px solid var(--tic-header-nav-border);
	margin: 0.5rem 0 1rem;
}

.tic-header-nav__mobile-link {
	display: block;
	padding: 0.75rem 0.5rem;
	font-size: 0.9375rem;
	color: #d1d5db;
	text-decoration: none;
	border-radius: 0.375rem;
}

.tic-header-nav__mobile-link:hover {
	color: #ffffff;
}

.tic-header-nav__mobile-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding: 0.875rem 1.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #0a0f1e;
	text-decoration: none;
	border-radius: var(--tic-radius-button, 0.5rem);
	background: linear-gradient(90deg, #f79007, #f5c842);
	box-shadow: 0 4px 16px rgba(247, 144, 7, 0.32);
}

.tic-header-nav__mobile-cta:hover {
	color: #0a0f1e;
	background: linear-gradient(90deg, #e07d00, #e8b923);
}

.tic-header-nav__mobile-cta svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

/* ========== PAGE HERO INTERNE ========== */
.tic-page-hero {
	padding: 3rem 0 2rem;
	background-color: var(--tic-bg-secondary, #0d1325);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	margin-top: 0;
}

.tic-page-hero__title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--tic-text-primary);
	line-height: 1.2;
}

.tic-page-hero__subtitle {
	margin: 0.75rem 0 0;
	max-width: 40rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--tic-text-body, #9ca3af);
}

/* ========== PAGE 404 — layout compact (dark & light) ========== */
body.error404 .tic-page-hero {
	padding: 0 0 0.75rem;
}

body.error404 .page-404,
body.error404 .page-404 .content,
body.error404 .page-404 .h-section,
body.error404 .page-404 .h-section-boxed-container,
body.error404 .page-404 .h-section-grid-container,
body.error404 .page-404 [data-colibri-id="22-m1"],
body.error404 .page-404 #nothing-found,
body.error404 .page-404 .style-local-22-m1,
body.error404 .page-404 .style-132,
body.error404 .page-404 .style-133 {
	min-height: 0 !important;
	height: auto !important;
}

body.error404 .page-404 .h-section,
body.error404 .page-404 .h-section-grid-container,
body.error404 .page-404 .h-row-container {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.error404 .page-404 .h-row,
body.error404 .page-404 .h-row > .h-col,
body.error404 .page-404 .h-column__content,
body.error404 .page-404 .h-y-container {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	min-height: 0 !important;
}

body.error404 .page-404 .style-133 {
	padding-top: 0 !important;
}

body.error404 .style-134 h2 {
	font-size: clamp(3.5rem, 14vw, 7rem) !important;
	line-height: 1;
	color: var(--tic-text-primary) !important;
}

body.error404 .style-135 p {
	color: var(--tic-text-body) !important;
	font-size: 1rem !important;
}

body.error404 .style-137 {
	color: var(--tic-link) !important;
}

/* ========== FOOTER (TicInnov) ========== */
.tic-footer {
	background-color: var(--tic-footer-bg);
	color: var(--tic-text-body);
	padding: 4rem 1rem 2rem;
	border-top: 1px solid var(--tic-footer-border);
}

.tic-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-bottom: 3rem;
}

@media (min-width: 768px) {
	.tic-footer__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.tic-footer__grid {
		grid-template-columns: 1.2fr repeat(4, 1fr);
	}
}

.tic-footer__brand-col {
	grid-column: 1 / -1;
}

@media (max-width: 767px) {
	.tic-footer {
		padding-top: 3rem;
	}

	.tic-footer__brand-col {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding-bottom: 2rem;
		margin-bottom: 0.25rem;
		border-bottom: 1px solid var(--tic-divider-subtle);
	}

	.tic-logo--footer {
		margin-bottom: 1.25rem;
		justify-content: center;
	}

	.tic-footer__bio {
		width: 100%;
		max-width: min(100%, 22rem);
		margin-inline: auto;
		font-size: 0.875rem;
		line-height: 1.65;
		color: var(--tic-text-muted);
		text-align: justify;
		text-align-last: left;
		text-justify: inter-word;
		text-wrap: pretty;
		hyphens: auto;
		-webkit-hyphens: auto;
	}

	.tic-footer__social {
		justify-content: center;
	}
}

@media (max-width: 380px) {
	.tic-logo--footer {
		flex-direction: column;
		align-items: center;
		gap: 0.625rem;
		margin-bottom: 1rem;
	}

	.tic-logo--footer .tic-logo__globe {
		width: 2rem;
		height: 2rem;
	}

	.tic-logo--footer .tic-logo__text {
		font-size: 1.0625rem;
	}

	.tic-footer__bio {
		max-width: 100%;
		padding-inline: 0.25rem;
	}
}

@media (min-width: 1024px) {
	.tic-footer__brand-col {
		grid-column: auto;
	}
}

.tic-footer__brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.tic-footer__brand-name {
	font-size: 1rem;
	font-weight: 600;
	color: var(--tic-text-primary);
}

.tic-footer__bio {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--tic-text-muted);
	margin: 0;
	max-width: 20rem;
	text-align: justify;
	text-align-last: left;
	text-justify: inter-word;
	text-wrap: pretty;
	hyphens: auto;
	-webkit-hyphens: auto;
}

.tic-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin-top: 1.25rem;
}

.tic-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.375rem;
	height: 2.375rem;
	border-radius: 0.625rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: #d1d5db;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tic-footer__social-link:hover {
	transform: translateY(-1px);
	color: #fff;
}

.tic-footer__social-link svg {
	width: 1.125rem;
	height: 1.125rem;
}

.tic-footer__social-link--facebook:hover {
	background: rgba(59, 89, 152, 0.2);
	border-color: rgba(59, 89, 152, 0.35);
	color: #93c5fd;
}

.tic-footer__social-link--linkedin:hover {
	background: rgba(10, 102, 194, 0.2);
	border-color: rgba(10, 102, 194, 0.35);
	color: #7dd3fc;
}

.tic-footer__social-link--x:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.tic-footer__social-link--whatsapp {
	color: #25d366;
}

.tic-footer__social-link--whatsapp:hover {
	background: rgba(37, 211, 102, 0.18);
	border-color: rgba(37, 211, 102, 0.35);
	color: #4ade80;
}

.tic-footer__title {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--tic-text-primary);
	margin: 0 0 1rem;
	letter-spacing: 0.02em;
}

.tic-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.tic-footer__links a {
	font-size: 0.875rem;
	color: var(--tic-text-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tic-footer__links a:hover {
	color: var(--tic-text-primary);
}

.tic-footer__bottom {
	padding-top: 2rem;
	border-top: 1px solid var(--tic-divider-subtle);
	text-align: center;
}

.tic-footer__bottom p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--tic-text-muted);
}

/* ========== BOUTON RETOUR EN HAUT ========== */
.tic-back-to-top {
	--tic-btt-bg: linear-gradient(160deg, rgba(15, 23, 42, 0.92) 0%, rgba(10, 15, 30, 0.96) 100%);
	--tic-btt-border: rgba(56, 189, 248, 0.32);
	--tic-btt-color: #e2e8f0;
	--tic-btt-label: #94a3b8;
	--tic-btt-icon-bg: linear-gradient(145deg, #0ea5e9, #0284c7);
	--tic-btt-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(56, 189, 248, 0.08);
	--tic-btt-glow: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.35) 0%, transparent 70%);
	position: fixed;
	left: 50%;
	bottom: clamp(1.25rem, 3.5vw, 2rem);
	z-index: 10040;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid var(--tic-btt-border);
	border-radius: 50%;
	cursor: pointer;
	color: var(--tic-btt-color);
	background: var(--tic-btt-bg);
	box-shadow: var(--tic-btt-shadow);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(0.85rem) scale(0.94);
	pointer-events: none;
	overflow: hidden;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease,
		transform 0.32s cubic-bezier(0.34, 1.35, 0.64, 1),
		box-shadow 0.25s ease,
		border-color 0.25s ease,
		bottom 0.25s ease;
}

.tic-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0) scale(1);
	pointer-events: auto;
}

.tic-back-to-top:hover {
	border-color: rgba(56, 189, 248, 0.5);
	transform: translateX(-50%) translateY(-3px) scale(1.03);
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(56, 189, 248, 0.14),
		0 0 28px rgba(14, 165, 233, 0.18);
}

.tic-back-to-top:active {
	transform: translateX(-50%) translateY(-1px) scale(0.99);
}

.tic-back-to-top:focus-visible {
	outline: 2px solid rgba(56, 189, 248, 0.7);
	outline-offset: 3px;
}

.tic-back-to-top__glow {
	position: absolute;
	inset: 0;
	background: var(--tic-btt-glow);
	opacity: 0.55;
	pointer-events: none;
}

.tic-back-to-top__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 50%;
	color: #fff;
	background: var(--tic-btt-icon-bg);
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	line-height: 0;
	flex-shrink: 0;
}

.tic-back-to-top__icon svg {
	width: 1.15rem;
	height: 1.15rem;
}

.tic-back-to-top:hover .tic-back-to-top__icon {
	box-shadow: 0 6px 16px rgba(14, 165, 233, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

html.tic-legal-consent-bar-visible .tic-back-to-top {
	bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 640px) {
	.tic-back-to-top {
		bottom: clamp(1rem, 3vw, 1.25rem);
		width: 2.75rem;
		height: 2.75rem;
	}

	.tic-back-to-top__icon {
		width: 1.95rem;
		height: 1.95rem;
	}

	html.tic-legal-consent-bar-visible .tic-back-to-top {
		bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.tic-back-to-top {
		transition: opacity 0.15s ease, visibility 0.15s ease;
		transform: translateX(-50%);
	}

	.tic-back-to-top.is-visible,
	.tic-back-to-top:hover,
	.tic-back-to-top:active {
		transform: translateX(-50%);
	}
}

/* Contenu pages internes */
body.tic-has-custom-layout .h-section:not(.tic-footer):not(.tic-page-hero) {
	color: inherit;
}
