/* L'arrivée (28/10/2026, maquette validée par Kamel le 27/10) : la connexion, « Ton profil LinkedIn », « Voilà ce qu'on a
   compris de toi » et « Relie ton compte LinkedIn ». Une carte blanche arrondie sur le fond gris, la barre des 4 étapes,
   la rouille pour l'action, les étiquettes en caractères de code. Les couleurs viennent de tokens.css (clair et sombre).
   Au téléphone : la carte prend toute la largeur, avec 16 px de marge. */

.page-arrivee { min-height: 100vh; display: grid; place-items: start center; padding: 56px 16px 48px; background: var(--surface-50); }
.arrivee {
  width: 100%; max-width: 460px; background: var(--surface-0); color: var(--ink); border: 1px solid var(--line);
  border-radius: 22px; padding: 22px 20px 24px; display: grid; gap: 14px; min-width: 0; box-shadow: var(--shadow-card);
  font-family: var(--font-sans);
}
.arrivee--large { max-width: 520px; }
.arrivee h1 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.arrivee__sous { margin: 0; color: var(--ink-muted); font-size: 14.5px; line-height: 1.5; }
/* Audit du 01/11/2026 (n° 9) : l'essai rappelé sous le titre de l'inscription. */
.arrivee__essai { margin: 0; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.arrivee .as-logo { font-size: 16px; }

/* La barre des 4 étapes. */
.chemin { display: flex; gap: 4px; }
.chemin span { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.chemin span.on { background: var(--brand); }

.arrivee__puce {
  justify-self: start; font: 700 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-encre);
}

/* Les champs et les boutons. */
.arrivee form { display: grid; gap: 12px; margin: 0; }
.arrivee__champ { display: grid; gap: 6px; }
.arrivee__champ label, .arrivee__champ .arrivee__etiquette { font-size: 13px; font-weight: 600; }
.arrivee__champ input, .arrivee__champ textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 15px;
  background: var(--surface-0); color: var(--ink); min-width: 0;
}
.arrivee__champ textarea { min-height: 70px; resize: vertical; }
.arrivee__champ input:focus, .arrivee__champ textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--brand-soft); border-color: var(--brand); }
.arrivee__aide-champ { font-size: 12.5px; color: var(--ink-muted); }
.arrivee__bouton {
  display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; border: 0; border-radius: 999px;
  padding: 12px 18px; font: inherit; font-weight: 600; font-size: 15px; background: var(--brand); color: var(--on-brand);
  cursor: pointer; text-decoration: none;
}
.arrivee__bouton:hover { background: var(--brand-hover); }
.arrivee__bouton--blanc { background: var(--surface-0); color: var(--ink); border: 1px solid var(--line-strong); }
.arrivee__bouton--blanc:hover { background: var(--surface-100); }
.arrivee__lien { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--brand-encre); cursor: pointer; text-decoration: none; }
.arrivee__lien:hover { text-decoration: underline; }
.arrivee__ligne { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }  /* « Modifier » à droite, comme la maquette */
.arrivee__note { margin: 0; font-size: 12.5px; color: var(--ink-muted); }
.arrivee__rassure { margin: 0; font-size: 12.5px; color: var(--ink-muted); display: flex; gap: 6px; align-items: flex-start; }
.arrivee__rassure svg { flex: none; margin-top: 2px; }
/* 01/11/2026 : s'inscrire sans Google : le prénom et le nom côte à côte, puis « ou » entre le formulaire et Google. */
.arrivee__deux { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.arrivee__ou { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-muted); }
.arrivee__ou span { flex: 1; height: 1px; background: var(--line); }
@media (max-width: 360px) { .arrivee__deux { grid-template-columns: 1fr; } }

/* « On lit ton profil… » */
.arrivee__lecture { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-muted); background: var(--surface-100); border-radius: 12px; padding: 12px; }
.arrivee__points { display: inline-flex; gap: 3px; }
.arrivee__points i { width: 6px; height: 6px; border-radius: 99px; background: var(--brand); opacity: .35; animation: arrivee-point 1.2s infinite ease-in-out; }
.arrivee__points i:nth-child(2) { animation-delay: .2s; }
.arrivee__points i:nth-child(3) { animation-delay: .4s; }
@keyframes arrivee-point { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .arrivee__points i { animation: none; opacity: .7; } }

