/* ImprimeZen3D — vitrine PHP (palette alignée refonte Next) */
:root {
  --ink-50: #f6f7f8;
  --ink-100: #eceef0;
  --ink-200: #d5d9de;
  --ink-500: #667283;
  --ink-600: #515a69;
  --ink-700: #434a56;
  --ink-800: #2d333b;
  --ink-950: #121418;
  --accent: #0d6e8d;
  --accent-hover: #0a5a75;
  --accent-muted: #e6f2f6;
  --brand-orange: #f97316;
  --brand-orange-muted: #fff3e8;
  --shadow-card: 0 1px 2px rgba(18, 20, 24, 0.06), 0 8px 24px rgba(18, 20, 24, 0.06);
  --font: "DM Sans", system-ui, sans-serif;
  --radius: 10px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-950);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
  box-shadow: 0 1px 0 rgba(18, 20, 24, 0.02);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--ink-200);
  box-shadow: 0 2px 14px rgba(18, 20, 24, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  transition: opacity 0.15s ease;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
}

.logo:hover {
  opacity: 0.85;
}

.logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .logo img {
    height: 40px;
    max-width: 160px;
  }
  .header-inner {
    min-height: 4rem;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-toggle:hover {
  background: var(--ink-50);
  border-color: var(--ink-500);
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink-950);
  border-radius: 2px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink-950);
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 5px; }

.site-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.15s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink-950);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--ink-950);
  font-weight: 600;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link--cta {
  padding: 0.55rem 1.15rem;
  background: var(--ink-950);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(18, 20, 24, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 110, 141, 0.25);
}

.nav-link--cta.is-active {
  background: var(--accent);
  color: #fff !important;
}

.sub-nav {
  display: none;
  position: absolute;
  left: -1rem;
  top: calc(100% + 0.5rem);
  min-width: 300px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  box-shadow:
    0 2px 4px rgba(18, 20, 24, 0.04),
    0 16px 40px rgba(18, 20, 24, 0.10);
}

.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav {
  display: block;
}

.sub-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-700);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.12s ease, color 0.12s ease;
}

.sub-nav a:hover,
.sub-nav a:focus-visible {
  background: var(--accent-muted);
  color: var(--accent);
  outline: none;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 4rem 0 auto 0;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--ink-100);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .sub-nav {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .has-sub:hover .sub-nav {
    display: block;
  }
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section--muted {
  background: var(--ink-50);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-950);
}

.section__lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  color: var(--ink-600);
  font-size: 1.05rem;
}

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(to bottom, var(--ink-50), #fff);
  border-bottom: 1px solid var(--ink-100);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__intro {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink-600);
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-600);
}

.hero__meta {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-500);
}

.hero__media {
  position: relative;
  aspect-ratio: 3/2;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-card);
  background: var(--ink-100);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-500);
}

/* Cards & grids */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-600);
}

.card__hook {
  font-weight: 600;
  color: var(--ink-800, #3a4049);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.service-card:hover {
  border-color: rgba(13, 110, 141, 0.35);
  box-shadow: 0 4px 20px rgba(18, 20, 24, 0.08);
}

.service-card h3 {
  color: var(--ink-950);
}

.service-card:hover h3 {
  color: var(--accent);
}

.service-card__more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--secondary {
  background: #fff;
  color: var(--ink-950);
  border-color: var(--ink-200);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Lists */
.list-check {
  margin: 0;
  padding-left: 1.25rem;
}

.list-check li {
  margin-bottom: 0.5rem;
}

/* Realisations */
.real-card {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .real-card {
    grid-template-columns: 140px 1fr;
  }
}

.real-card__img {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-100), var(--accent-muted));
}

.real-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-card__img-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 7rem;
  padding: 0.75rem;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
  color: var(--ink-500);
}


.real-card__cat {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.real-card dl {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.real-card dt {
  font-weight: 600;
  color: var(--ink-800, #3a4049);
}

.real-card dd {
  margin: 0.15rem 0 0.5rem;
  color: var(--ink-600);
}

/* CTA band */
.cta-band {
  padding: 3rem 0;
  background: var(--ink-950);
  color: #fff;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  opacity: 0.9;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--ink-950);
}

.cta-band .btn--primary:hover {
  background: var(--ink-100);
}

.cta-band .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 0;
  background: var(--ink-50);
  border-top: 1px solid var(--ink-100);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

.footer-tagline {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-600);
  max-width: 18rem;
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--ink-700);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.footer-partners {
  margin-top: 2rem;
}

.footer-partners__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-partners__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.footer-partners__list a:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 18px rgba(18, 20, 24, 0.06);
}

.footer-partners__list img {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 34px;
  object-fit: contain;
}

.footer-legal {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ink-200);
  font-size: 0.85rem;
  color: var(--ink-500);
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  color: var(--ink-600);
}

