/* Page « Télécharger le jeu » (26/11/2026). S'appuie sur site.css (couleurs, boutons à cadre, police PMD). */
.tel-hero .wrap.tel-hero-grille { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding: 72px 0 48px; }
.tel-hero h1 { font-size: 56px; }

.promesse { display: flex; gap: 16px; align-items: flex-start; margin-top: 8px; padding: 12px 16px; background: rgba(4,8,22,.72); border: 2px solid var(--gold2); border-radius: 4px; box-shadow: 0 4px 0 #030716, inset 0 0 24px rgba(255,211,92,.08); }
.promesse-ico { width: 72px; height: 72px; image-rendering: pixelated; flex: none; animation: tel-flotte 3s ease-in-out infinite; }
.promesse-txt { font-size: 26px; color: var(--gold); margin: 0 0 6px; text-shadow: var(--shadow); line-height: 1.2; }
.coches { list-style: none; padding: 0; margin: 0; font-size: 20px; color: var(--line-hi); }
.coches li { padding-left: 28px; position: relative; text-shadow: var(--shadow); }
.coches li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 14px; height: 8px; border-left: 4px solid var(--ok); border-bottom: 4px solid var(--ok); transform: rotate(-45deg); }
@keyframes tel-flotte { 50% { transform: translateY(-4px); } }

