/* L'équipe : « la rangée des onze » (piste A, validée par Serge le 26/11 au soir).
   Les dix analystes côte à côte en hautes cartes ; la carte choisie s'ouvre en grand (prénom, « AI analyst », rôle, bouton de
   lecture) ; la carte « Your own avatar — your digital twin » ferme la rangée. La zone du bas disparaît. La phrase sous la rangée,
   dans la langue du drapeau ; pendant la voix, elle sert de sous-titre. */
.v7site #team.tmA { overflow-x: clip; padding: 22px 0 18px;
  background: radial-gradient(44% 46% at 50% 50%, #ffffff 0, rgba(245, 246, 249, 0) 72%), var(--v7bg); }
.v7site #team.tmA .v7team__head { align-items: flex-start; gap: 24px; }
.v7site #team.tmA .v7title { margin-top: 6px; font-size: 58px; }
.v7site #team.tmA .team__langs { margin-top: 0; }
.v7site #team.tmA .v7team__body { display: block; margin-top: 4px; }
.v7site #team.tmA .v7team__slot, .v7site #team.tmA .v6ghost, .v7site #team.tmA .v7player, .v7site #team.tmA .v7choose { display: none !important; }
.v7site #team.tmA .v7voice { display: flex; flex-direction: column; align-items: center; padding: 0; border: 0; }

/* la rangée, posée sur un sol de lumière */
.v7site #team.tmA .v7faces { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 12px; width: 100%; height: 396px;
  margin: 24px 0 0; padding: 0; list-style: none; transform: none; }
.v7site #team.tmA .v7faces::before { content: ''; position: absolute; left: 50%; bottom: -22px; width: 1320px; max-width: 100%; height: 60px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(72, 125, 255, .16), rgba(72, 125, 255, 0)); pointer-events: none; }
.v7site #team.tmA .v7faces::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 1100px; max-width: 100%; height: 22px; transform: translateX(-50%);
  border-radius: 50%; background: rgba(17, 30, 66, .16); filter: blur(16px); pointer-events: none; }
.v7site #team.tmA .v7faces .mate, .v7site #team.tmA .v7faces .t2twin { position: relative; z-index: 1; display: block; flex: 1 1 0; min-width: 0; max-width: 98px;
  width: auto; height: 344px; margin: 0; padding: 0; transform: none; opacity: 1; background: none; box-shadow: none;
  transition: flex-basis .6s cubic-bezier(.2, .7, .2, 1), max-width .6s cubic-bezier(.2, .7, .2, 1), height .6s cubic-bezier(.2, .7, .2, 1); }
.v7site #team.tmA .v7faces .mate.is-on { z-index: 3; flex: 0 0 316px; max-width: 316px; height: 396px; }
.v7site #team.tmA .v7faces .mate__face { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden;
  background: #cfd6e6; cursor: pointer; transform: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 2px 6px rgba(17, 30, 66, .08), 0 28px 48px -22px rgba(17, 30, 66, .58); }
.v7site #team.tmA .v7faces .mate__face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.v7site #team.tmA .v7faces .mate:not(.is-on) .mate__face img { object-position: 50% 16%; }
/* le voile du bas (pour le prénom) et le reflet de verre en biais */
.v7site #team.tmA .v7faces .mate__face::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: linear-gradient(0deg, rgba(10, 21, 53, .78), rgba(10, 21, 53, 0) 34%),
    linear-gradient(115deg, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, 0) 46%); }
.v7site #team.tmA .v7faces .mate.is-on .mate__face { box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--v7goldd), 0 2px 6px rgba(17, 30, 66, .1), 0 40px 64px -26px rgba(17, 30, 66, .66); }
/* le portrait vivant (boucle muette) et la vidéo anglaise de secours : dans la carte, à sa taille */
.v7site #team.tmA .v7faces .mate__face video { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 50% 18%;
  opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.v7site #team.tmA .v7faces .mate__face video.is-live { opacity: 1; }
.v7site #team.tmA .v7faces .mate:not(.is-on) .mate__face video { display: none; }

