/* ==========================================================================
   SEAT Opus Global — header v4
   Bleu clair de la marque en couleur dominante, orange en touche de soleil.
   Navigation en pastilles, méga-menu « soleil », header compact au défilement.
   Esthétique pure : aplats unis, formes très rondes, aucune ombre sur la nav.
   ========================================================================== */

@view-transition {
	navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 180ms;
	animation-timing-function: ease-out;
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}
}

.seat-header {
	--blue: #0093d9;
	--blue-hover: #007db8;
	--blue-deep: #0a5f8f;
	--blue-night: #0a2b43;
	--blue-soft: #4db8e8;
	--tint: #e8f5fc;
	--tint-2: #d4ecf9;
	--orange: #e47614;
	--orange-soft: rgba(228, 118, 20, .28);
	--ink: #0f2431;
	--ink-soft: #5d7080;
	--paper: #ffffff;
	--nav-h: 92px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-soft: cubic-bezier(.4, 0, .2, 1);

	position: sticky;
	top: 0;
	z-index: 50;
	color: var(--ink);
	font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.seat-header *,
.seat-header *::before,
.seat-header *::after {
	box-sizing: border-box;
}

.seat-header a {
	color: inherit;
	text-decoration: none;
}

.seat-header a:focus-visible,
.seat-header summary:focus-visible {
	outline: 2px solid var(--orange);
	outline-offset: 3px;
	border-radius: 999px;
}

.seat-header__inner {
	width: min(1240px, calc(100% - 64px));
	margin-inline: auto;
}

/* ---------- Barre de navigation ---------- */

.seat-header__navigation {
	position: relative;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	box-shadow: 0 1px 0 rgba(15, 36, 49, .04);
	transition: box-shadow .45s ease, background .45s ease;
}

/* Liseré signature bleu → orange, très fin */
.seat-header__navigation::before {
	position: absolute;
	inset: 0 0 auto;
	height: 1.5px;
	background: linear-gradient(
		90deg,
		var(--blue) 0%,
		var(--blue-soft) 38%,
		var(--blue) 62%,
		var(--orange) 100%
	);
	opacity: .7;
	content: "";
}

.seat-header.is-scrolled .seat-header__navigation {
	background: rgba(255, 255, 255, .99);
	box-shadow: 0 1px 0 rgba(15, 36, 49, .05);
}

.seat-header__navigation-inner {
	position: relative;
	display: flex;
	height: var(--nav-h);
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

/* ---------- Logo ---------- */

.seat-header__brand {
	display: block;
	flex: 0 0 172px;
}

.seat-header__brand img {
	display: block;
	width: 172px;
	height: calc(var(--nav-h) - 16px);
	object-fit: contain;
	object-position: left center;
	transform-origin: left center;
	transition: transform .45s var(--ease);
	will-change: transform;
}

.seat-header.is-scrolled .seat-header__brand img {
	transform: scale(.84);
}

/* ---------- Pastilles de navigation — pureté maximale ---------- */

.seat-header__desktop-nav {
	position: static;
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	padding: 5px;
	border: none;
	border-radius: 999px;
	background: #0a2b43;
	box-shadow: none;
}

.seat-header__desktop-nav > a,
.seat-nav-dropdown > summary {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 18px;
	border: none;
	border-radius: 999px;
	color: #cfe3ee;
	background: transparent;
	box-shadow: none;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transition: color .22s ease, background .22s ease;
}

.seat-header__desktop-nav > * + * {
	border-left: none;
	padding-left: 0;
}

/* Survol — voile translucide, aucune ombre */

.seat-header__desktop-nav > a:hover,
.seat-nav-dropdown > summary:hover,
.seat-nav-dropdown:hover > summary,
.seat-nav-dropdown[open] > summary {
	color: #fff;
	background: rgba(255, 255, 255, .10);
	box-shadow: none;
}

/* Élément actif — bleu plein, bien rond, sans relief */

.seat-header__desktop-nav > a[aria-current="page"],
.seat-nav-dropdown.is-current > summary {
	color: #fff;
	background: var(--blue);
	box-shadow: none;
}

.seat-header__desktop-nav > a[aria-current="page"]:hover,
.seat-nav-dropdown.is-current > summary:hover,
.seat-nav-dropdown.is-current:hover > summary,
.seat-nav-dropdown.is-current[open] > summary {
	color: #fff;
	background: var(--blue-hover);
	box-shadow: none;
}

.seat-header__desktop-nav > a::after {
	display: none;
}

/* ---------- Chevron ---------- */

.seat-nav-dropdown {
	position: relative;
	display: flex;
	height: 42px;
	align-items: center;
}

.seat-nav-dropdown > summary {
	gap: 9px;
	cursor: pointer;
	list-style: none;
}

.seat-nav-dropdown > summary::-webkit-details-marker,
.seat-header__mobile-menu > summary::-webkit-details-marker,
.seat-mobile-submenu > summary::-webkit-details-marker {
	display: none;
}

.seat-nav-caret {
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .3s var(--ease), margin .3s var(--ease);
}

.seat-nav-dropdown:hover > summary .seat-nav-caret,
.seat-nav-dropdown[open] > summary .seat-nav-caret {
	margin-top: 3px;
	transform: rotate(225deg);
}

/* ---------- Panneaux déroulants ---------- */

.seat-mega-menu,
.seat-nav-simple-menu {
	position: absolute;
	top: calc(100% + 2px);
	left: 50%;
	display: none;
	overflow: hidden;
	border-radius: 24px;
	background: var(--paper);
	box-shadow:
		0 0 0 1px rgba(15, 36, 49, .05),
		0 2px 8px rgba(15, 36, 49, .04),
		0 42px 80px -26px rgba(0, 93, 140, .42);
	transform: translateX(-50%);
	animation: seat-menu-in .38s var(--ease);
}

@keyframes seat-menu-in {
	from {
		opacity: 0;
		transform: translate(-50%, 12px) scale(.985);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0) scale(1);
	}
}

.seat-nav-dropdown[open] > .seat-mega-menu,
.seat-nav-dropdown:hover > .seat-mega-menu,
.seat-nav-dropdown:focus-within > .seat-mega-menu,
.seat-nav-dropdown[open] > .seat-nav-simple-menu,
.seat-nav-dropdown:hover > .seat-nav-simple-menu,
.seat-nav-dropdown:focus-within > .seat-nav-simple-menu {
	display: grid;
}

.seat-mega-menu {
	grid-template-columns: 250px 1fr 1fr;
	gap: 8px;
	width: min(840px, calc(100vw - 48px));
	padding: 12px;
}

/* ---------- Panneau « soleil » ---------- */

.seat-mega-menu__feature {
	position: relative;
	display: flex;
	min-height: 330px;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	padding: 28px;
	border-radius: 18px;
	background: linear-gradient(160deg, #f4fbfe 0%, var(--tint) 48%, #d9edf9 100%);
	isolation: isolate;
}

.seat-mega-menu__feature::before {
	position: absolute;
	right: -90px;
	top: -90px;
	z-index: -1;
	width: 300px;
	height: 300px;
	background:
		radial-gradient(circle closest-side, var(--orange) 0 15%, transparent 15.5%),
		radial-gradient(circle closest-side, rgba(0, 147, 217, .22) 0 36%, transparent 36.5%),
		radial-gradient(circle closest-side, rgba(0, 147, 217, .13) 0 60%, transparent 60.5%),
		radial-gradient(circle closest-side, rgba(0, 147, 217, .07) 0 84%, transparent 84.5%);
	content: "";
	transition: transform .9s var(--ease);
}

.seat-mega-menu__feature:hover::before {
	transform: scale(1.08) rotate(8deg);
}

.seat-mega-menu__feature::after {
	position: absolute;
	right: -90px;
	top: -90px;
	z-index: -1;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: repeating-conic-gradient(
		from 0deg,
		rgba(0, 147, 217, .13) 0deg 1.4deg,
		transparent 1.4deg 15deg
	);
	-webkit-mask-image: radial-gradient(circle closest-side, #000 10%, transparent 86%);
	mask-image: radial-gradient(circle closest-side, #000 10%, transparent 86%);
	content: "";
	animation: seat-sun-spin 90s linear infinite;
	pointer-events: none;
}

@keyframes seat-sun-spin {
	to { transform: rotate(360deg); }
}

.seat-mega-menu__feature-title {
	position: relative;
	color: var(--ink);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -.01em;
}

.seat-mega-menu__feature-title::before {
	display: block;
	width: 30px;
	height: 3px;
	margin-bottom: 14px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--orange), rgba(228, 118, 20, .12));
	content: "";
}

.seat-mega-menu__feature-text {
	margin-top: 8px;
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.55;
}

.seat-mega-menu__feature-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	width: fit-content;
	margin-top: 18px;
	padding: 11px 22px;
	border-radius: 999px;
	color: #fff;
	background: var(--blue);
	font-size: 13.5px;
	font-weight: 500;
	transition: background .25s ease;
}

.seat-mega-menu__feature-link::after {
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-top: 1.5px solid currentColor;
	content: "";
	transform: rotate(45deg);
	transition: transform .3s var(--ease);
}

.seat-mega-menu__feature:hover .seat-mega-menu__feature-link {
	background: var(--blue-hover);
}

.seat-mega-menu__feature-link:hover::after {
	transform: rotate(45deg) translateX(3px);
}

/* ---------- Colonnes de liens ---------- */

.seat-mega-menu__group {
	display: grid;
	align-content: start;
	gap: 1px;
	padding: 20px 10px 14px 14px;
}

.seat-mega-menu__group h2 {
	position: relative;
	margin: 18px 0 6px 14px;
	padding-left: 12px;
	color: var(--blue);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.seat-mega-menu__group h2::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--orange);
	content: "";
	transform: translateY(-50%);
}

