/* apps.ouix.fr — mise en page propre à la page (la charte est dans /ouix.css). */
.hero { padding: clamp(48px, 9vh, 112px) 0 0; }
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(52px, 10vw, 156px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
}
.hero h1 .serif { letter-spacing: -0.035em; }
.hl { background: linear-gradient(var(--lime), var(--lime)) 0 88% / 100% 0.32em no-repeat; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 520px) auto; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(32px, 5vw, 56px); }
.hero-lede { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero-stat { margin: 0; display: flex; align-items: end; gap: 12px; font-size: 13px; line-height: 1.25; color: var(--muted); }
.hero-stat strong { font-size: clamp(56px, 7vw, 96px); font-weight: 500; line-height: 0.8; letter-spacing: -0.06em; color: var(--ink); }

.section { padding-top: clamp(72px, 10vw, 140px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(36px, 5vw, 72px); font-weight: 500; line-height: 0.95; letter-spacing: -0.055em; }
.section-head p { margin: 0; font-size: 14px; color: var(--muted); }

.app-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.app {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 300px);
  align-items: center; gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.app::before {
  content: ""; position: absolute; inset: 0 -18px; z-index: -1;
  border-radius: 18px; background: color-mix(in srgb, var(--lime) 55%, var(--bg));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
.app:hover::before, .app:focus-within::before { transform: scaleY(1); }
.a-num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.a-title { display: flex; align-items: center; gap: 20px; min-width: 0; }
.a-logo {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: 16px; overflow: hidden;
  background: var(--tint, var(--ink)); color: #fff;
  font-size: 22px; font-weight: 600; letter-spacing: -0.04em;
  box-shadow: 0 0 0 1px rgb(29 32 26 / 0.07), 0 8px 18px -10px rgb(29 32 26 / 0.45);
  transition: transform 0.45s var(--ease);
}
.a-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.app:hover .a-logo { transform: rotate(-6deg) scale(1.06); }
.a-name { margin: 0; font-size: clamp(26px, 3vw, 42px); font-weight: 500; line-height: 1.05; letter-spacing: -0.045em; }
.a-name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.a-badge { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--olive); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--olive); }
.a-desc { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.app:hover .a-desc { color: var(--ink); }
.a-side { display: grid; gap: 10px; justify-items: start; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.store {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.store:hover, .store:focus-visible { background: var(--olive); }
.store--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.store--ghost:hover { background: var(--ink); color: var(--bg); }
.store svg { width: 15px; height: 15px; fill: currentColor; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.legal a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); text-decoration-color: currentColor; }

.cross {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  margin-top: clamp(72px, 10vw, 140px); padding: clamp(28px, 4vw, 48px);
  border-radius: 28px; background: var(--dark); color: var(--on-dark);
}
.cross h2 { margin: 6px 0 0; font-size: clamp(30px, 4vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.cross .kicker { color: var(--muted-dark); }
.cross .nav-cta { background: var(--on-dark); color: var(--ink); }

@media (max-width: 960px) {
  .app { grid-template-columns: 40px minmax(0, 1fr); row-gap: 14px; }
  .a-desc, .a-side { grid-column: 2; }
  .hero-foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .a-num { display: none; }
  .a-desc, .a-side { grid-column: 1; }
  .a-logo { width: 52px; height: 52px; border-radius: 13px; }
  .section-head { flex-direction: column; align-items: start; }
  .cross { grid-template-columns: 1fr; }
}
