/* LumenTV sur ordinateur (/ordinateur/ et ses huit traductions) : seulement ce que site.css n'a pas déjà.
   Tout est préfixé « pc- » : rien ici ne touche aux autres pages. Marges et retraits en propriétés logiques,
   pour que la page arabe se retourne toute seule. */

/* ---------- Ouverture ---------- */

.pc-kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(18px, 2.4vw, 26px);
  color: var(--text-3);
  font-size: .9375rem;
  font-weight: 500;
}
.pc-title {
  max-width: 11em;
  margin: 0 auto clamp(18px, 2.4vw, 30px);
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -.035em;
}

/* Une capture de la fenêtre : ses coins arrondis sont dans l'image (transparents), le rayon les suit à toute taille. */
.pc-shot { position: relative; margin: 0; }
.pc-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .63% / 1.06%;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / .1),
    0 30px 80px -24px rgb(0 0 0 / .85);
}
/* Le lecteur en plein écran : une capture sans fenêtre, donc sans coins dans l'image. */
.pc-shot-full img { border-radius: clamp(6px, 1vw, 12px); }

.pc-window {
  max-width: 1080px;
  margin: clamp(44px, 6vw, 76px) auto 0;
}
/* La lumière de la fenêtre qui déborde, comme celle de la TV sur l'accueil. */
.pc-window::before {
  content: "";
  position: absolute;
  inset: 6% -4% -8%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgb(255 138 61 / .2), transparent),
    radial-gradient(60% 70% at 30% 40%, rgb(61 90 254 / .22), transparent 70%);
  filter: blur(46px);
  pointer-events: none;
}

/* ---------- Les blocs : un texte, une capture ---------- */

.pc-rows { display: grid; gap: clamp(64px, 8vw, 120px); }
.pc-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
/* Une rangée sur deux, la capture passe devant le texte, et garde la colonne large. */
.pc-row:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pc-row:nth-child(even) .pc-row-text { order: 2; }
.pc-row-text > p { margin-top: 14px; color: var(--text-2); }
.pc-points {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: .96875rem;
}
.pc-points li { position: relative; padding-inline-start: 20px; }
.pc-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--light);
}
.pc-points strong { color: #fff; font-weight: 600; }

.pc-note {
  margin-top: clamp(40px, 5vw, 60px);
  max-width: 62em;
  color: var(--text-3);
  font-size: .875rem;
}
.pc-note a { color: var(--text-2); text-underline-offset: 3px; }
.pc-note a:hover { color: #fff; }

/* « Et aussi » reprend la grille .extras du site : elle commence sans marge sous son titre. */
.pc-more .extras { margin-top: 0; }

/* ---------- Comment ça marche ---------- */

.pc-steps {
  counter-reset: pc-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-steps li {
  counter-increment: pc-step;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgb(255 255 255 / .07), rgb(255 255 255 / .025));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), inset 0 0 0 1px rgb(255 255 255 / .08);
}
.pc-steps li::before {
  content: counter(pc-step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgb(255 138 61 / .14);
  box-shadow: inset 0 0 0 1px rgb(255 138 61 / .4);
  color: var(--light);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pc-steps h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
.pc-steps p { margin-top: 10px; color: var(--text-2); font-size: .96875rem; }
.pc-own { margin-top: 28px; max-width: 46em; color: var(--text-2); }
.pc-own strong { color: #fff; font-weight: 600; }

/* ---------- Téléchargement : Windows et Mac ----------
   Deux cartes côte à côte. Le bouton reste « Bientôt disponible » tant que ordinateur.js n'a pas trouvé le fichier
   dans /download/ordinateur/latest.json. */

.pc-get .section-head { margin-bottom: clamp(28px, 3.4vw, 40px); }
.pc-get-version { margin-top: 10px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pc-get-version span { color: #fff; font-weight: 600; }
.pc-get-more { margin-top: 18px; color: var(--text-2); }
.pc-get-more a { color: var(--light); text-underline-offset: 3px; }
.pc-get-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.4vw, 28px);
}
.pc-card .get-version { margin-top: 2px; }
.pc-get .get .btn { margin-top: 22px; }
/* Le second fichier de la carte Mac (Mac Intel), sous le premier. */
.pc-get .get .btn.pc-alt { margin-top: 14px; }
.pc-file {
  margin-top: 10px;
  color: var(--text-3);
  font-size: .8125rem;
  text-align: center;
  overflow-wrap: anywhere;
}
.pc-help {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / .1);
}
.pc-help h3 { font-size: 1rem; font-weight: 600; }
.pc-help ol {
  counter-reset: pc-help;
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.pc-help li {
  counter-increment: pc-help;
  position: relative;
  padding-inline-start: 36px;
  color: var(--text-2);
  font-size: .9375rem;
}
.pc-help li::before {
  content: counter(pc-help);
  position: absolute;
  inset-inline-start: 0;
  top: -.05em;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgb(255 138 61 / .14);
  box-shadow: inset 0 0 0 1px rgb(255 138 61 / .4);
  color: var(--light);
  font-size: .8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
/* Les libellés que Windows et macOS affichent, tels quels : en blanc, entre les guillemets de la langue. */
.pc-help q { color: #fff; font-weight: 500; }
/* En français, des espaces fines insécables à l'intérieur des guillemets. */
.pc-help q:lang(fr)::before { content: "«\202F"; }
.pc-help q:lang(fr)::after { content: "\202F»"; }
.pc-help > p { margin-top: 14px; color: var(--text-3); font-size: .875rem; }
.pc-tech { margin-top: clamp(20px, 2.4vw, 28px); color: var(--text-3); font-size: .875rem; }

/* ---------- Arabe : pas de lettres resserrées, des lignes un peu plus hautes ---------- */

[dir="rtl"] :is(.pc-title, .pc-main .display, .pc-main .display-sm, .pc-main h3) { letter-spacing: 0; }
[dir="rtl"] :is(.pc-title, .pc-main .display, .pc-main .display-sm) { line-height: 1.25; }

/* ---------- Petits écrans ---------- */

@media (max-width: 980px) {
  .pc-row, .pc-row:nth-child(even), .pc-get-grid { grid-template-columns: minmax(0, 1fr); }
  .pc-row:nth-child(even) .pc-row-text { order: 0; }
}
@media (max-width: 720px) {
  .pc-steps { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-transparency: reduce) {
  .pc-window::before { display: none; }
}

/* L'accueil (14/11) : la présentation « LumenTV sur ton ordinateur », son onglet du menu, et sa partie dans « Installer ». */
.pc-home .pc-kicker { justify-content: flex-start; margin-bottom: 18px; }
.pc-home .pc-window { margin-top: clamp(32px, 4vw, 52px); }
.pc-home-tour .btn + .btn { margin-inline-start: 10px; }
.pc-install { margin-top: clamp(56px, 7vw, 88px); }
.pc-install .pc-get-grid { margin-top: clamp(24px, 3vw, 36px); }
.pc-home-tour { margin-top: clamp(24px, 3vw, 36px); text-align: center; }
@media (max-width: 760px) {
  .tabs .nav-pc { display: none; }
}
