/* Interface — thème éditorial type Asterion (crème / noir) */

:root {
  --ast-cream: #f0ede6;
  --ast-cream-dark: #e8e4dc;
  --ast-ink: #0c0c0c;
  --ast-ink-muted: #5c5a55;
  --ast-line: rgba(12, 12, 12, 0.12);
  --ast-line-light: rgba(240, 237, 230, 0.35);
  --ast-max: 72rem;
  --ast-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ast-body: "Inter", system-ui, sans-serif;
  --ast-radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body.site {
  margin: 0;
  font-family: var(--ast-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ast-ink);
  background: var(--ast-cream);
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { opacity: 0.85; }

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

.ast-wrap {
  width: min(100% - 2.5rem, var(--ast-max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  pointer-events: none;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  pointer-events: auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ast-cream);
}

.site-brand__mark {
  width: 1.35rem;
  height: 0.55rem;
  background:
    radial-gradient(circle at 28% 50%, var(--ast-cream) 0 38%, transparent 40%),
    radial-gradient(circle at 72% 50%, var(--ast-cream) 0 38%, transparent 40%);
  opacity: 0.95;
}

.site-brand__name {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.site-brand__logo {
  height: 2.75rem;
  width: auto;
}

.site-header--light .site-brand {
  color: var(--ast-ink);
}

.site-header--light .site-brand__mark {
  background:
    radial-gradient(circle at 28% 50%, var(--ast-ink) 0 38%, transparent 40%),
    radial-gradient(circle at 72% 50%, var(--ast-ink) 0 38%, transparent 40%);
}

.site-nav-toggle {
  pointer-events: auto;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ast-cream);
}

.site-header--light .site-nav-toggle { color: var(--ast-ink); }

.site-nav-toggle__lines {
  display: block;
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor;
}

.site-nav {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.97);
  color: var(--ast-cream);
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-nav[hidden] { display: none; }

.site-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
}

.site-nav__inner a {
  font-family: var(--ast-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
}

body.site-nav-open { overflow: hidden; }

/* —— Buttons —— */
.ast-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--ast-radius);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ast-btn--solid {
  background: var(--ast-cream);
  color: var(--ast-ink);
  border-color: var(--ast-cream);
}

.ast-btn--ghost {
  background: transparent;
  color: var(--ast-cream);
  border-color: var(--ast-line-light);
}

.ast-btn--dark {
  background: var(--ast-ink);
  color: var(--ast-cream);
}

.ast-btn--outline-dark {
  background: transparent;
  color: var(--ast-ink);
  border-color: var(--ast-ink);
}

.ast-btn:hover { opacity: 1; filter: brightness(1.05); }

/* —— Home hero —— */
.site--home { background: var(--ast-ink); }

.ast-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ast-cream);
  padding: 5rem 0 2.5rem;
  box-sizing: border-box;
}

.ast-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ast-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ast-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.82) 100%);
}

.ast-hero__layout {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(100% - 2.5rem, var(--ast-max));
  margin-inline: auto;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 2rem;
  min-height: 0;
}

.ast-hero__primary {
  align-self: center;
}

@media (min-width: 900px) {
  .ast-hero__layout {
    grid-template-columns: 1fr min(22rem, 32vw);
    grid-template-rows: 1fr;
  }

  .ast-hero__primary {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .ast-hero__aside {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: end;
  }
}

.ast-hero__title {
  margin: 0;
  font-family: var(--ast-display);
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: min(100%, 11.5em);
}

.ast-hero__title-line {
  display: block;
}

.ast-hero__title-line--primary {
  font: inherit;
}

.ast-hero__title-line--secondary {
  margin-top: 0.15em;
  font-size: 0.58em;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

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

.ast-hero__aside {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(240, 237, 230, 0.88);
  max-width: 28rem;
}

/* —— Statement —— */
.ast-statement {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--ast-cream);
  border-bottom: 1px solid var(--ast-line);
}

.ast-statement__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .ast-statement__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: start;
  }
}

.ast-statement__title {
  margin: 0;
  font-family: var(--ast-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.ast-statement__body p {
  margin: 0 0 1.25rem;
  color: var(--ast-ink-muted);
  max-width: 42rem;
}

.ast-statement__cta { margin: 1.5rem 0 0; }

/* —— Offers —— */
.ast-offers {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--ast-cream);
}

.ast-offers--compact {
  padding-top: 2rem;
  border-top: 1px solid var(--ast-line);
}

.ast-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ast-ink-muted);
}

