/* ==========================================================================
   SEAT Opus Global — assistant solaire (conversation + simulation d'une journée)
   Préfixe sa- · charger après sections.css
   ========================================================================== */

.sa {
	position: relative;
	overflow: hidden;
	padding-block: clamp(72px, 9vw, 128px);
	border-radius: clamp(28px, 4vw, 56px);
	color: #fff;
	background:
		radial-gradient(70% 45% at 50% 0%, rgba(0, 147, 217, .22), transparent 70%),
		linear-gradient(180deg, #071e30 0%, #0a2b43 52%, #12384d 100%);
	isolation: isolate;
}

.sa-promo {
	margin: clamp(20px, 3vw, 40px) auto;
	width: min(1440px, calc(100% - 40px));
	border-radius: clamp(28px, 4vw, 56px);
}

.sa-promo .sa-showcase-head {
	margin-bottom: 0;
}

.sa-promo-cta {
	margin-top: 28px;
}

.sa-cta > span svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.sa-launcher {
	position: fixed;
	right: clamp(16px, 2.5vw, 32px);
	bottom: clamp(16px, 2.5vw, 28px);
	z-index: 1000;
	display: grid;
	width: 68px;
	height: 68px;
	min-height: 68px;
	align-items: center;
	justify-items: center;
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(135deg, #0c83bd, #07527d);
	box-shadow: 0 12px 35px rgba(4, 30, 47, .32), 0 0 0 5px rgba(0, 147, 217, .12);
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}

.sa-launcher[hidden] {
	display: none;
}

.sa-launcher:not([hidden]) {
	display: grid;
}

.sa-launcher:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(4, 30, 47, .4), 0 0 0 7px rgba(0, 147, 217, .15);
}

.sa-launcher:focus-visible,
.sa-widget-close:focus-visible {
	outline: 3px solid #ffbb72;
	outline-offset: 4px;
}

.sa-launcher > img {
	width: 52px;
	height: 52px;
	border: 2px solid rgba(255, 255, 255, .9);
	border-radius: 50%;
	background: #087fbd;
}

.sa-widget-backdrop[hidden] {
	display: none;
}

.sa-widget-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(2, 15, 24, .78);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	animation: sa-backdrop-in .2s ease both;
}

.sa-widget-dialog {
	position: relative;
	width: min(1120px, 100%);
	max-height: min(92dvh, 960px);
	overflow-x: hidden;
	overflow-y: auto;
	padding: clamp(20px, 3vw, 38px);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 30px;
	box-shadow: 0 30px 100px rgba(0, 0, 0, .45);
	scrollbar-color: rgba(255, 255, 255, .3) transparent;
}

.sa-widget-dialog .sa-grid {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 20px;
}

.sa-widget-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.sa-widget-view-toggle {
	display: none;
}

.sa-widget-agent {
	margin: 0;
	padding: 0;
	border: 0;
}

.sa-widget-close {
	display: grid;
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	font: inherit;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.sa-widget-close:hover {
	transform: rotate(90deg);
	background: rgba(255, 255, 255, .16);
}

.sa-widget-dialog .sa-chat-card {
	padding: clamp(14px, 2vw, 22px);
}

.sa-widget-dialog .sa-log {
	min-height: 320px;
	max-height: min(58vh, 560px);
	overflow-y: auto;
	padding-right: 4px;
}

.sa-widget-dialog .sa-viz {
	position: static;
	padding: clamp(16px, 2vw, 24px);
}

.sa-widget-dialog .sa-disclaimer {
	margin-top: 18px;
}

.sa-dialog-open {
	overflow: hidden;
}

@keyframes sa-backdrop-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Soleil couchant : la lumière monte du bas de la section */
.sa::before {
	position: absolute;
	bottom: -300px;
	left: 50%;
	z-index: -1;
	width: 760px;
	height: 760px;
	border-radius: 50%;
	background: radial-gradient(circle closest-side, rgba(255, 187, 114, .7), rgba(228, 118, 20, .32) 46%, transparent 72%);
	translate: -50% 0;
	content: "";
	pointer-events: none;
}

.sa-showcase-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: clamp(24px, 6vw, 88px);
	align-items: center;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.sa-showcase-copy {
	max-width: 730px;
}

.sa-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 187, 114, .28);
	border-radius: 999px;
	color: #ffcf98;
	background: rgba(255, 187, 114, .08);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.sa-kicker span,