/* Service page */
.service-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--ink-100);
  background: linear-gradient(to bottom, var(--ink-50), #fff);
}

.service-hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 600;
}

.prose {
  max-width: 46rem;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

/* Article figures */
.article-figure {
  margin: 1.5rem 0;
  padding: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--ink-50, #f5f7fa);
  border: 1px solid var(--ink-100, #e6ebf2);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-600, #475569);
  background: #fff;
  border-top: 1px solid var(--ink-100, #e6ebf2);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.93rem;
}

.prose thead th {
  text-align: left;
  background: var(--ink-50, #f5f7fa);
  border-bottom: 1px solid var(--ink-200, #cbd5e1);
  padding: 0.5rem 0.65rem;
  font-weight: 600;
}

.prose tbody td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--ink-100, #e6ebf2);
  vertical-align: top;
}

.article-help {
  background: #fff;
}

/* Forms */
.form {
  max-width: 32rem;
}

.form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font: inherit;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
}

.form .field {
  margin-bottom: 1rem;
}

.field__help {
  margin: 0.4rem 0 0;
  color: var(--ink-500);
  font-size: 0.85rem;
  line-height: 1.5;
}

.form-msg {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.form-msg--ok {
  background: #ecfdf5;
  color: #065f46;
}

.form-msg--err {
  background: #fef2f2;
  color: #991b1b;
}

.form-msg--wide {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.field--checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.9rem;
  color: var(--ink-600);
}

.field--checkbox input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
}

.field--checkbox label {
  font-weight: 400;
}

/* Calculator iframe */
.calc-frame-wrap {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-card);
  background: var(--ink-50);
}

.calc-frame {
  width: 100%;
  min-height: min(90vh, 920px);
  border: 0;
}

/* Legal */
.legal-page h1 {
  margin: 0 0 0.5rem;
}

.legal-page .meta {
  font-size: 0.9rem;
  color: var(--ink-500);
  margin-bottom: 2rem;
}

.legal-page section {
  margin-bottom: 1.75rem;
}

.legal-page h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

/* Homepage & hub utilitaires */
.section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section__grid-tight {
  margin-top: 2rem;
}

.section__lead--tight {
  margin: 0;
  max-width: 40rem;
}

.card__angle {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ink-100);
  font-size: 0.95rem;
  color: var(--ink-700);
}

.real-card__dl {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.real-card__link {
  margin-top: 0.75rem;
}

.real-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.real-filters .btn.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-muted);
}

/* Fiches réalisations — synthèse & preuve */
.real-detail-glance__title {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.real-detail-glance__grid {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .real-detail-glance__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.real-detail-glance__cell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.real-detail-glance__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.real-detail-glance__value {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-800);
}

.real-detail-proof {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-100);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-700);
}

.real-detail-cover {
  margin: 1.5rem 0 0;
  max-width: 42rem;
}

.real-detail-cover__cap {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.section__cta-line {
  margin-top: 1.5rem;
}

.section--compact {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section__title--sm {
  margin: 0;
  font-size: 1.25rem;
}

.card--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

.card--inline__text {
  margin: 0.5rem 0 0;
  color: var(--ink-600);
  font-size: 0.95rem;
  max-width: 36rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Page service détaillée */
.service-detail {
  padding-bottom: 3rem;
}

.service-detail__intro {
  max-width: 42rem;
  font-size: 1.05rem;
  color: var(--ink-600);
}

.service-detail .prose h2 {
  margin-top: 2.25rem;
}

.service-detail .grid-tech {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .service-detail .grid-tech {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-detail .tech-card {
  padding: 1.5rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  background: #fff;
}

.service-detail .tech-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.service-detail .tech-card ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--ink-600);
}

.service-detail .steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-detail .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-detail .step {
  padding: 1.25rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  background: var(--ink-50);
}

.service-detail .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.service-detail .note {
  font-size: 0.9rem;
  color: var(--ink-500);
  margin-top: 1.5rem;
}

.service-hub-card__action {
  margin-top: 1rem;
}

.service-hub-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-hub-card h3 a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Service page — premium (applicable à chaque fiche service)
   Hero split + spec bento + cartes tech + process timeline + highlights
   ========================================================================== */

.service-hero--premium {
  position: relative;
  padding: 3.25rem 0 3.5rem;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(13, 110, 141, 0.08), transparent 60%),
    linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--ink-100);
  overflow: hidden;
}

.service-hero--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(18, 20, 24, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 20, 24, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 80% 30%, rgba(0, 0, 0, 0.5), transparent 55%);
  -webkit-mask-image: radial-gradient(circle at 80% 30%, rgba(0, 0, 0, 0.5), transparent 55%);
  pointer-events: none;
}

