/* ==========================================================================
   Tecnología UV — Estilos específicos
   ========================================================================== */

/* ==========================================================================
   Hero — version avec vidéo en background
   ========================================================================== */
.tech-hero {
	padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-10);
	background: var(--color-gray-50);
	border-bottom: 1px solid var(--color-gray-200);
}

.tech-hero .container {
	max-width: 900px;
	position: relative;
	z-index: 2;
}

.tech-hero h1 {
	margin-bottom: var(--space-5);
	max-width: 20ch;
}

.tech-hero .lead {
	max-width: 70ch;
	margin-bottom: var(--space-6);
}

.tech-hero-meta {
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--space-5);
}

.tech-hero-meta span {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	color: var(--color-gray-700);
}

.tech-hero-meta i {
	color: var(--color-orange);
	font-size: 0.85rem;
}

/* Variante hero immersif avec vidéo en background */
.tech-hero-video {
	position: relative;
	background: var(--color-black);
	border-bottom: none;
	overflow: hidden;
	min-height: 70vh;
	display: flex;
	align-items: center;
	color: var(--color-white);
}

.tech-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.tech-hero-bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tech-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		115deg,
		rgba(10, 10, 10, 0.80) 0%,
		rgba(10, 10, 10, 0.65) 40%,
		rgba(10, 10, 10, 0.45) 70%,
		rgba(10, 10, 10, 0.35) 100%
	);
	pointer-events: none;
}

.tech-hero-video h1 {
	color: var(--color-white);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.tech-hero-video .lead,
.tech-hero-video .lead-light {
	color: var(--color-gray-200);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.tech-hero-video .eyebrow-light {
	color: var(--color-orange);
}

.tech-hero-video .tech-hero-meta span {
	color: rgba(255, 255, 255, 0.85);
}

/* Adaptation mobile : overlay plus uniforme pour la lisibilité */
@media (max-width: 900px) {
	.tech-hero-video {
		min-height: 60vh;
	}

	.tech-hero-overlay {
		background: linear-gradient(
			180deg,
			rgba(10, 10, 10, 0.75) 0%,
			rgba(10, 10, 10, 0.60) 50%,
			rgba(10, 10, 10, 0.75) 100%
		);
	}
}

/* ==========================================================================
   Sections
   ========================================================================== */
.tech-section {
	padding: var(--space-12) 0;
}

.tech-section-alt {
	background: var(--color-gray-50);
}

.tech-block {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: var(--space-8);
	align-items: start;
	max-width: 1100px;
	margin: 0 auto;
}

.tech-block-num {
	font-family: var(--font-display);
	font-size: 4rem;
	font-weight: 700;
	color: var(--color-orange);
	line-height: 0.9;
	letter-spacing: -0.04em;
	position: sticky;
	top: calc(var(--header-height) + var(--space-4));
}

.tech-block-body {
	max-width: 75ch;
}

.tech-block h2 {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin-bottom: var(--space-5);
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.tech-lead {
	font-size: 1.15rem;
	color: var(--color-gray-700);
	margin-bottom: var(--space-5);
	line-height: 1.55;
}

.tech-block p {
	font-size: 1rem;
	color: var(--color-gray-800);
	line-height: 1.7;
	margin: 0 0 var(--space-4);
}

.tech-block strong {
	color: var(--color-black);
	font-weight: 700;
}

@media (max-width: 800px) {
	.tech-block {
		grid-template-columns: 1fr;
		gap: var(--space-3);
	}

	.tech-block-num {
		font-size: 2.5rem;
		position: static;
	}
}

/* ==========================================================================
   Callouts (encadrés mis en valeur)
   ========================================================================== */
.tech-callout {
	display: flex;
	gap: var(--space-4);
	padding: var(--space-5) var(--space-6);
	background: var(--color-orange-soft);
	border-radius: var(--radius-md);
	margin: var(--space-6) 0;
	align-items: flex-start;
}

.tech-callout > i {
	font-size: 1.5rem;
	color: var(--color-orange-dark);
	flex-shrink: 0;
	margin-top: 2px;
}

.tech-callout strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-black);
	margin-bottom: var(--space-2);
	letter-spacing: -0.015em;
}

.tech-callout p {
	font-size: 0.95rem;
	color: var(--color-gray-800);
	margin: 0;
	line-height: 1.55;
}

.tech-callout-warning {
	background: #FEF7E0;
	border-left: 3px solid #F5A623;
}

.tech-callout-warning > i {
	color: #C77700;
}

/* Note inline (aside) */
.tech-aside {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	font-size: 0.9rem !important;
	font-style: italic;
	color: var(--color-gray-700) !important;
	border-left: 2px solid var(--color-gray-300);
	padding-left: var(--space-4);
	margin: var(--space-5) 0 0 !important;
	line-height: 1.6 !important;
}

.tech-aside i {
	color: var(--color-orange);
	margin-top: 4px;
	flex-shrink: 0;
}

/* ==========================================================================
   Procédé en 3 étapes
   ========================================================================== */
.tech-process {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-5);
	margin: var(--space-7) 0;
}