.sa-agent small i,
.sa-hello-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #65dbb1;
	box-shadow: 0 0 0 4px rgba(101, 219, 177, .13), 0 0 16px rgba(101, 219, 177, .6);
}

.sa-kicker span {
	background: #ffbb72;
	box-shadow: 0 0 0 4px rgba(255, 187, 114, .12), 0 0 16px rgba(255, 187, 114, .5);
}

.sa-showcase-head .sx-title {
	font-size: clamp(38px, 5.6vw, 72px);
}

.sa-showcase-head .sx-lead {
	max-width: 560px;
	margin-top: 22px;
}

.sa-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 24px;
	color: #b8cfdc;
	font-size: 13px;
}

.sa-trust span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.sa-trust i {
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border: 1px solid rgba(101, 219, 177, .45);
	border-radius: 50%;
	color: #65dbb1;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
}

.sa-hero-assistant {
	position: relative;
	display: flex;
	min-height: 260px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.sa-hero-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 240px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 147, 217, .32), rgba(255, 187, 114, .12) 52%, transparent 72%);
	transform: translate(-50%, -55%);
}

.sa-mascot {
	position: relative;
	z-index: 1;
	width: clamp(132px, 16vw, 178px);
	height: auto;
	filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .25));
	animation: sa-mascot-float 4s ease-in-out infinite;
}

.sa-hello {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: -8px;
	padding: 9px 15px;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 999px;
	color: #d9e9f2;
	background: rgba(17, 56, 78, .8);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
	font-size: 12px;
}

.sa-hello strong {
	color: #fff;
}

.sa-hello-dot {
	width: 7px;
	height: 7px;
	flex: 0 0 auto;
}

.sa-hero-caption {
	margin: 12px 0 0;
	color: #9fbccd;
	font-size: 12px;
	line-height: 1.5;
}

.sa .sx-title {
	color: #fff;
}

