:root {
  color-scheme: dark;
  --bg: #101010;
  --bg-soft: #151515;
  --surface: #1b1b1b;
  --surface-strong: #222222;
  --border: #34302b;
  --text: #f4f1ea;
  --muted: #bbb4aa;
  --muted-strong: #d7d0c4;
  --red: #d71f2a;
  --red-dark: #a91620;
  --amber: #d7a84a;
  --blue: #3b82f6;
  --e85-green: #2fbf71;
  --e85-green-rgb: 47, 191, 113;
  --accent: var(--amber);
  --accent-rgb: 215, 168, 74;
  --accent-hover: #b88722;
  --accent-contrast: #151515;
  --radius: 8px;
  --container: 1180px;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body[data-site="prog"] {
  --accent: var(--red);
  --accent-rgb: 215, 31, 42;
  --accent-hover: var(--red-dark);
  --accent-contrast: #ffffff;
}

body[data-site="pro"] {
  --accent: var(--blue);
  --accent-rgb: 59, 130, 246;
  --accent-hover: #2563eb;
  --accent-contrast: #ffffff;
}

body[data-site="design-lab"] {
  --accent: #f4f1ea;
  --accent-rgb: 244, 241, 234;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

@keyframes tlg-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tlg-panel-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tlg-hero-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-12px, -8px, 0);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(260px, 1fr);
  grid-template-areas: "brand nav utilities";
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px 32px;
  background: rgba(16, 16, 16, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled {
  background: rgba(14, 14, 14, 0.98);
  border-color: rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.brand {
  grid-area: brand;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}
.brand img { width: 42px; height: 42px; object-fit: contain; transition: transform 220ms ease; }
.site-header.is-scrolled .brand img { transform: scale(0.94); }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-size: 18px; font-weight: 800; }
.brand span span { color: var(--muted); font-size: 13px; }
.header-utilities {
  grid-area: utilities;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}
.traffic-counter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.traffic-counter strong { color: var(--text); }
.traffic-counter.is-stale { color: #9f9589; }
.header-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px 14px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}
.header-contact a { white-space: nowrap; }
.header-contact a:hover { color: var(--accent); }
.main-nav {
  grid-area: nav;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(244, 241, 234, 0.08);
  border-radius: var(--radius);
  background: rgba(27, 27, 27, 0.52);
}
.main-nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  overflow: hidden;
  transition: color 180ms ease, background-color 180ms ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: opacity 180ms ease, transform 220ms var(--motion-ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--surface); color: var(--text); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after {
  opacity: 0.75;
  transform: scaleX(1);
}
body[data-site="prog"] .main-nav a[href="/prog/#demande-prog"] {
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 800;
}
body[data-site="prog"] .main-nav a[href="/prog/#demande-prog"]::after {
  display: none;
}
body[data-site="prog"] .main-nav a[href="/prog/#demande-prog"]:hover {
  background: var(--accent-hover);
}
.nav-toggle {
  grid-area: toggle;
  display: none;
  justify-self: end;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(160px, 0.85fr) auto minmax(190px, 0.85fr);
    gap: 12px;
  }
  .header-contact a[href^="mailto:"] { display: none; }
}

@media (max-width: 1460px) {
  body[data-site="prog"] .header-contact a[href^="mailto:"] { display: none; }
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background-image: var(--hero-image);
  background-position: center calc(50% + var(--hero-shift, 0px));
  background-size: cover;
  border-bottom: 1px solid var(--border);
}
.hero-compact { min-height: 430px; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.8)),
    linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.58) 56%, rgba(8, 8, 8, 0.32));
}
body[data-site="prog"] .hero-shade {
  background:
    radial-gradient(circle at 26% 66%, rgba(215, 31, 42, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.84)),
    linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.58) 58%, rgba(8, 8, 8, 0.34));
}
body[data-site="pro"] .hero-shade {
  background:
    radial-gradient(circle at 28% 64%, rgba(59, 130, 246, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.84)),
    linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.58) 58%, rgba(8, 8, 8, 0.34));
}
.hero-content { position: relative; width: min(var(--container), calc(100% - 48px)); margin: 0 auto; padding: 0 0 72px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 24px;
  padding: 8px 10px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.56);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms var(--motion-ease), border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}
