
.elementor-widget-html:has(.nitc-op-script) { display: none; }

/* ---------- Promesse ---------- */
/* Radar du référent : anneaux et croix fins, un balayage tourne et allume chaque cible
   (les paragraphes de .nit-car-orbite) au moment où il passe dessus. Le délai d'une cible
   est calé sur son angle : -(1 - angle / 360) × durée du tour (6 s). */
.elementor .nit-car-orbite .nit-car-anneau { border-color: rgba(247, 239, 225, .14); }
.elementor .nit-car-orbite .nit-car-anneau--int { border-color: rgba(247, 239, 225, .2); }
.nit-car-orbite::before { content: ""; position: absolute; inset: 13%; border-radius: 50%; border: 1px dashed rgba(247, 239, 225, .12); }
.nit-car-anneau:not(.nit-car-anneau--int)::before,
.nit-car-anneau:not(.nit-car-anneau--int)::after { content: ""; position: absolute; background-color: rgba(247, 239, 225, .1); }
.nit-car-anneau:not(.nit-car-anneau--int)::before { inset-inline: 0; inset-block-start: 50%; height: 1px; }
.nit-car-anneau:not(.nit-car-anneau--int)::after { inset-block: 0; inset-inline-start: 50%; width: 1px; }

.nit-car-satellite {
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(247, 239, 225, 0) 0deg 280deg, rgba(247, 239, 225, .16) 360deg);
  animation: nitc-orbite 6s linear infinite;
}
.nit-car-satellite::after {
  content: ""; position: absolute; inset-block: 0 50%; inset-inline-start: calc(50% - .5px); width: 1px;
  background: linear-gradient(to top, rgba(247, 239, 225, .7), rgba(247, 239, 225, .15));
}
.nit-car-centre { width: 10px !important; height: 10px !important; animation: nitc-pouls 3s ease-out infinite; }
@keyframes nitc-orbite { to { rotate: 360deg; } }
@keyframes nitc-pouls {
  0% { box-shadow: 0 0 0 0 rgba(247, 239, 225, .3); }
  100% { box-shadow: 0 0 0 14px rgba(247, 239, 225, 0); }
}