.tech-step {
	background: var(--color-white);
	border: 1px solid var(--color-gray-200);
	border-radius: var(--radius-md);
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
}

.tech-step-visual {
	background: var(--color-gray-50);
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-4);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.tech-step-visual svg {
	width: 100%;
	height: auto;
	display: block;
	padding: var(--space-3);
}

.tech-step-visual img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.tech-step-label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-orange);
	margin-bottom: var(--space-2);
}

.tech-step h3 {
	font-size: 1.1rem;
	margin-bottom: var(--space-3);
	letter-spacing: -0.015em;
}

.tech-step p {
	font-size: 0.92rem !important;
	margin: 0 !important;
	line-height: 1.55 !important;
	color: var(--color-gray-700) !important;
}

@media (max-width: 800px) {
	.tech-process {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Tableau comparatif
   ========================================================================== */
.tech-compare {
	margin: var(--space-6) 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-gray-200);
}

.tech-compare table {
	width: 100%;
	min-width: 600px;
	border-collapse: collapse;
	background: var(--color-white);
}

.tech-compare th,
.tech-compare td {
	padding: var(--space-3) var(--space-4);
	text-align: left;
	font-size: 0.92rem;
	border-bottom: 1px solid var(--color-gray-100);
	vertical-align: top;
}

.tech-compare thead th {
	background: var(--color-black);
	color: var(--color-white);
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	padding: var(--space-4);
	border-bottom: none;
}

.tech-compare thead th:first-child {
	background: var(--color-gray-900);
}

.tech-compare tbody tr:last-child td {
	border-bottom: none;
}

.tech-compare td:first-child {
	font-weight: 600;
	color: var(--color-black);
	background: var(--color-gray-50);
	width: 25%;
}

.tech-compare-uv {
	color: var(--color-black);
	border-left: 2px solid var(--color-orange);
}

.tech-compare-sub {
	color: var(--color-gray-700);
}

.tech-compare thead .tech-compare-uv {
	color: var(--color-white);
	border-left: none;
}

.tech-compare thead .tech-compare-uv::before {
	content: '★ ';
	color: var(--color-orange);
}

/* ==========================================================================
   Anatomie d'une impression
   ========================================================================== */
.tech-anatomy {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: var(--space-7);
	margin: var(--space-6) 0;
	align-items: center;
}

.tech-anatomy-visual {
	position: relative;
	background: var(--color-white);
	border: 1px solid var(--color-gray-200);
	border-radius: var(--radius-md);
	padding: var(--space-5);
	overflow: hidden;
}

/* Cas image générée */
.tech-anatomy-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-sm);
}

/* Labels superposés sur l'image */
.tech-anatomy-labels {
	position: absolute;
	inset: var(--space-5);
	pointer-events: none;
}

.tech-anatomy-label {
	position: absolute;
	right: 0;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: 6px 10px 6px 8px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid var(--color-gray-200);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-xs);
}

.tech-anatomy-label-num {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--color-orange-dark);
	background: var(--color-orange-soft);
	padding: 2px 6px;
	border-radius: 3px;
}

.tech-anatomy-label-text {
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-black);
	letter-spacing: -0.01em;
}

/* Cas SVG conservé (fallback ou alternative) */
.tech-anatomy-visual svg {
	width: 100%;
	height: auto;
	display: block;
}

.tech-anatomy-list {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.tech-anatomy-item {
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
}

.tech-anatomy-num {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-orange-soft);
	color: var(--color-orange-dark);
	border-radius: var(--radius-sm);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 600;
}

.tech-anatomy-item h4 {
	font-size: 1rem;
	margin-bottom: var(--space-2);
	letter-spacing: -0.01em;
	color: var(--color-black);
}

.tech-anatomy-item p {
	font-size: 0.92rem !important;
	margin: 0 !important;
	line-height: 1.55 !important;
	color: var(--color-gray-700) !important;
}

@media (max-width: 800px) {
	.tech-anatomy {
		grid-template-columns: 1fr;
	}

	.tech-anatomy-label-text {
		font-size: 0.75rem;
	}

	.tech-anatomy-label {
		padding: 4px 8px 4px 6px;
	}
}

/* ==========================================================================
   Section vidéo
   ========================================================================== */
.tech-section-video {
	background: var(--color-black);
	color: var(--color-white);
}

.tech-section-video .tech-block-num {
	color: var(--color-orange);
}

.tech-section-video h2 {
	color: var(--color-white);
}

.tech-section-video .tech-lead {
	color: var(--color-gray-300);
}

