/* Page Tarifs et simulateur Gutenberg. Le langage visuel reprend les pages service validées. */

.dh66-service-detail-editor.dh66-page-tariffs {
	--dh-pricing-panel: rgb(4 24 42 / 0.64);
	--dh-pricing-panel-strong: rgb(2 19 37 / 0.82);
	--dh-pricing-border: rgb(255 255 255 / 0.22);
	--dh-pricing-edge: rgb(255 255 255 / 0.34);
}

.dh66-page-tariffs .dh66-tariffs-hero .dh-service-detail-hero__grid {
	min-height: min(520px, calc(100dvh - 145px));
}

.dh66-page-tariffs .dh66-tariffs-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 28px;
}

.dh66-page-tariffs .dh66-tariffs-hero__facts p {
	position: relative;
	margin: 0;
	padding-left: 18px;
	color: #f7fafc;
	font-size: 14px;
	font-weight: 800;
}

.dh66-page-tariffs .dh66-tariffs-hero__facts p::before {
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--dh66-orange-500, #ff7300);
	content: "";
	transform: translateY(-50%);
}

.dh66-page-tariffs .dh66-tariffs-intro {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	align-items: end;
	gap: clamp(28px, 6vw, 90px);
	margin-bottom: clamp(34px, 5vw, 58px);
}

.dh66-page-tariffs .dh66-tariffs-intro > * {
	margin-inline: 0;
}

.dh66-page-tariffs .dh66-tariffs-intro p {
	margin-bottom: 0;
	line-height: 1.65;
}

.dh66-pricing-calculator {
	position: relative;
	isolation: isolate;
	width: min(1180px, calc(100% - 56px));
	margin-inline: auto;
	padding: clamp(28px, 4.5vw, 58px);
	overflow: hidden;
	border: 1px solid var(--dh-pricing-border, rgb(255 255 255 / 0.22));
	border-radius: 18px;
	background:
		radial-gradient(circle at 14% 0%, rgb(255 255 255 / 0.13), transparent 36%),
		linear-gradient(135deg, rgb(255 255 255 / 0.08), rgb(5 28 48 / 0.3)),
		var(--dh-pricing-panel, rgb(4 24 42 / 0.64));
	box-shadow:
		inset 0 1px 0 var(--dh-pricing-edge, rgb(255 255 255 / 0.34)),
		0 24px 72px rgb(0 15 36 / 0.3);
	color: #f7fafc;
	-webkit-backdrop-filter: blur(var(--dh66-glass-blur, 20px)) saturate(138%) contrast(1.03);
	backdrop-filter: blur(var(--dh66-glass-blur, 20px)) saturate(138%) contrast(1.03);
}

.dh66-pricing-calculator::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, rgb(255 255 255 / 0.08), transparent 34% 100%);
	content: "";
	pointer-events: none;
}

.dh66-pricing-calculator *,
.dh66-pricing-calculator *::before,
.dh66-pricing-calculator *::after {
	box-sizing: border-box;
}