.back-link span {
  font-size: 16px;
  line-height: 1;
  transition: transform 180ms var(--motion-ease);
}
.back-link:hover {
  transform: translateX(-2px);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(16, 16, 16, 0.76);
  color: var(--text);
}
.back-link:hover span { transform: translateX(-2px); }
.hero .hero-eyebrow,
.hero h1,
.hero p:not(.hero-eyebrow),
.hero-actions {
  animation: tlg-fade-up 700ms ease both;
}
.hero .back-link { animation: tlg-fade-up 700ms ease both; }
.hero h1 { animation-delay: 90ms; }
.hero p:not(.hero-eyebrow) { animation-delay: 170ms; }
.hero-actions { animation-delay: 250ms; }
.hero .hero-eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1 { max-width: 820px; margin: 0; font-size: 52px; line-height: 1.04; letter-spacing: 0; }
.hero p:not(.hero-eyebrow) { max-width: 720px; margin: 22px 0 0; color: var(--muted-strong); font-size: 18px; }
.hero-actions, .cta-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 12px;
  max-width: 560px;
  margin: 30px 0 0;
}
.hero-highlights div {
  padding: 12px 14px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.62);
}
.hero-highlights dt { color: var(--text); font-size: 20px; font-weight: 800; }
.hero-highlights dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.portal-home-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0b0b0b;
  border-bottom: 1px solid var(--border);
}
.portal-home-media,
.portal-home-shade {
  position: absolute;
  inset: 0;
}
.portal-home-media {
  background: url("/assets/images/tlg-engineering-hero-v2.png") center / cover no-repeat;
  opacity: 0.9;
  transform: scale(1.01);
  transform-origin: center;
  animation: tlg-hero-drift 24s var(--motion-ease) infinite alternate;
}
.portal-home-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.64) 52%, rgba(8, 8, 8, 0.42)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.04), rgba(8, 8, 8, 0.86)),
    linear-gradient(0deg, rgba(215, 168, 74, 0.1), transparent 42%);
}
.portal-home-inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.48fr);
  gap: 36px;
  align-items: end;
}
.portal-home-copy {
  max-width: 760px;
}
.portal-home-copy .hero-eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.portal-home-copy h1 {
  margin: 0;
  font-size: 62px;
  line-height: 0.98;
  letter-spacing: 0;
}
.portal-home-copy p:not(.hero-eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: 19px;
}
.portal-home-copy .hero-eyebrow,
.portal-home-copy h1,
.portal-home-copy p:not(.hero-eyebrow),
.portal-home-copy .hero-actions,
.portal-home-routing {
  animation: tlg-fade-up 720ms ease both;
}
.portal-home-copy h1 { animation-delay: 90ms; }
.portal-home-copy p:not(.hero-eyebrow) { animation-delay: 170ms; }
.portal-home-copy .hero-actions { animation-delay: 250ms; }
.portal-home-routing {
  display: grid;
  gap: 12px;
  animation-delay: 180ms;
}
.portal-home-routing a {
  --route-accent: var(--amber);
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-left: 3px solid var(--route-accent);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.portal-home-routing a:hover {
  background: rgba(22, 22, 22, 0.88);
}
.portal-home-routing .route-prog {
  --route-accent: var(--red);
}
.portal-home-routing .route-pro {
  --route-accent: var(--blue);
}
.portal-home-routing .route-prog:hover {
  border-color: rgba(215, 31, 42, 0.42);
}
.portal-home-routing .route-pro:hover {
  border-color: rgba(59, 130, 246, 0.42);
}
.portal-home-routing span {
  color: var(--route-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.portal-home-routing strong {
  color: var(--text);
  font-size: 21px;
  line-height: 1.18;
}
.portal-home-routing em {
  max-width: 28ch;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

.prog-brand-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #080808;
}
.prog-brand-media,
.prog-brand-shade {
  position: absolute;
  inset: 0;
}
.prog-brand-media {
  background: url("/assets/images/tlg-service-reprogrammation-ecu.png") center / cover;
  transform: scale(1.02);
}
.prog-brand-shade {
  background:
    radial-gradient(circle at 24% 68%, rgba(var(--accent-rgb), 0.26), transparent 32%),
    linear-gradient(90deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.62) 58%, rgba(7, 7, 7, 0.24)),
    linear-gradient(180deg, rgba(7, 7, 7, 0.04), rgba(7, 7, 7, 0.9));
}
.prog-brand-inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 34px;
  align-items: center;
}
.prog-brand-copy,
.prog-brand-panel {
  min-width: 0;
}
.prog-brand-copy .hero-eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.prog-brand-copy h1 {
  max-width: 840px;
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}
.prog-brand-copy p:not(.hero-eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
}
.prog-brand-copy .back-link,
.prog-brand-copy .hero-eyebrow,
.prog-brand-copy h1,
.prog-brand-copy p:not(.hero-eyebrow),
.prog-brand-copy .hero-actions,
.prog-brand-panel {
  animation: tlg-fade-up 720ms ease both;
}
.prog-brand-copy .hero-eyebrow { animation-delay: 70ms; }
.prog-brand-copy h1 { animation-delay: 140ms; }
.prog-brand-copy p:not(.hero-eyebrow) { animation-delay: 220ms; }
.prog-brand-copy .hero-actions { animation-delay: 300ms; }
.prog-brand-panel { animation-delay: 220ms; }
.prog-brand-panel {
  display: grid;
  gap: 14px;
}
.prog-vehicle-finder,
.prog-universe-grid article,
.prog-brand-stats,
.prog-entry-card,
.prog-entry-steps article {
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.76);
  backdrop-filter: blur(10px);
}
.prog-vehicle-finder {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.prog-dossier-board {
  background: rgba(14, 14, 14, 0.88);
}
.prog-board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}
.prog-board-head span,
.prog-vehicle-finder > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.prog-board-head strong {
  color: var(--text);
  font-size: 13px;
}
.prog-finder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.prog-finder-grid div {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 6px;
  background: #101010;
}
.prog-finder-grid span,
.prog-finder-grid small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.prog-board-note {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
}
.prog-finder-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.15;
}
.prog-universe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.prog-universe-grid article {
  min-height: 150px;
  padding: 16px;
  transition: transform 220ms var(--motion-ease), border-color 220ms ease, background-color 220ms ease;
}
.prog-universe-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.38);
  background: rgba(18, 18, 18, 0.88);
}
.prog-universe-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}
.prog-universe-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.15;
}
.prog-universe-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}
.prog-brand-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
}
.prog-brand-stats div {
  padding: 16px;
  border-left: 1px solid rgba(244, 241, 234, 0.1);
}
.prog-brand-stats div:first-child { border-left: 0; }
.prog-brand-stats dt {
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.prog-brand-stats dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.prog-entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}
.prog-entry-card {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), transparent 46%),
    var(--surface);
}
.prog-entry-card h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}
.prog-entry-card p {
  margin: 14px 0 0;
  color: var(--muted);
}
.prog-entry-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.prog-entry-steps article {
  min-height: 210px;
  padding: 20px;
  background: var(--surface);
  transition: transform 220ms var(--motion-ease), border-color 220ms ease, background-color 220ms ease;
}
.prog-entry-steps article:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.38);
  background: #1d1d1d;
}
.prog-entry-steps span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}
.prog-entry-steps strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
}
.prog-entry-steps p {
  margin: 10px 0 0;
  color: var(--muted);
}
.prog-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.prog-service-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.prog-service-card:hover {
  border-color: rgba(var(--accent-rgb), 0.38);
  background: #1d1d1d;
}
.prog-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prog-service-content {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}
.prog-service-summary {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}
.prog-service-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}
.prog-service-card p:not(.prog-service-summary) {
  margin: 0;
  color: var(--muted);
}
.prog-service-card ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.prog-service-card li {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.prog-service-card li:first-child {
  border-top: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 180ms var(--motion-ease),
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.75);
  outline-offset: 3px;
}
.button-primary { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 0 0 rgba(var(--accent-rgb), 0); }
.button-primary:hover { background: var(--accent-hover); box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.22); }
.button-prog { background: var(--red); color: #ffffff; box-shadow: 0 0 0 rgba(215, 31, 42, 0); }
.button-prog:hover { background: var(--red-dark); box-shadow: 0 12px 28px rgba(215, 31, 42, 0.22); }
.button-pro { background: var(--blue); color: #ffffff; box-shadow: 0 0 0 rgba(59, 130, 246, 0); }
.button-pro:hover { background: #2563eb; box-shadow: 0 12px 28px rgba(59, 130, 246, 0.22); }
.button-secondary { background: var(--surface-strong); border-color: var(--border); color: var(--text); }
.button-secondary:hover { border-color: var(--accent); }

body[data-site="tlg"] .button-prog,
body[data-site="tlg"] .button-pro {
  background: rgba(244, 241, 234, 0.07);
  color: var(--text);
  box-shadow: none;
}
body[data-site="tlg"] .button-prog {
  border-color: rgba(215, 31, 42, 0.56);
}
body[data-site="tlg"] .button-pro {
  border-color: rgba(59, 130, 246, 0.56);
}
body[data-site="tlg"] .button-prog:hover {
  border-color: rgba(215, 31, 42, 0.72);
  background: rgba(215, 31, 42, 0.14);
  box-shadow: none;
}
body[data-site="tlg"] .button-pro:hover {
  border-color: rgba(59, 130, 246, 0.72);
  background: rgba(59, 130, 246, 0.14);
  box-shadow: none;
}
body[data-site="tlg"] .portal-home-hero .button-secondary {
  background: rgba(244, 241, 234, 0.07);
  border-color: rgba(244, 241, 234, 0.24);
}

.section { scroll-margin-top: 88px; padding: 68px 24px; background: var(--bg); }
.section:nth-of-type(even) { background: var(--bg-soft); }
.section-inner, .cta-band, .site-footer { width: min(var(--container), 100%); margin: 0 auto; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2, .cta-band h2 { margin: 0; font-size: 34px; line-height: 1.12; letter-spacing: 0; }
.section-heading p, .cta-band p { margin: 14px 0 0; color: var(--muted); }
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tlg-simulator-section {
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.9), rgba(16, 16, 16, 1)),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.tlg-simulator-head {
  max-width: 900px;
}
.tlg-simulator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: start;
}
.tlg-simulator-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.tlg-simulator-card header {
  margin-bottom: 18px;
}
.tlg-e85-card {
  --accent: var(--e85-green);
  --accent-rgb: var(--e85-green-rgb);
  width: 100%;
  max-width: none;
}
.tlg-power-card {
  padding: 0;
  border: 0;
  background: transparent;
}
.tlg-power-card header {
  display: none;
}
.tlg-simulator-card header span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.tlg-simulator-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  line-height: 1.12;
}
.tlg-simulator-card p {
  margin: 10px 0 0;
  color: var(--muted);
}
.tlg-tuning-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0d141a;
}
.tlg-tuning-frame iframe {
  display: block;
  width: 100%;
  min-height: 230px;
  height: 250px;
  background: #0d141a;
}
.tlg-tuning-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.tlg-tuning-note a {
  color: var(--accent);
  font-weight: 800;
}
.tlg-tuning-note a:hover {
  color: var(--text);
}
.tlg-e85-road {
  position: relative;
  height: 54px;
  margin: 0 0 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 6px;
  background: rgba(var(--accent-rgb), 0.08);
  overflow: hidden;
}
.tlg-e85-road-line {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 17px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(var(--accent-rgb), 0.75) 0 24px, transparent 24px 36px);
}
.tlg-e85-car {
  --e85-progress: 22%;
  position: absolute;
  left: var(--e85-progress);
  bottom: 23px;
  width: 46px;
  height: 19px;
  transform: translateX(-50%);
  border: 1px solid rgba(var(--accent-rgb), 0.6);
  border-radius: 7px 10px 5px 5px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.95), rgba(var(--accent-rgb), 0.64));
  transition: left 180ms ease;
}
.tlg-e85-car::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -9px;
  width: 21px;
  height: 11px;
  border: 1px solid rgba(var(--accent-rgb), 0.6);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: rgba(244, 241, 234, 0.13);
}
.tlg-e85-car::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: -6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b0b0b;
  box-shadow: 26px 0 0 #0b0b0b;
}
.tlg-e85-controls {
  display: grid;
  gap: 14px;
}
.tlg-e85-controls label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
}
.tlg-e85-controls label span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.tlg-e85-controls strong {
  color: var(--text);
}
.tlg-e85-controls input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.tlg-e85-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tlg-e85-price-grid input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #101010;
  color: var(--text);
}
.tlg-e85-price-grid input:focus {
  outline: 2px solid rgba(var(--accent-rgb), 0.35);
  outline-offset: 0;
  border-color: rgba(var(--accent-rgb), 0.62);
}
.tlg-e85-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}
.tlg-e85-results div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 6px;
  background: #101010;
}
.tlg-e85-results span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.tlg-e85-results strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.08;
}
.tlg-e85-results .tlg-e85-saving {
  border-color: rgba(var(--accent-rgb), 0.38);
  background: rgba(var(--accent-rgb), 0.1);
}

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .review-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.card {
  min-height: 100%;
  padding: 20px;
  transition: transform 220ms var(--motion-ease), border-color 220ms ease, background-color 220ms ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.34);
  background: #1d1d1d;
}
.card img { width: 100%; height: 150px; margin: 0 0 18px; object-fit: cover; border-radius: 6px; }
.card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.card p, .review-card p { color: var(--muted); }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); }
.card li { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.text-link { display: inline-flex; margin-top: 16px; color: var(--accent); font-weight: 700; }
.text-link:hover { color: var(--text); }

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.direction-panel {
  --spot-x: 50%;
  --spot-y: 50%;
  --panel-accent-rgb: 215, 31, 42;
  --panel-accent: var(--red);
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
  min-height: 100%;
  border: 1px solid var(--border);
  border-left: 3px solid var(--panel-accent);
  border-radius: var(--radius);
  background: #181818;
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 220ms ease,
    background-color 220ms ease;
}
.direction-panel:hover {
  border-color: rgba(var(--panel-accent-rgb), 0.44);
  background: #1c1c1c;
}
.direction-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(90deg, rgba(var(--panel-accent-rgb), 0.72), transparent 62%);
}
.direction-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(var(--panel-accent-rgb), 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.direction-panel:hover::after,
.direction-panel.is-spotlit::after {
  opacity: 1;
}
.direction-panel-prog::before {
  background: linear-gradient(90deg, rgba(215, 31, 42, 0.72), transparent 62%);
}
.direction-panel-prog .direction-kicker {
  color: var(--red);
}
.direction-panel-pro::before {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.72), transparent 62%);
}
.direction-panel-pro {
  --panel-accent-rgb: 59, 130, 246;
  --panel-accent: var(--blue);
}
.direction-panel-pro .direction-kicker {
  color: var(--blue);
}
.direction-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
}
.direction-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.direction-kicker {
  display: inline-flex;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}
