/*
 * Instilab — landing page (port de docs/maquettes/instilab-page-easteregg.html).
 * Atelier logiciel d'Instilia SAS — identite Solaire Rouge.
 * Palette : --accent #FF6B1A + --solaire-gold #FFC872 -> --solaire-burgundy #7A1408.
 * Fond ink: #060B14, typo Inter + JetBrains Mono.
 */

:root {
	--bg: #060B14;
	--bg-soft: #0B1322;
	--bg-card: #0F1828;
	--bg-card-hover: #131D31;
	--ink: #F4F6FA;
	--ink-soft: #C4CDDA;
	--ink-dim: #7E8898;
	--ink-mute: #495267;
	--line: #1B2538;
	--line-soft: #131C2D;
	--teal: #5DE3C5;

	--solaire-gold: #FFC872;
	--solaire-amber: #FF9442;
	--solaire-orange: #FF6B1A;
	--solaire-red: #E83A10;
	--solaire-deep: #B82414;
	--solaire-burg: #7A1408;

	--accent: #FF6B1A;
	--accent-hover: #FF8742;
	--accent-soft: rgba(255, 107, 26, .12);
	--accent-line: rgba(255, 107, 26, .28);

	--font: 'Inter', sans-serif;
	--font-mono: 'JetBrains Mono', monospace;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html { scroll-behavior: smooth; }

html, body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	overflow-x: hidden;
}

body {
	background:
		radial-gradient(ellipse 65% 50% at 100% 0%, rgba(255, 107, 26, .08) 0%, transparent 55%),
		radial-gradient(ellipse 40% 30% at 0% 60%, rgba(184, 36, 20, .04) 0%, transparent 60%),
		var(--bg);
}

::selection {
	background: var(--accent);
	color: #1F0E00;
}

/* === Header / nav === */
.header {
	padding: 26px 48px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1440px;
	margin: 0 auto;
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(6, 11, 20, .8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--ink);
}

.lab-brand-svg {
	width: 30px;
	height: auto;
}

.brand__text {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .18em;
}

.brand__text em {
	font-style: normal;
	font-weight: 500;
	color: var(--accent);
}

.nav {
	display: flex;
	gap: 36px;
	align-items: center;
}

.nav a {
	font-size: 13.5px;
	color: var(--ink-soft);
	text-decoration: none;
	transition: color .2s;
}

.nav a:hover { color: var(--accent-hover); }

.connect {
	font-size: 13px;
	font-weight: 500;
	padding: 9px 18px;
	border: 1px solid var(--accent-line);
	border-radius: 999px;
	color: var(--accent-hover);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all .25s ease;
	background: var(--accent-soft);
}

.connect:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #1F0E00;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(255, 107, 26, .25);
}

.connect .arr { transition: transform .2s; }
.connect:hover .arr { transform: translateX(3px); }

/* === Hero === */
.hero {
	max-width: 1440px;
	margin: 0 auto;
	padding: 96px 48px 128px;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: center;
	position: relative;
	min-height: 78vh;
}

.hero__col {
	position: relative;
	z-index: 2;
}

.dash-label {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent);
	letter-spacing: .25em;
	text-transform: uppercase;
	margin-bottom: 32px;
}

.dash-label::before {
	content: '';
	width: 28px;
	height: 1px;
	background: var(--accent);
}

.hero h1 {
	font-weight: 300;
	font-size: clamp(48px, 6vw, 84px);
	letter-spacing: -.035em;
	line-height: .96;
	margin-bottom: 32px;
}