.service-hero--premium > .container {
  position: relative;
}

.hero-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-split {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}

.hero-split__content h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--ink-950);
}

.hero-split__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--ink-600);
  line-height: 1.65;
}

.hero-split__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-split__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-700);
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 999px;
}

.hero-split__meta li svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* Bento specs (côté visuel du hero) */
.spec-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(18, 20, 24, 0.04),
    0 12px 32px rgba(18, 20, 24, 0.06);
  position: relative;
}

.spec-bento::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 110, 141, 0.15), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

.spec-bento__title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--ink-100);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.spec-bento__title .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 110, 141, 0.12);
}

.spec-bento__item {
  padding: 0.85rem 0.9rem;
  background: linear-gradient(180deg, #fbfcfd, #f5f7f9);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
}

.spec-bento__item--wide {
  grid-column: 1 / -1;
}

.spec-bento__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 0.3rem;
}

.spec-bento__value {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-950);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.spec-bento__value small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-600);
  letter-spacing: 0;
}

/* Section d'intro doublée (points forts) */
.service-anchors {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .service-anchors {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-anchors li {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--ink-700);
  line-height: 1.55;
}

.service-anchors li svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}

/* Cartes tech FDM / SLA — variante premium */
.tech-card--premium {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(18, 20, 24, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.tech-card--premium:hover {
  transform: translateY(-2px);
  border-color: var(--ink-200);
  box-shadow: 0 14px 30px rgba(18, 20, 24, 0.08);
}

.tech-card--premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #4fb8d4);
}

.tech-card--sla::before {
  background: linear-gradient(90deg, #5b4d9e, #8a6fd1);
}

.tech-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.tech-card__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-muted);
  color: var(--accent);
  border-radius: 12px;
}

.tech-card--sla .tech-card__icon {
  background: #ece8f7;
  color: #5b4d9e;
}

.tech-card__icon svg {
  width: 22px;
  height: 22px;
}

.tech-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-950);
}

.tech-card__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tech-card--premium p.tech-card__desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink-600);
  line-height: 1.6;
}

.tech-card__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--ink-100);
}

.tech-card__specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--ink-100);
  font-size: 0.92rem;
}

.tech-card__specs li:last-child {
  border-bottom: 0;
}

.tech-card__specs dt,
.tech-card__specs .spec-label {
  color: var(--ink-500);
  font-weight: 500;
}

.tech-card__specs dd,
.tech-card__specs .spec-value {
  margin: 0;
  color: var(--ink-950);
  font-weight: 600;
  text-align: right;
  letter-spacing: -0.01em;
}

/* Timeline process */
.process-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 900px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .process-timeline::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, var(--ink-200) 0, var(--ink-200) 100%);
    z-index: 0;
  }
}

.process-timeline__item {
  position: relative;
  padding: 0 0.75rem;
  counter-increment: step;
  z-index: 1;
}

.process-timeline__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--ink-100);
}

.process-timeline__item h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-950);
}

.process-timeline__item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-600);
  line-height: 1.55;
}

/* Sections à fond alterné + bloc highlight */
.section--alt {
  background: #fafbfc;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}

.highlight-panel {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  margin: 1.5rem 0 0;
  background: linear-gradient(135deg, #0f1620 0%, #1a242f 100%);
  border-radius: 16px;
  color: #eceef0;
  position: relative;
  overflow: hidden;
}

.highlight-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(13, 110, 141, 0.35), transparent 50%),
    radial-gradient(400px 200px at 0% 100%, rgba(79, 184, 212, 0.15), transparent 50%);
  pointer-events: none;
}

.highlight-panel > * {
  position: relative;
}