.direction-panel:hover .status-badge {
  border-color: rgba(var(--panel-accent-rgb), 0.42);
  background: rgba(34, 34, 34, 0.9);
  color: var(--text);
}
.direction-panel h3 { max-width: 520px; margin: 0; font-size: 30px; line-height: 1.1; }
.direction-panel p { max-width: 560px; margin: 0; color: var(--muted); }
.direction-note {
  padding-top: 14px;
  border-top: 1px solid rgba(244, 241, 234, 0.1);
  color: var(--muted-strong) !important;
}
.direction-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.direction-tags li {
  padding: 6px 0;
  border: 1px solid var(--border);
  border-width: 0 0 1px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 180ms ease, color 180ms ease;
}
.direction-panel:hover .direction-tags li {
  border-color: rgba(var(--panel-accent-rgb), 0.34);
  color: var(--muted-strong);
}
.direction-footer {
  position: relative;
  z-index: 1;
  padding: 0 28px 28px;
}
.button-disabled,
.button-disabled:hover,
.button-disabled:disabled {
  border-color: var(--border);
  background: #181818;
  color: #81786d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.hero-actions .button-disabled,
.hero-actions .button-disabled:hover,
.hero-actions .button-disabled:disabled {
  opacity: 1;
}
.hero-actions .button-primary.button-disabled,
.hero-actions .button-primary.button-disabled:hover,
.hero-actions .button-primary.button-disabled:disabled {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
}
.hero-actions .button-secondary.button-disabled,
.hero-actions .button-secondary.button-disabled:hover,
.hero-actions .button-secondary.button-disabled:disabled {
  border-color: var(--border);
  background: var(--surface-strong);
  color: var(--text);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.case-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 44%),
    var(--surface);
  overflow: hidden;
  transition: transform 220ms var(--motion-ease), border-color 220ms ease, background-color 220ms ease;
}
body[data-site="prog"] .case-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.86), transparent);
  opacity: 0.78;
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.38);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), transparent 42%),
    #1d1d1d;
}
.case-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}
.case-card p {
  margin: 12px 0 0;
  color: var(--muted);
}
.prog-dossier-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}
.dossier-panel,
.scope-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 220ms ease, background-color 220ms ease;
}
.dossier-panel {
  display: grid;
  gap: 0;
  padding: 22px;
}
.scope-panel {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), transparent 48%),
    var(--surface);
}
.panel-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.dossier-step {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.dossier-step:first-of-type { border-top: 0; }
.dossier-step strong,
.scope-panel h3 {
  color: var(--text);
  line-height: 1.2;
}
.dossier-step p,
.scope-panel p {
  margin: 0;
  color: var(--muted);
}
.scope-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
}
.scope-panel ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.scope-panel li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.scope-panel li:first-child { border-top: 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.process-grid article {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 220ms var(--motion-ease), border-color 220ms ease, background-color 220ms ease;
}
.process-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), transparent 46%);
  opacity: 0.78;
  pointer-events: none;
}
.process-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.38);
  background: #1d1d1d;
}
.process-grid span,
.process-grid h3,
.process-grid p {
  position: relative;
}
.process-grid span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}
.process-grid h3 { margin: 16px 0 0; font-size: 21px; line-height: 1.2; }
.process-grid p { margin: 10px 0 0; color: var(--muted); }
.trust-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}
.trust-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.38);
  background: #1d1d1d;
}
.trust-grid span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}
.trust-grid h3 { margin: 14px 0 0; font-size: 21px; line-height: 1.2; }
.trust-grid p { margin: 10px 0 0; color: var(--muted); }