.hero h1 em {
	font-style: italic;
	font-weight: 400;
	background: linear-gradient(135deg, var(--solaire-gold) 0%, var(--solaire-orange) 50%, var(--solaire-burg) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero__lede {
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-soft);
	margin-bottom: 40px;
	max-width: 500px;
}

.hero__lede b {
	color: var(--ink);
	font-weight: 500;
}

.hero__ctas {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.cta {
	font-size: 14px;
	padding: 14px 24px;
	border-radius: 10px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: all .25s ease;
	font-weight: 500;
}

.cta--solid {
	background: var(--accent);
	color: #1F0E00;
}

.cta--solid:hover {
	background: var(--accent-hover);
	transform: translateY(-1px);
	box-shadow: 0 12px 30px rgba(255, 107, 26, .25);
}

.cta--ghost {
	border: 1px solid var(--line);
	color: var(--ink);
	background: rgba(15, 24, 40, .4);
}

.cta--ghost:hover {
	border-color: var(--accent);
	color: var(--accent-hover);
}

.cta .arr { transition: transform .2s; }
.cta:hover .arr { transform: translateX(3px); }

/* =========================================
   LOGO STAGE — base + idle animations
   ========================================= */
.lab-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	max-width: 520px;
	margin-left: auto;
	isolation: isolate;
	--tilt-x: 0deg;
	--tilt-y: 0deg;
	transition: transform .4s cubic-bezier(.25, .1, .25, 1);
	transform-style: preserve-3d;
	perspective: 1000px;
	cursor: pointer;
	user-select: none;
}

/* Blueprint grid (easter egg) */
.lab-grid {
	position: absolute;
	inset: -10%;
	background-image:
		linear-gradient(rgba(255, 107, 26, .18) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 107, 26, .18) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .5s ease;
	mask-image: radial-gradient(circle at center, black 0%, transparent 60%);
	-webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 60%);
	z-index: 0;
}

.synthesizing .lab-grid { opacity: 1; }

/* Scan line */
.lab-scanline {
	position: absolute;
	left: -5%;
	right: -5%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--solaire-gold) 30%, var(--solaire-orange) 50%, var(--solaire-gold) 70%, transparent);
	box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent), 0 0 48px rgba(255, 107, 26, .6);
	top: -10%;
	opacity: 0;
	pointer-events: none;
	z-index: 4;
}

.synth-scan .lab-scanline { animation: scan-sweep 1s ease-in-out forwards; }

@keyframes scan-sweep {
	0%   { top: -8%; opacity: 0; }
	10%  { opacity: 1; }
	50%  { top: 50%; opacity: 1; }
	90%  { opacity: 1; }
	100% { top: 108%; opacity: 0; }
}

.synth-process .lab-scanline {
	animation: scan-pingpong 1.2s ease-in-out 1;
	background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
	opacity: .6;
	height: 1px;
	box-shadow: 0 0 8px var(--accent);
}

@keyframes scan-pingpong {
	0%   { top: 0%; opacity: .6; }
	50%  { top: 100%; opacity: .9; }
	100% { top: 0%; opacity: .6; }
}

/* Halos */
.lab-halo {
	position: absolute;
	inset: -10%;
	background: radial-gradient(circle at center,
		rgba(255, 107, 26, .35) 0%,
		rgba(232, 58, 16, .15) 35%,
		transparent 65%);
	filter: blur(40px);
	animation: halo-pulse 6.7s ease-in-out infinite;
	z-index: 0;
	pointer-events: none;
	transition: opacity .4s ease;
}

@keyframes halo-pulse {
	0%, 100% { opacity: .55; transform: scale(.92); }
	50%      { opacity: .9; transform: scale(1.08); }
}

.lab-halo--inner {
	inset: 8%;
	background: radial-gradient(circle at center, rgba(255, 107, 26, .25) 0%, transparent 55%);
	filter: blur(24px);
	animation: halo-pulse-inner 5.3s ease-in-out infinite;
}

@keyframes halo-pulse-inner {
	0%, 100% { opacity: .6; transform: scale(1); }
	50%      { opacity: 1; transform: scale(1.04); }
}

/* Idle multi-layer wrappers */
.lab-orbit {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
	animation: lab-orbit 14.3s ease-in-out infinite;
	transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
	transition: transform .3s ease;
}

@keyframes lab-orbit {
	0%, 100% { transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotate(-1.5deg); }
	50%      { transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotate(1.5deg); }
}

.lab-float {
	width: 100%;
	height: 100%;
	animation: lab-float 7.3s ease-in-out infinite;
}

@keyframes lab-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-10px); }
}

.lab-breath {
	width: 100%;
	height: 100%;
	animation: lab-breath 6.1s ease-in-out infinite;
}

@keyframes lab-breath {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.025); }
}

.lab-svg {
	width: 100%;
	height: 100%;
	display: block;
	animation: lab-shimmer 5.7s ease-in-out infinite;
	transition: filter .4s ease;
	overflow: visible;
}

