/* ═══════════════ STUDIA SUP — LIOT & COLLOQUE ═══════════════
   Partagé par recherche.html (Laboratoire LIOT) et colloque.html
   (Colloque International de Libreville).

   Le parti pris : la recherche parle une langue plus sobre que le reste
   du site. Pas d'aplat de couleur, des filets, des numéros d'axe, une
   typographie qui respire — l'autorité vient du calme. L'accent violet
   distingue le laboratoire du vert de l'école et du bleu nuit du soir,
   sans jamais devenir décoratif. */

:root {
  --liot: #A78BFA;        /* violet du laboratoire */
  --liot-fonce: #6D28D9;  /* sa version lisible sur fond clair */
}

/* ── Les axes de recherche ───────────────────────────────────── */
.lb-axes {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.lb-axe {
  position: relative;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 20px 22px;
}
.lb-axe__n {
  display: block;
  font-family: var(--display); font-weight: 800; font-size: .78rem;
  letter-spacing: .14em; color: var(--liot); margin-bottom: 9px;
}
.lb-axe__titre {
  font-family: var(--display); font-weight: 700;
  font-size: 1.02rem; line-height: 1.3; margin-bottom: 10px;
}
.lb-axe__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.lb-axe__liste li {
  display: flex; gap: 9px; align-items: baseline;
  font-size: .86rem; line-height: 1.5; color: rgba(247,249,248,.72);
}
.lb-axe__liste li::before {
  content: ''; flex: 0 0 auto;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--liot); transform: translateY(-2px);
}

/* ── Les chercheurs : trois modes de mobilisation ────────────── */
.lb-equipes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.lb-equipe {
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  padding: 18px 20px; background: rgba(255,255,255,.025);
}
.lb-equipe__nom {
  font-family: var(--display); font-weight: 700; font-size: .88rem;
  color: var(--liot); margin-bottom: 8px;
}
.lb-equipe p { font-size: .88rem; line-height: 1.6; color: rgba(247,249,248,.72); }

/* ── Le bandeau « étudiant du soir » ─────────────────────────── */
/* Reprend le bleu nuit de css/soir.css : c'est le même programme dont
   on parle, il doit se reconnaître d'une page à l'autre. */
.lb-soir {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(56,132,255,.15) 0%, rgba(56,132,255,0) 58%),
    linear-gradient(165deg, #0F1A2B 0%, #0B1220 100%);
  border: 1px solid rgba(125,211,252,.22);
  border-radius: 20px; padding: clamp(22px, 4vw, 34px);
}
.lb-soir__eyebrow {
  font-family: var(--display); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #7DD3FC; margin-bottom: 8px;
}
.lb-soir__titre {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: #F4F8FF; margin-bottom: 14px;
}
.lb-soir__liste { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 11px; }
.lb-soir__liste li {
  display: flex; gap: 11px; align-items: baseline;
  font-size: .9rem; line-height: 1.6; color: rgba(226,240,255,.75);
}
.lb-soir__liste li::before {
  content: ''; flex: 0 0 auto;
  width: 5px; height: 5px; border-radius: 50%;
  background: #7DD3FC; transform: translateY(-2px);
}
.lb-soir__liste strong { color: #F4F8FF; font-weight: 700; }

/* ── Le colloque : les trois publics qu'il réunit ────────────── */
.cl-ponts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cl-pont {
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  padding: 20px; background: rgba(255,255,255,.03);
  text-align: center;
}
.cl-pont__ico {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
  background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.3);
  color: var(--liot);
}
.cl-pont__ico svg { width: 20px; height: 20px; display: block; }
.cl-pont__nom {
  font-family: var(--display); font-weight: 700; font-size: .95rem; margin-bottom: 7px;
}
.cl-pont p { font-size: .86rem; line-height: 1.6; color: rgba(247,249,248,.7); }

/* Les repères de l'édition : durée, mois, format. */
.cl-reperes {
  display: flex; flex-wrap: wrap; gap: 12px 30px;
  padding: 18px 22px; border-radius: 16px;
  background: rgba(167,139,250,.08); border: 1px solid rgba(167,139,250,.26);
}
.cl-repere { display: flex; flex-direction: column; gap: 2px; font-size: .82rem; color: rgba(247,249,248,.6); }
.cl-repere strong {
  font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--white);
}

/* ── Le formulaire de pré-inscription ────────────────────────── */
.cl-form {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: clamp(22px, 4vw, 32px);
}
.cl-form__titre {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem); margin-bottom: 6px;
}
.cl-form__sous {
  font-size: .9rem; line-height: 1.6; color: rgba(247,249,248,.62); margin-bottom: 20px;
}
.cl-grille { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* min-width: 0 partout : un <select> réclame nativement la largeur de
   son option la plus longue (« Axe 04 · Digitalisation des services
   publics & cohésion sociale »), et cette largeur intrinsèque poussait
   la grille — donc la page entière — hors de l'écran sur téléphone. */
.cl-champ { display: grid; gap: 6px; min-width: 0; }
.cl-champ input, .cl-champ select { min-width: 0; width: 100%; }
.cl-champ--large { grid-column: 1 / -1; }
.cl-champ label { font-size: .85rem; font-weight: 600; color: rgba(247,249,248,.85); }
.cl-champ .req { color: #F87171; }
.cl-champ .opt { color: rgba(247,249,248,.45); font-weight: 400; }
.cl-champ input,
.cl-champ select {
  min-height: 46px; padding: 11px 14px;
  background: rgba(11,18,14,.55); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.16); border-radius: 11px;
  font-size: .92rem; font-family: inherit; color-scheme: dark;
}
.cl-champ select { appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F7F9F8' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.cl-champ input:focus, .cl-champ select:focus { outline: none; border-color: var(--liot); }
.cl-champ input.is-invalid, .cl-champ select.is-invalid { border-color: #E5533D; }

.cl-consent {
  grid-column: 1 / -1;
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .84rem; line-height: 1.55; color: rgba(247,249,248,.7);
}
.cl-consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--liot); flex: 0 0 auto; }

.cl-form__envoi { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 14px 26px; border: 0; border-radius: 12px;
  background: var(--liot-fonce); color: #fff; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: .92rem;
  transition: background-color .25s ease, transform .2s ease;
}
.cl-btn:hover { background: #7C3AED; }
.cl-btn:active { transform: scale(.98); }
.cl-btn[disabled] { opacity: .6; cursor: progress; }
.cl-form__note { font-size: .8rem; color: rgba(247,249,248,.5); }

.cl-message {
  grid-column: 1 / -1; margin-top: 4px;
  padding: 13px 16px; border-radius: 12px;
  font-size: .88rem; line-height: 1.55;
}
.cl-message--ok { background: rgba(46,158,79,.12); border: 1px solid rgba(46,158,79,.45); color: #A7F3D0; }
.cl-message--ko { background: rgba(229,83,61,.12); border: 1px solid rgba(229,83,61,.45); color: #FFB4A8; }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .lb-axes, .lb-equipes, .cl-ponts { grid-template-columns: 1fr; }
  .cl-grille { grid-template-columns: 1fr; }
  .cl-reperes { gap: 12px 20px; padding: 15px 16px; }
  .cl-btn { width: 100%; }
  .lb-soir { padding: 20px 16px; border-radius: 16px; }
}