/* le prénom : centré sur les cartes fermées ; prénom, « AI analyst » et rôle sur la carte ouverte */
.v7site #team.tmA .v7faces .mate__cap { position: absolute; z-index: 6; left: 6px; right: 6px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; margin: 0;
  padding: 0; border: 0; background: none; text-align: center; pointer-events: none; }
.v7site #team.tmA .v7faces .mate__cap .item { display: block; font: 600 17px/1.1 'Inter', sans-serif; letter-spacing: -.005em; color: #fff; text-shadow: 0 2px 10px rgba(10, 21, 53, .5); }
.v7site #team.tmA .v7faces .mate__cap .eyebrow { display: none; font: 600 12px/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--v7goldd); }
.v7site #team.tmA .v7faces .mate.is-on .mate__cap { left: 22px; right: 84px; bottom: 20px; text-align: left; }
.v7site #team.tmA .v7faces .mate.is-on .mate__cap .eyebrow { display: block; }
.v7site #team.tmA .v7faces .mate.is-on .mate__cap .item { font-size: 23px; white-space: nowrap; }
.v7site #team.tmA .v7faces .mate.is-on .mate__cap .item::after { content: ' \00b7  AI analyst'; font-weight: 500; }

/* le bouton de lecture, sur la carte choisie ; or pendant la voix */
.v7site #team.tmA .t2play { position: absolute; z-index: 8; right: 16px; bottom: 16px; display: none; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--v7navy); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 10px 22px -8px rgba(10, 21, 53, .6); }
.v7site #team.tmA .t2play svg { width: 20px; height: 20px; fill: currentColor; }
.v7site #team.tmA .t2play__go { margin-left: 3px; }
.v7site #team.tmA .t2play__stop { display: none; }
.v7site #team.tmA .mate.is-on .t2play { display: grid; }
.v7site #team.tmA .mate.t2speak .t2play { background: var(--v7goldd); }
.v7site #team.tmA .mate.t2speak .t2play__go { display: none; }
.v7site #team.tmA .mate.t2speak .t2play__stop { display: block; }
/* la lecture en cours : un filet d'or qui avance au bas du portrait */
.v7site #team.tmA .t2prog { position: absolute; z-index: 7; left: 0; bottom: 0; height: 4px; width: 0; background: var(--v7goldd); pointer-events: none; }
.v7site #team.tmA .mate:not(.t2speak) .t2prog { width: 0 !important; }

/* la carte « votre avatar », en bout de rangée : texte en hauteur */
.v7site #team.tmA .t2twin__card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 22px; width: 100%; height: 100%;
  padding-top: 26px; box-sizing: border-box; border-radius: 16px; overflow: hidden; background: radial-gradient(90% 60% at 50% 30%, #1a2d66 0, var(--v7navy) 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 2px 6px rgba(17, 30, 66, .08), 0 28px 48px -22px rgba(17, 30, 66, .58); }
.v7site #team.tmA .t2twin__sil { flex: none; width: 62px; fill: none; stroke: var(--v7goldd); stroke-width: 2.4; stroke-dasharray: 5 5; stroke-linecap: round; }
.v7site #team.tmA .t2twin__t { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; }
.v7site #team.tmA .t2twin__t b { display: block; font: 600 19px/1.15 'Inter', sans-serif; color: #fff; white-space: nowrap; }
.v7site #team.tmA .t2twin__t span { display: block; margin: 0 8px 0 0; font: 600 12px/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase;
  color: var(--v7goldd); white-space: nowrap; }

/* la phrase, sur une ligne, dans la langue du drapeau (de droite à gauche en arabe et en hébreu, sans italique hors alphabet latin) */
.v7site #team.tmA .v7voice__q { max-width: 100%; margin: 26px 0 0; font-size: 38px; line-height: 1.18; white-space: nowrap; text-align: center; }
.v7site #team.tmA .v7voice__q.t2nonlat { font-family: 'Segoe UI', 'Yu Gothic UI', 'Malgun Gothic', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Noto Sans', sans-serif;
  font-style: normal; font-weight: 400; font-size: 32px; letter-spacing: 0; }
.v7site #team.tmA .v7voice__q[dir="rtl"] { font-size: 34px; }