@keyframes lab-shimmer {
	0%, 100% { filter: drop-shadow(0 20px 50px rgba(255, 100, 30, .22)) drop-shadow(0 0 20px rgba(255, 107, 26, .15)) brightness(1); }
	50%      { filter: drop-shadow(0 28px 65px rgba(255, 100, 30, .38)) drop-shadow(0 0 30px rgba(255, 107, 26, .3)) brightness(1.15); }
}

/* === Lab triangles base === */
.lab-tri {
	transition: transform .6s cubic-bezier(.4, 0, .2, 1),
				fill-opacity .4s ease,
				stroke-width .4s ease,
				filter .3s ease;
	transform-origin: center;
	transform-box: fill-box;
}

.lab-tri[data-y-order="0"] { --y-order: 0; }
.lab-tri[data-y-order="1"] { --y-order: 1; }
.lab-tri[data-y-order="2"] { --y-order: 2; }
.lab-tri[data-y-order="3"] { --y-order: 3; }
.lab-tri[data-y-order="4"] { --y-order: 4; }

.lab-stage:not(.synthesizing):hover .lab-tri {
	animation: tri-pulse 1.2s ease-out;
	animation-delay: calc(var(--y-order, 0) * .08s);
}

@keyframes tri-pulse {
	0%   { filter: brightness(1); }
	35%  { filter: brightness(1.4) saturate(1.15); }
	100% { filter: brightness(1); }
}

.lab-stage:not(.synthesizing):hover .lab-svg {
	filter: drop-shadow(0 32px 80px rgba(255, 100, 30, .55))
			drop-shadow(0 0 40px rgba(255, 107, 26, .4))
			brightness(1.18) saturate(1.05);
}

.lab-stage:not(.synthesizing):hover .lab-halo {
	opacity: 1;
	transform: scale(1.18);
}

.lab-stage:not(.synthesizing):hover .lab-halo--inner {
	opacity: 1;
	transform: scale(1.12);
}

/* Cluster lines (revealed during synthesis) */
.lab-cline {
	stroke: var(--accent);
	stroke-width: .25;
	fill: none;
	opacity: 0;
	stroke-dasharray: 60;
	stroke-dashoffset: 60;
	filter: drop-shadow(0 0 2px var(--accent));
	transition: opacity .3s ease;
}

/* Nodes (revealed during synthesis) */
.lab-node {
	fill: var(--solaire-gold);
	opacity: 0;
	transform-origin: center;
	transform-box: fill-box;
	filter: drop-shadow(0 0 3px var(--accent));
	transition: opacity .3s ease;
}

/* Data char floats (perimeter) */
.lab-data {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 5;
}

.data-char {
	position: absolute;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent-hover);
	letter-spacing: .08em;
	opacity: 0;
	text-shadow: 0 0 6px rgba(255, 107, 26, .8);
	white-space: nowrap;
}

.data-char:nth-child(1) { top: 8%;  left: -16%; }
.data-char:nth-child(2) { top: 22%; right: -14%; }
.data-char:nth-child(3) { top: 48%; left: -18%; }
.data-char:nth-child(4) { top: 64%; right: -16%; }
.data-char:nth-child(5) { top: 38%; right: -8%; }
.data-char:nth-child(6) { top: 82%; left: -12%; }
.data-char:nth-child(7) { top: 12%; right: -6%; }
.data-char:nth-child(8) { top: 92%; right: -10%; }

/* Status meta label */
.lab-status {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--accent-hover);
	opacity: 0;
	transition: opacity .3s ease;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 10;
}

.synthesizing .lab-status { opacity: 1; }

.lab-status .status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	animation: status-pulse 1s ease-in-out infinite;
	box-shadow: 0 0 8px var(--accent);
}

@keyframes status-pulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: .3; }
}

/* Complete rings (phase 5 burst) */
.complete-ring {
	position: absolute;
	inset: 20%;
	border: 2px solid var(--accent);
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
	z-index: 2;
	transform: scale(.4);
}

/* =========================================
   SYNTHESIS PHASES
   ========================================= */

.lab-stage.synthesizing .lab-orbit,
.lab-stage.synthesizing .lab-float,
.lab-stage.synthesizing .lab-breath {
	animation-play-state: paused;
}

.lab-stage.synthesizing .lab-svg { animation: none; }

/* PHASE 1 — SCAN */
.synth-scan .lab-tri { filter: brightness(1.08) saturate(1.05); }

