/* Pages « Applications » (apps/ et en/apps/) : seulement ce qui manque à styles.css.
   Mêmes couleurs, mêmes rayons et mêmes ombres que le reste du site (variables de styles.css). */

.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.page-hero .app-icon {
  width: min(128px, 32vw);
  height: auto;
  margin-bottom: 26px;
  border-radius: 28px;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.button.is-disabled {
  cursor: default;
  opacity: 0.6;
  pointer-events: none;
  box-shadow: none;
}

/* Carte d'une application (page apps/) */
.app-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.app-card h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.15;
}

.app-card .app-card-lead {
  margin: 4px 0 10px;
  color: var(--plg-blue-dark);
  font-weight: 750;
}

.app-card p {
  margin: 0;
  color: var(--muted);
}

.app-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.app-platforms li {
  padding: 4px 11px;
  color: var(--plg-blue-dark);
  background: var(--plg-blue-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.app-card-actions {
  display: grid;
  gap: 10px;
  min-width: 230px;
}

/* Liste des appareils dans le panneau foncé */
.platform-list {
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}

.platform-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.app-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.app-status.ok {
  color: #a8e6c4;
  background: rgba(22, 116, 74, 0.3);
}

.app-status.soon {
  color: #f3dd94;
  background: rgba(234, 219, 161, 0.16);
}

.info-panel .panel-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

/* Captures de l'appli */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shot-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.shot-stage {
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: radial-gradient(circle at 50% 0%, #1d3a52 0%, #0b1622 72%);
}

.shot-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.shot-stage.watch img {
  max-height: 240px;
  border-radius: 30px;
}

.shot-card figcaption {
  padding: 22px 26px 26px;
}

.shot-card .number {
  color: var(--plg-blue);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.shot-card h3 {
  margin: 10px 0 6px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.shot-card p {
  margin: 0;
  color: var(--muted);
}

.shot-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Bande d'appel à l'action avec deux boutons */
.cta-actions {
  display: grid;
  gap: 10px;
}

.cta-strip .cta-actions .button.ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-strip .cta-actions .button.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Politique de confidentialité */
.policy {
  overflow-wrap: anywhere;
}

.policy h2 {
  margin: 46px 0 14px;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  scroll-margin-top: 110px;
}

.policy p,
.policy li {
  color: #3e4b53;
}

.content-block.policy > p,
.policy p {
  margin: 0 0 14px;
  font-size: 1rem;
}

.policy ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.policy li {
  margin: 7px 0;
}

.policy strong {
  color: var(--ink);
}

.policy a {
  color: var(--plg-blue-dark);
  text-decoration: underline;
  text-decoration-color: rgba(8, 119, 165, 0.35);
  text-underline-offset: 3px;
}

.policy a:hover {
  text-decoration-color: currentColor;
}

.policy .policy-facts {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.policy .policy-facts li {
  margin: 0;
  padding: 12px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.policy-toc {
  padding: 22px 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.policy-toc .eyebrow {
  margin-bottom: 10px;
}

.policy .policy-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 34px;
}

.policy .policy-toc li {
  margin: 4px 0;
  break-inside: avoid;
}

.policy .policy-toc a {
  font-weight: 650;
  text-decoration: none;
}

.policy .policy-toc a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .app-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .app-card-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .app-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .app-card .app-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .app-card-actions {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-stage {
    height: 380px;
    padding: 22px;
  }

  .shot-stage.watch img {
    max-height: 200px;
  }

  .policy .policy-toc ol {
    columns: 1;
  }
}