.highlight-panel h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.highlight-panel p {
  margin: 0;
  color: rgba(236, 238, 240, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
}

.highlight-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .highlight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.highlight-stat {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.highlight-stat__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.highlight-stat__label {
  display: block;
  font-size: 0.82rem;
  color: rgba(236, 238, 240, 0.65);
  line-height: 1.4;
}

/* CTA band premium (override cohérent si classe --premium) */
.cta-band--premium {
  position: relative;
  padding: 3rem 0;
  background:
    radial-gradient(900px 300px at 20% 50%, rgba(13, 110, 141, 0.12), transparent 60%),
    linear-gradient(180deg, #f8fafb, #ffffff);
  border-top: 1px solid var(--ink-100);
  overflow: hidden;
}

.cta-band--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(18, 20, 24, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 70%);
  pointer-events: none;
}

.cta-band--premium > .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band--premium .cta-band__text {
  flex: 1 1 420px;
  max-width: 40rem;
}

.cta-band--premium h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2.2vw, 1.65rem);
  font-weight: 600;
  color: var(--ink-950);
  letter-spacing: -0.02em;
}

.cta-band--premium p {
  margin: 0;
  color: var(--ink-600);
  font-size: 1rem;
  max-width: none;
  opacity: 1;
}

.cta-band--premium {
  color: var(--ink-950);
}

.cta-band--premium .btn--primary {
  background: var(--accent);
  color: #fff;
}

.cta-band--premium .btn--primary:hover {
  background: var(--accent-hover);
}

.cta-band--premium .btn--secondary {
  background: #fff;
  color: var(--ink-950);
  border-color: var(--ink-200);
}

.cta-band--premium .cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Micro-typo ajustements pour éviter les "gros blocs texte" */
.service-detail .prose-rich h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-950);
}

.service-detail .prose-rich h2::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), #4fb8d4);
}

/* Pill line pour les labels de section */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem;
  background: var(--accent-muted);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Stabilisation visuelle : branding, fallbacks médias et helpers sobres */
.logo {
  gap: 0.55rem;
  line-height: 1;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(13, 110, 141, 0.18);
}

.logo__text {
  color: var(--ink-950);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container--narrow,
.prose--narrow {
  max-width: 42rem;
}

.section--flush-top {
  padding-top: 0;
}

.section__title--top {
  margin-top: 0;
}

.hero__intro--wide {
  margin: 0;
  max-width: 42rem;
}

.kicker--card {
  margin-bottom: 0.35rem;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
}

.card__text {
  margin: 0;
}

.service-hub-card__image {
  display: block;
  margin: -0.35rem -0.35rem 1rem;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink-50);
}

.service-hub-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.service-hub-card:hover .service-hub-card__image img {
  transform: scale(1.025);
}

.service-hub-grid {
  align-items: stretch;
}

.service-hub-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-color: var(--ink-100);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 18px 34px rgba(18, 20, 24, 0.09);
}

.service-hub-card__action {
  margin-top: auto;
  padding-top: 1rem;
}

.service-choice-grid,
.feature-grid,
.service-links,
.about-equipment-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .service-choice-grid,
  .feature-grid,
  .service-links,
  .about-equipment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card,
.service-link-card,
.equipment-card,
.choice-card {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(18, 20, 24, 0.03);
}

.feature-card::before,
.equipment-card::before,
.choice-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 4px;
  height: 100%;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, var(--brand-orange), var(--accent));
}

.feature-card h3,
.service-link-card h3,
.equipment-card h3,
.choice-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.feature-card p,
.service-link-card p,
.equipment-card p,
.choice-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.95rem;
}

.feature-card p + p,
.equipment-card ul + p,
.equipment-card p + p {
  margin-top: 0.75rem;
}

.service-link-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-link-card:hover,
.service-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 14px 26px rgba(18, 20, 24, 0.08);
}

.service-link-card__arrow {
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--accent);
  font-weight: 700;
}

.info-panel,
.warning-panel {
  margin-top: 2rem;
  padding: 1.35rem 1.45rem;
  border: 1px solid rgba(13, 110, 141, 0.16);
  border-left: 4px solid var(--brand-orange);
  border-radius: 16px;
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(249, 115, 22, 0.08), transparent 70%),
    #fbfcfd;
}

.info-panel h2,
.warning-panel h2 {
  margin-top: 0;
}

.info-panel ul,
.warning-panel ul {
  margin-bottom: 0;
}

.faq-block {
  margin-top: 2rem;
}

.faq-block h2 {
  margin-top: 0;
}

.faq-item {
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(18, 20, 24, 0.03);
}