.seat-mega-menu__group h2:first-child {
	margin-top: 0;
}

.seat-mega-menu__group a,
.seat-nav-simple-menu a {
	position: relative;
	display: block;
	padding: 9px 14px;
	border-radius: 12px;
	color: var(--ink);
	font-size: 15px;
	line-height: 1.35;
	transition:
		color .2s ease,
		background .2s ease,
		padding .3s var(--ease);
}

.seat-mega-menu__group a::before,
.seat-nav-simple-menu a::before {
	position: absolute;
	top: 50%;
	left: 14px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--orange);
	content: "";
	opacity: 0;
	transform: translateY(-50%) scale(.4);
	transition: opacity .25s ease, transform .3s var(--ease);
}

.seat-mega-menu__group a:hover,
.seat-mega-menu__group a:focus-visible,
.seat-nav-simple-menu a:hover,
.seat-nav-simple-menu a:focus-visible {
	padding-left: 28px;
	color: var(--blue-hover);
	background: var(--tint);
}

.seat-mega-menu__group a:hover::before,
.seat-mega-menu__group a:focus-visible::before,
.seat-nav-simple-menu a:hover::before,
.seat-nav-simple-menu a:focus-visible::before {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

.seat-nav-simple-menu {
	min-width: 260px;
	padding: 10px;
}

/* ---------- Bouton « Demander un devis » — pur et minimal ---------- */

.seat-header__cta {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 28px;
	border: none;
	border-radius: 999px;
	color: #fff !important;
	background: var(--blue);
	box-shadow: none;
	font-size: 14.5px;
	font-weight: 500;
	letter-spacing: .01em;
	white-space: nowrap;
	transition: background .25s ease;
}

.seat-header__cta:hover,
.seat-header__cta:focus-visible {
	background: var(--blue-hover);
	color: #fff !important;
	box-shadow: none;
	transform: none;
}

.seat-header__cta::before,
.seat-header__cta::after {
	display: none;
}

/* ---------- Menu mobile ---------- */

.seat-header__mobile-menu {
	display: none;
}

@media (max-width: 1060px) {
	.seat-header__desktop-nav > a,
	.seat-nav-dropdown > summary {
		padding-right: 13px;
		padding-left: 13px;
		font-size: 13.5px;
	}

	.seat-header__cta {
		padding: 0 20px;
		font-size: 13px;
	}
}

@media (max-width: 960px) {
	.seat-header {
		--nav-h: 78px;
	}

	.seat-header__desktop-nav,
	.seat-header__cta {
		display: none;
	}

	.seat-header__mobile-menu {
		position: relative;
		display: block;
	}

	.seat-header__mobile-menu > summary {
		display: grid;
		width: 46px;
		height: 46px;
		align-content: center;
		justify-items: center;
		gap: 6px;
		border-radius: 50%;
		background: var(--tint);
		box-shadow: none;
		cursor: pointer;
		list-style: none;
		transition: background .25s ease;
	}

	.seat-header__mobile-menu > summary:hover {
		background: var(--tint-2);
	}

	.seat-header__mobile-menu[open] > summary {
		background: var(--tint-2);
	}

	.seat-header__mobile-menu > summary span {
		width: 20px;
		height: 1.5px;
		border-radius: 2px;
		background: var(--blue-deep);
		transition: transform .35s var(--ease);
	}

	.seat-header__mobile-menu[open] > summary span:first-child {
		transform: translateY(3.75px) rotate(45deg);
	}

	.seat-header__mobile-menu[open] > summary span:last-child {
		transform: translateY(-3.75px) rotate(-45deg);
	}

	.seat-header__mobile-menu > nav {
		position: absolute;
		top: calc(100% + 18px);
		right: 0;
		display: grid;
		width: min(380px, calc(100vw - 32px));
		max-height: min(76vh, 660px);
		overflow-y: auto;
		padding: 10px;
		border-radius: 24px;
		background: var(--paper);
		box-shadow:
			0 0 0 1px rgba(15, 36, 49, .05),
			0 36px 70px -20px rgba(0, 93, 140, .38);
		animation: seat-mobile-in .38s var(--ease);
		scrollbar-width: thin;
		scrollbar-color: rgba(0, 147, 217, .35) transparent;
	}

	.seat-header__mobile-menu > nav::-webkit-scrollbar {
		width: 6px;
	}

	.seat-header__mobile-menu > nav::-webkit-scrollbar-thumb {
		border-radius: 999px;
		background: rgba(0, 147, 217, .3);
	}

	@keyframes seat-mobile-in {
		from {
			opacity: 0;
			transform: translateY(-12px) scale(.98);
		}
		to {
			opacity: 1;
			transform: translateY(0) scale(1);
		}
	}

	.seat-header__mobile-menu > nav > a,
	.seat-mobile-submenu > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 18px;
		border-radius: 16px;
		color: var(--ink);
		font-size: 17px;
		font-weight: 500;
		cursor: pointer;
		list-style: none;
		transition: background .2s ease, color .2s ease;
	}

	.seat-mobile-submenu > summary::after {
		width: 7px;
		height: 7px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		content: "";
		transform: rotate(45deg);
		transition: transform .3s var(--ease);
	}

	.seat-mobile-submenu[open] {
		margin-bottom: 4px;
		border-radius: 16px;
		background: var(--tint);
	}

	.seat-mobile-submenu[open] > summary {
		color: var(--blue-hover);
	}

	.seat-mobile-submenu[open] > summary::after {
		transform: rotate(225deg);
	}

	.seat-mobile-submenu > a {
		display: block;
		padding: 9px 18px 9px 30px;
		color: var(--ink);
		font-size: 15.5px;
		transition: color .2s ease, padding .25s var(--ease);
	}

	.seat-mobile-submenu > a:last-child {
		padding-bottom: 16px;
	}

	.seat-mobile-submenu > a:hover {
		padding-left: 36px;
		color: var(--blue-hover);
	}

	.seat-header__mobile-menu nav a:hover,
	.seat-mobile-submenu > summary:hover {
		color: var(--blue-hover);
		background: var(--tint);
	}

	.seat-header__mobile-menu nav a[aria-current="page"] {
		color: #fff;
		background: var(--blue);
	}

	.seat-header__mobile-menu nav a.seat-mobile-cta {
		justify-content: center;
		margin-top: 8px;
		color: #fff;
		background: var(--blue);
		font-size: 16px;
	}

	.seat-header__mobile-menu nav a.seat-mobile-cta:hover {
		color: #fff;
		background: var(--blue-hover);
	}
}