.appareil { text-align: center; padding: 16px; border: 16px solid transparent; border-image: url('/assets/ui/cadres/cadre1_blue_translucide.png') 8 fill / 16px stretch; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.appareil-titre { margin: 0 0 10px; color: var(--line-hi); font-size: 22px; }
.appareil-titre b { color: var(--gold); font-weight: normal; }
.dl-grand { flex-direction: column; gap: 0; width: 100%; justify-content: center; animation: tel-appel 2.6s ease-in-out infinite; }
.dl-grand small, .dl small { display: block; font-size: 16px; color: var(--line-hi); line-height: 1.1; }
@keyframes tel-appel { 0%, 70%, 100% { filter: none; } 80% { filter: brightness(1.25) drop-shadow(0 0 10px rgba(255,211,92,.55)); } }
.autres { display: inline-block; margin-top: 10px; font-size: 18px; color: var(--line-hi); }

.btn.indispo { filter: grayscale(.9) brightness(.7); cursor: not-allowed; transform: none !important; animation: none; }

/* Cartes des plateformes */
.plateformes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.plateforme { position: relative; padding: 18px 22px 14px; background: linear-gradient(180deg, rgba(13,24,56,.92), rgba(7,13,36,.92)); border: 2px solid var(--line); border-radius: 4px; box-shadow: 0 4px 0 #030716; scroll-margin-top: 80px; }
.plateforme.conseille { grid-column: 1 / -1; border-color: var(--gold2); box-shadow: 0 4px 0 #030716, 0 0 0 2px rgba(240,168,48,.25), 0 0 32px rgba(255,211,92,.12); }
.pf-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.pf-tete h2 { margin: 0; font-size: 34px; }
.pf-tete h2::after { display: none; }
.pf-tete p { margin: 0; font-size: 18px; }
.pf-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: #0a1430; border: 2px solid var(--line-in); border-radius: 4px; }
.pf-ico svg { width: 32px; height: 32px; }
.badge-appareil { display: none; margin-left: auto; padding: 0 10px; font-size: 16px; color: #2a1600; background: var(--gold); border-radius: 3px; box-shadow: 0 2px 0 #6b3b00; animation: clignote 1.2s 1s steps(2) 3; }
.conseille .badge-appareil { display: inline-block; }
.plateforme > p { font-size: 20px; color: var(--dim); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 12px 0 4px; }
.boutons .btn { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.plateforme h3 { margin: 16px 0 6px; font-size: 24px; }
.tel-etapes { margin: 0; padding-left: 0; list-style: none; counter-reset: e; font-size: 20px; }
.tel-etapes li { counter-increment: e; position: relative; padding: 4px 0 4px 44px; }
.tel-etapes li::before { content: counter(e); position: absolute; left: 0; top: 4px; width: 32px; height: 32px; display: grid; place-items: center; font-size: 20px; color: #2a1600; background: var(--gold); border-radius: 50%; box-shadow: 0 2px 0 #6b3b00; }
.tel-etapes b { color: var(--gold); font-weight: normal; }
.plateforme.lance .tel-etapes li { animation: tel-etape 1s ease-out both; }
.plateforme.lance .tel-etapes li:nth-child(2) { animation-delay: .25s; }
.plateforme.lance .tel-etapes li:nth-child(3) { animation-delay: .5s; }
@keyframes tel-etape { 0% { background: rgba(255,211,92,0); } 30% { background: rgba(255,211,92,.18); transform: translateX(6px); } 100% { background: rgba(255,211,92,0); } }

/* Illustrations dessinées (traduites comme le reste de la page) */
.illus { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 6px; flex-wrap: wrap; }
.illus figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.illus figcaption { font-size: 16px; color: var(--line-hi); text-align: center; max-width: 220px; }
.illus figcaption b { display: inline-grid; place-items: center; width: 22px; height: 22px; font-size: 14px; font-weight: normal; color: #2a1600; background: var(--gold); border-radius: 50%; }
.fleche { font-size: 28px; color: var(--gold); text-shadow: var(--shadow); animation: tel-fleche 1.4s ease-in-out infinite; }
@keyframes tel-fleche { 50% { transform: translateX(4px); } }
.cible { position: relative; outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; animation: tel-cible 1.4s ease-in-out infinite; }
@keyframes tel-cible { 50% { outline-color: rgba(255,211,92,.35); box-shadow: 0 0 12px rgba(255,211,92,.6); } }

/* Fenêtre SmartScreen (dessin simplifié) */
.ss { width: 250px; min-height: 176px; padding: 0 12px 10px; background: #0a5bc4; color: #fff; font-family: 'Segoe UI', system-ui, sans-serif; font-size: 12px; line-height: 1.35; text-shadow: none; border: 1px solid #5c9ae8; box-shadow: 0 6px 0 rgba(0,0,0,.35); display: flex; flex-direction: column; }
.ss-barre { height: 10px; margin: 0 -12px 10px; background: rgba(255,255,255,.12); }
.ss-titre { margin: 0 0 6px; font-size: 16px; font-weight: 300; }
.ss-txt { margin: 0 0 8px; opacity: .92; }
.ss-lien { margin: 0; text-decoration: underline; align-self: flex-start; padding: 0 2px; }
.ss-bas { margin-top: auto; display: flex; gap: 6px; justify-content: flex-end; padding-top: 10px; }
.ss-btn { padding: 3px 10px; border: 1px solid #fff; background: rgba(255,255,255,.08); }

/* Téléphones (dessin simplifié) */
.tel { width: 150px; height: 260px; padding: 10px 6px; background: #1b2238; border: 3px solid #4a5a86; border-radius: 18px; box-shadow: 0 6px 0 rgba(0,0,0,.35); }
.tel-ecran { width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: #2a3350; display: flex; flex-direction: column; justify-content: center; padding: 8px; font-family: system-ui, sans-serif; font-size: 11px; line-height: 1.3; color: #e8ecf6; text-shadow: none; position: relative; }
.tel-ecran.clair { background: #f2f4f8; color: #222; justify-content: flex-start; }
.and-boite { background: #39425f; border-radius: 10px; padding: 10px; }
.and-boite p { margin: 0 0 8px; }
.and-boutons { display: flex; justify-content: flex-end; gap: 10px; color: #9ec3ff; font-weight: 600; }
.and-boutons span { padding: 1px 3px; }
.and-app { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.and-app img { width: 24px; height: 24px; image-rendering: pixelated; border-radius: 5px; }
.and-entete { margin: 10px 0 14px; font-size: 13px; font-weight: 600; }
.and-ligne { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 4px; border-top: 1px solid #d6dbe6; border-bottom: 1px solid #d6dbe6; }
.interrupteur { flex: none; width: 30px; height: 16px; border-radius: 8px; background: #3a7bff; position: relative; }
.interrupteur::after { content: ''; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.tel.ios { border-radius: 22px; }
.tel-ecran.jeu { background: #0d1838 url('/site/images/titre.webp') center / cover; justify-content: flex-end; padding: 0; }
.ios-barre { background: rgba(248,248,250,.94); color: #333; padding: 6px 8px 2px; }
.ios-adresse { display: block; text-align: center; background: #e4e5ea; border-radius: 6px; padding: 2px 4px; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ios-outils { display: flex; justify-content: space-around; align-items: center; background: rgba(248,248,250,.94); color: #1a6ef5; padding: 4px 4px 8px; font-style: normal; }
.ios-outils i { font-style: normal; font-size: 14px; width: 22px; height: 22px; display: grid; place-items: center; }
.ios-partager svg { width: 16px; height: 16px; }
.ios-feuille { margin-top: auto; background: #fff; border-radius: 10px; padding: 4px 0; box-shadow: 0 -2px 8px rgba(0,0,0,.12); }
.ios-feuille p { display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse; margin: 0; padding: 7px 8px; border-bottom: 1px solid #eceef2; }
.ios-feuille p:last-child { border-bottom: 0; }
.ios-pico { color: #555; font-size: 13px; }
.tel-ecran.accueil { background: linear-gradient(160deg, #3d5fb5, #7a4fb0); justify-content: flex-start; padding-top: 16px; }
.ios-icones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 6px; justify-items: center; }
.ios-icones i { width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.35); }
.ios-jeu { display: flex; flex-direction: column; align-items: center; gap: 2px; border-radius: 7px; }
.ios-jeu img { width: 26px; height: 26px; border-radius: 7px; image-rendering: pixelated; }
.ios-jeu small { font-size: 8px; color: #fff; }

.pourquoi { margin-top: 10px; font-size: 18px; color: var(--dim); }
.pourquoi summary, .faq summary { cursor: pointer; color: var(--line-hi); }
.pourquoi summary:hover, .faq summary:hover { color: var(--gold); }
.empreinte { font-size: 14px; word-break: break-all; }
.empreinte code { font-family: ui-monospace, Consolas, monospace; color: var(--line-hi); }

.faq { margin-top: 48px; }
.faq details { padding: 10px 14px; margin-bottom: 10px; background: rgba(13,24,56,.85); border: 2px solid var(--line); border-radius: 4px; font-size: 20px; }
.faq details p { margin: 8px 0 0; color: var(--dim); }

@media (max-width: 860px) {
  .tel-hero .wrap.tel-hero-grille { grid-template-columns: 1fr; padding: 56px 0 32px; gap: 20px; }
  .tel-hero h1 { font-size: 40px; }
  .promesse { flex-direction: column; align-items: center; text-align: center; }
  .promesse-txt { font-size: 22px; }
  .coches { text-align: left; font-size: 18px; }
  .plateformes { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .plateforme { padding: 14px 14px 12px; }
  .pf-tete h2 { font-size: 28px; }
  .fleche { transform: rotate(90deg); animation: none; }
  .illus { flex-direction: column; }
}
@media (max-width: 480px) {
  .tel-hero h1 { font-size: 32px; }
  .boutons .btn { width: 100%; }
  .badge-appareil { position: absolute; top: -12px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .dl-grand, .fleche, .cible, .promesse-ico, .badge-appareil { animation: none; } }

/* Sur ordinateur, les 3 étapes dessinées tiennent sur une ligne, même dans une carte en demi-largeur */
@media (min-width: 861px) {
  .illus-tel { flex-wrap: nowrap; gap: 6px; }
  .illus-tel figure { flex: 0 1 150px; min-width: 0; }
  .illus-tel .tel { width: 100%; min-width: 118px; }
  .illus-tel figcaption { max-width: 150px; font-size: 14px; }
  .illus-tel .fleche { font-size: 22px; }
}