.tech-video-wrap {
	margin: var(--space-6) 0 var(--space-4);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--color-gray-900);
	aspect-ratio: 16 / 9;
}

.tech-video-wrap video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.tech-video-caption {
	font-family: var(--font-mono);
	font-size: 0.78rem !important;
	letter-spacing: 0.04em;
	color: var(--color-gray-500) !important;
	text-align: center;
	margin: 0 !important;
}

/* ==========================================================================
   CTA final
   ========================================================================== */
.tech-cta-section {
	background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
}

.tech-cta {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.tech-cta .eyebrow {
	margin-bottom: var(--space-4);
}

.tech-cta h2 {
	font-size: clamp(2rem, 3.5vw, 3rem);
	margin-bottom: var(--space-4);
	letter-spacing: -0.025em;
}

.tech-cta p {
	font-size: 1.1rem;
	color: var(--color-gray-700);
	margin-bottom: var(--space-6);
	line-height: 1.55;
}

.tech-cta-buttons {
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	justify-content: center;
}

/* ==========================================================================
   Section « Sin tinta blanca » (argumentaire fort)
   ========================================================================== */
.tech-section-hero {
	background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
}

.tech-solution {
	margin-top: var(--space-7);
	padding: var(--space-7);
	background: var(--color-black);
	color: var(--color-white);
	border-radius: var(--radius-lg);
	position: relative;
	overflow: hidden;
}

.tech-solution::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 250px;
	height: 250px;
	background: radial-gradient(circle at top right, rgba(254, 142, 15, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.tech-solution-header {
	position: relative;
	margin-bottom: var(--space-4);
}

.tech-solution-badge {
	display: inline-block;
	padding: 4px 12px;
	background: var(--color-orange);
	color: var(--color-black);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 100px;
	margin-bottom: var(--space-3);
}

.tech-solution-header h3 {
	font-size: clamp(1.3rem, 2.5vw, 1.7rem);
	color: var(--color-white);
	letter-spacing: -0.02em;
	margin: 0;
}

.tech-solution > p {
	font-size: 1.05rem !important;
	color: var(--color-gray-300) !important;
	line-height: 1.6 !important;
	margin: 0 0 var(--space-6) !important;
	position: relative;
	max-width: 65ch;
}

.tech-solution-benefits {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-5);
	position: relative;
}

.tech-solution-benefit {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
}

.tech-solution-benefit > i {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(254, 142, 15, 0.15);
	color: var(--color-orange);
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
}

.tech-solution-benefit strong {
	display: block;
	font-family: var(--font-display);
	font-size: 0.95rem;
	color: var(--color-white);
	margin-bottom: 4px;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.tech-solution-benefit span {
	display: block;
	font-size: 0.87rem;
	color: var(--color-gray-400);
	line-height: 1.45;
}

@media (max-width: 700px) {
	.tech-solution {
		padding: var(--space-5);
	}
	.tech-solution-benefits {
		grid-template-columns: 1fr;
		gap: var(--space-4);
	}
}

/* ==========================================================================
   Labels et items en état « opcional » et « no usamos »
   ========================================================================== */

/* Label opcional : bordure orange légère */
.tech-anatomy-label-optional {
	border-color: rgba(254, 142, 15, 0.4);
	background: rgba(255, 244, 230, 0.95);
}

/* Label no usamos : opacité réduite et rayures */
.tech-anatomy-label-skipped {
	opacity: 0.75;
	background: rgba(240, 240, 240, 0.95);
}

.tech-anatomy-label-skipped .tech-anatomy-label-text {
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	color: var(--color-gray-700);
}

/* Tag interne (opcional / no usamos) */
.tech-anatomy-label-tag {
	font-family: var(--font-mono);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 2px 5px;
	background: var(--color-gray-100);
	color: var(--color-gray-700);
	border-radius: 3px;
	margin-left: 4px;
}

.tech-anatomy-label-optional .tech-anatomy-label-tag {
	background: rgba(254, 142, 15, 0.15);
	color: var(--color-orange-dark);
}

/* Tags pour les items de la liste à droite */
.tech-anatomy-tag {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 2px 6px;
	background: var(--color-orange-soft);
	color: var(--color-orange-dark);
	border-radius: 3px;
	margin-left: 6px;
	vertical-align: middle;
	text-transform: lowercase;
}

.tech-anatomy-tag-skipped {
	background: var(--color-gray-100);
	color: var(--color-gray-600);
}

.tech-anatomy-item-optional {
	opacity: 0.85;
}

.tech-anatomy-item-skipped {
	opacity: 0.65;
}

.tech-anatomy-item-skipped h4,
.tech-anatomy-item-skipped p {
	color: var(--color-gray-600) !important;
}

.tech-anatomy-item-skipped .tech-anatomy-num {
	background: var(--color-gray-100);
	color: var(--color-gray-500);
}
