/* Tuto « Envoi direct depuis ton chrono » (guide-import-gps.html) : pack design v2 (body.p2, tokens --td2-*), même gabarit
   que la FAQ (titres de rubrique à barre rouge inclinée, cartes blanches). Étapes : texte à gauche, capture d'écran de
   téléphone à droite (en dessous sur mobile), numéro dans une pastille rouge. Préfixe gg-. */
.gg { max-width: 940px; }
.gg-tete { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 4px 0 18px; }
.gg-tete h1 { margin: 0 0 8px; }
.gg-tete .lede { margin: 0; max-width: 60ch; }
.gg-alex { width: 116px; height: auto; flex: none; }

.gg-rubs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gg-rubs .td2-puce { color: var(--td2-ink); text-decoration: none; font: 600 14px var(--f-text); }

.gg-rub { margin-bottom: 36px; scroll-margin-top: 90px; }
.gg-h { display: flex; align-items: center; margin: 0 0 14px; font: 800 21px/1.25 var(--f-display); letter-spacing: -.015em; color: var(--td2-ink); }
.gg-h::before { content: ""; flex: none; width: 7px; height: 17px; margin-right: 12px; background: var(--td2-action); transform: skew(-15deg); }

/* Étapes iPhone : compteur CSS (une étape = une carte) */
.gg-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: gg; }
.gg-etape { counter-increment: gg; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; padding: 22px 24px; }
.gg-txt { position: relative; padding-left: 52px; min-width: 0; }
.gg-txt::before { content: counter(gg); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--td2-action); color: #fff; font: 800 17px/1 var(--f-display); }
.gg-et-t { margin: 4px 0 8px; font: 800 18px/1.3 var(--f-display); letter-spacing: -.01em; color: var(--td2-ink); }
.gg-txt p, .gg-liste p, .gg-bloc p, .gg-conf p { margin: 0 0 10px; max-width: 62ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.gg-txt p:last-child, .gg-liste p:last-child, .gg-bloc p:last-child, .gg-conf p:last-child { margin-bottom: 0; }
.gg .gg-aide { color: var(--td2-muted); font-size: 14px; }
.gg-actions { margin-top: 14px !important; }
.gg-actions .btn { gap: 8px; }
.gg-bientot, .gg-astuce { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; font-size: 14px !important; }
.gg-bientot { background: var(--td2-neutral-bg); color: var(--td2-ink) !important; }
.gg-bientot[hidden] { display: none; }
.gg-astuce { background: var(--td2-warning-bg); color: var(--td2-ink) !important; }
.gg-bientot .ico, .gg-astuce .ico { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* Capture d'écran de téléphone */
.gg-fig { margin: 0; justify-self: center; width: 100%; max-width: 260px; }
.gg-fig img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--td2-border); background: #111; box-shadow: var(--td2-shadow); }
.gg-fig figcaption { margin-top: 8px; color: var(--td2-muted); font-size: 13px; line-height: 1.4; text-align: center; }

/* Emplacement de la capture « Ajouter le raccourci » : maquette sobre de l'écran d'ajout de l'app Raccourcis */
.gg-maquette { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 600 / 760; padding: 24px 18px;
  border-radius: 18px; background: #1c1c1e; color: #fff; box-shadow: var(--td2-shadow); }
.gg-m-tuile { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 20px; background: var(--td2-action); }
.gg-m-tuile .ico { width: 42px; height: 42px; color: #fff; }
.gg-m-nom { margin-top: 6px; font: 800 19px/1.2 var(--f-display); }
.gg-m-sous { color: #9a9aa0; font-size: 13px; }
.gg-m-btn { margin-top: 18px; width: 100%; padding: 12px; border-radius: 12px; background: #0a66c8; color: #fff; text-align: center; font: 600 15px var(--f-text); }

/* Android : liste numérotée compacte, sans capture */
.gg-liste { list-style: none; margin: 0; padding: 8px 24px; }
.gg-liste li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--td2-border); }
.gg-liste li:first-child { border-top: 0; }
.gg-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--td2-action); color: #fff; font: 800 17px/1 var(--f-display); }
.gg-liste .gg-et-t { margin-top: 6px; }

.gg-bloc { padding: 20px 24px; }

.gg-conf { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; margin-top: 8px; background: var(--td2-bg); }
.gg-conf > .ico { width: 26px; height: 26px; flex: none; color: var(--td2-success); margin-top: 2px; }
.gg-conf-h { margin: 0 0 8px; font: 800 18px/1.25 var(--f-display); color: var(--td2-ink); }
.gg-conf .gg-actions a { color: var(--td2-action); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .gg-etape { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px 16px; }
  .gg-fig { max-width: 240px; }
  .gg-liste, .gg-bloc, .gg-conf { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 600px) {
  .gg-tete { align-items: flex-start; }
  .gg-alex { width: 72px; }
  .gg-txt { padding-left: 46px; }
}