/* PHASE 2 — DECONSTRUCT */
.synth-deconstruct .lab-tri,
.synth-process .lab-tri {
	transform: translate(calc(var(--rx, 0) * 5px), calc(var(--ry, 0) * 5px));
	fill-opacity: .08;
	stroke: var(--accent-hover);
	stroke-width: .35;
	filter: drop-shadow(0 0 3px rgba(255, 107, 26, .5));
}

.synth-deconstruct .lab-cline,
.synth-process .lab-cline {
	opacity: 1;
	animation: line-draw .9s ease-out forwards;
}

@keyframes line-draw {
	to { stroke-dashoffset: 0; }
}

.synth-deconstruct .lab-node,
.synth-process .lab-node {
	opacity: 1;
	animation: node-pulse 1.6s ease-in-out infinite;
	animation-delay: calc(var(--y-order, 0) * .05s);
}

.lab-node[data-y-order="0"] { --y-order: 0; }
.lab-node[data-y-order="1"] { --y-order: 1; }
.lab-node[data-y-order="2"] { --y-order: 2; }
.lab-node[data-y-order="3"] { --y-order: 3; }
.lab-node[data-y-order="4"] { --y-order: 4; }

@keyframes node-pulse {
	0%, 100% { transform: scale(1); fill: var(--solaire-gold); }
	50%      { transform: scale(1.5); fill: var(--solaire-orange); }
}

/* PHASE 3 — PROCESSING */
.synth-process .lab-cline {
	animation: line-throb 1.1s ease-in-out infinite;
}

@keyframes line-throb {
	0%, 100% { stroke: var(--accent); stroke-width: .25; opacity: .55; }
	50%      { stroke: var(--solaire-gold); stroke-width: .5; opacity: 1; }
}

.synth-process .lab-node {
	animation: node-flicker .6s ease-in-out infinite;
	animation-delay: calc(var(--y-order, 0) * .04s);
}

@keyframes node-flicker {
	0%, 100% { transform: scale(1); fill: var(--solaire-gold); }
	50%      { transform: scale(1.8); fill: var(--solaire-amber); filter: drop-shadow(0 0 8px var(--accent)); }
}

.synth-process .data-char { animation: data-float 1.4s ease-in-out infinite; }
.synth-process .data-char:nth-child(1) { animation-delay: 0s; }
.synth-process .data-char:nth-child(2) { animation-delay: .15s; }
.synth-process .data-char:nth-child(3) { animation-delay: .30s; }
.synth-process .data-char:nth-child(4) { animation-delay: .45s; }
.synth-process .data-char:nth-child(5) { animation-delay: .60s; }
.synth-process .data-char:nth-child(6) { animation-delay: .75s; }
.synth-process .data-char:nth-child(7) { animation-delay: .20s; }
.synth-process .data-char:nth-child(8) { animation-delay: .55s; }

@keyframes data-float {
	0%   { opacity: 0; transform: translateY(8px); }
	30%  { opacity: 1; transform: translateY(0); }
	70%  { opacity: .8; transform: translateY(-4px); }
	100% { opacity: 0; transform: translateY(-12px); }
}

.synth-process .lab-halo {
	animation: synth-halo-pulse .8s ease-in-out infinite;
}

@keyframes synth-halo-pulse {
	0%, 100% { opacity: .6; transform: scale(1); }
	50%      { opacity: 1; transform: scale(1.15); }
}

/* PHASE 4 — MATERIALIZE */
.synth-materialize .lab-tri {
	animation: tri-materialize .6s cubic-bezier(.4, 0, .2, 1) forwards;
	animation-delay: calc((4 - var(--y-order, 0)) * .07s);
}

@keyframes tri-materialize {
	0% {
		transform: translate(calc(var(--rx, 0) * 5px), calc(var(--ry, 0) * 5px));
		fill-opacity: .08;
		stroke-width: .35;
		filter: brightness(1) drop-shadow(0 0 3px rgba(255, 107, 26, .5));
	}
	55% {
		transform: translate(calc(var(--rx, 0) * 2px), calc(var(--ry, 0) * 2px));
		fill-opacity: 1;
		stroke-width: 0;
		filter: brightness(1.7) saturate(1.3) drop-shadow(0 0 12px rgba(255, 200, 114, .8));
	}
	100% {
		transform: translate(0, 0);
		fill-opacity: 1;
		stroke-width: 0;
		filter: brightness(1);
	}
}