body[data-site="tlg"] .portal-architecture-section {
  background: #121212;
}
body[data-site="tlg"] .portal-architecture-section .trust-grid article {
  background: #191919;
  box-shadow: none;
}
body[data-site="tlg"] .portal-architecture-section .trust-grid article:hover {
  border-color: rgba(215, 168, 74, 0.32);
  background: #1d1d1d;
}

.reviews-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
.rating-line { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 18px; }
.rating-line strong { font-size: 40px; line-height: 1; color: var(--accent); }
.review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.reviews-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
body[data-site="prog"] .reviews-section {
  background: #101010;
}
.review-card { padding: 18px; }
.review-card {
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.34);
  background: #1d1d1d;
}
.review-stars { color: var(--accent); font-size: 16px; }
.review-card footer { display: grid; gap: 2px; margin-top: 16px; }
.review-card footer span { color: var(--muted); font-size: 13px; }

body[data-site="tlg"] .reviews-section {
  background: #101010;
}
body[data-site="tlg"] .review-card {
  background: #191919;
}

.request-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 18px; align-items: start; }
body[data-site="prog"] .prog-request-section {
  background: var(--bg);
}
body[data-site="prog"] .prog-request-section .section-heading h2 {
  max-width: 760px;
}
.request-form, .request-aside { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.request-form { display: grid; gap: 18px; padding: 22px; }
.request-aside { padding: 22px; }
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.request-aside h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.request-help-grid { display: grid; gap: 12px; margin: 18px 0 22px; }
.request-help-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #151515;
}
.request-help-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}
.request-help-card ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.request-help-card li { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.request-help-card li:first-child { border-top: 0; }
.request-aside > .button {
  width: 100%;
}
.request-aside > .button + .button {
  margin-top: 10px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.form-fieldset:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}
.form-fieldset legend {
  margin: 0 0 14px;
  padding: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}
.form-fieldset .full-field {
  margin-top: 16px;
}
label { display: grid; gap: 7px; color: var(--muted-strong); font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #111111;
  color: var(--text);
  padding: 12px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: #141414;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}
.full-field { grid-column: 1 / -1; }
.form-status { min-height: 24px; margin: 0; color: var(--muted); }
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.legal-panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.legal-panel h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.2;
}
.legal-panel p {
  margin: 0;
  color: var(--muted);
}
.legal-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.legal-panel dl div {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-panel dl div:first-child {
  padding-top: 0;
  border-top: 0;
}
.legal-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.legal-panel dd {
  margin: 0;
  color: var(--text);
}
.legal-panel a {
  color: var(--accent);
}
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 34px 24px; border-top: 1px solid var(--border); }
body[data-site="tlg"] .portal-final-cta {
  margin-top: 0;
  padding-top: 38px;
  padding-bottom: 38px;
}
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px 24px 44px; border-top: 1px solid var(--border); color: var(--muted); }
.site-footer strong { color: var(--text); }
.site-footer p { margin: 6px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.site-footer a { color: var(--muted-strong); }
.site-footer a:hover { color: var(--accent); }

.lab-intro {
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 120px 24px 72px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.2), rgba(16, 16, 16, 0.92)),
    linear-gradient(90deg, rgba(16, 16, 16, 0.94), rgba(16, 16, 16, 0.58)),
    url("/assets/images/tlg-service-reprogrammation-ecu.png") center / cover;
}
.lab-intro-inner,
.lab-variant-content,
.lab-choice-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
}
.lab-kicker,
.lab-option {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.lab-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: 52px;
  line-height: 1.04;
}
.lab-intro p:not(.lab-kicker) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
}
.lab-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.lab-jump-nav a {
  padding: 10px 12px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.62);
  color: var(--muted-strong);
  font-weight: 800;
}
.lab-jump-nav a:hover {
  border-color: rgba(244, 241, 234, 0.42);
  color: var(--text);
}
.lab-variant {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.lab-variant-media,
.lab-variant-shade {
  position: absolute;
  inset: 0;
}
.lab-variant-media {
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}
.lab-variant-shade {
  pointer-events: none;
}
.lab-variant-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
  gap: 30px;
  align-items: end;
  padding: 88px 0;
}
.lab-variant-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
}
.lab-variant-copy p {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
}
.lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.lab-spec-grid,
.lab-race-strip,
.lab-dashboard {
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.72);
  backdrop-filter: blur(10px);
}
.lab-spec-grid {
  display: grid;
}
.lab-spec-grid article {
  padding: 20px;
  border-top: 1px solid rgba(244, 241, 234, 0.1);
}
.lab-spec-grid article:first-child { border-top: 0; }
.lab-spec-grid span,
.lab-race-strip span,
.lab-dashboard-row span,
.lab-dashboard-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.lab-spec-grid strong,
.lab-race-strip strong,
.lab-dashboard-row strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.15;
}
.lab-variant-tech .lab-variant-media {
  background-image: url("/assets/images/tlg-service-reprogrammation-ecu.png");
}
.lab-variant-tech .lab-variant-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.95), rgba(8, 8, 8, 0.62) 56%, rgba(8, 8, 8, 0.32)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.08), rgba(8, 8, 8, 0.84)),
    repeating-linear-gradient(90deg, rgba(215, 31, 42, 0.08) 0 1px, transparent 1px 110px);
}
.lab-variant-tech .lab-option,
.lab-variant-tech .lab-spec-grid span {
  color: var(--red);
}
.lab-variant-race .lab-variant-media {
  background-image: url("/assets/images/tlg-engineering-hero-v2.png");
}
.lab-variant-race .lab-variant-shade {
  background:
    linear-gradient(110deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.78) 46%, rgba(215, 31, 42, 0.34) 46%, rgba(215, 31, 42, 0.16) 62%, rgba(8, 8, 8, 0.72) 62%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.08), rgba(8, 8, 8, 0.86));
}
.lab-variant-race .lab-option {
  color: #ffffff;
}
.lab-variant-race .lab-variant-copy h2 {
  text-transform: uppercase;
}
.lab-race-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.lab-race-strip div {
  padding: 22px;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  background:
    linear-gradient(90deg, rgba(215, 31, 42, 0.2), transparent 62%);
}
.lab-race-strip div:first-child { border-top: 0; }
.lab-race-strip strong {
  font-size: 30px;
  text-transform: uppercase;
}
.lab-variant-platform .lab-variant-media {
  background-image: url("/assets/images/tlg-engineering-workshop-hero.png");
}
.lab-variant-platform .lab-variant-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.62) 52%, rgba(8, 8, 8, 0.36)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.86));
}
.lab-variant-platform .lab-option {
  color: var(--blue);
}
.lab-dashboard {
  display: grid;
  gap: 10px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.18), transparent 48%),
    rgba(16, 16, 16, 0.76);
}
.lab-dashboard-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 6px;
  background: rgba(16, 16, 16, 0.62);
}
.lab-dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px 2px;
}
.lab-dashboard-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #26d99b;
  box-shadow: 0 0 0 4px rgba(38, 217, 155, 0.12);
}
.lab-choice {
  padding: 68px 24px;
  background: var(--bg);
}
.lab-choice h2 {
  margin: 0 0 26px;
  font-size: 34px;
  line-height: 1.12;
}
.lab-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.lab-choice-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.lab-choice-grid span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}
.lab-choice-grid h3 {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.18;
}
.lab-choice-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.lab-intro-rework {
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.12), rgba(16, 16, 16, 0.92)),
    linear-gradient(90deg, rgba(16, 16, 16, 0.94), rgba(16, 16, 16, 0.5)),
    url("/assets/images/tlg-engineering-hero-v2.png") center / cover;
}
.lab-concept {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.lab-concept-media,
.lab-concept-shade {
  position: absolute;
  inset: 0;
}
.lab-concept-media {
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}
.lab-concept-shade {
  pointer-events: none;
}
.lab-concept-inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  padding: 88px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.74fr);
  gap: 34px;
  align-items: center;
}
.lab-concept-copy h2,
.lab-local-header h2 {
  max-width: 760px;
  margin: 0;
  font-size: 52px;
  line-height: 1.04;
}
.lab-concept-copy p,
.lab-local-header p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
}
.lab-network .lab-concept-media {
  background-image: url("/assets/images/tlg-service-reprogrammation-ecu.png");
}
.lab-network .lab-concept-shade {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.95), rgba(7, 7, 7, 0.58) 58%, rgba(7, 7, 7, 0.2)),
    linear-gradient(180deg, rgba(7, 7, 7, 0.02), rgba(7, 7, 7, 0.88));
}
.lab-network .lab-option {
  color: var(--red);
}
.lab-network-panel {
  display: grid;
  gap: 14px;
}
.lab-vehicle-finder,
.lab-universe-grid article,
.lab-brand-stats,
.lab-before-after,
.lab-local-cta,
.lab-faq-stack article,
.lab-simulator-card,
.lab-service-row article {
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.76);
  backdrop-filter: blur(10px);
}
.lab-vehicle-finder {
  padding: 18px;
}
.lab-vehicle-finder > span,
.lab-ba-title span,
.lab-faq-stack span,
.lab-sim-head span {
  display: inline-flex;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.lab-finder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.lab-finder-grid div,
.lab-sim-fields div {
  padding: 12px;
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 6px;
  background: #101010;
  color: var(--muted-strong);
  font-weight: 700;
}
.lab-universe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lab-universe-grid article {
  min-height: 150px;
  padding: 16px;
}
.lab-universe-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}
.lab-universe-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.15;
}
.lab-universe-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}
.lab-brand-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}
.lab-brand-stats div {
  padding: 16px;
  border-left: 1px solid rgba(244, 241, 234, 0.1);
}
.lab-brand-stats div:first-child { border-left: 0; }
.lab-brand-stats strong {
  display: block;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}
