/* Éléments propres à un seul écran. */

/* --- Accueil --------------------------------------------------------------- */
.home {
  align-items: center;
  padding: 34px 0 40px;
}
.home__title {
  font-size: 58px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
  line-height: 1;
  flex: none;
}
.home__wave {
  width: 583px;
  max-width: 90vw;
  height: 197px;
  object-fit: contain;
  margin-top: 6px;
  flex: none;
}
.home__grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 300px);
  grid-template-rows: 1fr 1fr;
  column-gap: 70px;
  row-gap: 12px;
  justify-items: center;
  align-items: start;
  padding-top: 14px;
  overflow: auto;
}
.tile {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 10px;
  border-radius: 26px;
  cursor: pointer;
}
.tile:hover { background: rgba(255, 255, 255, .16); }
.tile__disc {
  width: 168px;
  height: 168px;
  border-radius: 84px;
  background: var(--surface);
  box-shadow: var(--shadow-tile);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile__disc img { width: 145px; height: 145px; object-fit: contain; }
.tile__label {
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 1.18;
  text-wrap: balance;
}

/* --- Alerte : choix de la catégorie ---------------------------------------- */
.alert-intro { padding: 10px 0 4px; text-align: center; flex: none; }
.alert-intro__title {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.05;
}
.alert-intro__sub { font-size: 22px; color: rgba(255, 255, 255, .85); margin-top: 10px; }

.alert-grid {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 18px 30px;
  padding: 14px 90px 20px;
  overflow: auto;
}
.alert-cat {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 14px 10px;
  border-radius: 24px;
  cursor: pointer;
}
.alert-cat:hover { background: rgba(255, 255, 255, .14); }
.alert-cat__disc {
  width: 168px;
  height: 168px;
  border-radius: 84px;
  background: var(--surface-2);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 500 12px var(--mono);
  color: var(--blue);
  padding: 0 14px;
  line-height: 1.5;
}
.alert-cat__label {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  text-wrap: pretty;
}
.alert-foot { padding: 0 90px 26px; display: flex; align-items: center; gap: 14px; flex: none; }
.alert-foot__text {
  flex: 1;
  background: rgba(255, 255, 255, .18);
  border-radius: 18px;
  padding: 16px 22px;
  font-size: 17px;
  line-height: 1.45;
  color: #fff;
  text-wrap: pretty;
}

/* --- Alerte : description (modale par-dessus l'écran flouté) --------------- */
.screen--modal { position: relative; display: block; }
.modal-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  filter: blur(1.5px);
  opacity: .55;
  pointer-events: none;
}
.modal-back__disc { width: 168px; height: 168px; border-radius: 84px; background: #fff; }
.modal-back__chip { width: 48px; height: 48px; border-radius: 24px; background: rgba(255, 255, 255, .24); flex: none; }
.modal-back__brand {
  font: 600 13px var(--mono);
  color: rgba(255, 255, 255, .8);
  letter-spacing: 2.4px;
}
.modal-veil { position: absolute; inset: 0; background: rgba(18, 40, 63, .42); }
.modal-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: auto;
}
.modal {
  width: 840px;
  max-width: 100%;
  background: var(--surface);
  border-radius: 32px;
  box-shadow: var(--shadow-modal);
  padding: 34px 38px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal__head { display: flex; align-items: flex-start; gap: 18px; }
.modal__disc {
  flex: 0 0 84px;
  height: 84px;
  border-radius: 42px;
  background: var(--tint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 500 10px var(--mono);
  color: var(--blue);
  line-height: 1.4;
}
.modal__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.6px;
  margin-top: 6px;
  text-wrap: pretty;
}
.modal__close {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 26px;
  background: var(--tint);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal__close:hover { background: var(--tint-3); color: var(--muted); }
.modal__close svg { display: block; }
.modal__area {
  height: 230px;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  background: var(--surface-3);
  padding: 18px 20px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  outline: none;
  resize: none;
  width: 100%;
}
.modal__count { display: flex; align-items: center; gap: 10px; }
.modal__count-text { font-size: 14px; color: var(--muted-2); }
.modal__notice {
  background: var(--surface);
  border-radius: 18px;
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.modal__actions { display: flex; gap: 14px; }
.modal__cancel {
  flex: 0 0 200px;
  height: 64px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  background: var(--tint);
}
.modal__cancel:hover { background: var(--tint-3); color: var(--muted); }

/* --- Actualités : article et pagination ------------------------------------ */
.article-pane { background: var(--surface-2); border-left: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; }
.article {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 26px 34px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.article__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.article__date { font-size: 15px; color: var(--muted-2); }
.article__title {
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.8px;
  text-wrap: pretty;
}
.article__lead { font-size: 20px; line-height: 1.45; color: var(--blue); font-weight: 600; text-wrap: pretty; }
.article__p { font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.article__practical {
  border-top: 1px solid rgba(23, 54, 93, .16);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article__practical-text { font-size: 16px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

.pager {
  padding: 14px 34px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  flex: none;
}
.pager__btn {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 26px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.pager__btn svg { display: block; flex: none; }
.pager__pos { font-size: 14px; color: var(--muted-2); }

/* --- Harcèlement ----------------------------------------------------------- */
.recap-list { display: flex; flex-direction: column; gap: 10px; }
