/* Karim Home Widgets – shared base styles (generated from temp/index.html, scoped to .khw) */

.khw {
	--gold: #FFD700;
	--gold-hover: #F2C200;
	--dark: #0D1B2A;
	--navy-900: #08121C;
	--navy-800: #13263A;
	--navy-700: #1B3550;
	--navy-600: #2A4A6B;
	--navy-500: #4A5D72;
	--navy-300: #8DA2B8;
	--navy-200: #D2DCE6;
	--white: #ffffff;
	--page-bg: #ffffff;
	--card-bg: #E6ECF2;
	--glass: rgba(13, 27, 42, 0.6);
	--radius: 20px;
	--gap: 12px;
	--pad-x: 48px;
}

.khw *,
.khw *::before,
.khw *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.khw {
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	background: var(--page-bg);
	color: var(--dark);
	-webkit-font-smoothing: antialiased;
}

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

.khw img {
	display: block;
	max-width: 100%;
}

.khw .socials {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
}

.khw .socials a {
	display: grid;
	place-items: center;
	transition: color .2s, transform .2s;
}

.khw .socials a:hover {
	color: var(--gold);
	transform: translateY(-2px);
}

.khw .socials svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.khw .btn {
	display: inline-flex;
	align-items: center;
	font-size: 16px;
	font-weight: 500;
	color: var(--dark);
}

.khw .btn-label {
	display: inline-flex;
	align-items: center;
	height: 56px;
	padding: 0 30px;
	border-radius: 999px;
	background: var(--btn-bg);
	transition: background .25s;
}

.khw .btn-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--btn-bg);
	transition: transform .35s ease, background .25s;
}

.khw .btn-icon svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.4;
}

.khw .btn:hover .btn-icon {
	transform: rotate(45deg);
}

.khw .btn-lime {
	--btn-bg: var(--gold);
}

.khw .btn-lime:hover {
	--btn-bg: var(--dark);
	color: var(--white);
}

.khw .btn-lime:hover .btn-label,
.khw .btn-lime:hover .btn-icon {
	color: var(--white);
}

.khw .btn-white {
	--btn-bg: var(--white);
}

.khw .btn-white:hover {
	--btn-bg: var(--gold);
	color: var(--dark);
}

.khw .btn-white:hover .btn-label,
.khw .btn-white:hover .btn-icon {
	color: var(--dark);
}

.khw .rv-g {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.khw .rv-nav {
	display: flex;
	gap: 6px;
}

.khw .rv-nav button {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--navy-200);
	border-radius: 50%;
	background: var(--white);
	color: var(--dark);
	cursor: pointer;
	transition: background .25s, color .25s, border-color .25s;
}

.khw .rv-nav button:hover {
	background: var(--dark);
	border-color: var(--dark);
	color: var(--white);
}

.khw .rv-nav svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.khw .container {
	max-width: 1820px;
	margin: 0 auto;
	padding: 0 var(--pad-x);
}

.khw .tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 14px 5px 12px;
	border: 1px solid var(--navy-200);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--dark);
}

.khw .tag::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold);
}

.khw .slides {
	position: relative;
	display: grid;
}

.khw .slides > * {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity .6s ease, transform .6s ease;
}

.khw .slides > .is-active {
	opacity: 1;
}

.khw .slider-dots {
	display: flex;
	gap: 8px;
	margin-top: 28px;
}

.khw .slider-dots button {
	width: 28px;
	height: 4px;
	border: 0;
	border-radius: 4px;
	background: rgba(13, 27, 42, .18);
	cursor: pointer;
	transition: background .3s, width .3s;
}

.khw .slider-dots button.is-active {
	width: 48px;
	background: var(--dark);
}

.khw .section-title {
	margin-top: 14px;
	font-size: clamp(34px, 3.1vw, 56px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--dark);
}

.khw .btn-dark {
	--btn-bg: var(--dark);
	color: var(--white);
}

.khw .btn-dark:hover {
	--btn-bg: var(--gold);
	color: var(--dark);
}

.khw .btn-dark:hover .btn-label,
.khw .btn-dark:hover .btn-icon {
	color: var(--dark);
}

.khw .btn-label {
	white-space: nowrap;
}

@media (max-width: 1200px) {
	.khw {
		--pad-x: 32px;
	}
}

@media (max-width: 600px) {
	.khw {
		--pad-x: 20px;
		--gap: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.khw *,
	.khw *::before,
	.khw *::after {
		transition: none !important;
	}
}


/* ---------- Inner pages: shared section pieces ---------- */

.khw.section {
	padding: 110px 0;
}

.khw.panel-wrap {
	padding: 0 var(--gap);
}

.khw .panel {
	padding: 100px 0;
	border-radius: 8px;
	background: var(--card-bg);
	color: var(--dark);
}

.khw .panel--dark {
	background: var(--dark);
	color: var(--white);
}

.khw .panel--dark .tag {
	border-color: rgba(255, 255, 255, .3);
	color: var(--white);
}

.khw .panel--dark .section-title {
	color: var(--white);
}

.khw .sec-head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 24px 96px;
	align-items: end;
}

.khw .sec-lead {
	max-width: 620px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--navy-500);
}

.khw .sec-lead strong {
	font-weight: 600;
	color: var(--dark);
}

.khw .panel--dark .sec-lead {
	color: rgba(255, 255, 255, .75);
}

.khw .panel--dark .sec-lead strong {
	color: var(--white);
}