/* fenêtres plus étroites : la rangée se resserre, rien ne déborde (la version téléphone viendra après) */
@media (max-width: 1279px) {
  .v7site #team.tmA .v7team__head { flex-wrap: wrap; }
  .v7site #team.tmA .v7faces { gap: 8px; height: 340px; }
  .v7site #team.tmA .v7faces .mate, .v7site #team.tmA .v7faces .t2twin { height: 296px; }
  .v7site #team.tmA .v7faces .mate.is-on { flex-basis: 270px; height: 340px; }
  .v7site #team.tmA .v7voice__q { white-space: normal; text-wrap: balance; }
}
@media (max-width: 1023px) {
  .v7site #team.tmA .v7faces .mate:not(.is-on) .mate__cap { display: none; }
  .v7site #team.tmA .v7faces .mate.is-on { flex-basis: 240px; }
  .v7site #team.tmA .t2twin__t span { display: none; }
}
/* téléphone (à reprendre plus tard) : la carte choisie au-dessus, les autres en deux rangées */
@media (max-width: 760px) {
  .v7site #team.tmA .v7faces { flex-wrap: wrap; height: auto; gap: 8px; }
  .v7site #team.tmA .v7faces .mate, .v7site #team.tmA .v7faces .t2twin { flex: 0 0 calc(20% - 7px); max-width: none; height: 92px; }
  .v7site #team.tmA .v7faces .mate.is-on { order: -1; flex: 0 0 100%; max-width: none; height: 320px; }
  .v7site #team.tmA .v7faces::before, .v7site #team.tmA .v7faces::after { display: none; }
  .v7site #team.tmA .t2twin__sil { display: none; }
  .v7site #team.tmA .t2twin__card { padding: 0 4px; justify-content: center; }
  .v7site #team.tmA .t2twin__t { writing-mode: horizontal-tb; transform: none; text-align: center; }
  .v7site #team.tmA .t2twin__t b { font-size: 11px; white-space: normal; }
  .v7site #team.tmA .v7voice__q, .v7site #team.tmA .v7voice__q.t2nonlat, .v7site #team.tmA .v7voice__q[dir="rtl"] { font-size: 24px; white-space: normal; text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) {
  .v7site #team.tmA .v7faces .mate, .v7site #team.tmA .v7faces .mate__face video { transition: none; }
}

/* ── au survol (Serge, 26/11 : « un effet sur les cartes lorsqu'on passe la souris dessus ») : la carte se soulève, s'éclaire,
   un fin cercle or et l'invitation à l'écouter ; les autres cartes s'effacent un peu. Sans condition de pointeur (sa souris
   n'est pas déclarée au navigateur). ── */
.v7site #team.tmA .v7faces .mate:not(.is-on) .mate__face { cursor: pointer; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, filter .45s ease; }
.v7site #team.tmA .v7faces .mate:not(.is-on) .mate__face img { transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .45s ease; }
.v7site #team.tmA .v7faces .mate:not(.is-on):hover .mate__face { transform: translateY(-12px);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--v7goldd), 0 30px 48px -22px rgba(17, 30, 66, .7); }
.v7site #team.tmA .v7faces .mate:not(.is-on):hover .mate__face img { transform: scale(1.07); filter: brightness(1.06) saturate(1.05); }
.v7site #team.tmA .v7faces .mate:not(.is-on) .mate__face::after { content: ''; position: absolute; z-index: 4; left: 50%; top: 46%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: rgba(255, 255, 255, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2.5v7l5.5-3.5z' fill='%230a1535'/%3E%3C/svg%3E") 55% 50% / 16px no-repeat;
  box-shadow: 0 10px 22px -8px rgba(10, 21, 53, .6); opacity: 0; transform: scale(.7); transition: opacity .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.v7site #team.tmA .v7faces .mate:not(.is-on):hover .mate__face::after { opacity: 1; transform: none; }
.v7site #team.tmA .v7faces .mate:not(.is-on):hover .mate__cap .item { color: #fff; text-shadow: 0 2px 10px rgba(10, 21, 53, .6); }
.v7site #team.tmA .v7faces:hover .mate:not(.is-on):not(:hover) .mate__face { filter: saturate(.8) brightness(.9); }
