/* ITS — Accueil & Lisa: tous les sélecteurs sont préfixés. */
.its-accueil-overlay[hidden] { display: none !important; }
body.its-accueil-locked { overflow: hidden !important; }
.its-accueil-overlay,
.its-accueil-overlay *,
.its-accueil-bulb,
.its-accueil-bulb * { box-sizing: border-box; }
.its-accueil-overlay {
  --its-accent: #176d89;
  --its-text: #173246;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(10, 26, 38, .68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: its-accueil-overlay-in .24s ease-out both;
}
.its-accueil-dialog {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100dvh - 44px);
  overflow: auto;
  padding: 28px 43px 32px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 20px;
  background: #fff;
  color: var(--its-text);
  text-align: center;
  box-shadow: 0 28px 85px rgba(3, 18, 31, .36);
  animation: its-accueil-dialog-in .32s cubic-bezier(.18,.75,.3,1) both;
  font-family: inherit;
}
.its-accueil-dialog h2,
.its-accueil-dialog p { margin: 0; }
.its-accueil-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f0f4f6;
  color: #426173;
  font: inherit;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.its-accueil-close:hover { background: #e2edf0; }
.its-accueil-close:focus-visible,
.its-accueil-actions a:focus-visible,
.its-accueil-actions button:focus-visible { outline: 3px solid #f0ad34; outline-offset: 3px; }
.its-accueil-brand { display: flex; align-items: center; justify-content: center; padding: 0 15px; }
.its-accueil-logo { display: block; max-width: min(100%, 460px); max-height: 156px; width: auto; height: auto; object-fit: contain; }
.its-accueil-brandtext { font-size: clamp(25px, 5vw, 39px); font-weight: 800; letter-spacing: .035em; color: var(--its-accent); }
.its-accueil-eyebrow { margin-top: 15px !important; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #6a8290; }
.its-accueil-dialog h2 { margin-top: 10px; font-size: clamp(23px, 4.7vw, 29px); line-height: 1.2; font-weight: 750; color: #142f40; letter-spacing: -.025em; }
.its-accueil-headline { margin-top: 17px !important; font-size: clamp(17px, 3vw, 20px); line-height: 1.4; font-weight: 750; color: var(--its-accent); }
.its-accueil-description { margin-top: 15px !important; font-size: 15px; line-height: 1.58; color: #425a68; }
.its-accueil-instructions { margin-top: 11px !important; font-size: 14px; line-height: 1.58; color: #425a68; }
.its-accueil-actions { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.its-accueil-actions button,
.its-accueil-actions a {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 10px 18px;
  border: 1px solid var(--its-accent);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.its-accueil-primary { background: var(--its-accent); color: #fff; }
.its-accueil-primary:hover { background: #10516a; color: #fff; transform: translateY(-1px); }
.its-accueil-primary svg { width: 19px; height: 19px; flex: 0 0 auto; }
.its-accueil-secondary { color: var(--its-accent); background: #fff; }
.its-accueil-secondary:hover { background: #eff7fa; color: #10516a; transform: translateY(-1px); }
.its-accueil-reopen { cursor: pointer; }
/* La balise et la position sont independantes du HTML de Lisa.
   Une impulsion n'est active que pour le cycle de la popup. */
.its-accueil-bulb[hidden] { display: none !important; }
.its-accueil-bulb {
  position: fixed;
  z-index: 2147482000;
  pointer-events: none;
  display: block;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translateY(-50%);
  isolation: isolate;
}
.its-accueil-bulb-ring,
.its-accueil-bulb-core { box-sizing: border-box; position: absolute; border-radius: 50%; }
.its-accueil-bulb-ring {
  inset: 5px;
  border: 4px solid #ffc139;
  box-shadow: 0 0 10px 2px rgba(250, 167, 6, .38);
  opacity: 0;
  /* Animation geree par JS : independante des keyframes du theme. */
}
.its-accueil-bulb-ring-2 { opacity: 0; }
.its-accueil-bulb-core {
  inset: 8px;
  display: grid;
  place-items: center;
  border: 2px solid #fff4bc;
  color: #744500;
  background: radial-gradient(circle at 35% 27%, #fffde2 0%, #ffe68b 30%, #ffc42b 66%, #f39a00 100%);
  box-shadow: 0 2px 5px rgba(111, 72, 0, .26), 0 0 18px 6px rgba(255, 195, 30, .65);
  /* La pulsation est directement calculee et appliquee par JavaScript. */
}
.its-accueil-bulb-core svg { width: 43px; height: 43px; display: block; overflow: visible; }
.its-accueil-bulb-rays { stroke: #f4a000; stroke-width: 2.8; }
@keyframes its-accueil-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes its-accueil-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 600px) {
  .its-accueil-overlay { padding: 12px; }
  .its-accueil-dialog { max-height: calc(100dvh - 24px); padding: 20px 22px 23px; border-radius: 16px; }
  .its-accueil-brand { padding: 0 10px; }
  .its-accueil-logo { max-height: 117px; }
  .its-accueil-eyebrow { margin-top: 13px !important; font-size: 10px; }
  .its-accueil-dialog h2 { margin-top: 12px; }
  .its-accueil-headline { margin-top: 13px !important; }
  .its-accueil-description { margin-top: 12px !important; font-size: 14px; }
  .its-accueil-instructions { font-size: 13px; }
  .its-accueil-actions { margin-top: 20px; }
  .its-accueil-actions button, .its-accueil-actions a { width: 100%; }
  .its-accueil-bulb { width: 70px; height: 70px; }
  .its-accueil-bulb-core svg { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .its-accueil-overlay, .its-accueil-dialog,
  .its-accueil-bulb-core, .its-accueil-bulb-ring { animation: none !important; }
  .its-accueil-actions button, .its-accueil-actions a { transition: none !important; }
}