.ast-offers__title {
  margin: 0 0 2rem;
  font-family: var(--ast-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ast-offers__title--solo { margin-bottom: 1.5rem; }

.ast-offers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--ast-line);
  border: 1px solid var(--ast-line);
}

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

.ast-offer-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.75rem 1.5rem;
  background: var(--ast-cream);
  text-decoration: none;
  transition: background 0.2s;
}

.ast-offer-card:hover {
  background: var(--ast-cream-dark);
  opacity: 1;
}

.ast-offer-card--feature {
  background: var(--ast-ink);
  color: var(--ast-cream);
}

.ast-offer-card--feature:hover { background: #1a1a1a; }

.ast-offer-card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.ast-offer-card__name {
  margin-top: 0.75rem;
  font-family: var(--ast-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ast-offer-card__desc {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  opacity: 0.85;
  flex: 1;
}

.ast-offer-card__link {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* —— CTA band —— */
.ast-cta {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--ast-ink);
  color: var(--ast-cream);
}

.ast-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ast-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ast-cta__title {
  margin: 0;
  font-family: var(--ast-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  max-width: 20ch;
}

/* —— Inner pages —— */
.site-main { padding-top: 4.5rem; }

.ast-page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--ast-line);
}

.ast-page-hero__title {
  margin: 0.5rem 0 0;
  font-family: var(--ast-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 18ch;
}

.ast-page-hero__lead {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: var(--ast-ink-muted);
  font-size: 1.125rem;
}

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

.ast-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.ast-section--alt { background: #ebe7df; }

.ast-section-head { margin-bottom: 2rem; max-width: 40rem; }

.ast-section-head__title {
  margin: 0;
  font-family: var(--ast-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-wrap: pretty;
  max-width: 100%;
}

.ast-section-head__sub {
  margin: 0.75rem 0 0;
  color: var(--ast-ink-muted);
}

/* —— Grids & cards —— */
.ast-pillars {
  display: grid;
  gap: 1.5rem;
}

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

.ast-pillar {
  padding: 1.5rem 0;
  border-top: 1px solid var(--ast-line);
}

.ast-pillar__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.ast-pillar__text {
  margin: 0;
  color: var(--ast-ink-muted);
  font-size: 0.9375rem;
}

.ast-cards {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 900px) {
  .ast-cards--4 { grid-template-columns: repeat(4, 1fr); }
}

.ast-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--ast-line);
  background: var(--ast-cream);
}

.ast-card strong { display: block; font-size: 0.9375rem; }

.ast-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--ast-ink-muted);
}

/* —— Data API showcase —— */
.api-showcase { margin-top: 0.5rem; }

.api-showcase__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem 0.5rem;
  margin-bottom: 1.75rem;
}

.api-flow-step {
  flex: 1 1 8rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ast-line);
  background: #fff;
}

.api-flow-step--core {
  background: var(--ast-ink);
  color: var(--ast-cream);
  border-color: var(--ast-ink);
}

.api-flow-step__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

.api-flow-step strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--ast-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.api-flow-step__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  opacity: 0.8;
  line-height: 1.4;
}

.api-flow-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 1.5rem;
  height: 1px;
  background: var(--ast-ink-muted);
  position: relative;
}

.api-flow-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--ast-ink-muted);
}

@media (max-width: 640px) {
  .api-flow-arrow { display: none; }
}

.api-console {
  border: 1px solid var(--ast-line);
  background: #fff;
  box-shadow: 0 24px 48px rgba(12, 12, 12, 0.08);
}

.api-console__chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ast-line);
  background: var(--ast-cream);
  font-size: 0.8125rem;
}