/* Le résumé du profil. */
.arrivee__profil { border: 1px solid var(--line); border-radius: 14px; display: grid; margin: 0; }
.arrivee__profil > div { padding: 10px 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.arrivee__profil > div:first-child { border-top: 0; }
.arrivee__profil dt { font: 700 10.5px/1.2 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }
.arrivee__profil dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.arrivee__profil ul { margin: 0; padding-left: 18px; }
.arrivee__vide { color: var(--ink-muted); font-style: italic; }

/* Les deux aides de la liaison. */
.arrivee__aide { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.arrivee__aide-titre { margin: 0; padding: 11px 12px; font-weight: 600; font-size: 14px; background: var(--status-validate-bg); color: var(--ink); }
.arrivee__etapes { margin: 0; padding: 12px 12px 12px 30px; display: grid; gap: 8px; font-size: 13.5px; }
.arrivee__etapes code, .arrivee code { font: 600 12px var(--font-mono); background: var(--surface-100); padding: 1px 5px; border-radius: 5px; }
.arrivee__aide-pied { padding: 0 12px 12px; display: grid; gap: 10px; }

/* Le dessin des outils de Chrome (F12) : où trouver li_at. */
.devtools { margin: 0 12px 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font: 11.5px/1.4 var(--font-mono); }
.devtools__barre { display: flex; gap: 12px; padding: 6px 8px; background: var(--surface-100); color: var(--ink-muted); }
.devtools__barre b { color: var(--ink); box-shadow: inset 0 -2px 0 #1a73e8; }
.devtools__corps { display: grid; grid-template-columns: 92px 1fr; }
.devtools__menu { padding: 6px 8px; border-right: 1px solid var(--line); color: var(--ink-muted); display: grid; gap: 3px; align-content: start; }
.devtools__menu .sel { color: var(--ink); }
.devtools__table { display: grid; min-width: 0; }
.devtools__table div { display: grid; grid-template-columns: 70px 1fr; gap: 6px; padding: 4px 8px; border-top: 1px solid var(--line); min-width: 0; }
.devtools__table div:first-child { border-top: 0; }
.devtools__table div span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.devtools__table .li { background: rgba(26, 115, 232, .12); }

.arrivee__pied { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--ink-muted); }
/* « Se déconnecter » : aligné sur le texte quand il passe à la ligne (téléphone), sans le retrait de son bouton. */
.arrivee__pied .as-btn { padding-inline: 0; }
.arrivee .as-notice { margin: 0; }

@media (max-width: 480px) {
  .page-arrivee { padding: 52px 12px 32px; }
  .arrivee { padding: 18px 16px 20px; border-radius: 18px; }
  .arrivee h1 { font-size: 20px; }
}

/* La lecture au téléphone (28/10/2026, comme la couche de refonte.css, que cette feuille chargée après elle ne suit pas
   seule) : sous 860 px, le texte à 16 px, les mentions à 14 px au moins, les champs à 16 px (sinon l'iPhone agrandit la
   page au toucher), les liens et boutons hauts de 44 px. Le dessin des outils de Chrome garde sa petite police de code
   (c'est l'image d'un écran). */
@media (max-width: 860px) {
  .arrivee h1 { font-size: 24px; }
  .arrivee__sous, .arrivee__essai, .arrivee__profil dd, .arrivee__aide-titre, .arrivee__etapes { font-size: 16px; line-height: 1.5; }
  .arrivee__champ input, .arrivee__champ textarea, .arrivee__bouton { font-size: 16px; }
  .arrivee__champ label, .arrivee__champ .arrivee__etiquette, .arrivee__aide-champ, .arrivee__lien, .arrivee__note,
  .arrivee__rassure, .arrivee__lecture, .arrivee__pied { font-size: 14px; line-height: 1.45; }
  .arrivee__puce { font-size: 14px; }
  .arrivee__profil dt { font-size: 14px; }
  .arrivee__etapes code, .arrivee code { font-size: 14px; }
  .arrivee__bouton, .arrivee__champ input { min-height: 48px; }
  .arrivee__lien, .arrivee__pied .as-btn { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 12/11/2026 : « Autoriser » un assistant IA (le serveur MCP, lot 1 ; maquette N8ognXrhEx8ttdWwTbWEMZ v3, écran 2) :
   l'espace connecté, puis la portée (au lot 1, lire seulement), comme la carte choisie de la maquette. */
.autoriser__espace { padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-0); font-size: 15px; }
.autoriser__portee { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--brand); border-radius: 12px; background: var(--surface-0); box-shadow: 0 0 0 2px var(--brand-soft); }
.autoriser__portee span { font-size: 13px; color: var(--ink-muted); }
.autoriser__formulaire { display: grid; gap: 12px; }