.synth-materialize .lab-cline {
	opacity: 0;
	transition: opacity .3s ease;
	animation: none;
}

.synth-materialize .lab-node {
	opacity: 0;
	transition: opacity .3s ease;
	animation: none;
}

.synth-materialize .data-char {
	opacity: 0;
	transition: opacity .3s;
	animation: none;
}

/* PHASE 5 — COMPLETE */
.synth-complete .lab-svg {
	animation: complete-burst .8s ease-out forwards;
}

@keyframes complete-burst {
	0% {
		filter: drop-shadow(0 20px 50px rgba(255, 100, 30, .22)) brightness(1);
	}
	35% {
		filter: drop-shadow(0 40px 120px rgba(255, 107, 26, 1))
				drop-shadow(0 0 60px rgba(255, 200, 114, .9))
				brightness(1.7) saturate(1.3);
	}
	100% {
		filter: drop-shadow(0 24px 60px rgba(255, 100, 30, .35))
				drop-shadow(0 0 28px rgba(255, 107, 26, .2))
				brightness(1.08);
	}
}

.synth-complete .complete-ring { animation: ring-expand .9s ease-out forwards; }
.synth-complete .complete-ring--1 { animation-delay: 0s; }
.synth-complete .complete-ring--2 { animation-delay: .15s; }
.synth-complete .complete-ring--3 { animation-delay: .3s; }

@keyframes ring-expand {
	0% {
		opacity: 1;
		transform: scale(.3);
		border-color: var(--solaire-gold);
		border-width: 3px;
	}
	100% {
		opacity: 0;
		transform: scale(2.2);
		border-color: var(--accent);
		border-width: 1px;
	}
}

.synth-complete .lab-halo { animation: synth-final-halo .8s ease-out; }

@keyframes synth-final-halo {
	0%   { opacity: .9; transform: scale(1.2); }
	40%  { opacity: 1; transform: scale(1.4); }
	100% { opacity: .55; transform: scale(.92); }
}

/* === Sections === */
section {
	max-width: 1440px;
	margin: 0 auto;
	padding: 96px 48px;
	border-top: 1px solid var(--line);
}

section h2 {
	font-weight: 300;
	font-size: clamp(34px, 4vw, 52px);
	letter-spacing: -.03em;
	line-height: 1.05;
	margin-bottom: 56px;
	max-width: 780px;
}

section h2 em {
	font-style: italic;
	font-weight: 400;
	color: var(--accent-hover);
}

.manifesto__quote {
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 300;
	font-style: italic;
	line-height: 1.25;
	letter-spacing: -.02em;
	color: var(--accent-hover);
	border-left: 2px solid var(--accent);
	padding-left: 32px;
	margin-bottom: 40px;
	max-width: 960px;
}

.manifesto__quote em {
	font-style: italic;
	background: linear-gradient(135deg, var(--solaire-gold), var(--solaire-orange), var(--solaire-deep));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.manifesto__body {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-soft);
	max-width: 720px;
}

.manifesto__body p { margin-bottom: 14px; }
.manifesto__body b { color: var(--ink); font-weight: 500; }

.real-list { list-style: none; }

.real {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 32px;
	padding: 36px 16px;
	border-bottom: 1px solid var(--line);
	margin: 0 -16px;
	border-radius: 8px;
	transition: background .2s;
}

.real:first-child { border-top: 1px solid var(--line); }
.real:hover { background: rgba(255, 107, 26, .025); }

.real__num {
	font-family: var(--font-mono);
	font-size: 14px;
	color: var(--accent-hover);
	letter-spacing: .08em;
	padding-top: 4px;
	font-weight: 500;
}

.real__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 14px;
}

.real__title {
	font-weight: 500;
	font-size: 22px;
	letter-spacing: -.015em;
	line-height: 1.25;
}

.badge {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: .18em;
	padding: 5px 11px;
	border-radius: 4px;
	white-space: nowrap;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}

.badge .b-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	display: inline-block;
}

.badge--encours {
	color: var(--accent-hover);
	background: var(--accent-soft);
	border: 1px solid var(--accent-line);
}

.badge--encours .b-dot {
	background: var(--accent);
	animation: pulse 2s ease-in-out infinite;
}

.badge--livre {
	color: var(--teal);
	background: rgba(93, 227, 197, .06);
	border: 1px solid rgba(93, 227, 197, .22);
}

