/* Présentation publique de l’identité OOZWEB. Les logos restent vectoriels. */
.identity-shell {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--max);
  margin-inline: auto;
}

.page-identity main > section {
  padding-block: 72px;
  padding-inline: 0;
}

.page-identity main > .identity-hero {
  padding-top: calc(var(--header-height, 100px) + 32px);
  background: radial-gradient(ellipse at 88% 30%, #e4e7ff, transparent 65%), var(--ink);
}

.identity-breadcrumbs {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 12px;
}

.identity-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.identity-breadcrumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--muted);
}

.identity-hero-grid,
.identity-animation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.identity-hero-copy,
.identity-animation-copy {
  min-width: 0;
}

.identity-hero-copy {
  container-type: inline-size;
}

.identity-hero h1 {
  font-size: clamp(24px, 9.7cqi, 66px);
  font-weight: var(--font-display-weight);
  letter-spacing: var(--font-display-spacing);
  line-height: 1.1;
  text-wrap: balance;
}

.identity-hero h1 > span,
.identity-hero h1 > em {
  display: block;
  white-space: nowrap;
}

.identity-hero h1 em {
  color: var(--accent);
}

.identity-lead {
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.identity-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 28px;
}

.identity-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}

.identity-link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: calc(50% - .7em);
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .identity-link::after {
    transition: none;
  }
}

.identity-hero-visual {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #eeedff);
  box-shadow: var(--card-shadow);
}

.identity-hero-signature {
  display: grid;
  place-items: center;
  min-height: 200px;
}

.identity-hero-signature img {
  width: 100%;
  height: auto;
}

.identity-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.identity-dots {
  display: flex;
  gap: 7px;
}

.identity-dots span {
  width: 22px;
  height: 22px;
  border: 1px solid #102d6326;
  border-radius: 50%;
}

.identity-dots span:nth-child(1) { background: #102d63; }
.identity-dots span:nth-child(2) { background: #7b83ff; }
.identity-dots span:nth-child(3) { background: #f8f7f4; }
.identity-dots span:nth-child(4) { background: #11121a; }

.identity-context {
  margin-top: 32px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.identity-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.identity-heading h2,
.identity-animation-copy h2,
.identity-offer h2 {
  font-size: clamp(29px, 3.2vw, 44px);
  font-weight: var(--font-display-weight);
  line-height: 1.15;
  text-wrap: balance;
}

.identity-heading > p,
.identity-animation-copy > p:not(.section-subtitle) {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.identity-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}

.identity-logo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: 24px;
  border: 1px solid white;
  border-radius: 22px;
  background: #ffffffba;
  box-shadow: var(--card-shadow);
}

.identity-logo-stage {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  width: 100%;
  height: 160px;
  padding: 16px;
  border-radius: 16px;
  background: #f8f7f4;
}

.identity-logo-stage--dark {
  background: #11121a;
}

.identity-logo-stage img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.identity-logo-card figcaption {
  padding-top: 20px;
}

.identity-logo-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: var(--font-display-weight);
  line-height: 1.25;
  letter-spacing: var(--font-display-spacing);
}

.identity-logo-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.identity-animation {
  border-block: 1px solid var(--line);
}

.identity-motion-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid #2e3042;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 30%, #242238, #11121a 75%);
}

.identity-motion-stage {
  display: grid;
  place-items: center;
  min-height: 190px;
}

.identity-motion-stage img {
  width: 100%;
  height: auto;
}

.identity-motion-controls:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid #ffffff26;
}

.identity-motion-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #a3a9ff;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-size: 14px;
  transition: background-color .2s;
}

.identity-motion-button:is(:hover, :focus-visible) {
  background: #ffffff14;
}

.identity-motion-button:focus-visible {
  outline-color: #c3c6ff;
}

.identity-motion-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.identity-motion-status {
  color: #d2d3e0;
  font-size: 12px;
}

.identity-animation-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.identity-palette {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.identity-palette li {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.identity-swatch {
  display: block;
  height: 100px;
}

.identity-swatch--navy { background: #102d63; }
.identity-swatch--violet { background: #7b83ff; }
.identity-swatch--ivory { background: #f8f7f4; }
.identity-swatch--charcoal { background: #11121a; }

.identity-palette-label {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  font-size: 14px;
}

.identity-palette-label span {
  color: var(--muted);
  font-size: 12px;
}

.identity-applications-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.identity-application {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.identity-application > img {
  width: 100%;
  height: auto;
}

.identity-application figcaption {
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 550;
}

.identity-small-uses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.identity-small-use {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.identity-small-use img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
}

.identity-small-use h3 {
  font-size: 16px;
  line-height: 1.4;
}

.identity-small-use p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.identity-application-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.identity-small-uses + .identity-applications-grid {
  margin-top: 24px;
}

.identity-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel-gradient);
}

.identity-offer-intro > p:not(.section-subtitle) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.identity-deliverables {
  display: grid;
  gap: 12px;
  list-style: none;
}

.identity-deliverables li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.75;
}

.identity-deliverables li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 650;
}

.identity-offer-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .identity-hero-grid {
    gap: 32px;
  }

  .identity-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .identity-animation-grid {
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .page-identity main > section {
    padding-block: 48px;
  }

  .page-identity main > .identity-hero {
    padding-top: calc(var(--header-height, 100px) + 24px);
  }

  .identity-breadcrumbs {
    margin-bottom: 28px;
    font-size: 11px;
  }

  .identity-hero-grid,
  .identity-animation-grid,
  .identity-offer {
    grid-template-columns: minmax(0, 1fr);
  }

  .identity-lead {
    font-size: 16px;
  }

  .identity-hero-signature {
    min-height: 140px;
  }

  .identity-hero-visual {
    border-radius: 22px;
  }

  .identity-context {
    margin-top: 24px;
  }

  .identity-logo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .identity-logo-card {
    padding: 24px 20px;
  }

  .identity-small-uses {
    grid-template-columns: minmax(0, 1fr);
  }

  .identity-palette {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .identity-swatch {
    height: 76px;
  }

  .identity-motion-stage {
    min-height: 150px;
  }
}

@media (max-width: 540px) {
  .identity-applications-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .identity-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .identity-actions .btn-primary {
    width: 100%;
  }

  .identity-actions .identity-link {
    align-self: center;
  }

  .identity-small-use {
    gap: 16px;
    padding: 20px;
  }

  .identity-small-use img {
    width: 48px;
    height: 48px;
  }
}