.lab-brand-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.lab-local {
  padding: 88px 24px;
  background:
    linear-gradient(135deg, rgba(215, 31, 42, 0.16), transparent 32%),
    #f4f1ea;
  color: #111111;
}
.lab-local .lab-option,
.lab-local-header p,
.lab-local h3,
.lab-local p,
.lab-phone-link {
  color: #111111;
}
.lab-local-header,
.lab-local-grid {
  width: min(var(--container), 100%);
  margin: 0 auto;
}
.lab-local-header h2 {
  max-width: 820px;
}
.lab-local-header p {
  opacity: 0.72;
}
.lab-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 18px;
  margin-top: 34px;
}
.lab-before-after,
.lab-local-cta,
.lab-faq-stack article {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.12);
  color: #111111;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.08);
}
.lab-before-after {
  grid-row: span 2;
  padding: 24px;
}
.lab-ba-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.lab-ba-title strong {
  font-size: 24px;
}
.lab-ba-row {
  display: grid;
  grid-template-columns: 88px 1fr 74px;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}
.lab-ba-row span,
.lab-ba-row strong {
  font-weight: 900;
}
.lab-ba-row div {
  height: 12px;
  border-radius: 999px;
  background: #e7e2d8;
  overflow: hidden;
}
.lab-ba-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #111111;
}
.lab-ba-optimized i {
  background: var(--red);
}
.lab-local-cta {
  padding: 22px;
}
.lab-local-cta h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}
.lab-local-cta p {
  margin: 12px 0 18px;
  opacity: 0.72;
}
.lab-phone-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 900;
}
.lab-faq-stack {
  display: grid;
  gap: 10px;
}
.lab-faq-stack article {
  padding: 16px;
}
.lab-faq-stack strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}
.lab-faq-stack p {
  margin: 6px 0 0;
  opacity: 0.68;
}
.lab-sim {
  padding: 88px 24px;
  background:
    radial-gradient(circle at 84% 24%, rgba(59, 130, 246, 0.22), transparent 26%),
    linear-gradient(180deg, #0f172a, #0b0b0d);
}
.lab-sim .lab-concept-inner {
  min-height: 520px;
  padding: 0;
}
.lab-sim .lab-option {
  color: var(--blue);
}
.lab-simulator-card {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.18), transparent 42%),
    rgba(16, 16, 16, 0.78);
}
.lab-sim-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}
.lab-sim-head strong {
  color: var(--text);
  font-size: 23px;
  line-height: 1.1;
}
.lab-sim-fields {
  display: grid;
  gap: 10px;
}
.lab-sim-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.lab-sim-tabs span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
}
.lab-sim-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.lab-sim-result div {
  padding: 16px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 6px;
  background: rgba(16, 16, 16, 0.68);
}
.lab-sim-result span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.lab-sim-result strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 26px;
}
.lab-service-row {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 48px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.lab-service-row article {
  padding: 20px;
}
.lab-service-row h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
}
.lab-service-row p {
  margin: 10px 0 0;
  color: var(--muted);
}