.sa .sx-title em {
	color: var(--sx-sun-soft, #ffbb72);
}

.sa .sx-lead {
	color: #cfe0ea;
}

.sa-grid {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

/* ---------- Conversation ---------- */

.sa-chat-card {
	padding: clamp(18px, 2.4vw, 28px);
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 28px;
	background: rgba(255, 255, 255, .06);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.sa-agent {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sa-avatar {
	display: grid;
	width: 58px;
	height: 58px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(0, 147, 217, .16);
	overflow: hidden;
}

.sa-avatar svg {
	display: block;
	width: 100%;
	height: 100%;
}

.sa-agent strong {
	display: block;
	font-family: Manrope, Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -.02em;
}

.sa-agent small {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #9fbccd;
	font-size: 13px;
}

.sa-agent small i {
	width: 6px;
	height: 6px;
	box-shadow: none;
}

.sa-agent strong span {
	color: #9fbccd;
	font-size: 13px;
	font-weight: 500;
}

.sa-log {
	display: flex;
	min-height: 360px;
	flex-direction: column;
	gap: 10px;
}

.sa-msg {
	max-width: 92%;
	padding: 14px 18px;
	border-radius: 20px 20px 20px 6px;
	background: rgba(255, 255, 255, .1);
	color: #e8f2f8;
	font-size: 15px;
	line-height: 1.65;
	animation: sa-in .4s cubic-bezier(.2, .7, .2, 1) both;
}

.sa-msg p {
	margin: 0 0 10px;
}

.sa-msg p:last-child {
	margin-bottom: 0;
}

.sa-msg--user {
	align-self: flex-end;
	border-radius: 20px 20px 6px 20px;
	color: #fff;
	background: #0093d9;
}

.sa-typing {
	display: flex;
	width: 66px;
	align-items: center;
	gap: 5px;
	padding: 18px;
}

.sa-typing i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #9fbccd;
	animation: sa-dot 1.1s ease-in-out infinite;
}

.sa-typing i:nth-child(2) { animation-delay: .15s; }
.sa-typing i:nth-child(3) { animation-delay: .3s; }

.sa-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 4px;
}

.sa-chip {
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	color: #fff;
	background: transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.sa-chip:hover {
	border-color: #fff;
	color: #0a2b43;
	background: #fff;
}

.sa-chip:focus-visible,
.sa-step button:focus-visible,
.sa-x:focus-visible,
.sa-add select:focus-visible,
.sa-cta:focus-visible {
	outline: 3px solid #e47614;
	outline-offset: 3px;
}

/* ---------- Liste d'appareils (dans la conversation) ---------- */

.sa-msg--widget {
	width: 100%;
	max-width: 100%;
	padding: 8px 14px 14px;
	background: rgba(255, 255, 255, .07);
}

.sa-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto 34px;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.sa-row-name strong {
	display: block;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.sa-row-name small {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #9fbccd;
	font-size: 12px;
}

.sa-row-name select,
.sa-panel-setup select,
.sa-place-input {
	min-width: 0;
	height: 34px;
	padding: 0 9px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 9px;
	color: #fff;
	background: #12384d;
	font: inherit;
	font-size: 12px;
}

.sa-row-name select option,
.sa-panel-setup select option {
	color: #14303f;
	background: #fff;
}

.sa-row-name select:focus-visible,
.sa-panel-setup select:focus-visible,
.sa-place-input:focus-visible,
.sa-panel-setup input:focus-visible {
	outline: 3px solid #e47614;
	outline-offset: 3px;
}

.sa-row-name input {
	width: 68px;
	height: 26px;
	padding: 0 6px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 7px;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	font: inherit;
	font-size: 12px;
}

.sa-cap {
	display: block;
	margin-bottom: 4px;
	color: #7f9bad;
	font-size: 11px;
}

.sa-place-widget,
.sa-panel-setup {
	display: grid;
	gap: 10px;
}

.sa-place-input,
.sa-panel-setup select {
	width: 100%;
	height: 44px;
	font-size: 14px;
}

.sa-place-status,
.sa-place-attribution {
	margin: 0;
	color: #b8cfdc;
	font-size: 12px;
	line-height: 1.5;
}

.sa-place-results {
	display: grid;
	gap: 7px;
}

.sa-place-result {
	width: 100%;
	justify-content: flex-start;
	text-align: left;
}

.sa-place-widget .sa-chip,
.sa-panel-setup .sa-chip {
	width: 100%;
	justify-content: center;
}

.sa-tilt-control {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 48px;
	align-items: center;
	gap: 12px;
}

.sa-tilt-control input {
	width: 100%;
	accent-color: #ffbb72;
}

.sa-tilt-control output {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-align: right;
}

.sa-step {
	display: inline-flex;
	align-items: center;
}

.sa-step button {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	color: #fff;
	background: transparent;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.sa-step button:hover {
	color: #0a2b43;
	background: #fff;
}

.sa-step output {
	min-width: 46px;
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.sa-x {
	display: grid;
	width: 34px;
	height: 34px;
	align-self: end;
	place-items: center;
	border: 0;
	border-radius: 50%;
	color: #9fbccd;
	background: transparent;
	font-size: 20px;
	cursor: pointer;
	transition: color .2s ease, background .2s ease;
}

.sa-x:hover {
	color: #fff;
	background: rgba(255, 255, 255, .12);
}

.sa-add {
	padding-top: 14px;
}

.sa-add select {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 12px;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	font: inherit;
	font-size: 14px;
}

.sa-add select option {
	color: #14303f;
}

/* ---------- Résultat ---------- */

.sa-result {
	display: grid;
	gap: 0;
	margin: 12px 0;
	padding: 0;
	list-style: none;
}

.sa-result li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 14px;
}

.sa-result li span {
	color: #9fbccd;
}

.sa-result li b {
	color: #fff;
	font-family: Manrope, Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -.02em;
	text-align: right;
}

.sa-fine {
	color: #9fbccd;
	font-size: 13px;
	line-height: 1.6;
}

.sa-fine:empty {
	display: none;
}

.sa-cta {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
	padding: 0 10px 0 24px;
	border-radius: 999px;
	color: #0a2b43;
	background: #fff;
	font-size: 14px;
	font-weight: 700;
	transition: transform .25s ease;
}

.sa-cta span {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: #e47614;
}

.sa-cta:hover {
	transform: translateY(-2px);
}

/* ---------- Simulation d'une journée solaire ---------- */

.sa-viz {
	position: sticky;
	top: 110px;
	padding: clamp(20px, 2.6vw, 32px);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.sa-viz-title {
	margin: 0 0 6px;
	font-family: Manrope, Arial, sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -.03em;
}

.sa-viz-source {
	margin: -2px 0 14px;
	color: #9fbccd;
	font-size: 11px;
	line-height: 1.5;
}

.sa-chart {
	transition: opacity .5s ease;
}

.sa-viz[data-state="idle"] .sa-chart {
	opacity: .32;
}

.sa-chart svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.sa-draw {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: sa-draw 1.8s cubic-bezier(.4, 0, .2, 1) .1s forwards;
}

.sa-time {
	margin-top: 6px;
}

.sa-range {
	display: block;
	width: 100%;
	height: 8px;
	margin: 6px 0 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #0b2433 0 25%, #e47614 25%, #ffbb72 50%, #e47614 75%, #0b2433 75%);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.sa-range::-webkit-slider-thumb {
	width: 26px;
	height: 26px;
	border: 4px solid #e47614;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .45);
	-webkit-appearance: none;
	appearance: none;
}

.sa-range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 4px solid #e47614;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .45);
}

.sa-range:focus-visible {
	outline: 3px solid #e47614;
	outline-offset: 8px;
}

.sa-range:disabled {
	opacity: .35;
	cursor: default;
}

.sa-readout {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 20px;
	min-height: 78px;
	margin-top: 16px;
	color: #b8cfdc;
	font-size: 13.5px;
}

.sa-readout strong {
	color: #fff;
	font-family: Manrope, Arial, sans-serif;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -.04em;
}

.sa-readout b {
	color: #fff;
	font-weight: 600;
}

.sa-readout p {
	flex-basis: 100%;
	margin: 2px 0 0;
	color: #ffd9a8;
	font-size: 14px;
}

.sa-how {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.sa-how summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #cfe0ea;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.sa-how summary::-webkit-details-marker {
	display: none;
}

.sa-how summary::after {
	content: "+";
	color: #ffbb72;
	font-size: 20px;
	line-height: 1;
}

.sa-how[open] summary::after {
	content: "−";
}

.sa-how summary:focus-visible {
	outline: 3px solid #e47614;
	outline-offset: 6px;
	border-radius: 6px;
}

.sa-how ol {
	display: grid;
	gap: 10px;
	margin: 14px 0 0;
	padding-left: 20px;
	color: #b8cfdc;
	font-size: 13.5px;
	line-height: 1.65;
}

.sa-how b {
	color: #fff;
}

.sa-how p {
	margin: 12px 0 0;
	color: #86a3b5;
	font-size: 12.5px;
	line-height: 1.6;
}

.sa-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 10px 0 0;
	padding: 0;
	color: #b8cfdc;
	font-size: 12.5px;
	list-style: none;
}

.sa-legend li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sa-legend i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.sa-viz-note {
	margin: 14px 0 0;
	color: #cfe0ea;
	font-size: 14px;
}

.sa-viz[data-state="live"] .sa-viz-note {
	display: none;
}

.sa-metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 28px;
	margin: 22px 0 0;
}

.sa-metrics > div {
	padding: 16px 0 4px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.sa-metrics dt {
	color: #9fbccd;
	font-size: 12.5px;
}

.sa-metrics dd {
	margin: 4px 0 2px;
	font-family: Manrope, Arial, sans-serif;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 500;
	letter-spacing: -.05em;
	line-height: 1.15;
}

.sa-metrics small {
	display: block;
	min-height: 1.4em;
	color: #86a3b5;
	font-size: 12px;
	line-height: 1.5;
}

.sa-comparison {
	margin-top: 20px;
}

.sa-comparison[hidden] {
	display: none;
}

.sa-comparison-title {
	margin: 0 0 10px;
	color: #cfe0ea;
	font-size: 13px;
	font-weight: 600;
}

.sa-comparison-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.sa-comparison-grid section {
	min-width: 0;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 16px;
	background: rgba(3, 27, 42, .28);
}

.sa-comparison-grid h3 {
	margin: 0 0 10px;
	color: #ffcf9d;
	font-size: 13px;
	font-weight: 700;
}

.sa-comparison-grid p {
	margin: 0;
	padding: 8px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.sa-comparison-grid p b,
.sa-comparison-grid p small {
	display: block;
}

.sa-comparison-grid p b {
	color: #fff;
	font-size: 13px;
}

.sa-comparison-grid p small {
	margin-top: 2px;
	color: #9fbccd;
	font-size: 11px;
	line-height: 1.4;
}

.sa-comparison-grid .sa-comparison-warning b {
	color: #ffcf9d;
}

.sa-disclaimer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 28px 0 0;
	color: #9fbccd;
	font-size: 12px;
	text-align: center;
}

.sa-disclaimer span {
	display: grid;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	place-items: center;
	border: 1px solid rgba(255, 187, 114, .5);
	border-radius: 50%;
	color: #ffbb72;
	font-family: Georgia, serif;
	font-size: 12px;
	font-weight: 700;
}

@keyframes sa-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes sa-mascot-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@keyframes sa-dot {
	0%, 80%, 100% { opacity: .35; transform: translateY(0); }
	40% { opacity: 1; transform: translateY(-4px); }
}

@keyframes sa-draw {
	to { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.sa-showcase-head {
		grid-template-columns: minmax(0, 1fr) 220px;
		gap: 20px;
	}

	.sa-hero-assistant {
		min-height: 225px;
	}

	.sa-grid {
		grid-template-columns: 1fr;
	}

	.sa-widget-dialog .sa-grid {
		grid-template-columns: 1fr;
	}

	.sa-viz {
		position: static;
	}

	.sa-log {
		min-height: 0;
	}
}

@media (max-width: 600px) {
	.sa-promo {
		width: calc(100% - 20px);
		margin-block: 10px 24px;
		border-radius: 26px;
	}

	/* ---------- Plein écran ---------- */
	.sa-widget-backdrop {
		height: 100dvh;
		align-items: stretch;
		padding: 0;
		background: #071e30;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.sa-widget-dialog {
		display: flex;
		width: 100%;
		height: 100%;
		max-height: none;
		flex-direction: column;
		overflow: hidden;
		padding: max(10px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom));
		border: 0;
		border-radius: 0;
		box-shadow: none;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}

	.sa-widget-dialog::before,
	.sa-widget-dialog .sa-disclaimer,
	.sa-widget-dialog .sa-chat-card > .sa-agent,
	.sa-widget-agent small,
	.sa-viz-note {
		display: none;
	}

	/* ---------- En-tête compact ---------- */
	.sa-widget-top {
		flex: 0 0 auto;
		gap: 8px;
		margin-bottom: 8px;
		padding-bottom: 8px;
		border-bottom: 1px solid rgba(255, 255, 255, .1);
	}

	.sa-widget-agent {
		min-width: 0;
		flex: 1 1 auto;
		gap: 10px;
	}

	.sa-widget-dialog .sa-widget-agent .sa-avatar {
		width: 38px;
		height: 38px;
		box-shadow: none;
	}

	.sa-widget-agent strong {
		font-size: 15px;
		line-height: 1.2;
	}

	.sa-widget-agent strong span {
		display: block;
		font-size: 11px;
		font-weight: 400;
	}

	.sa-widget-close,
	.sa-widget-view-toggle {
		height: 44px;
		min-height: 44px;
	}

	.sa-widget-close {
		width: 44px;
	}

	.sa-widget-view-toggle {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0 16px;
		border: 1px solid rgba(255, 255, 255, .22);
		border-radius: 999px;
		color: #fff;
		background: rgba(255, 255, 255, .08);
		font: inherit;
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
	}

	.sa-widget-view-toggle[data-live="true"]::after {
		position: absolute;
		top: 8px;
		right: 8px;
		width: 9px;
		height: 9px;
		border-radius: 50%;
		background: #ffbb72;
		box-shadow: 0 0 0 3px rgba(255, 187, 114, .25);
		content: "";
	}

	.sa-widget-view-toggle[aria-expanded="true"]::after {
		display: none;
	}

	.sa-widget-view-toggle:focus-visible {
		outline: 3px solid #ffbb72;
		outline-offset: 3px;
	}

	/* ---------- Deux vues : conversation / résultat ---------- */
	.sa-widget-dialog .sa-grid {
		display: flex;
		min-height: 0;
		flex: 1 1 auto;
		flex-direction: column;
		gap: 0;
	}

	.sa-widget-dialog .sa-chat-card {
		display: flex;
		min-height: 0;
		flex: 1 1 auto;
		flex-direction: column;
		padding: 0;
		border: 0;
		background: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.sa-widget-dialog.sa-show-viz .sa-chat-card {
		display: none;
	}

	.sa-widget-dialog .sa-viz {
		display: none;
		min-height: 0;
		flex: 1 1 auto;
		flex-direction: column;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 4px 2px 12px;
		border: 0;
		background: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.sa-widget-dialog.sa-show-viz .sa-viz {
		display: flex;
	}

	/* Résultat d’abord, graphique ensuite */
	.sa-viz-title { order: 0; font-size: 16px; }
	.sa-metrics { order: 1; margin-top: 10px; }
	.sa-chart { order: 2; margin-top: 18px; }
	.sa-time { order: 3; }
	.sa-legend { order: 4; }
	.sa-comparison { order: 5; }
	.sa-how { order: 6; }
	.sa-viz-source { order: 7; margin: 16px 0 0; }

	.sa-metrics {
		grid-template-columns: 1fr 1fr;
		gap: 0 16px;
	}

	.sa-metrics dd {
		font-size: 22px;
	}

	.sa-range {
		height: 10px;
		margin-top: 12px;
	}

	.sa-range::-webkit-slider-thumb {
		width: 32px;
		height: 32px;
	}

	.sa-range::-moz-range-thumb {
		width: 24px;
		height: 24px;
	}

	.sa-readout {
		min-height: 0;
		margin-top: 14px;
	}

	.sa-comparison-grid {
		grid-template-columns: 1fr;
	}

	.sa-how summary {
		min-height: 44px;
	}

	/* ---------- Conversation ---------- */
	.sa-widget-dialog .sa-log {
		min-height: 0;
		max-height: none;
		flex: 1 1 auto;
		gap: 8px;
		padding: 4px 0 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.sa-widget-dialog .sa-log::-webkit-scrollbar {
		display: none;
	}

	.sa-widget-dialog .sa-msg {
		max-width: 88%;
		padding: 11px 14px;
		font-size: 15px;
		line-height: 1.5;
	}

	.sa-widget-dialog .sa-msg--widget {
		max-width: 100%;
		padding: 4px 14px 14px;
	}

	/* Réponses ancrées en bas, sous le pouce */
	.sa-widget-dialog .sa-chips {
		position: sticky;
		bottom: 0;
		z-index: 2;
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: auto;
		padding: 18px 0 2px;
		background: linear-gradient(to top, #0b2a40 72%, rgba(11, 42, 64, 0));
	}

	.sa-widget-dialog .sa-chip {
		width: 100%;
		min-height: 52px;
		justify-content: center;
		padding: 10px 16px;
		border-color: rgba(255, 255, 255, .38);
		font-size: 16px;
		text-align: center;
	}

	.sa-widget-dialog .sa-chip:active {
		color: #0a2b43;
		background: #fff;
	}

	/* ---------- Appareils : nom en haut, deux compteurs dessous ---------- */
	.sa-widget-dialog .sa-row {
		position: relative;
		grid-template-columns: 1fr 1fr;
		gap: 10px 12px;
		padding: 14px 0;
	}

	.sa-widget-dialog .sa-row-name {
		grid-column: 1 / -1;
		padding-right: 44px;
	}

	.sa-widget-dialog .sa-row-name strong {
		font-size: 15px;
	}

	.sa-widget-dialog .sa-row-name small {
		flex-wrap: wrap;
		margin-top: 4px;
		font-size: 13px;
	}

	.sa-widget-dialog .sa-row-name select {
		height: 40px;
		font-size: 16px;
	}

	.sa-widget-dialog .sa-row-name input {
		width: 80px;
		height: 40px;
		font-size: 16px;
	}

	.sa-widget-dialog .sa-row > div:nth-child(2),
	.sa-widget-dialog .sa-row > div:nth-child(3) {
		grid-column: auto;
	}

	.sa-widget-dialog .sa-row .sa-cap {
		font-size: 11px;
	}

	.sa-widget-dialog .sa-step {
		width: 100%;
		justify-content: space-between;
		padding: 3px;
		border: 1px solid rgba(255, 255, 255, .16);
		border-radius: 999px;
	}

	.sa-widget-dialog .sa-step button {
		width: 44px;
		height: 44px;
		font-size: 20px;
	}

	.sa-widget-dialog .sa-step output {
		min-width: 0;
		flex: 1;
		font-size: 15px;
	}

	.sa-widget-dialog .sa-row > .sa-x {
		position: absolute;
		top: 4px;
		right: -8px;
		width: 44px;
		height: 44px;
		grid-column: auto;
		grid-row: auto;
		font-size: 24px;
	}

	.sa-widget-dialog .sa-add select {
		height: 52px;
		font-size: 16px;
	}

	/* ---------- Ville et orientation ---------- */
	.sa-widget-dialog .sa-place-input,
	.sa-widget-dialog .sa-panel-setup select {
		height: 52px;
		font-size: 16px;
	}

	.sa-widget-dialog .sa-place-result {
		min-height: 52px;
		justify-content: flex-start;
		text-align: left;
	}

	.sa-widget-dialog .sa-tilt-control input {
		height: 32px;
	}

	.sa-widget-dialog .sa-tilt-control output {
		font-size: 16px;
	}

	/* ---------- Résultat dans le chat ---------- */
	.sa-widget-dialog .sa-result li {
		padding: 12px 0;
	}

	.sa-widget-dialog .sa-cta {
		width: 100%;
		min-height: 56px;
		justify-content: space-between;
		font-size: 15px;
	}

	/* ---------- Lanceur ---------- */
	.sa-launcher {
		right: 14px;
		bottom: max(14px, env(safe-area-inset-bottom));
		width: 58px;
		height: 58px;
		min-height: 58px;
		padding: 6px;
	}

	.sa-launcher > img {
		width: 44px;
		height: 44px;
	}

	/* ---------- Section promo sur la page ---------- */
	.sa {
		padding-block: 58px;
		border-radius: 28px;
	}

	.sa-showcase-head {
		grid-template-columns: 1fr;
		gap: 14px;
		text-align: center;
	}

	.sa-kicker {
		margin-bottom: 16px;
		font-size: 10px;
	}

	.sa-showcase-head .sx-title {
		font-size: clamp(36px, 10vw, 48px);
	}

	.sa-showcase-head .sx-lead {
		margin: 16px auto 0;
		font-size: 14px;
	}

	.sa-trust {
		justify-content: center;
		gap: 8px 16px;
		font-size: 11px;
	}

	.sa-hero-assistant {
		min-height: 202px;
	}

	.sa-mascot {
		width: 138px;
	}

	.sa-hero-caption {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.sa-mascot,
	.sa-msg,
	.sa-typing i,
	.sa-draw {
		animation: none;
	}

	.sa-draw {
		stroke-dashoffset: 0;
	}
}