/* =====================================================
   Zephyr — tutor-modal.css
   Fiche détaillée d'un tuteur, ouverte au clic sur sa photo.
   ===================================================== */

#exc-tutor-overlay{
  position:fixed; inset:0; z-index:900;
  background:rgba(11,20,38,.6); backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease;
}
#exc-tutor-overlay.open{ opacity:1; visibility:visible; }

#exc-tutor-modal{
  width:min(640px, 100%); max-height:min(88vh, 780px); overflow-y:auto;
  background:var(--paper); border-radius:var(--radius); box-shadow:var(--shadow-2);
  transform:translateY(18px) scale(.98); transition:transform .25s ease;
}
#exc-tutor-overlay.open #exc-tutor-modal{ transform:translateY(0) scale(1); }

.exc-tm-head{
  position:relative; padding:32px 60px 24px 28px;
  background:var(--navy-950); color:#fff;
  display:flex; align-items:center; gap:18px;
}
.exc-tm-head img{
  width:76px; height:76px; border-radius:50%; object-fit:cover; flex:none;
  border:2px solid var(--gold-300);
}
.exc-tm-head h3{ font-size:20px; margin-bottom:4px; }
.exc-tm-head .role{ color:var(--gold-300); font-size:12.5px; letter-spacing:.05em; text-transform:uppercase; }

.exc-tm-close{
  position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:50%;
  border:none; background:rgba(255,255,255,.12); color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .2s ease;
}
.exc-tm-close:hover{ background:rgba(255,255,255,.24); }
.exc-tm-close svg{ width:16px; height:16px; }

.exc-tm-body{ padding:26px 28px 30px; }
.exc-tm-body p{ font-size:14.5px; line-height:1.8; color:var(--ink-soft); margin-bottom:14px; }
.exc-tm-body p:last-child{ margin-bottom:0; }

@media (max-width:560px){
  .exc-tm-head{ padding:26px 52px 20px 20px; flex-direction:column; align-items:flex-start; gap:12px; }
  .exc-tm-body{ padding:20px; }
}