.motion-ready .section,
.motion-ready .cta-band {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms ease, transform 720ms var(--motion-ease);
}
.motion-ready .section.is-visible,
.motion-ready .cta-band.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.motion-ready .directions-section.is-visible .direction-panel,
.motion-ready .tlg-simulator-section.is-visible .tlg-simulator-card,
.motion-ready .prog-services-section.is-visible .prog-service-card,
.motion-ready .prog-cases-section.is-visible .case-card,
.motion-ready .prog-entry-section.is-visible .prog-entry-card,
.motion-ready .prog-entry-section.is-visible .prog-entry-steps article,
.motion-ready .prog-process-section.is-visible .process-grid article,
.motion-ready .prog-dossier-section.is-visible .dossier-panel,
.motion-ready .prog-dossier-section.is-visible .scope-panel,
.motion-ready .request-section.is-visible .request-form,
.motion-ready .request-section.is-visible .request-aside,
.motion-ready .trust-section.is-visible .trust-grid article,
.motion-ready .reviews-section.is-visible .review-card {
  animation: tlg-panel-enter 680ms var(--motion-ease) both;
}
.motion-ready .directions-section.is-visible .direction-panel:nth-child(2),
.motion-ready .tlg-simulator-section.is-visible .tlg-simulator-card:nth-child(2),
.motion-ready .prog-services-section.is-visible .prog-service-card:nth-child(2),
.motion-ready .prog-cases-section.is-visible .case-card:nth-child(2),
.motion-ready .prog-entry-section.is-visible .prog-entry-steps article:nth-child(2),
.motion-ready .prog-process-section.is-visible .process-grid article:nth-child(2),
.motion-ready .prog-dossier-section.is-visible .scope-panel,
.motion-ready .request-section.is-visible .request-aside,
.motion-ready .trust-section.is-visible .trust-grid article:nth-child(2),
.motion-ready .reviews-section.is-visible .review-card:nth-child(2) {
  animation-delay: 90ms;
}
.motion-ready .prog-services-section.is-visible .prog-service-card:nth-child(3),
.motion-ready .prog-cases-section.is-visible .case-card:nth-child(3),
.motion-ready .prog-entry-section.is-visible .prog-entry-steps article:nth-child(3),
.motion-ready .prog-process-section.is-visible .process-grid article:nth-child(3),
.motion-ready .trust-section.is-visible .trust-grid article:nth-child(3),
.motion-ready .reviews-section.is-visible .review-card:nth-child(3) {
  animation-delay: 180ms;
}
.motion-ready .prog-cases-section.is-visible .case-card:nth-child(4),
.motion-ready .prog-process-section.is-visible .process-grid article:nth-child(4) {
  animation-delay: 270ms;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "utilities utilities"
      "nav nav";
  }
  body[data-site="prog"] .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "utilities utilities"
      "nav nav";
  }
  .header-utilities {
    justify-self: start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 12px;
  }
  .traffic-counter { width: fit-content; }
  .header-contact { justify-content: flex-start; }
  .header-contact a[href^="mailto:"] { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  body[data-site="prog"] .nav-toggle {
    grid-area: toggle;
    display: inline-flex;
  }
  .main-nav {
    display: none;
    justify-self: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 2px;
  }
  .main-nav.is-open { display: flex; }
  .hero h1 { font-size: 42px; }
  .card-grid, .card-grid.two-columns, .card-grid.four-columns, .direction-grid, .tlg-simulator-layout, .request-layout, .trust-grid, .case-grid, .legal-grid, .portal-home-inner, .prog-brand-inner, .prog-entry-layout, .prog-entry-steps, .prog-dossier-layout, .process-grid, .reviews-layout, .review-list, .prog-service-grid, .lab-variant-content, .lab-choice-grid, .lab-concept-inner, .lab-local-grid, .lab-service-row { grid-template-columns: 1fr; }
  .portal-home-hero { min-height: auto; }
  .portal-home-inner { padding: 86px 0 58px; }
  .portal-home-copy h1 { font-size: 46px; }
  .lab-variant { min-height: 680px; }
  .lab-variant-content { padding: 68px 24px; }
  .lab-concept-inner { min-height: auto; padding: 68px 0; }
  .prog-brand-hero { min-height: auto; }
  .prog-brand-inner { padding: 82px 0 68px; }
  .prog-brand-copy h1, .lab-intro h1, .lab-variant-copy h2, .lab-concept-copy h2, .lab-local-header h2 { font-size: 42px; }
  .lab-local-grid { margin-top: 26px; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .site-header { padding: 10px 16px; gap: 12px; }
  body[data-site="prog"] .site-header {
    grid-template-columns: minmax(0, 1fr) 76px;
    overflow: hidden;
  }
  .brand { min-width: 0; }
  body[data-site="prog"] .brand img { width: 34px; height: 34px; }
  body[data-site="prog"] .brand strong { font-size: 17px; }
  body[data-site="prog"] .brand span span { font-size: 12px; }
  body[data-site="prog"] .nav-toggle {
    display: none;
  }
  body[data-site="prog"] .main-nav {
    display: flex;
    justify-self: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  body[data-site="prog"] .main-nav::-webkit-scrollbar {
    display: none;
  }
  body[data-site="prog"] .main-nav a {
    flex: 0 0 auto;
  }
  .traffic-counter { flex-wrap: wrap; gap: 8px; white-space: normal; }
  .hero, .hero-compact { min-height: 480px; }
  .hero-content { width: min(var(--container), calc(100% - 32px)); padding-bottom: 40px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .portal-home-inner {
    width: calc(100vw - 32px);
    padding: 72px 0 48px;
  }
  .portal-home-media {
    background-position: 64% center;
    opacity: 0.74;
  }
  .portal-home-shade {
    background:
      linear-gradient(90deg, rgba(8, 8, 8, 0.98), rgba(8, 8, 8, 0.76) 58%, rgba(8, 8, 8, 0.66)),
      linear-gradient(180deg, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.94));
  }
  .portal-home-copy h1 { font-size: 34px; }
  .portal-home-copy p:not(.hero-eyebrow) { font-size: 16px; }
  .portal-home-routing a {
    padding: 16px;
    background: rgba(14, 14, 14, 0.92);
  }
  .portal-home-routing strong { font-size: 18px; }
  .hero-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }
  .hero-highlights div { padding: 10px; }
  .hero-highlights dt { font-size: 18px; }
  .hero-highlights dd { font-size: 12px; }
  .header-contact { font-size: 12px; }
  .section { padding: 46px 16px; scroll-margin-top: 152px; }
  .section-heading h2, .cta-band h2 { font-size: 28px; }
  .tlg-simulator-card { padding: 18px; }
  .tlg-power-card { padding: 0; }
  .tlg-tuning-frame iframe {
    min-height: 250px;
    height: 270px;
  }
  .tlg-e85-price-grid,
  .tlg-e85-results {
    grid-template-columns: 1fr;
  }
  .tlg-e85-controls label span {
    display: grid;
    gap: 2px;
  }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band, .site-footer { flex-direction: column; align-items: flex-start; }
  .site-footer nav { justify-content: flex-start; }
  .prog-brand-inner {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    padding: 72px 0 52px;
  }
  .prog-brand-copy h1 { font-size: 34px; }
  .prog-brand-copy p:not(.hero-eyebrow) { font-size: 16px; }
  .prog-brand-copy,
  .prog-brand-panel,
  .prog-vehicle-finder {
    width: 100%;
    max-width: 100%;
  }
  .prog-brand-copy h1,
  .prog-brand-copy p:not(.hero-eyebrow),
  .prog-brand-copy .hero-actions {
    width: 100%;
    max-width: 100%;
  }
  .prog-finder-grid, .prog-universe-grid, .prog-brand-stats { grid-template-columns: 1fr; }
  .prog-brand-stats div { border-left: 0; border-top: 1px solid rgba(244, 241, 234, 0.1); }
  .prog-brand-stats div:first-child { border-top: 0; }
  .prog-entry-card h3 { font-size: 26px; }
  .lab-intro { min-height: 500px; padding: 110px 16px 52px; }
  .lab-intro h1, .lab-variant-copy h2, .lab-concept-copy h2, .lab-local-header h2 { font-size: 34px; }
  .lab-intro p:not(.lab-kicker), .lab-variant-copy p, .lab-concept-copy p, .lab-local-header p { font-size: 16px; }
  .lab-variant { min-height: auto; }
  .lab-variant-content { padding: 58px 16px; }
  .lab-concept-inner { width: min(var(--container), calc(100% - 32px)); padding: 58px 0; }
  .lab-network-panel, .lab-universe-grid, .lab-brand-stats, .lab-finder-grid, .lab-sim-result { grid-template-columns: 1fr; }
  .lab-local, .lab-sim { padding: 58px 16px; }
  .lab-ba-row { grid-template-columns: 1fr; }
  .lab-service-row { width: min(var(--container), calc(100% - 32px)); }
  .lab-spec-grid strong, .lab-dashboard-row strong { font-size: 18px; }
  .lab-race-strip strong { font-size: 24px; }
  .lab-dashboard-row { display: grid; }
  .lab-choice { padding: 46px 16px; }
  .lab-choice h2 { font-size: 28px; }
}

@media (max-width: 540px) {
  body[data-site="prog"] .prog-brand-inner {
    width: calc(100vw - 32px);
    max-width: 358px;
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero {
    background-position: center;
  }
  .hero .hero-eyebrow,
  .hero .back-link,
  .hero h1,
  .hero p:not(.hero-eyebrow),
  .hero-actions,
  .portal-home-media,
  .portal-home-copy .hero-eyebrow,
  .portal-home-copy h1,
  .portal-home-copy p:not(.hero-eyebrow),
  .portal-home-copy .hero-actions,
  .portal-home-routing,
  .prog-brand-copy .back-link,
  .prog-brand-copy .hero-eyebrow,
  .prog-brand-copy h1,
  .prog-brand-copy p:not(.hero-eyebrow),
  .prog-brand-copy .hero-actions,
  .prog-brand-panel,
  .motion-ready .tlg-simulator-section.is-visible .tlg-simulator-card,
  .motion-ready .directions-section.is-visible .direction-panel,
  .motion-ready .prog-services-section.is-visible .prog-service-card,
  .motion-ready .prog-cases-section.is-visible .case-card,
  .motion-ready .prog-entry-section.is-visible .prog-entry-card,
  .motion-ready .prog-entry-section.is-visible .prog-entry-steps article,
  .motion-ready .prog-process-section.is-visible .process-grid article,
  .motion-ready .prog-dossier-section.is-visible .dossier-panel,
  .motion-ready .prog-dossier-section.is-visible .scope-panel,
  .motion-ready .request-section.is-visible .request-form,
  .motion-ready .request-section.is-visible .request-aside,
  .motion-ready .trust-section.is-visible .trust-grid article,
  .motion-ready .reviews-section.is-visible .review-card {
    animation: none;
  }
  .motion-ready .section,
  .motion-ready .cta-band,
  .button,
  .back-link,
  .direction-panel,
  .tlg-simulator-card,
  .card,
  .case-card,
  .prog-service-card,
  .prog-entry-card,
  .prog-entry-steps article,
  .dossier-panel,
  .scope-panel,
  .process-grid article,
  .trust-grid article,
  .review-card,
  input,
  select,
  textarea {
    transition: none;
  }
}