@media (max-width: 640px) {
	.seat-header__inner {
		width: calc(100% - 32px);
	}

	.seat-header__brand {
		flex-basis: 144px;
	}

	.seat-header__brand img {
		width: 144px;
	}
}

/* ==========================================================================
   Pied de page — épuré et lumineux
   ========================================================================== */

.site-footer {
	--blue: #0093d9;
	--blue-hover: #007db8;
	--orange: #e47614;
	--sun: #f0a04b;
	--footer-night: #0a2b43;

	position: relative;
	color: #e1edf3;
	background:
		radial-gradient(900px 400px at 88% -12%, rgba(0, 147, 217, .30), transparent 70%),
		radial-gradient(620px 320px at 2% 0%, rgba(228, 118, 20, .08), transparent 72%),
		var(--footer-night);
	font-family: "DM Sans", "Open Sans", Arial, sans-serif;
	line-height: 1.7;
}

.site-footer a {
	text-decoration: none;
}

/* ---------- Barre utilitaire ---------- */

.site-footer__utility {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: var(--blue);
	font-size: 13.5px;
	letter-spacing: .02em;
}

.site-footer__utility-inner,
.site-footer__contacts,
.site-footer__social {
	display: flex;
	align-items: center;
}

.site-footer__utility-inner {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 64px));
	min-height: 40px;
	justify-content: space-between;
	gap: 24px;
	margin-inline: auto;
}