.dh66-pricing-calculator__header {
	max-width: 760px;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.dh66-pricing-calculator__header h2,
.dh66-pricing-calculator__header p {
	margin-inline: 0;
}

.dh66-pricing-calculator__header h2 {
	margin-bottom: 0;
	color: #f7fafc;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.04;
	letter-spacing: -0.045em;
}

.dh66-pricing-calculator__header h2 + p {
	max-width: 62ch;
	margin-top: 16px;
	margin-bottom: 0;
	color: rgb(247 250 252 / 0.82);
	font-size: clamp(16px, 1.3vw, 19px);
	line-height: 1.65;
}

.dh66-pricing-calculator__eyebrow {
	margin: 0 0 12px;
	color: #ffad69;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.dh66-pricing-calculator__vat {
	min-width: 0;
	margin: 0 0 clamp(28px, 4vw, 44px);
	padding: 0;
	border: 0;
}

.dh66-pricing-calculator__vat legend {
	width: 100%;
	margin-bottom: 16px;
	color: #f7fafc;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 900;
}

.dh66-pricing-calculator__vat-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.dh66-pricing-calculator__vat-options input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.dh66-pricing-calculator__vat-options label {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	min-height: 108px;
	gap: 18px;
	padding: clamp(20px, 3vw, 30px);
	border: 2px solid rgb(255 255 255 / 0.3);
	border-radius: 15px;
	background: rgb(1 18 35 / 0.58);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16);
	color: #f7fafc;
	cursor: pointer;
	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		transform 240ms var(--dh66-ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
		box-shadow 180ms ease;
}

.dh66-pricing-calculator__vat-options label strong {
	display: grid;
	place-items: center;
	min-width: 86px;
	min-height: 64px;
	border-radius: 12px;
	background: rgb(255 255 255 / 0.1);
	color: #f7fafc;
	font-size: clamp(27px, 3vw, 38px);
	line-height: 1;
}

.dh66-pricing-calculator__vat-options label span {
	font-size: clamp(15px, 1.3vw, 18px);
	font-weight: 800;
	line-height: 1.4;
}

.dh66-pricing-calculator__vat-options input:checked + label {
	border-color: var(--dh66-orange-500, #ff7300);
	background: linear-gradient(135deg, rgb(255 115 0 / 0.24), rgb(3 24 44 / 0.82));
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / 0.24),
		0 0 0 3px rgb(255 115 0 / 0.16),
		0 18px 42px rgb(0 15 36 / 0.24);
}

.dh66-pricing-calculator__vat-options input:checked + label strong {
	background: var(--dh66-orange-500, #ff7300);
	color: #002858;
}

.dh66-pricing-calculator__vat-options input:checked + label::after {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	width: 26px;
	height: 26px;
	place-items: center;
	border-radius: 50%;
	background: var(--dh66-orange-500, #ff7300);
	color: #002858;
	content: "✓";
	font-size: 16px;
	font-weight: 950;
	line-height: 1;
}

.dh66-pricing-calculator__vat-options input:focus-visible + label {
	outline: 3px solid #ffad69;
	outline-offset: 4px;
}

.dh66-pricing-calculator__vat-note {
	margin: 14px 0 0;
	color: rgb(247 250 252 / 0.75);
	font-size: 14px;
	line-height: 1.55;
}

.dh66-pricing-calculator__body {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
	align-items: start;
	gap: clamp(22px, 4vw, 48px);
}

.dh66-pricing-calculator__controls {
	display: grid;
	gap: 12px;
}

.dh66-pricing-calculator__controls label:not(.dh66-pricing-calculator__surcharge) {
	margin-top: 8px;
	color: #f7fafc;
	font-size: 14px;
	font-weight: 900;
}

.dh66-pricing-calculator__controls select {
	width: 100%;
	min-height: 54px;
	padding: 10px 44px 10px 15px;
	border: 1px solid rgb(255 255 255 / 0.34);
	border-radius: 10px;
	background-color: rgb(1 18 35 / 0.78);
	color: #f7fafc;
	font: inherit;
	font-size: 16px;
}

.dh66-pricing-calculator__controls select:focus-visible {
	border-color: var(--dh66-orange-500, #ff7300);
	outline: 3px solid rgb(255 115 0 / 0.28);
	outline-offset: 2px;
}

.dh66-pricing-calculator__controls [data-dh66-pricing-extra-wrap] {
	display: grid;
	gap: 12px;
}

.dh66-pricing-calculator__controls [data-dh66-pricing-extra-wrap][hidden] {
	display: none;
}

.dh66-pricing-calculator__surcharge {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	margin-top: 14px;
	padding: 14px 16px;
	border: 1px solid rgb(255 255 255 / 0.24);
	border-radius: 10px;
	background: rgb(255 255 255 / 0.07);
	color: #f7fafc;
	cursor: pointer;
}

.dh66-pricing-calculator__surcharge input {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--dh66-orange-500, #ff7300);
}

.dh66-pricing-calculator__surcharge span {
	line-height: 1.45;
}

.dh66-pricing-calculator__surcharge strong {
	color: #ffad69;
}

.dh66-pricing-calculator__result {
	display: block;
	padding: clamp(24px, 3.5vw, 40px);
	border: 1px solid rgb(255 255 255 / 0.28);
	border-radius: 15px;
	background:
		linear-gradient(145deg, rgb(255 115 0 / 0.15), transparent 44%),
		var(--dh-pricing-panel-strong, rgb(2 19 37 / 0.82));
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18);
	color: #f7fafc;
}

.dh66-pricing-calculator__result-label {
	margin: 0;
	color: #ffad69;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dh66-pricing-calculator__total {
	margin: 12px 0 0;
	color: #f7fafc;
	font-family: var(--dh66-font-display, "Arial Black", Arial, sans-serif);
	font-size: clamp(44px, 7vw, 76px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.dh66-pricing-calculator__total-caption {
	margin: 8px 0 24px;
	color: rgb(247 250 252 / 0.78);
	font-size: 15px;
	font-weight: 800;
}

.dh66-pricing-calculator__result dl {
	display: grid;
	gap: 0;
	margin: 0;
}

.dh66-pricing-calculator__result dl > div {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 11px 0;
	border-top: 1px solid rgb(255 255 255 / 0.16);
}

.dh66-pricing-calculator__result dt {
	color: rgb(247 250 252 / 0.7);
}

.dh66-pricing-calculator__result dd {
	margin: 0;
	color: #f7fafc;
	font-weight: 900;
	text-align: right;
}

.dh66-pricing-calculator__disclaimer {
	margin: 22px 0 0;
	color: rgb(247 250 252 / 0.7);
	font-size: 13px;
	line-height: 1.55;
}

.dh66-page-tariffs .dh66-tariffs-prices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.dh66-page-tariffs .dh66-tariffs-price {
	min-height: 300px;
}

.dh66-page-tariffs .dh66-tariffs-price__amount {
	margin: 18px 0 0;
	color: #ffad69;
	font-family: var(--dh66-font-display, "Arial Black", Arial, sans-serif);
	font-size: clamp(36px, 4vw, 54px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.045em;
}

.dh66-page-tariffs .dh66-tariffs-price__amount small {
	font-family: var(--dh66-font-sans, sans-serif);
	font-size: 14px;
	letter-spacing: 0;
}

.dh66-page-tariffs .dh66-tariffs-table-wrap,
.dh66-page-tariffs .dh66-tariffs-conditions {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--dh-service-border);
	border-radius: 16px;
	background:
		radial-gradient(circle at 14% 0%, rgb(255 255 255 / 0.13), transparent 36%),
		linear-gradient(135deg, rgb(255 255 255 / 0.08), rgb(5 28 48 / 0.3)),
		var(--dh-service-panel);
	box-shadow: inset 0 1px 0 var(--dh-service-edge), var(--dh-service-shadow);
	-webkit-backdrop-filter: blur(var(--dh66-glass-blur, 20px)) saturate(138%);
	backdrop-filter: blur(var(--dh66-glass-blur, 20px)) saturate(138%);
}

.dh66-page-tariffs .dh66-tariffs-table-wrap {
	padding: clamp(18px, 3vw, 34px);
}

.dh66-page-tariffs .dh66-tariffs-table {
	margin: 0;
	color: #f7fafc;
}

.dh66-page-tariffs .dh66-tariffs-table table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	color: inherit;
}

.dh66-page-tariffs .dh66-tariffs-table th,
.dh66-page-tariffs .dh66-tariffs-table td {
	padding: 16px 14px;
	border: 0;
	border-bottom: 1px solid rgb(255 255 255 / 0.16);
	background: transparent;
	color: inherit;
	text-align: left;
}

.dh66-page-tariffs .dh66-tariffs-table th {
	color: #ffad69;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dh66-page-tariffs .dh66-tariffs-table td:last-child {
	font-weight: 900;
}

.dh66-page-tariffs .dh66-tariffs-table .dh66-tariffs-table__zone td {
	padding-bottom: 10px;
	border-bottom: 0;
}

.dh66-page-tariffs .dh66-tariffs-table .dh66-tariffs-table__examples td {
	padding-top: 0;
	padding-bottom: 18px;
	color: rgb(247 250 252 / 0.74);
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.65;
}

.dh66-page-tariffs .dh66-tariffs-table .dh66-tariffs-table__examples strong {
	color: #f7fafc;
	font-weight: 600;
}

.dh66-page-tariffs .dh66-tariffs-table tbody tr:last-child td {
	border-bottom: 0;
}

.dh66-page-tariffs .dh66-tariffs-conditions {
	padding: clamp(28px, 4.5vw, 56px);
}

.dh66-page-tariffs .dh66-tariffs-conditions__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(26px, 5vw, 72px);
}

.dh66-page-tariffs .dh66-tariffs-conditions h3 {
	margin-bottom: 16px;
	font-size: clamp(22px, 2.4vw, 31px);
}

.dh66-page-tariffs .dh66-tariffs-conditions ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dh66-page-tariffs .dh66-tariffs-conditions li {
	position: relative;
	padding-left: 22px;
	color: rgb(247 250 252 / 0.82);
	line-height: 1.55;
}

.dh66-page-tariffs .dh66-tariffs-conditions li::before {
	position: absolute;
	top: 0.7em;
	left: 0;
	width: 8px;
	height: 2px;
	background: var(--dh66-orange-500, #ff7300);
	content: "";
}

.dh66-pricing-calculator-editor {
	padding: 28px;
	border: 1px solid #6886a4;
	border-radius: 14px;
	background: #08243f;
	color: #f7fafc;
}

.dh66-pricing-calculator-editor__eyebrow {
	margin: 0 0 8px;
	color: #ffad69;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.dh66-pricing-calculator-editor > strong {
	display: block;
	font-size: 24px;
}

.dh66-pricing-calculator-editor__rates {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.dh66-pricing-calculator-editor__rates span {
	padding: 10px 14px;
	border: 2px solid #ff7300;
	border-radius: 10px;
	background: rgb(255 115 0 / 0.16);
	font-weight: 800;
}

@media (hover: hover) and (pointer: fine) {
	.dh66-pricing-calculator__vat-options label:hover {
		border-color: rgb(255 173 105 / 0.78);
		transform: translateY(-2px);
	}
}

@supports not ((-webkit-backdrop-filter: blur(1rem)) or (backdrop-filter: blur(1rem))) {
	.dh66-pricing-calculator,
	.dh66-page-tariffs .dh66-tariffs-table-wrap,
	.dh66-page-tariffs .dh66-tariffs-conditions {
		background: #08243f;
	}
}

@media (max-width: 64rem) {
	.dh66-pricing-calculator__body {
		grid-template-columns: 1fr;
	}

	.dh66-page-tariffs .dh66-tariffs-prices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 47.99rem) {
	.dh66-page-tariffs .dh66-tariffs-intro,
	.dh66-pricing-calculator__vat-options,
	.dh66-page-tariffs .dh66-tariffs-prices,
	.dh66-page-tariffs .dh66-tariffs-conditions__grid {
		grid-template-columns: 1fr;
	}

	.dh66-pricing-calculator {
		width: min(100% - 32px, 1180px);
		padding: 24px 18px;
		border-radius: 14px;
	}

	.dh66-pricing-calculator__vat-options label {
		min-height: 92px;
		padding: 18px;
	}

	.dh66-pricing-calculator__vat-options label strong {
		min-width: 72px;
		min-height: 56px;
	}

	.dh66-pricing-calculator__body {
		gap: 20px;
	}

	.dh66-pricing-calculator__result {
		padding: 24px 18px;
	}

	.dh66-page-tariffs .dh66-tariffs-table-wrap {
		overflow-x: auto;
	}

	.dh66-page-tariffs .dh66-tariffs-table {
		min-width: 620px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dh66-pricing-calculator__vat-options label {
		transition: none;
	}
}
