/* Simulateur de téléphone : cadre réaliste autour d'un écran 390 × 844.
   --e règle l'échelle (1 = taille réelle d'un iPhone en pixels CSS). */
.tel{--e:.78;--l:390px;--h:844px;--statut:54px;--tel-fond:#f7f1e6;--bord:14px;--coin:68px;--coin-ecran:54px;
  position:relative;flex:none;box-sizing:border-box;
  width:calc((var(--l) + 2 * var(--bord)) * var(--e));height:calc((var(--h) + 2 * var(--bord)) * var(--e));
  padding:calc(var(--bord) * var(--e));border-radius:calc(var(--coin) * var(--e));
  background:linear-gradient(145deg,#5b5b61 0%,#232326 18%,#1a1a1d 50%,#2b2b2f 82%,#626268 100%);
  box-shadow:inset 0 0 0 calc(2px * var(--e)) #77777e,inset 0 0 0 calc(6px * var(--e)) #0a0a0b,
    0 2px 4px rgba(0,0,0,.25),0 30px 70px -12px rgba(30,20,10,.5),0 60px 120px -30px rgba(30,20,10,.35)}
.tel-bouton{position:absolute;width:calc(4px * var(--e));border-radius:3px;background:linear-gradient(90deg,#26262a,#707077)}
.tel-bouton.action{left:calc(-3px * var(--e));top:calc(150px * var(--e));height:calc(32px * var(--e))}
.tel-bouton.vol-haut{left:calc(-3px * var(--e));top:calc(210px * var(--e));height:calc(62px * var(--e))}
.tel-bouton.vol-bas{left:calc(-3px * var(--e));top:calc(286px * var(--e));height:calc(62px * var(--e))}
.tel-bouton.marche{right:calc(-3px * var(--e));top:calc(240px * var(--e));height:calc(100px * var(--e));background:linear-gradient(270deg,#26262a,#707077)}
.tel-ecran{position:relative;display:flex;flex-direction:column;width:100%;height:100%;
  border-radius:calc(var(--coin-ecran) * var(--e));overflow:hidden;background:var(--tel-fond);isolation:isolate}
.tel-statut{position:relative;z-index:2;flex:none;display:flex;align-items:center;justify-content:space-between;
  height:calc(var(--statut) * var(--e));padding:calc(4px * var(--e)) calc(30px * var(--e)) 0 calc(46px * var(--e));
  background:var(--tel-fond);color:#111;
  font:600 calc(16px * var(--e))/1 -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;letter-spacing:.01em}
.tel-ilot{position:absolute;left:50%;top:calc(11px * var(--e));width:calc(124px * var(--e));height:calc(36px * var(--e));
  margin-left:calc(-62px * var(--e));border-radius:999px;background:#000}
.tel-ilot::after{content:"";position:absolute;right:calc(22px * var(--e));top:50%;width:calc(11px * var(--e));height:calc(11px * var(--e));
  margin-top:calc(-5.5px * var(--e));border-radius:50%;background:radial-gradient(circle at 35% 35%,#2c3a52,#0b0d14 70%)}
.tel-icones{display:flex;align-items:center;gap:calc(6px * var(--e))}
.tel-icones svg{display:block;height:calc(12px * var(--e));width:auto;fill:currentColor}
.tel-contenu{position:relative;flex:1;min-height:0;overflow:hidden}
.tel-contenu iframe{display:block;width:var(--l);height:calc(var(--h) - var(--statut));border:0;transform:scale(var(--e));transform-origin:0 0;background:var(--tel-fond)}
.tel-barre{position:absolute;z-index:3;left:50%;bottom:calc(8px * var(--e));width:calc(140px * var(--e));height:calc(5px * var(--e));
  margin-left:calc(-70px * var(--e));border-radius:999px;background:rgba(0,0,0,.7);pointer-events:none}
/* Reflet discret sur la vitre */
.tel-ecran::after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;border-radius:inherit;
  background:linear-gradient(115deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,0) 32%)}

/* Tablette (iPad, portrait 820 × 1180) : bords réguliers, caméra en haut, pas d'îlot */
.tel.tablette{--l:820px;--h:1180px;--statut:28px;--bord:24px;--coin:46px;--coin-ecran:22px}
.tel.tablette .tel-bouton:not(.marche){display:none}
.tel.tablette .tel-bouton.marche{right:auto;left:auto;top:calc(-3px * var(--e));right:calc(90px * var(--e));width:calc(60px * var(--e));height:calc(4px * var(--e))}
.tel.tablette .tel-ilot{top:calc(-16px * var(--e));width:calc(8px * var(--e));height:calc(8px * var(--e));margin-left:calc(-4px * var(--e));background:#1c1f28}
.tel.tablette .tel-ilot::after{display:none}
.tel.tablette .tel-statut{padding:0 calc(22px * var(--e));font-size:calc(13px * var(--e))}
/* Ordinateur : écran 1280 × 800 avec une barre de navigateur, et un pied */
.tel.ordi{--l:1280px;--h:800px;--statut:40px;--bord:16px;--coin:20px;--coin-ecran:6px;
  background:linear-gradient(180deg,#2a2a2e,#161618)}
.tel.ordi .tel-bouton,.tel.ordi .tel-ilot,.tel.ordi .tel-barre,.tel.ordi .tel-heure,.tel.ordi .tel-icones{display:none}
.tel-nav{display:none}
.tel.ordi .tel-statut{justify-content:flex-start;gap:calc(14px * var(--e));padding:0 calc(16px * var(--e));background:#ecebe8;border-bottom:1px solid #d6d4cf}
.tel.ordi .tel-nav{display:flex;align-items:center;gap:calc(14px * var(--e));flex:1;min-width:0}
.tel-nav i{display:block;width:calc(12px * var(--e));height:calc(12px * var(--e));border-radius:50%;background:#ff5f57;box-shadow:calc(18px * var(--e)) 0 0 #febc2e,calc(36px * var(--e)) 0 0 #28c840;margin-right:calc(40px * var(--e))}
.tel-nav span{flex:1;max-width:calc(620px * var(--e));margin:0 auto;padding:calc(6px * var(--e)) calc(14px * var(--e));border-radius:999px;background:#fff;color:#555;
  font:400 calc(14px * var(--e))/1.2 system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.ordi-pied{display:none}
.tel.ordi + .ordi-pied{display:block;width:calc(260px * var(--e));height:calc(110px * var(--e));margin-top:-1px;
  background:linear-gradient(180deg,#bdbdc2,#e5e5e8 60%,#cfcfd3);clip-path:polygon(28% 0,72% 0,86% 100%,14% 100%);position:relative}
.tel.ordi + .ordi-pied::after{content:"";position:absolute;left:-30%;right:-30%;bottom:0;height:calc(10px * var(--e));border-radius:6px;background:#c9c9cd}
