/* =====================================================================
   SONNALY — le téléphone des pages métiers (05/11/2026)
   Le même écran d'appel que l'accueil (accueil.css) : nom, durée, onde,
   sous-titres mot à mot, touches et bouton rouge. Chargé seulement par les
   cinq pages métiers, après style.css et habillage.css. Animé par
   telephone.js, avec ses propres identifiants (tel…) : app.js ne le voit pas.
   ===================================================================== */
.tel-zone{--f-titre:var(--f-display);--f-texte:var(--f-body);--vert:#23664A;--gris:#F8F5F6}
.tel{width:330px;border-radius:52px;background:#16050D;padding:11px;box-shadow:0 2px 0 1px #3a1a28 inset,0 40px 80px -36px rgba(42,8,23,.5),0 18px 30px -20px rgba(42,8,23,.35);transform:rotate(2.5deg)}
.tel__ecran{background:#fff;border-radius:42px;height:620px;overflow:hidden;display:flex;flex-direction:column}
.tel__statut{display:flex;justify-content:space-between;align-items:center;padding:14px 26px 6px;font:600 13px/1 var(--f-titre)}
.tel__ile{width:96px;height:28px;background:#16050D;border-radius:20px}
.tel__icones{font-size:7px;letter-spacing:1px}
.tel__appel{display:flex;align-items:center;gap:11px;margin:8px 14px 4px;padding:12px 14px;background:var(--gris);border-radius:18px}
.tel__avatar{width:40px;height:40px;border-radius:50%;background:#fff;padding:5px;border:1px solid var(--line);object-fit:contain}
.tel__qui{display:flex;flex-direction:column;line-height:1.25;flex:1;min-width:0}
.tel__qui strong{font:600 14.5px/1.3 var(--f-titre)}
.tel__qui span{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}
.point-vert{width:7px;height:7px;border-radius:50%;background:#2E9E6A;box-shadow:0 0 0 3px rgba(46,158,106,.18)}
.tel__chrono{font:500 13px/1 var(--f-titre);color:var(--muted);font-variant-numeric:tabular-nums}
.tel__fil{flex:1;display:flex;flex-direction:column;gap:8px;padding:12px 14px 18px;overflow:hidden;justify-content:flex-end}
.actes{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:2px 0}
.acte{display:inline-flex;align-items:center;gap:5px;font:500 11.5px/1 var(--f-titre);color:var(--vert);background:#E8F3EE;padding:6px 10px;border-radius:var(--pilule)}
.acte::before{content:"";width:9px;height:5px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg) translateY(-1px)}
@keyframes entre{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.apprendre__titre{font:600 12px/1 var(--f-titre);color:var(--accent);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.tel__qui strong,.tel__qui span{white-space:nowrap}
@media (max-width:760px){.tel__qui strong{font-size:13.5px}.tel__appel{gap:9px;padding:10px 12px}.tel__avatar{width:34px;height:34px}}

/* ---------- l'écran d'appel (05/11, retour de Yarone : « on dirait un agent qui envoie des SMS ») ----------
   Un vrai écran de communication : nom, durée, onde de la voix, sous-titres de
   ce qui se dit, touches et bouton rouge. Plus aucune bulle de discussion. */
.tel__ecran--appel{background:linear-gradient(180deg,#3A0C22 0%,#1E0612 55%,#16050D 100%);color:#fff;position:relative}
.tel__ecran--appel .tel__statut{color:#fff}
.tel__ecran--appel .tel__ile{background:#000}
.appel__tete{text-align:center;padding:22px 20px 0}
.appel__etat{display:inline-flex;align-items:center;gap:7px;font:500 12.5px/1 var(--f-titre);color:rgba(255,255,255,.75);background:rgba(255,255,255,.08);padding:7px 12px;border-radius:var(--pilule)}
.appel__nom{font:600 26px/1.15 var(--f-titre);letter-spacing:-.02em;margin-top:16px}
.appel__chrono{font:500 15px/1 var(--f-titre);color:rgba(255,255,255,.6);margin-top:8px;font-variant-numeric:tabular-nums}

.onde{display:flex;align-items:center;justify-content:center;gap:4px;height:56px;margin:18px 0 6px}
.onde i{display:block;width:4px;height:8px;border-radius:2px;background:rgba(255,255,255,.28);transition:background .3s}
.onde.parle i{animation:onde 1s ease-in-out infinite}
.onde.parle--ia i{background:#E58AA0}
.onde.parle--client i{background:rgba(255,255,255,.75)}
.onde i:nth-child(3n){animation-delay:-.2s}.onde i:nth-child(3n+1){animation-delay:-.45s}.onde i:nth-child(4n){animation-delay:-.7s}.onde i:nth-child(5n){animation-delay:-.1s}
@keyframes onde{0%,100%{height:8px}50%{height:42px}}

.sous-titres{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;padding:0 24px 12px;min-height:0;overflow:hidden}
.st{font:500 15.5px/1.45 var(--f-texte);color:#fff;transition:opacity .4s,font-size .4s}
.st__qui{display:block;font:600 11px/1 var(--f-titre);letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.55);margin-bottom:6px}
.st--ia .st__qui{color:#F0A3B5}
.st--avant{opacity:.38;font-size:13.5px}
.js .st:not(.st--avant){animation:entre .4s ease both}

.tel__ecran--appel .actes{min-height:28px;padding:0 16px;margin:0 0 14px}
.tel__ecran--appel .acte{background:rgba(46,158,106,.18);color:#8FE0B9}

.appel__touches{display:flex;justify-content:space-around;padding:0 18px}
.touche{display:flex;flex-direction:column;align-items:center;gap:6px;font:500 10.5px/1 var(--f-titre);color:rgba(255,255,255,.7)}
.touche svg{width:50px;height:50px;padding:14px;border-radius:50%;background:rgba(255,255,255,.12);fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.touche:nth-child(2) svg{fill:#fff;stroke:none}
.appel__raccrocher{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#E5484D;color:#fff;margin:16px auto 22px}
.appel__raccrocher svg{width:28px;height:28px}
@media (max-width:760px){.appel__nom{font-size:22px}.onde{height:44px;margin:12px 0 4px}.st{font-size:14.5px}.touche svg{width:44px;height:44px;padding:12px}}
@media (prefers-reduced-motion:reduce){.onde.parle i{animation:none;height:20px}}

/* mise en page dans le haut des pages métiers (après les styles copiés, pour primer) */
.hero .tel-zone{position:relative;display:flex;flex-direction:column;align-items:center;padding:8px 0 24px}
@media (min-width:980px){.hero .tel-zone{grid-area:fiche}}
@media (min-width:1200px){
  .hero .tel-zone{align-items:flex-start}
  .tel-zone .apprendre{position:absolute;right:0;bottom:90px;width:214px}
}
.apprendre{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;box-shadow:var(--shadow);font-size:13.5px;line-height:1.5;width:330px;max-width:100%;margin-top:20px}
.tel{transform:rotate(2deg)}
@media (max-width:760px){.tel{width:290px;transform:none}.tel__ecran{height:590px}}