.nit-car-orbite > p {
  position: absolute; margin: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  transform: translate(-3px, -50%);
  font-family: var(--font-texte, Inter), sans-serif; font-weight: 500; font-size: 12px; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase; color: var(--creme, #F7EFE1);
  opacity: .45; animation: nitc-cible-texte 6s linear infinite;
}
.nit-car-orbite > p::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background-color: rgba(247, 239, 225, .45); animation: nitc-cible 6s linear infinite;
}
/* Cible en haut à gauche : libellé à gauche du point, loin du titre de la carte */
.nit-car-orbite > p:nth-of-type(4) { flex-direction: row-reverse; transform: translate(calc(-100% + 3px), -50%); }
.nit-car-orbite > p:nth-of-type(1), .nit-car-orbite > p:nth-of-type(1)::before { inset-inline-start: 70%; inset-block-start: 26%; animation-delay: -5.333s; }
.nit-car-orbite > p:nth-of-type(2), .nit-car-orbite > p:nth-of-type(2)::before { inset-inline-start: 67.5%; inset-block-start: 80%; animation-delay: -3.5s; }
.nit-car-orbite > p:nth-of-type(3), .nit-car-orbite > p:nth-of-type(3)::before { inset-inline-start: 29%; inset-block-start: 68%; animation-delay: -2.167s; }
.nit-car-orbite > p:nth-of-type(4), .nit-car-orbite > p:nth-of-type(4)::before { inset-inline-start: 32%; inset-block-start: 29%; animation-delay: -.667s; }
.nit-car-orbite > p::before { inset: auto !important; }
@keyframes nitc-cible {
  0% { background-color: var(--corail, #E66060); box-shadow: 0 0 0 0 rgba(230, 96, 96, .6); scale: 1.6; }
  12% { scale: 1; }
  35% { box-shadow: 0 0 0 9px rgba(230, 96, 96, 0); }
  55% { background-color: var(--corail, #E66060); }
  85%, 100% { background-color: rgba(247, 239, 225, .45); box-shadow: 0 0 0 9px rgba(230, 96, 96, 0); scale: 1; }
}
@keyframes nitc-cible-texte { 0%, 40% { opacity: 1; } 85%, 100% { opacity: .45; } }
/* Tablette : le texte de la carte s'arrête avant le radar (en haut à droite) */
@media (min-width: 768px) and (max-width: 1199px) { .nit-car-tuile--referent > :is(h3, p) { max-width: calc(100% - 270px) !important; } }
/* Mobile : radar centré au-dessus du texte, assez grand pour ses libellés */
@media (max-width: 767px) { .elementor .nit-car-tuile--referent .nit-car-orbite { width: 200px; height: 200px; align-self: center; margin-block: 8px 24px; } }

.nit-car-env { display: inline-flex; align-items: center; gap: 10px; }
.nit-car-env::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background-color: var(--corail, #E66060);
}
.nit-car-envs > :nth-child(2) { margin-inline-start: 20px; }
.nit-car-envs > :nth-child(3) { margin-inline-start: 40px; }

.nit-car-ligne { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.nit-car-ligne strong { font-weight: 400; color: var(--corail, #E66060); margin-inline-end: 6px; }
.nit-car-ligne:last-child::after {
  content: ""; display: inline-block; width: 8px; height: 1.1em; vertical-align: -0.2em;
  background-color: var(--corail, #E66060); animation: nitc-curseur 1.1s steps(1) infinite;
}
@keyframes nitc-curseur { 50% { opacity: 0; } }
/* Lignes de la console : écrites une à une à l'arrivée dans l'écran */
.nitc-on .nit-car-ligne { opacity: 0; translate: -6px 0; transition: opacity .2s ease, translate .3s cubic-bezier(.2, .4, .1, .98); }
.nitc-on.nitc-vu .nit-car-ligne { opacity: 1; translate: 0 0; }
.nitc-on.nitc-vu .nit-car-ligne:nth-child(2) { transition-delay: .45s; }
.nitc-on.nitc-vu .nit-car-ligne:nth-child(3) { transition-delay: .9s; }
.nitc-on.nitc-vu .nit-car-ligne:nth-child(4) { transition-delay: 1.3s; }

/* ---------- Offres ---------- */
/* sélecteurs renforcés : le thème stylise tous les boutons (fond, survol, focus) */
.nit-offres-filtres button.nitc-filtre,
.nit-offres-filtres button.nitc-filtre:hover,
.nit-offres-filtres button.nitc-filtre:focus {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px;
  border: 0; background: var(--blanc, #fff);
  font-family: var(--font-texte, Inter), sans-serif; font-weight: 400; font-size: 16px; line-height: 1.2;
  color: var(--bleu-profond, #1800AD); cursor: pointer; user-select: none;
  transition: background-color .2s ease, color .2s ease, scale .4s ease;
}
.nitc-filtre .nitc-n { font-size: 12px; opacity: .55; font-variant-numeric: tabular-nums; }
.nit-offres-filtres button.nitc-filtre[aria-pressed="true"] { background-color: var(--bleu-profond, #1800AD); color: var(--blanc, #fff); }
.nit-offres-filtres button.nitc-filtre:active { scale: .96; transition-duration: .2s, .2s, 75ms; }
.nitc-filtre:focus-visible { outline: 2px solid var(--corail, #E66060); outline-offset: 3px; }
@media (hover: hover) {
  .nit-offres-filtres button.nitc-filtre[aria-pressed="false"]:hover { color: var(--corail, #E66060); }
}

.nit-offre { transition: box-shadow .3s ease; }
.nit-offre:focus-visible { outline: 2px solid var(--corail, #E66060); outline-offset: 3px; }
.nit-offre-lieu::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background-color: var(--corail, #E66060);
}
.nit-offre-rond { transition: background-color .2s ease; }
.nit-offre-rond::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 12px; translate: 1px 0;
  background-color: var(--bleu-profond, #1800AD);
  -webkit-mask: url("/wp-content/uploads/2026/09/arrow.svg") center / contain no-repeat;
  mask: url("/wp-content/uploads/2026/09/arrow.svg") center / contain no-repeat;
  transition: translate .3s ease, background-color .2s ease;
}
@media (hover: hover) {
  .nit-offre:hover { box-shadow: 0 22px 44px -30px rgba(24, 0, 173, .5); }
  .nit-offre:hover .nit-offre-rond { background-color: var(--bleu-profond, #1800AD); }
  .nit-offre:hover .nit-offre-rond::after { background-color: var(--blanc, #fff); translate: 4px 0; }
}
.nit-offres-liste.nitc-anime { overflow: clip; }
.nit-offre[hidden] { display: none !important; }
/* Aucune offre publiée : la carte nit-offres-vide remplace la grille, le compteur,
   les filtres et la ligne de candidature spontanée (déjà dans la carte) */
.nit-offres-liste:has(.e-loop-item) .nit-offres-vide { display: none; }
.nit-offres-liste:not(:has(.e-loop-item)) .elementor-widget-loop-grid { display: none; }
section:has(> .nit-offres-liste):not(:has(.e-loop-item)) :is(.nit-offres-pied, .nit-offres-compte, .nit-offres-filtres) { display: none; }
.nit-offres-vide-signal::before,
.nit-offres-vide-signal::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-radius: 50%; }
.nit-offres-vide-signal::after { background-color: var(--corail, #E66060); }
.nit-offres-vide-signal::before { border: 1px solid var(--corail, #E66060); animation: nitc-veille 2.4s cubic-bezier(.2, .4, .1, .98) infinite; }
@keyframes nitc-veille { from { scale: 1; opacity: .8; } to { scale: 4.2; opacity: 0; } }
.nit-offres-pied a { color: var(--corail, #E66060); font-weight: 500; text-decoration: underline 1px; text-underline-offset: 4px; }

/* ---------- Process ---------- */
.nit-parcours-noeud { transition: background-color .3s ease, color .3s ease; }
.nit-parcours-noeud--fin::after {
  content: ""; width: 10px; height: 18px; translate: 0 -2px; rotate: 45deg;
  border-inline-end: 2.5px solid currentColor; border-block-end: 2.5px solid currentColor;
}
.nitc-on .nit-parcours-progres { scale: 0 1; }
@media (max-width: 1199px) { .nitc-on .nit-parcours-progres { scale: 1 0; } }
.nitc-on .nit-parcours-noeud--fin:not(.nitc-atteint) {
  background-color: var(--gris-chaud, #E9E5DC); color: var(--blanc, #fff);
}
.nitc-on .nit-parcours-noeud.nitc-atteint:not(.nit-parcours-noeud--fin) {
  background-color: var(--bleu-profond, #1800AD); color: var(--blanc, #fff);
}
.nitc-on .nit-parcours-etape > :not(.nit-parcours-noeud) {
  opacity: 0; translate: 0 8px;
  transition: opacity .25s ease, translate .4s cubic-bezier(.2, .4, .1, .98);
}
.nitc-on .nit-parcours-etape.nitc-atteinte > :not(.nit-parcours-noeud) { opacity: 1; translate: 0 0; }
.nitc-on .nit-parcours-etape.nitc-atteinte > :nth-child(3) { transition-delay: .06s; }
.nitc-on .nit-parcours-etape.nitc-atteinte > :nth-child(4) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  .nit-car-satellite, .nit-car-centre, .nit-car-ligne:last-child::after { animation: none; }
  .nit-car-satellite { display: none; }
  .nit-offres-vide-signal::before { display: none; }
  .nit-car-orbite > p, .nit-car-orbite > p::before { animation: none; opacity: .85; }
  .nit-car-orbite > p::before { background-color: var(--corail, #E66060); }
  .nitc-on .nit-car-ligne, .nitc-on .nit-parcours-etape > :not(.nit-parcours-noeud) { translate: none !important; }
}