.khw .checks {
	display: grid;
	gap: 16px;
	list-style: none;
}

.khw .checks li {
	position: relative;
	padding-left: 34px;
	font-size: 17px;
	line-height: 1.5;
}

.khw .checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--dark) 0 3px, transparent 3.5px), var(--gold);
}

.khw .checks--2 {
	grid-template-columns: 1fr 1fr;
	gap: 18px 56px;
}

.khw .figures {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 100px;
	border-top: 1px solid var(--navy-200);
	list-style: none;
}

.khw .figures li {
	padding: 40px 32px 0;
}

.khw .figures li:first-child {
	padding-left: 0;
}

.khw .figures li + li {
	border-left: 1px solid var(--navy-200);
}

.khw .figures .stat-num {
	font-size: clamp(48px, 4.2vw, 80px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
}

.khw .figures .stat-num span {
	margin-left: .04em;
	font-size: .55em;
	vertical-align: .55em;
	color: var(--navy-300);
}

.khw .figures p {
	max-width: 300px;
	margin-top: 12px;
	font-size: 17px;
	line-height: 1.45;
	color: var(--navy-500);
}

.khw .link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
}

.khw .link-arrow svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	transition: transform .3s;
}

.khw .link-arrow:hover svg {
	transform: rotate(45deg);
}

.khw .khw-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.khw button.btn {
	border: 0;
	background: none;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

@media (max-width: 1400px) {
	.khw .sec-head {
		column-gap: 64px;
	}
}

@media (max-width: 1200px) {
	.khw .figures:not(.figures--3) {
		grid-template-columns: repeat(2, 1fr);
	}

	.khw .figures:not(.figures--3) li:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.khw .figures:not(.figures--3) li:nth-child(n+3) {
		margin-top: 40px;
		border-top: 1px solid var(--navy-200);
	}
}

@media (max-width: 1024px) {
	.khw .sec-head {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.khw.section {
		padding: 72px 0;
	}

	.khw .panel {
		padding: 64px 0;
	}

	.khw .sec-lead {
		font-size: 16px;
	}

	.khw .checks--2 {
		grid-template-columns: 1fr;
	}

	.khw .checks li {
		font-size: 16px;
	}

	.khw .figures {
		grid-template-columns: 1fr;
		margin-top: 64px;
	}

	.khw .figures li,
	.khw .figures li:first-child {
		margin-top: 0;
		padding: 28px 0;
		border-left: 0;
	}

	.khw .figures li + li {
		border-top: 1px solid var(--navy-200);
	}

	.khw .btn-wrap .btn-label {
		white-space: normal;
		height: auto;
		min-height: 56px;
		padding: 12px 24px;
	}
}

/* Neutralise theme/kit styles that the original page did not have */
.khw {
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	word-wrap: normal;
}
.khw h1, .khw h2, .khw h3, .khw h4, .khw h5, .khw h6 {
	font-family: inherit;
	line-height: normal;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
}
.khw blockquote { border: 0; font-style: normal; quotes: none; background: none; color: inherit; font-size: inherit; line-height: inherit; }
.khw hr { height: 0; background: none; border: 0; }
.khw button { line-height: normal; text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; }

/* Elementor Pro theme templates: Astra tags the single-post wrapper as an article and pads/boxes it */
.ast-separate-container .elementor-location-single.ast-article-single:not(.ast-related-post) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.elementor-location-single.ast-article-single figure,
.elementor-location-single.ast-article-single img {
	box-shadow: none;
}


/* Slider dots: a 24px-high tap area (overrides the generic 44px mobile tap-target rule,
   which turned the dots into big squares) with the thin bar drawn inside it. */
.khw .slider-dots:not(.svc-tabs) button {
	position: relative;
	min-width: 0;
	min-height: 0;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
	--dot-inset: 0px;
	--dot-h: 4px;
}

.khw .slider-dots:not(.svc-tabs) button::before {
	content: "";
	position: absolute;
	top: 50%;
	left: var(--dot-inset);
	right: var(--dot-inset);
	height: var(--dot-h);
	margin-top: calc(var(--dot-h) / -2);
	border-radius: 4px;
	background: rgba(13, 27, 42, .18);
	transition: background .3s;
}

.khw .slider-dots:not(.svc-tabs) button:hover,
.khw .slider-dots:not(.svc-tabs) button:focus,
.khw .slider-dots:not(.svc-tabs) button.is-active {
	background: transparent;
}

.khw .slider-dots:not(.svc-tabs) button.is-active::before {
	background: var(--dark);
}

.khw .slider-dots:not(.svc-tabs) button:focus-visible::before {
	box-shadow: 0 0 0 2px var(--gold);
}

/* Hero review card: small dots (6px), wider hit area */
.khw.khw-hero .reviews .rv-dots {
	bottom: 5px;
	gap: 0;
}

.khw.khw-hero .reviews .rv-dots button {
	width: 18px;
	height: 24px;
	--dot-inset: 6px;
	--dot-h: 6px;
}

.khw.khw-hero .reviews .rv-dots button.is-active {
	width: 32px;
}

/* Review arrows: no theme focus ring after a tap */
.khw .rv-nav button:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}


/* Plus Jakarta Sans has a narrow space; with the tight letter-spacing words looked run together
   ("CALCULATRICEHYPOTHÉCAIRE"). A little extra word spacing keeps every word distinct. */
.khw {
	word-spacing: .1em;
}