.site-footer__contacts {
	flex-wrap: wrap;
	gap: 12px 30px;
}

.site-footer__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	transition: opacity .25s ease;
}

.site-footer__contacts a:hover {
	opacity: .78;
}

.site-footer__contact-icon {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.site-footer__social {
	flex: 0 0 auto;
	gap: 6px;
}

.site-footer__social a {
	padding: 5px 12px;
	border-radius: 999px;
	color: inherit;
	transition: background .25s ease;
}

.site-footer__social a:hover {
	background: rgba(255, 255, 255, .18);
}

/* ---------- Conteneurs ---------- */

.contact-inner,
.site-footer__main,
.site-footer__bottom {
	width: min(1180px, calc(100% - 64px));
	margin-right: auto;
	margin-left: auto;
	padding-right: 0;
	padding-left: 0;
}

.contact-inner {
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.7;
}

/* ---------- Corps du footer ---------- */

.site-footer .site-footer__main {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.2fr;
	gap: 70px;
	padding-top: 61px;
	padding-bottom: 50px;
}

.site-footer__brand,
.site-footer__column {
	min-width: 0;
	float: none;
}

.site-footer__brand img {
	display: block;
	width: 148px;
	height: 48px;
	max-width: 100%;
	border-radius: 8px;
	object-fit: contain;
	background: #fff;
}

.site-footer__brand p {
	max-width: 265px;
	margin: 19px 0 0;
	color: #cfe1ea;
	font-size: 13px;
	line-height: 1.8;
}

.site-footer__column {
	display: grid;
	align-content: start;
	gap: 10px;
}

.site-footer__column h2 {
	position: relative;
	margin: 0 0 12px;
	padding-bottom: 10px;
	color: #fff;
	font-family: Manrope, Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.site-footer__column h2::after {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: var(--orange);
	content: "";
}

.site-footer__column a {
	position: relative;
	display: block;
	width: fit-content;
	max-width: 100%;
	color: #cfe1ea;
	font-size: 13px;
	line-height: 1.6;
	overflow-wrap: anywhere;
	transition: color .25s ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible {
	color: #fff;
}

.site-footer__column a::after {
	display: none;
}

/* ---------- Barre inférieure ---------- */

.site-footer__bottom {
	display: flex;
	min-height: 54px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: #c4d7e1;
	font-size: 12px;
}

/* ---------- Responsive footer ---------- */

@media (max-width: 900px) {
	.site-footer__utility-inner {
		width: min(700px, calc(100% - 44px));
	}

	.contact-inner,
	.site-footer__main,
	.site-footer__bottom {
		width: min(700px, calc(100% - 44px));
	}

	.site-footer .site-footer__main {
		grid-template-columns: 1.2fr 1fr 1fr;
		gap: 32px;
	}
}

@media (max-width: 680px) {
	.site-footer__utility-inner {
		width: calc(100% - 40px);
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
		padding-block: 9px;
	}

	.site-footer__contacts {
		gap: 4px 16px;
	}

	.site-footer__social {
		margin-left: -12px;
	}

	.contact-inner,
	.site-footer__main,
	.site-footer__bottom {
		width: calc(100% - 40px);
	}

	.site-footer .site-footer__main {
		grid-template-columns: 1fr 1fr;
		gap: 32px 24px;
		padding-top: 44px;
		padding-bottom: 36px;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}

	.site-footer__brand img {
		width: 129px;
		height: 42px;
	}

	.site-footer__bottom {
		flex-wrap: wrap;
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

/* ---------- Accessibilité : mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
	.seat-header *,
	.seat-header *::before,
	.seat-header *::after,
	.site-footer *,
	.site-footer *::before,
	.site-footer *::after {
		animation: none !important;
		transition: none !important;
	}
}