.api-console__dots {
  width: 2.5rem;
  height: 0.5rem;
  background:
    radial-gradient(circle at 15% 50%, #c4c0b8 0 35%, transparent 38%),
    radial-gradient(circle at 50% 50%, #c4c0b8 0 35%, transparent 38%),
    radial-gradient(circle at 85% 50%, #c4c0b8 0 35%, transparent 38%);
}

.api-console__endpoint {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 500;
}

.api-console__badge {
  margin-left: auto;
  padding: 0.2rem 0.5rem;
  background: #e3f0e8;
  color: #1a3d2e;
  font-size: 0.75rem;
  font-weight: 600;
}

.api-console__body {
  display: grid;
  gap: 0;
}

@media (min-width: 768px) {
  .api-console__body { grid-template-columns: 1.1fr 1fr; }
}

.api-console__map {
  padding: 1.25rem;
  border-bottom: 1px solid var(--ast-line);
  background: linear-gradient(160deg, #eae6de 0%, #f5f2eb 100%);
}

@media (min-width: 768px) {
  .api-console__map {
    border-bottom: 0;
    border-right: 1px solid var(--ast-line);
    min-height: 16rem;
  }
}

.api-map {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 14rem;
  margin-inline: auto;
  background:
    linear-gradient(rgba(12, 12, 12, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 12, 12, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--ast-line);
}

.api-map__ring {
  position: absolute;
  border: 1px dashed rgba(12, 12, 12, 0.2);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.api-map__ring--1 { width: 55%; height: 55%; }
.api-map__ring--2 { width: 85%; height: 85%; opacity: 0.6; }

.api-map__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ast-ink);
  box-shadow: 0 0 0 3px rgba(12, 12, 12, 0.12);
}

.api-map__dot--a { left: 38%; top: 42%; }
.api-map__dot--b { left: 52%; top: 35%; opacity: 0.7; }
.api-map__dot--c { left: 61%; top: 55%; }
.api-map__dot--d { left: 44%; top: 62%; opacity: 0.55; }
.api-map__dot--e { left: 48%; top: 48%; width: 14px; height: 14px; }

.api-map__dot--live {
  background: #2d6a4f;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.25);
  animation: api-pulse 2.4s ease-in-out infinite;
}

@keyframes api-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.api-map__legend {
  position: absolute;
  left: 0.65rem;
  bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ast-ink-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.25rem 0.45rem;
}

.api-console__side {
  padding: 1.25rem;
}

.api-kpis {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.api-kpis__val {
  display: block;
  font-family: var(--ast-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.api-kpis__lbl {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: var(--ast-ink-muted);
  line-height: 1.3;
}

.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.api-table th {
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ast-ink-muted);
  padding: 0 0 0.5rem;
  border-bottom: 1px solid var(--ast-line);
}

.api-table td {
  padding: 0.55rem 0.5rem 0.55rem 0;
  border-bottom: 1px solid var(--ast-line);
}

.api-table td:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }

.api-pill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 999px;
}

.api-pill--ok { background: #e3f0e8; color: #1a3d2e; }
.api-pill--warn { background: #f5ebe0; color: #6b4423; }

.api-showcase__note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--ast-ink-muted);
}

.ast-datasets {
  display: grid;
  gap: 1px;
  background: var(--ast-line);
  border: 1px solid var(--ast-line);
}

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

.ast-dataset {
  padding: 1.35rem 1.25rem;
  background: var(--ast-cream);
}

.ast-dataset__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.ast-dataset__desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--ast-ink-muted);
  line-height: 1.45;
}

.ast-dataset__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.ast-dataset__tags li {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--ast-line);
  background: #fff;
}

.ast-trust {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--ast-line);
  background: #fff;
  font-size: 0.9375rem;
  color: var(--ast-ink-muted);
}

.ast-trust p { margin: 0; }

.ast-prose {
  margin: 0 0 1rem;
  color: var(--ast-ink-muted);
  line-height: 1.6;
  max-width: 38rem;
}

.ast-prose--center {
  text-align: center;
  max-width: none;
  margin-top: 0.5rem;
}

.ast-decidim-modules {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ast-line);
  background: #fff;
}

.ast-decidim-modules li {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--ast-line);
}

.ast-decidim-modules li:last-child { border-bottom: 0; }

.ast-decidim-modules strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.ast-decidim-modules span {
  display: block;
  font-size: 0.8125rem;
  color: var(--ast-ink-muted);
  line-height: 1.45;
}

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

@media (min-width: 900px) {
  .ast-split { grid-template-columns: 1fr 1fr; }
}

.ast-checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.ast-checklist li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ast-line);
  font-size: 0.9375rem;
}

.ast-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--ast-ink-muted);
}

