/* Hallmark · Instagram · les téléphones de la version précédente, repris à l'identique
 * Maquette d'appareil et d'interface Instagram : ses couleurs d'appareil restent locales à ce fichier.
 * Seules les variables de l'ancienne charte pointent vers les jetons de bleu-tokens.css.
 */
.tels { position: relative; width: 100%; min-width: 0; height: min(84svh, 56rem); }
.tel { position: absolute; display: grid; aspect-ratio: 9 / 19.5; padding: var(--tranche, 10px); border-radius: 13.6% / 6.28%; background: linear-gradient(152deg, #6d7178 0%, #2a2c31 9%, #17181b 34%, #131417 62%, #232529 86%, #6a6e75 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1.5px 0 rgba(255, 255, 255, 0.42), inset 0 -1.5px 0 rgba(255, 255, 255, 0.22), 0 2px 3px rgba(23, 24, 26, 0.35), 0 44px 60px -34px rgba(23, 24, 26, 0.6); }
.tel::after { content: ""; position: absolute; z-index: -1; left: 9%; right: 9%; bottom: -4.5%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 24, 26, 0.38) 0%, rgba(23, 24, 26, 0.16) 55%, rgba(23, 24, 26, 0) 100%); }
.tel__ilot { position: absolute; z-index: 5; left: 50%; top: 3.3%; width: 25.5%; height: 3.5%; transform: translateX(-50%); background: linear-gradient(155deg, #34363c 0%, #131417 48%, #1b1c1f 100%); border-radius: 999px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.tel__ilot::after { content: ""; position: absolute; right: 11%; top: 50%; height: 54%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 34% 30%, #40567f 0%, #1b2540 42%, #0a0d15 100%); }
.tel__btn { position: absolute; width: 2.5px; border-radius: 2px; background: linear-gradient(90deg, #43464d 0%, #202226 55%, #35383e 100%); }
.tel__btn.is-v1 { left: -2.5px; top: 22%; height: 7%; } .tel__btn.is-v2 { left: -2.5px; top: 31%; height: 7%; } .tel__btn.is-p { right: -2.5px; top: 25%; height: 10%; }
.tel__ecran { position: relative; border-radius: 11.4% / 5.3%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55); background: rgba(255, 255, 255, 0.94); display: flex; flex-direction: column; font-size: 0.8rem; color: var(--color-encre); }
.tel__ecran--noir { background: #0d0d0f; color: #fff; }
.tel--grand { --tranche: clamp(7px, 0.7vw, 10px); width: clamp(15rem, 24vw, 22rem); left: 50%; margin-left: calc(clamp(15rem, 24vw, 22rem) / -2 + 1rem); top: 2%; z-index: 3; }
.tel--reel { --tranche: clamp(5px, 0.47vw, 7px); width: clamp(10rem, 16vw, 15rem); left: 0; top: 14%; z-index: 2; transform: rotate(-5deg); font-size: 0.7rem; }
.tel--carrousel { --tranche: clamp(5px, 0.47vw, 7px); width: clamp(10rem, 16vw, 15rem); right: 0; top: 24%; z-index: 1; transform: rotate(6deg); }
.tel--reel .tel__ecran, .tel--carrousel .tel__ecran { font-size: 0.66rem; }

/* le fil Instagram */
.ig__ico { display: inline-flex; width: 1.5em; height: 1.5em; flex: none; }
.ig__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ig__ico.is-coeur svg { stroke: #e41613; }
.ig__ico.is-actif svg { fill: currentColor; }
.ig__barre { flex: none; display: flex; align-items: center; gap: 0.9em; padding: 3.2em 1.1em 0.7em; border-bottom: 1px solid rgba(23, 24, 26, 0.08); }
.ig__logo { font-family: var(--font-display); font-weight: 500; font-size: 1.5em; letter-spacing: -0.02em; margin-right: auto; }
.ig__barre--retour { justify-content: space-between; font-weight: 600; }
.ig__fil { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; pointer-events: none; }
.ig__fil::-webkit-scrollbar { display: none; }
.ig__stories { display: flex; gap: 0.9em; padding: 0.8em 1em; overflow: hidden; }
.ig__story { display: grid; justify-items: center; gap: 0.35em; flex: none; }
.ig__story > span { width: 3.6em; height: 3.6em; border-radius: 50%; padding: 2px; background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.ig__story.is-moi > span { background: var(--color-papier-2); }
.ig__story img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.ig__story small { font-size: 0.7em; color: var(--color-encre); }
.ig__post { border-top: 1px solid rgba(23, 24, 26, 0.06); }
.ig__entete { display: flex; align-items: center; gap: 0.6em; padding: 0.6em 0.9em; }
.ig__avatar { width: 2.1em; height: 2.1em; border-radius: 50%; overflow: hidden; flex: none; background: var(--color-papier-2); }
.ig__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig__qui { display: grid; line-height: 1.15; margin-right: auto; }
.ig__qui b { font-weight: 600; } .ig__qui small { color: var(--color-texte-2); font-size: 0.85em; }
.ig__media { position: relative; aspect-ratio: 4 / 5; background: var(--color-papier-2); }
.ig__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig__compte { position: absolute; right: 0.7em; top: 0.7em; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.75em; padding: 0.25em 0.6em; border-radius: 999px; }
.ig__actions { display: flex; align-items: center; gap: 0.8em; padding: 0.6em 0.9em 0.2em; }
.ig__pts { margin-left: auto; margin-right: auto; display: inline-flex; gap: 0.3em; }
.ig__pts i { width: 0.4em; height: 0.4em; border-radius: 50%; background: rgba(23, 24, 26, 0.2); }
.ig__pts i.is-on { background: #0a84ff; }
.ig__aime { padding: 0.2em 0.9em 0; font-weight: 600; }
.ig__legende { padding: 0.15em 0.9em 0; line-height: 1.35; }
.ig__legende b { font-weight: 600; }
.ig__coms { padding: 0.2em 0.9em 0; color: var(--color-texte-2); }
.ig__temps { padding: 0.15em 0.9em 0.8em; color: var(--color-texte-2); font-size: 0.8em; }
.ig__bas { flex: none; display: flex; justify-content: space-around; padding: 0.7em 0.6em 1.4em; border-top: 1px solid rgba(23, 24, 26, 0.08); background: #fff; }

/* le réel */
.reel__pile { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; scroll-snap-type: y mandatory; pointer-events: none; }
.reel__pile::-webkit-scrollbar { display: none; }
.reel__pile .reel { position: relative; height: 100%; scroll-snap-align: start; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .reel__bas { bottom: 2em; }
.reel__haut { position: absolute; left: 1em; right: 1em; top: 3.4em; display: flex; justify-content: space-between; font-weight: 600; font-size: 1.2em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.reel__cote { position: absolute; right: 0.8em; bottom: 6.5em; display: grid; gap: 1.3em; font-size: 1.25em; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5)); }
.reel__bas { position: absolute; left: 0.9em; right: 3.4em; bottom: 2em; display: grid; gap: 0.45em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.reel__qui { display: flex; align-items: center; gap: 0.5em; }
.reel__qui em { font-style: normal; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 4px; padding: 0.1em 0.5em; font-size: 0.85em; }
.reel__legende { line-height: 1.3; }
.reel__son { display: flex; align-items: center; gap: 0.4em; font-size: 0.85em; opacity: 0.9; }

@media (max-width: 60rem) {
  .tels { height: 34rem; }
  .tel--grand { width: min(17rem, 60%); left: 50%; margin-left: 0; transform: translateX(-50%); top: 0; }
  .tel--carrousel { display: none; }
  .tel--reel { width: min(10.5rem, 40%); left: 0; top: 16%; z-index: 1; transform: rotate(-8deg); }
}

/* ---------- l'iPhone réaliste : le profil Instagram du compte fictif ----------
   Proportions d'un iPhone récent (402 × 874 points). Tout l'intérieur est
   exprimé en largeur d'écran (cqw), pour garder les proportions de
   l'interface à toutes les tailles. */
.iphone {
  --ip-titane-clair: oklch(84% 0.004 80);
  --ip-titane: oklch(66% 0.005 80);
  --ip-titane-sombre: oklch(44% 0.005 80);
  --ip-noir: oklch(10% 0 0);
  --ip-ecran: oklch(100% 0 0);
  --ip-texte: oklch(16% 0 0);
  --ip-gris: oklch(56% 0 0);
  --ip-filet: oklch(91% 0 0);
  --ip-bouton: oklch(95% 0 0);
  --ip-bleu: oklch(64% 0.19 248);
  --ip-lien: oklch(36% 0.1 250);
  --ip-reflet: oklch(100% 0 0 / 0.4);
  --ip-ombre: oklch(0% 0 0 / 0.42);
  margin: 0; display: grid; justify-items: center; gap: var(--s-16);
}
.iphone__cadre {
  position: relative; width: clamp(17rem, 24vw, 22rem); aspect-ratio: 402 / 874;
  padding: 1.1%; border-radius: 16.5% / 7.6%;
  background: linear-gradient(135deg, var(--ip-titane-clair) 0%, var(--ip-titane) 28%, var(--ip-titane-sombre) 62%, var(--ip-titane) 100%);
  box-shadow: inset 0 0 0 1px var(--ip-reflet), 0 2px 4px var(--ip-ombre), 0 50px 80px -40px var(--ip-ombre);
}
.iphone__cadre > i { position: absolute; width: 1.1%; border-radius: 2px; background: var(--ip-titane-sombre); }
.iphone__cadre > .is-action { left: -0.9%; top: 17%; height: 4%; }
.iphone__cadre > .is-v1 { left: -0.9%; top: 24%; height: 7.5%; }
.iphone__cadre > .is-v2 { left: -0.9%; top: 33%; height: 7.5%; }
.iphone__cadre > .is-veille { right: -0.9%; top: 27%; height: 11%; }
/* le conteneur de requête est le bord : 100cqw vaut alors la largeur de l'écran, y compris pour la taille de texte de l'écran lui-même */
.iphone__bord { height: 100%; padding: 2.6%; border-radius: 15.4% / 7.1%; background: var(--ip-noir); container-type: size; }
.iphone__ecran {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 12.8% / 5.9%; background: var(--ip-ecran); color: var(--ip-texte);
  font-family: var(--font-interface); font-size: 3.4cqw; line-height: 1.3; -webkit-font-smoothing: antialiased;
}
.iphone svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iphone__statut { position: relative; display: flex; align-items: center; justify-content: space-between; height: 13.4cqw; padding: 0 7cqw 0 10cqw; font-weight: 600; font-size: 4.2cqw; }
.iphone__ilot { position: absolute; left: 50%; top: 2.8cqw; width: 31cqw; height: 9.2cqw; transform: translateX(-50%); border-radius: 999px; background: var(--ip-noir); }
.iphone__icones { display: flex; align-items: center; gap: 1.4cqw; }
.iphone__icones svg { height: 3.3cqw; width: auto; }
.iphone__icones .plein { fill: currentColor; stroke: none; }
.profil__barre { display: flex; align-items: center; gap: 4cqw; height: 11cqw; padding: 0 4cqw; }
.profil__nom { display: flex; align-items: center; gap: 1cqw; margin-right: auto; font-size: 5.4cqw; font-weight: 700; letter-spacing: -0.02em; }
.profil__nom svg { width: 3.4cqw; height: 3.4cqw; stroke-width: 2.4; }
.profil__barre > svg { width: 6.4cqw; height: 6.4cqw; }
.profil__tete { display: grid; grid-template-columns: 21cqw minmax(0, 1fr); align-items: center; gap: 5cqw; padding: 2cqw 4cqw 0; }
.profil__avatar { width: 21cqw; height: 21cqw; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 0.3cqw var(--ip-filet); }
.profil__chiffres { display: flex; justify-content: space-between; text-align: center; }
.profil__chiffres div { display: flex; flex-direction: column-reverse; }
.profil__chiffres dd { font-size: 4.3cqw; font-weight: 700; }
.profil__chiffres dt { font-size: 3.3cqw; }
.profil__bio { padding: 3cqw 4cqw 0; }
.profil__bio b { display: block; font-weight: 600; }
.profil__bio span { display: block; color: var(--ip-gris); }
.profil__bio .profil__lien { color: var(--ip-lien); font-weight: 600; }
.profil__boutons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6cqw; padding: 3.4cqw 4cqw 0; }
.profil__boutons span { display: grid; place-items: center; height: 8cqw; border-radius: 2cqw; background: var(--ip-bouton); font-weight: 600; }
.profil__boutons .is-suivre { background: var(--ip-bleu); color: var(--ip-ecran); }
.profil__temps { display: flex; gap: 4cqw; padding: 4cqw 4cqw 0; overflow: hidden; }
.profil__temps span { display: grid; justify-items: center; gap: 1.4cqw; flex: none; font-size: 3cqw; }
.profil__temps img { width: 16cqw; height: 16cqw; border-radius: 50%; object-fit: cover; padding: 0.8cqw; background: var(--ip-ecran); box-shadow: 0 0 0 0.35cqw var(--ip-filet); }
.profil__onglets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3cqw; border-top: 0.25cqw solid var(--ip-filet); }
.profil__onglets span { display: grid; place-items: center; height: 11cqw; color: var(--ip-gris); }
.profil__onglets span.is-actif { color: var(--ip-texte); box-shadow: inset 0 -0.5cqw 0 var(--ip-texte); }
.profil__onglets svg { width: 6cqw; height: 6cqw; }
.profil__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5cqw; }
.profil__grille img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.profil__nav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; padding: 2.6cqw 3cqw 9cqw; background: var(--ip-ecran); border-top: 0.25cqw solid var(--ip-filet); }
.profil__nav svg { width: 6.6cqw; height: 6.6cqw; }
.profil__nav img { width: 6.8cqw; height: 6.8cqw; border-radius: 50%; box-shadow: 0 0 0 0.4cqw var(--ip-texte); }
.iphone__accueil { position: absolute; left: 50%; bottom: 2.2cqw; width: 35cqw; height: 1.3cqw; transform: translateX(-50%); border-radius: 999px; background: var(--ip-texte); }
.iphone figcaption { font: 400 var(--t-tag)/1.4 var(--font-mono); color: var(--color-texte-2); text-align: center; max-width: 30ch; }
@media (max-width: 479px) { .iphone__cadre { width: min(80vw, 20rem); } }