.faq-item + .faq-item {
  margin-top: 0.75rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  color: var(--ink-950);
  font-weight: 700;
  list-style-position: outside;
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  color: var(--ink-600);
}

.service-hero--visual {
  overflow: hidden;
}

.service-hero--visual .container {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .service-hero--visual .container {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  }
}

.service-hero__media {
  border: 1px solid var(--ink-100);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.service-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-section {
  scroll-margin-top: 6rem;
}

.service-detail .section > .container.prose {
  max-width: 64rem;
}

.service-detail .section > .container.prose > p,
.service-detail .section > .container.prose > ul,
.service-detail .section > .container.prose > ol {
  max-width: 46rem;
}

.service-detail .prose > .info-panel + .faq-block,
.service-detail .prose > .service-links + .faq-block {
  margin-top: 2rem;
}

.about-equipment-grid {
  margin-top: 1.5rem;
}

.equipment-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-600);
  font-size: 0.95rem;
}

.equipment-card--wide {
  background: linear-gradient(135deg, #fff, var(--brand-orange-muted));
}

@media (min-width: 720px) {
  .equipment-card--wide {
    grid-column: span 3;
  }
}

.grid-gap-md {
  gap: 1rem;
}

.grid-gap-lg {
  gap: 1.5rem;
}

.grid-align-start {
  align-items: start;
}

.media-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 1.5rem;
  border: 1px dashed var(--ink-200);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(13, 110, 141, 0.10), transparent 28%),
    linear-gradient(135deg, #fbfcfd 0%, var(--ink-50) 100%);
  color: var(--ink-600);
  text-align: center;
  overflow: hidden;
}

.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(18, 20, 24, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 20, 24, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
  pointer-events: none;
}

.media-placeholder span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-700);
  font-size: 0.88rem;
  font-weight: 600;
}

.media-placeholder span::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.media-placeholder--hero {
  min-height: 22rem;
  border-style: solid;
  box-shadow: var(--shadow-card);
}

.media-placeholder--real {
  min-height: 10rem;
  aspect-ratio: 4 / 3;
}

.media-placeholder--detail {
  max-width: 42rem;
  min-height: 18rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-card);
}

.media-placeholder--article {
  min-height: 16rem;
}

.real-card--stack {
  grid-template-columns: 1fr;
}

.real-card__missing-layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .real-card__missing-layout {
    grid-template-columns: 180px 1fr;
    align-items: start;
  }
}

.real-card__title {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.15rem;
}

.real-detail-cover img,
.real-detail-gallery img {
  width: 100%;
  height: auto;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
}

.real-detail-cover img {
  max-width: 42rem;
  box-shadow: var(--shadow-card);
}

.real-detail-gallery {
  margin-top: 1rem;
}

.real-detail-gallery figure {
  margin: 0;
}

.article-figure img,
.article-figure .media-placeholder {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-card);
}

.article-toc {
  padding: 1rem 1.25rem;
}

.article-toc p {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.article-toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.service-detail > .service-hero:not(.service-hero--premium) {
  background:
    radial-gradient(900px 320px at 85% -20%, rgba(13, 110, 141, 0.08), transparent 60%),
    linear-gradient(180deg, #f8fafb 0%, #fff 100%);
}

.service-detail > .service-hero:not(.service-hero--premium):not(.service-hero--visual) .container {
  max-width: 920px;
}

.service-detail > .service-hero:not(.service-hero--premium) h1 {
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.service-detail__intro {
  max-width: 46rem;
}

.tech-card,
.step {
  border-color: var(--ink-100);
  box-shadow: 0 1px 2px rgba(18, 20, 24, 0.03);
}

@media (max-width: 960px) {
  .site-nav {
    box-shadow: 0 16px 32px rgba(18, 20, 24, 0.08);
  }

  .site-nav .nav-list {
    gap: 0.4rem;
  }

  .nav-link,
  .sub-nav a {
    padding: 0.65rem 0.75rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.5rem 0;
  }

  .hero,
  .service-hero,
  .service-hero--premium {
    padding-top: 2rem;
    padding-bottom: 2.25rem;
  }

  .hero__actions,
  .cta-band__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn,
  .cta-band__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .media-placeholder--hero {
    min-height: 16rem;
  }

  .media-placeholder--detail,
  .media-placeholder--article {
    min-height: 12rem;
  }

  .spec-bento {
    grid-template-columns: 1fr;
  }

  .spec-bento__item,
  .spec-bento__item--wide {
    grid-column: auto;
  }
}