/* —— Forms —— */
.ast-form {
  max-width: 36rem;
  margin: 0 auto;
}

.ast-field {
  margin-bottom: 1.25rem;
}

.ast-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ast-field input,
.ast-field select,
.ast-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ast-ink);
  background: #fff;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
}

.ast-field textarea { min-height: 7rem; resize: vertical; }

.ast-alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  border-radius: var(--ast-radius);
}

.ast-alert--ok {
  background: #e3f0e8;
  border: 1px solid #b8d4c4;
  color: #1a3d2e;
}

/* —— iPhone mock —— */
.public-iphone-figure { margin: 0; }

.public-iphone-mock {
  perspective: 1200px;
  max-width: 280px;
  margin-inline: auto;
}

.public-iphone-mock__shell {
  transform: rotateY(-8deg) rotateX(4deg);
  border-radius: 2.25rem;
  padding: 0.65rem;
  background: linear-gradient(145deg, #2a2a2a, #0a0a0a);
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
}

.public-iphone-mock__display {
  border-radius: 1.75rem;
  overflow: hidden;
  background: #000;
}

.public-iphone-mock__screen {
  width: 100%;
  height: auto;
}

/* —— Legal —— */
.ast-legal {
  max-width: 42rem;
  font-size: 0.9375rem;
  color: var(--ast-ink-muted);
}

.ast-legal__intro {
  font-size: 1.0625rem;
  color: var(--ast-ink);
  margin-bottom: 2rem;
}

.ast-legal h2,
.ast-legal h3 {
  color: var(--ast-ink);
  font-family: var(--ast-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
}

.ast-legal ul { padding-left: 1.25rem; }
.ast-legal li { margin-bottom: 0.35rem; }

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 2rem;
  background: var(--ast-ink);
  color: rgba(240, 237, 230, 0.75);
  font-size: 0.875rem;
}

.site-footer__grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .site-footer__incubator,
  .site-footer__meta { grid-column: 1 / -1; }
}

.site-footer__incubator {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  padding-top: 0.25rem;
}

.site-footer__incubator-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.55);
}

.site-footer__incubator-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--ast-radius);
  text-decoration: none;
  line-height: 0;
}

.site-footer__incubator-link:hover { opacity: 1; filter: brightness(1.03); }

.site-footer__incubator-link img {
  max-height: 2.5rem;
  width: auto;
}

.ast-statement__body a {
  color: var(--ast-ink);
  font-weight: 500;
}

/* —— Réalisations —— */
.ast-works {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: #ebe7df;
  border-top: 1px solid var(--ast-line);
}

.ast-works--compact {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--ast-cream);
}

.ast-works__title {
  margin: 0 0 0.75rem;
  font-family: var(--ast-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ast-works__title--solo { margin-bottom: 1.5rem; }

.ast-works__intro {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--ast-ink-muted);
  font-size: 1rem;
}

.ast-works__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--ast-line);
  border: 1px solid var(--ast-line);
}

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

.ast-work__link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem 1.35rem;
  background: var(--ast-cream);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.ast-works--compact .ast-work__link { padding: 1.25rem 1.2rem; }

.ast-work__link:hover {
  background: var(--ast-cream-dark);
  opacity: 1;
}

.ast-work__link--static { cursor: default; }
.ast-work__link--static:hover { background: var(--ast-cream); }

.ast-work__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.ast-work__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ast-ink-muted);
}

.ast-work__status {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ast-ink-muted);
}

.ast-work__status--live {
  color: #1a3d2e;
  background: #e3f0e8;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.ast-work__name {
  margin: 0;
  font-family: var(--ast-display);
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.ast-work__summary {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ast-ink-muted);
  flex: 1;
}

.ast-work__detail {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ast-ink-muted);
}

.ast-work__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.ast-work__stack li {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--ast-line);
  background: #fff;
}

.ast-work__cta {
  margin-top: 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.ast-works__more {
  margin: 1.5rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.ast-works__more a { text-decoration: none; }
.ast-works__more a:hover { text-decoration: underline; }

.site-footer__tagline {
  margin: 0;
  max-width: 28rem;
  line-height: 1.5;
}

.site-footer__nav,
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer__nav a,
.site-footer__legal a {
  text-decoration: none;
  color: var(--ast-cream);
}

.site-footer__copy { margin: 0; }

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ast-line-light);
}