.badge--livre .b-dot { background: var(--teal); }

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: .35; }
}

.real__sector {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink-mute);
	letter-spacing: .08em;
	margin-bottom: 12px;
}

.real__desc {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 720px;
}

.real__desc b {
	color: var(--ink);
	font-weight: 500;
}

.cap-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.cap {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 32px 28px;
	transition: background .3s, border-color .3s, transform .3s;
}

.cap:hover {
	background: var(--bg-card-hover);
	border-color: var(--accent-line);
	transform: translateY(-2px);
}

.cap__num {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent-hover);
	letter-spacing: .22em;
	margin-bottom: 18px;
}

.cap h3 {
	font-weight: 500;
	font-size: 20px;
	letter-spacing: -.01em;
	margin-bottom: 12px;
}

.cap p {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--ink-soft);
}

.out-list { list-style: none; }

.out-item {
	display: grid;
	grid-template-columns: 110px 1fr auto;
	gap: 28px;
	align-items: center;
	padding: 24px 16px;
	border-bottom: 1px solid var(--line);
	margin: 0 -16px;
	border-radius: 8px;
	transition: background .2s;
	cursor: pointer;
}

.out-item:first-child { border-top: 1px solid var(--line); }
.out-item:hover { background: rgba(255, 107, 26, .03); }
.out-item:hover .out-arrow {
	color: var(--accent-hover);
	transform: translateX(4px);
}

.out-type {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .22em;
	color: var(--accent-hover);
	font-weight: 500;
}

.out-body h3 {
	font-weight: 400;
	font-size: 18px;
	letter-spacing: -.005em;
	margin-bottom: 6px;
}

.out-meta {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink-mute);
	letter-spacing: .04em;
}

.out-meta .sep {
	margin: 0 8px;
	color: var(--line);
}

.out-arrow {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink-dim);
	letter-spacing: .12em;
	transition: color .2s, transform .2s;
}

.contact {
	background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(255, 107, 26, .04) 0%, transparent 65%);
}

.contact__intro {
	font-size: 19px;
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 720px;
	font-weight: 300;
}

.contact__intro p { margin-bottom: 14px; }

.contact__intro p.kick {
	margin-top: 30px;
	font-style: italic;
	color: var(--accent-hover);
	font-size: 22px;
	font-weight: 400;
}

.contact__ctas {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 48px;
}

.footer {
	border-top: 1px solid var(--line);
	padding: 56px 48px 40px;
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
}

.footer__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.lab-foot-svg {
	width: 26px;
	height: auto;
}

.footer__brand-text {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .16em;
	color: var(--ink);
}

.footer__brand-text em {
	font-style: normal;
	color: var(--accent);
	font-weight: 500;
}

.footer__tagline {
	font-family: var(--font-mono);
	font-size: 10.5px;
	color: var(--ink-mute);
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 22px;
}

.footer__legal {
	font-family: var(--font-mono);
	font-size: 10.5px;
	color: var(--ink-mute);
	letter-spacing: .08em;
	line-height: 1.7;
}

.footer__col-label {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--accent);
	letter-spacing: .22em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.footer__col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer__col a {
	font-size: 13px;
	color: var(--ink-soft);
	text-decoration: none;
	transition: color .2s;
}

.footer__col a:hover { color: var(--accent-hover); }

@media (max-width: 1024px) {
	.hero {
		grid-template-columns: 1fr;
		gap: 56px;
		min-height: auto;
		padding-top: 56px;
		padding-bottom: 80px;
	}
	.lab-stage {
		max-width: 380px;
		margin: 0 auto;
	}
	.cap-grid { grid-template-columns: repeat(2, 1fr); }
	.footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	.header { padding: 18px 20px; }
	.nav { gap: 12px; }
	.nav a:not(.connect) { display: none; }
	.hero, section {
		padding-left: 24px;
		padding-right: 24px;
	}
	.hero {
		padding-top: 48px;
		padding-bottom: 64px;
	}
	section {
		padding-top: 64px;
		padding-bottom: 64px;
	}
	.lab-stage { max-width: 300px; }
	.real {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.real__head {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}
	.cap-grid { grid-template-columns: 1fr; }
	.out-item {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.out-arrow { display: none; }
	.footer {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 40px 24px;
	}
	.data-char { font-size: 9px; }
}
