/* Habillage des blocs emploi. Une seule variable d'accent :
   le réglage du plugin (injecté en ligne) > la couleur primaire du thème
   > un or par défaut. --ats-sur-accent porte le texte posé sur l'accent.
   La classe .ats-sombre (détectée en JS sur le fond du site) adapte
   champs et cartes aux sites sombres. */
:root {
  --ats-accent: var(--wp--preset--color--primary, #ECB436);
  --ats-sur-accent: #141414;
}

/* Habillage complet et autonome : lisible sur thème sombre comme clair.
   La couleur d'accent vient du thème du site quand il l'expose
   (variable --wp--preset--color--primary), sinon repli neutre. */
.ats-formulaire {
  margin: 2.5rem 0;
  padding: 2rem;
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 14px;
  background: rgba(127, 127, 127, 0.08);
}
.ats-formulaire h2 { margin: 0 0 0.5rem; }
.ats-formulaire form { margin-top: 1.25rem; }
.ats-formulaire p { margin: 0 0 1.15rem; }
.ats-formulaire label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95em;
}
.ats-formulaire input[type="text"],
.ats-formulaire input[type="email"],
.ats-formulaire input[type="tel"],
.ats-formulaire textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 9px;
  background: #ffffff;
  color: #14181f;
  font: inherit;
  line-height: 1.4;
}
.ats-formulaire input:focus,
.ats-formulaire textarea:focus {
  outline: 2px solid var(--ats-accent);
  outline-offset: 1px;
  border-color: transparent;
}
.ats-formulaire input[type="file"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem;
  border: 1.5px dashed rgba(128, 128, 128, 0.55);
  border-radius: 9px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.ats-deux-colonnes {
  display: grid;
  gap: 0 1.25rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) {
  .ats-deux-colonnes { grid-template-columns: 1fr; }
}
.ats-consentement label {
  font-weight: 400;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92em;
  line-height: 1.5;
}
.ats-consentement input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  accent-color: var(--ats-accent);
}
.ats-bouton {
  display: inline-block;
  min-height: 2.75rem;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
  padding: 0.85rem 1.7rem;
  border: 0;
  border-radius: 9px;
  background: var(--ats-accent);
  color: var(--ats-sur-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}
.ats-bouton:hover { filter: brightness(1.12); }
.ats-bouton:active { transform: scale(0.98); }
.ats-erreur {
  padding: 0.7rem 1rem;
  border-radius: 9px;
  border: 1px solid #d64550;
  background: rgba(214, 69, 80, 0.12);
}
.ats-detection {
  display: block;
  color: inherit;
  font-size: 0.85em;
  opacity: 0.85;
  margin-top: 0.5rem;
}
.ats-merci { border-color: #3ddc97; }
/* Pot de miel : invisible pour les humains, rempli par les robots. */
.ats-piege {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ats-offres { list-style: none; padding: 0; }
.ats-offres li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}
.ats-offres a { font-weight: 600; text-decoration: none; }
.ats-offre-infos { display: block; font-size: 0.85em; opacity: 0.75; margin-top: 0.15rem; }

/* ---------- Page d'annonce : bandeau d'informations et sections. */
.ats-annonce-entete {
  margin: 0 0 1.8rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-left: 4px solid var(--ats-accent);
  border-radius: 12px;
  background: rgba(127, 127, 127, 0.07);
}
.ats-annonce-infos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.95em;
}
.ats-annonce-infos li { margin: 0; display: flex; align-items: center; gap: 0.4rem; }
.ats-annonce-cta { margin: 1.1rem 0 0; }
.ats-annonce-corps h2 {
  margin-top: 2rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--ats-accent);
}
.ats-competences {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.ats-competences li { margin: 0; }
/* Une teinte par compétence ou par contrat (--ats-teinte, 0 à 360) : le
   texte reste lisible sur fond clair comme sur fond sombre. */
.ats-etiquette {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78em;
  font-weight: 600;
  border: 1px solid hsl(var(--ats-teinte, 42) 55% 45% / 0.55);
  color: hsl(var(--ats-teinte, 42) 65% 30%);
  background: hsl(var(--ats-teinte, 42) 70% 50% / 0.1);
}
.ats-sombre .ats-etiquette { color: hsl(var(--ats-teinte, 42) 80% 74%); }

/* ---------- Moteur de recherche des offres. */
.ats-recherche {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.6rem;
}
.ats-recherche input[type="search"] {
  flex: 2 1 220px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 9px;
  font: inherit;
  background: #fff;
  color: #14181f;
}
.ats-recherche select {
  flex: 1 1 150px;
  padding: 0.7rem 0.6rem;
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 9px;
  font: inherit;
  background: #fff;
  color: #14181f;
}
.ats-vide { opacity: 0.8; font-style: italic; }

/* ---------- Cartes d'offres : grille et carrousel. */
.ats-grille {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.ats-grille > li, .ats-carrousel-vue { display: flex; margin: 0; }
.ats-grille > li > .ats-carte, .ats-carrousel-vue > .ats-carte { flex: 1; }
.ats-carte {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 12px;
  background: rgba(127, 127, 127, 0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.ats-carte:hover, .ats-carte:focus-within {
  transform: translateY(-3px);
  border-color: var(--ats-accent);
  box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.4);
}
.ats-carte-titre { margin: 0 0 0.3rem; font-size: 1.1em; line-height: 1.35; }
.ats-carte-titre a { text-decoration: none; color: inherit; }
/* Toute la carte est cliquable, un seul lien pour les lecteurs d'écran. */
.ats-carte-titre a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.ats-carte-titre a:focus-visible { outline: none; }
.ats-carte-titre a:focus-visible::after { outline: 2px solid var(--ats-accent); outline-offset: 2px; }
.ats-carte-infos { margin: 0 0 0.6rem; font-size: 0.85em; opacity: 0.8; }
.ats-carte-accroche { margin: 0; font-size: 0.9em; line-height: 1.5; }
.ats-carte .ats-competences { margin-top: 0.8rem; }
.ats-carte-pied {
  margin: auto 0 0;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.ats-carte-salaire { font-weight: 700; }
.ats-carte-voir {
  margin-left: auto;
  padding: 0.5rem 1rem;
  border-radius: 9px;
  background: var(--ats-accent);
  color: var(--ats-sur-accent);
  font-size: 0.9em;
  font-weight: 700;
}

.ats-carrousel { margin: 1.2rem 0; }
.ats-carrousel-commandes { display: flex; justify-content: flex-end; gap: 0.4rem; }
.ats-carrousel-piste {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0.6rem 0.2rem 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.ats-carrousel-piste:focus-visible { outline: 2px solid var(--ats-accent); outline-offset: 2px; }
.ats-carrousel-vue { flex: 0 0 min(300px, 82vw); scroll-snap-align: start; }
.ats-carrousel-fleche, .ats-carrousel-pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(128, 128, 128, 0.45);
  background: rgba(127, 127, 127, 0.08);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.ats-carrousel-fleche:hover, .ats-carrousel-pause:hover { border-color: var(--ats-accent); }
.ats-carrousel-fleche:focus-visible, .ats-carrousel-pause:focus-visible,
.ats-bouton:focus-visible, .ats-reinitialiser:focus-visible {
  outline: 2px solid var(--ats-accent);
  outline-offset: 2px;
}
.ats-carrousel-fleche[disabled] { opacity: 0.35; cursor: default; }
.ats-carrousel-pause .ats-lecture, .ats-carrousel-pause[aria-pressed="true"] .ats-pause { display: none; }
.ats-carrousel-pause[aria-pressed="true"] .ats-lecture { display: inline; }

/* ---------- Portail : compte, pagination, offres voisines. */
.ats-compte { margin: 0 0 0.9rem; font-size: 0.9em; opacity: 0.8; }
.ats-reinitialiser { align-self: center; font-size: 0.9em; }
.ats-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.6rem 0 0;
  font-size: 0.95em;
}
.ats-bouton-discret {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(128, 128, 128, 0.5);
  padding: 0.6rem 1.1rem;
  text-decoration: none;
}
.ats-voisines { margin-top: 2.5rem; }
.ats-fermee { padding: 0.8rem 1rem; border-radius: 9px; border: 1px solid rgba(128, 128, 128, 0.4); }

/* ---------- Formulaire : aide, progression, état de l'envoi. */
.ats-formulaire [hidden] { display: none !important; }
.ats-aide { display: block; font-size: 0.85em; opacity: 0.8; margin-top: 0.4rem; }
.ats-envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; }
.ats-envoi progress { flex: 1 1 160px; height: 0.5rem; accent-color: var(--ats-accent); }
.ats-etat { font-size: 0.9em; }
.ats-bouton[disabled] { opacity: 0.6; cursor: progress; }
.ats-champ-invalide { outline: 2px solid #d64550; outline-offset: 1px; }

/* Lu par les lecteurs d'écran, invisible à l'écran. */
.ats-lecteur {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.ats-icone { flex: none; opacity: 0.75; }

@media (prefers-reduced-motion: reduce) {
  .ats-carrousel-piste { scroll-behavior: auto; }
  .ats-carte, .ats-bouton { transition: none; }
  .ats-carte:hover, .ats-carte:focus-within { transform: none; }
}

/* ---------- Sites sombres (classe posée par le script selon le fond réel
   du site) : champs et cartes s'assombrissent, l'or ressort. */
.ats-sombre .ats-formulaire input[type="text"],
.ats-sombre .ats-formulaire input[type="email"],
.ats-sombre .ats-formulaire input[type="tel"],
.ats-sombre .ats-formulaire textarea,
.ats-sombre .ats-recherche input[type="search"],
.ats-sombre .ats-recherche select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: inherit;
}
.ats-sombre .ats-formulaire input::placeholder,
.ats-sombre .ats-formulaire textarea::placeholder,
.ats-sombre .ats-recherche input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.ats-sombre .ats-recherche select option {
  background: #1a1a1a;
  color: #eeeeee;
}
.ats-sombre .ats-formulaire,
.ats-sombre .ats-carte,
.ats-sombre .ats-annonce-entete {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
}
.ats-sombre .ats-annonce-entete,
.ats-sombre .ats-annonce-corps h2 {
  border-left-color: var(--ats-accent);
}
.ats-sombre .ats-carte:hover {
  border-color: var(--ats-accent);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.85);
}
.ats-sombre .ats-carte-titre a { color: inherit; }
.ats-sombre .ats-carrousel-fleche,
.ats-sombre .ats-carrousel-pause {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}
.ats-sombre .ats-formulaire input[type="file"] {
  border-color: rgba(255, 255, 255, 0.3);
}
/* Titres de cartes et salaires : un soupçon d'or, comme les titres du site. */
.ats-sombre .ats-carte-salaire,
.ats-sombre .ats-carte-titre a:hover {
  color: var(--ats-accent);
}

/* Badges de contrat et étiquettes colorées par techno. */
.ats-carte-contrat, .ats-annonce-contrat { margin: 0 0 0.55rem; }
.ats-badge-contrat {
  font-size: 0.72em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ats-annonce-contrat .ats-badge-contrat { font-size: 0.8em; }
.ats-carte-voir, .ats-carte-salaire { white-space: nowrap; }
.ats-carte-pied { flex-wrap: wrap; }

/* ---------- Formulaires : finitions (2.2). Champs plus nets, zone de dépôt
   du CV, case à cocher et bouton à la couleur d'accent. Tout part de
   --ats-accent ; le halo de focus en est une version transparente. */
.ats-formulaire {
  --ats-halo: color-mix(in srgb, var(--ats-accent) 28%, transparent);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-radius: 16px;
  font-size: 0.94em;
}
.ats-formulaire h2 { margin: 0 0 0.35rem; line-height: 1.2; }
.ats-formulaire form { margin-top: 1rem; }
.ats-formulaire p,
.ats-formulaire .ats-champ { margin: 0 0 1.25rem; }
.ats-formulaire .ats-legende { font-size: 0.82em; opacity: 0.7; margin-bottom: 1.1rem; }
.ats-formulaire label {
  font-size: 0.9em;
  letter-spacing: 0.01em;
  margin-bottom: 0.45rem;
}
.ats-requis { color: var(--ats-accent); font-weight: 700; }
.ats-facultatif {
  margin-left: 0.3rem;
  font-size: 0.82em;
  font-weight: 400;
  opacity: 0.6;
}
.ats-formulaire input[type="text"],
.ats-formulaire input[type="email"],
.ats-formulaire input[type="tel"],
.ats-formulaire textarea {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.ats-formulaire textarea { resize: vertical; min-height: 7.5rem; }
.ats-formulaire input[type="text"]:hover,
.ats-formulaire input[type="email"]:hover,
.ats-formulaire input[type="tel"]:hover,
.ats-formulaire textarea:hover { border-color: rgba(128, 128, 128, 0.85); }
.ats-formulaire input[type="text"]:focus,
.ats-formulaire input[type="email"]:focus,
.ats-formulaire input[type="tel"]:focus,
.ats-formulaire textarea:focus {
  outline: none;
  border-color: var(--ats-accent);
  box-shadow: 0 0 0 3px var(--ats-halo);
}
.ats-deux-colonnes > p:only-child { grid-column: 1 / -1; }

/* Zone de dépôt du CV. Sans script, le champ de fichier habituel reste
   visible ; avec, il couvre la zone (clic, clavier et glisser-déposer
   passent par lui) et l'invite s'affiche dessous. */
.ats-depot { position: relative; }
.ats-depot-invite { display: none; }
.ats-js .ats-depot {
  border: 1.5px dashed rgba(128, 128, 128, 0.6);
  border-radius: 12px;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.ats-js .ats-depot input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.ats-js .ats-depot-invite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.4rem 1rem;
  text-align: center;
  pointer-events: none;
}
.ats-depot-invite svg { color: var(--ats-accent); }
.ats-depot-texte { font-size: 0.95em; }
.ats-depot-fichier { font-weight: 600; overflow-wrap: anywhere; }
.ats-js .ats-depot:hover,
.ats-js .ats-depot.ats-depot-survol {
  border-color: var(--ats-accent);
  background: color-mix(in srgb, var(--ats-accent) 7%, transparent);
}
.ats-js .ats-depot:focus-within {
  border-color: var(--ats-accent);
  box-shadow: 0 0 0 3px var(--ats-halo);
}
.ats-js .ats-depot.ats-depot-rempli {
  border-style: solid;
  border-color: var(--ats-accent);
  background: color-mix(in srgb, var(--ats-accent) 9%, transparent);
}
.ats-depot-rempli .ats-depot-texte { font-size: 0.82em; opacity: 0.7; }
.ats-js .ats-depot.ats-champ-invalide { outline: 0; border-color: #d64550; }

/* Case de consentement dessinée : mêmes angles que les champs. */
.ats-consentement label { gap: 0.75rem; font-size: 0.86em; line-height: 1.55; opacity: 0.92; }
.ats-consentement input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.1rem 0 0;
  border: 1.5px solid rgba(128, 128, 128, 0.7);
  border-radius: 6px;
  background: transparent;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.ats-consentement input[type="checkbox"]::after {
  content: "";
  width: 0.36rem;
  height: 0.68rem;
  margin-top: -0.14rem;
  border: solid var(--ats-sur-accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.12s ease;
}
.ats-consentement input[type="checkbox"]:checked { background: var(--ats-accent); border-color: var(--ats-accent); }
.ats-consentement input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.ats-consentement input[type="checkbox"]:hover { border-color: var(--ats-accent); }
.ats-consentement input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: var(--ats-accent);
  box-shadow: 0 0 0 3px var(--ats-halo);
}
.ats-consentement a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.ats-consentement a:hover { color: var(--ats-accent); }

/* Bouton d'envoi : une flèche qui avance au survol. */
.ats-formulaire .ats-envoi { margin: 1.6rem 0 0; }
.ats-formulaire .ats-envoi .ats-bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
}
.ats-formulaire .ats-envoi .ats-bouton::after {
  content: "\2192";
  transition: transform 0.15s ease;
}
.ats-formulaire .ats-envoi .ats-bouton:hover::after { transform: translateX(4px); }
.ats-formulaire .ats-bouton:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ats-halo), 0 0 0 1px var(--ats-sur-accent) inset; }
.ats-formulaire .ats-envoi progress { border-radius: 99px; overflow: hidden; }
.ats-formulaire .ats-erreur { font-size: 0.92em; border-radius: 10px; }
.ats-formulaire.ats-merci {
  border-color: #3ddc97;
  background: rgba(61, 220, 151, 0.08);
}
.ats-formulaire.ats-merci p { margin: 0; }
@media (max-width: 600px) {
  .ats-formulaire .ats-envoi .ats-bouton { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ats-formulaire *, .ats-formulaire *::after { transition: none !important; }
}

.ats-sombre .ats-formulaire input[type="text"]:hover,
.ats-sombre .ats-formulaire input[type="email"]:hover,
.ats-sombre .ats-formulaire input[type="tel"]:hover,
.ats-sombre .ats-formulaire textarea:hover { border-color: rgba(255, 255, 255, 0.4); }
.ats-sombre .ats-formulaire input[type="text"]:focus,
.ats-sombre .ats-formulaire input[type="email"]:focus,
.ats-sombre .ats-formulaire input[type="tel"]:focus,
.ats-sombre .ats-formulaire textarea:focus {
  border-color: var(--ats-accent);
  background: rgba(255, 255, 255, 0.08);
}
.ats-sombre .ats-js .ats-depot { border-color: rgba(255, 255, 255, 0.3); }
.ats-sombre .ats-js .ats-depot:hover,
.ats-sombre .ats-js .ats-depot.ats-depot-survol,
.ats-sombre .ats-js .ats-depot.ats-depot-rempli,
.ats-sombre .ats-js .ats-depot:focus-within { border-color: var(--ats-accent); }
.ats-sombre .ats-consentement input[type="checkbox"] { border-color: rgba(255, 255, 255, 0.4); }
.ats-sombre .ats-consentement input[type="checkbox"]:checked { border-color: var(--ats-accent); }

/* ---------- Habillage éditorial sombre (2.3) : réglage « Habillage ».
   Fond noir, angles nets, libellés en capitales à chasse fixe, liseré à la
   couleur d'accent. Les blocs portent leur propre fond : ils restent
   lisibles posés dans une section claire. */
body.ats-style-editorial {
  --ats-fond: #09090b;
  --ats-fond-2: #131316;
  --ats-fond-3: #1b1b1f;
  --ats-ligne: #2e2e36;
  --ats-texte: #ffffff;
  --ats-texte-doux: rgba(255, 255, 255, 0.86);
  --ats-texte-sourd: rgba(255, 255, 255, 0.62);
  --ats-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ats-sans: -apple-system, BlinkMacSystemFont, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.ats-style-editorial .ats-portail, body.ats-style-editorial .ats-carrousel, body.ats-style-editorial .ats-voisines, body.ats-style-editorial .ats-annonce-entete,
body.ats-style-editorial .ats-annonce-corps, body.ats-style-editorial .ats-formulaire {
  font-family: var(--ats-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  color: var(--ats-texte-doux);
}

/* Boutons : ceux du site. */
body.ats-style-editorial .ats-bouton, body.ats-style-editorial .ats-formulaire .ats-envoi .ats-bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--ats-accent);
  color: #09090b;
  font-family: var(--ats-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
body.ats-style-editorial .ats-bouton:hover { background: color-mix(in srgb, var(--ats-accent) 82%, #ffffff); filter: none; transform: translateY(-1px); }
body.ats-style-editorial .ats-bouton:focus-visible { outline: 2px solid var(--ats-accent); outline-offset: 3px; box-shadow: none; }
body.ats-style-editorial .ats-annonce-cta .ats-bouton::after { content: "\2193"; }
body.ats-style-editorial .ats-recherche .ats-bouton::after { content: "\2192"; }

/* Étiquette de contrat et compétences : capitales, contour fin. */
body.ats-style-editorial .ats-etiquette, body.ats-style-editorial .ats-badge-contrat {
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--ats-accent) 55%, transparent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--ats-accent) 12%, transparent);
  color: var(--ats-accent);
  font-family: var(--ats-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-competences { gap: 6px; }
body.ats-style-editorial .ats-competences li {
  padding: 3px 9px;
  border: 1px solid var(--ats-ligne);
  border-radius: 2px;
  background: transparent;
  color: var(--ats-texte-sourd);
  font-family: var(--ats-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Portail : son propre panneau, la recherche en une barre. */
body.ats-style-editorial .ats-portail {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--ats-fond);
  border: 1px solid var(--ats-ligne);
}
body.ats-style-editorial .ats-recherche {
  gap: 0;
  margin: 0 0 1.75rem;
  border: 1px solid var(--ats-ligne);
  background: var(--ats-fond-2);
}
body.ats-style-editorial .ats-recherche input[type="search"], body.ats-style-editorial .ats-recherche select {
  min-height: 54px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid var(--ats-ligne);
  border-radius: 0;
  background-color: transparent;
  color: var(--ats-texte);
  font-family: var(--ats-sans);
  font-size: 15px;
}
body.ats-style-editorial .ats-recherche input[type="search"]::placeholder { color: var(--ats-texte-sourd); }
body.ats-style-editorial .ats-recherche select { color: var(--ats-texte-doux); cursor: pointer; }
body.ats-style-editorial .ats-recherche input[type="search"] { flex: 2 1 200px; }
body.ats-style-editorial .ats-recherche select { flex: 1 1 130px; }
body.ats-style-editorial .ats-recherche select option { background: var(--ats-fond-2); color: var(--ats-texte); }
body.ats-style-editorial .ats-recherche input[type="search"]:focus, body.ats-style-editorial .ats-recherche select:focus {
  outline: none;
  box-shadow: inset 0 -2px 0 var(--ats-accent);
}
body.ats-style-editorial .ats-recherche .ats-bouton { border-radius: 0; min-height: 54px; }
body.ats-style-editorial .ats-reinitialiser {
  align-self: center;
  padding: 0 16px;
  color: var(--ats-texte-sourd);
  font-family: var(--ats-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-compte, body.ats-style-editorial .ats-voisines > h2, body.ats-style-editorial .ats-carrousel > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.1rem;
  color: var(--ats-accent);
  font-family: var(--ats-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 1;
}
body.ats-style-editorial .ats-compte::before, body.ats-style-editorial .ats-voisines > h2::before, body.ats-style-editorial .ats-carrousel > h2::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ats-accent);
}
body.ats-style-editorial .ats-vide { color: var(--ats-texte-sourd); font-style: normal; }

/* Cartes d'offres. */
body.ats-style-editorial .ats-grille { gap: 16px; }
body.ats-style-editorial .ats-carte {
  padding: 26px 26px 22px;
  border: 1px solid var(--ats-ligne);
  border-left: 3px solid var(--ats-ligne);
  border-radius: 0;
  background: var(--ats-fond-2);
  box-shadow: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
body.ats-style-editorial .ats-carte:hover, body.ats-style-editorial .ats-carte:focus-within {
  border-left-color: var(--ats-accent);
  background: var(--ats-fond-3);
  box-shadow: none;
  transform: translateY(-2px);
}
body.ats-style-editorial .ats-carte-titre { margin: 14px 0 6px; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
body.ats-style-editorial .ats-carte-titre a { color: var(--ats-texte); text-decoration: none; }
body.ats-style-editorial .ats-carte:hover .ats-carte-titre a { color: var(--ats-accent); }
body.ats-style-editorial .ats-carte-infos {
  color: var(--ats-texte-sourd);
  font-family: var(--ats-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1;
}
body.ats-style-editorial .ats-carte-accroche { color: var(--ats-texte-doux); font-size: 15px; font-weight: 300; }
body.ats-style-editorial .ats-carte-pied { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ats-ligne); }
body.ats-style-editorial .ats-carte-salaire { color: var(--ats-texte); font-family: var(--ats-mono); font-size: 14px; font-weight: 600; }
body.ats-style-editorial .ats-carte-voir {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--ats-accent);
  font-family: var(--ats-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-carte-voir::after { content: " \2192"; display: inline-block; transition: transform 0.15s ease; }
body.ats-style-editorial .ats-carte:hover .ats-carte-voir::after { transform: translateX(4px); }
body.ats-style-editorial .ats-pagination a, body.ats-style-editorial .ats-pagination span, body.ats-style-editorial .ats-carrousel-fleche, body.ats-style-editorial .ats-carrousel-pause {
  border: 1px solid var(--ats-ligne);
  border-radius: 2px;
  background: var(--ats-fond-2);
  color: var(--ats-texte);
  font-family: var(--ats-mono);
}
body.ats-style-editorial .ats-carrousel-fleche:hover, body.ats-style-editorial .ats-carrousel-pause:hover, body.ats-style-editorial .ats-pagination a:hover { border-color: var(--ats-accent); color: var(--ats-accent); }

/* Page d'une offre. */
body.ats-style-editorial .ats-annonce-entete {
  margin: 0 0 2.5rem;
  padding: 28px 32px;
  border: 1px solid var(--ats-ligne);
  border-left: 3px solid var(--ats-accent);
  border-radius: 0;
  background: var(--ats-fond-2);
}
body.ats-style-editorial .ats-annonce-infos { gap: 10px 26px; margin: 16px 0; }
body.ats-style-editorial .ats-annonce-infos li {
  color: var(--ats-texte-doux);
  font-family: var(--ats-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-annonce-infos .ats-icone { color: var(--ats-accent); }
body.ats-style-editorial .ats-annonce-cta { margin: 20px 0 0; }
body.ats-style-editorial .ats-annonce-corps { font-size: 17px; font-weight: 300; line-height: 1.7; }
body.ats-style-editorial .ats-annonce-corps h2 {
  margin: 2.6rem 0 1rem;
  padding: 0 0 0 16px;
  border-left: 3px solid var(--ats-accent);
  color: var(--ats-texte);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
body.ats-style-editorial .ats-annonce-corps ul { padding-left: 0; list-style: none; }
body.ats-style-editorial .ats-annonce-corps ul li { position: relative; margin: 0 0 0.55rem; padding-left: 26px; }
body.ats-style-editorial .ats-annonce-corps ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 14px;
  height: 1px;
  background: var(--ats-accent);
}
body.ats-style-editorial .ats-fermee { border-radius: 0; border-left: 3px solid var(--ats-ligne); background: var(--ats-fond-2); }

/* Formulaires. */
body.ats-style-editorial .ats-formulaire {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--ats-ligne);
  border-left: 3px solid var(--ats-accent);
  border-radius: 0;
  background: var(--ats-fond-2);
}
body.ats-style-editorial .ats-formulaire h2 {
  margin: 0 0 6px;
  color: var(--ats-texte);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
body.ats-style-editorial .ats-formulaire .ats-legende, body.ats-style-editorial .ats-formulaire .ats-aide, body.ats-style-editorial .ats-formulaire .ats-etat {
  color: var(--ats-texte-sourd);
  font-family: var(--ats-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  opacity: 1;
}
body.ats-style-editorial .ats-formulaire label {
  margin-bottom: 8px;
  color: var(--ats-texte-doux);
  font-family: var(--ats-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-formulaire .ats-facultatif { font-weight: 400; letter-spacing: 0.05em; text-transform: none; }
body.ats-style-editorial .ats-formulaire input[type="text"], body.ats-style-editorial .ats-formulaire input[type="email"],
body.ats-style-editorial .ats-formulaire input[type="tel"], body.ats-style-editorial .ats-formulaire textarea {
  padding: 14px 16px;
  border: 1px solid var(--ats-ligne);
  border-radius: 2px;
  background: var(--ats-fond);
  color: var(--ats-texte);
  font-family: var(--ats-sans);
  font-size: 16px;
}
body.ats-style-editorial .ats-formulaire input[type="text"]:hover, body.ats-style-editorial .ats-formulaire input[type="email"]:hover,
body.ats-style-editorial .ats-formulaire input[type="tel"]:hover, body.ats-style-editorial .ats-formulaire textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
body.ats-style-editorial .ats-formulaire input[type="text"]:focus, body.ats-style-editorial .ats-formulaire input[type="email"]:focus,
body.ats-style-editorial .ats-formulaire input[type="tel"]:focus, body.ats-style-editorial .ats-formulaire textarea:focus {
  border-color: var(--ats-accent);
  background: var(--ats-fond);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ats-accent) 18%, transparent);
}
body.ats-style-editorial .ats-formulaire textarea::placeholder { color: rgba(255, 255, 255, 0.38); }
body.ats-style-editorial .ats-js .ats-depot { border: 1px dashed rgba(255, 255, 255, 0.28); border-radius: 2px; background: var(--ats-fond); }
body.ats-style-editorial .ats-js .ats-depot-invite { padding: 26px 16px; color: var(--ats-texte-doux); }
body.ats-style-editorial .ats-depot-texte strong { color: var(--ats-texte); font-weight: 600; }
body.ats-style-editorial .ats-depot-fichier { color: var(--ats-accent); font-family: var(--ats-mono); font-size: 13px; }
body.ats-style-editorial .ats-consentement label {
  color: var(--ats-texte-sourd);
  font-family: var(--ats-sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}
body.ats-style-editorial .ats-consentement input[type="checkbox"] { border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 2px; background: var(--ats-fond); }
body.ats-style-editorial .ats-consentement input[type="checkbox"]:checked { background: var(--ats-accent); border-color: var(--ats-accent); }
body.ats-style-editorial .ats-consentement input[type="checkbox"]::after { border-color: #09090b; }
body.ats-style-editorial .ats-formulaire .ats-erreur { border-radius: 0; border-left: 3px solid #d64550; background: rgba(214, 69, 80, 0.1); color: var(--ats-texte); }
body.ats-style-editorial .ats-formulaire.ats-merci { border-left-color: #3ddc97; background: var(--ats-fond-2); }
body.ats-style-editorial .ats-detection { border-radius: 2px; font-family: var(--ats-mono); font-size: 12px; }
@media (max-width: 700px) {
  body.ats-style-editorial .ats-recherche input[type="search"], body.ats-style-editorial .ats-recherche select { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--ats-ligne); }
  body.ats-style-editorial .ats-recherche .ats-bouton { flex: 1 1 100%; justify-content: center; }
  body.ats-style-editorial .ats-annonce-entete { padding: 22px 20px; }
  body.ats-style-editorial .ats-annonce-cta .ats-bouton { width: 100%; justify-content: center; }
}

/* ---------- 2.4 : page d'une offre en deux colonnes (la fiche suit la
   lecture), retour aux offres, suite sous l'annonce, et tailles fixes :
   les blocs ne grossissent plus avec la taille de texte du thème. */
.ats-portail, .ats-carrousel, .ats-offre, .ats-formulaire { font-size: clamp(15px, 0.9em, 16.5px); }
.ats-offre { container-type: inline-size; }
.ats-offre .ats-formulaire, .ats-offre .ats-annonce-entete { font-size: 1em; }
.ats-retour { margin: 0 0 1.25rem; font-size: 0.9em; }
.ats-retour a { text-decoration: none; }
.ats-retour a::before { content: "\2190\00a0"; }
.ats-offre-grille { display: grid; gap: 1.75rem; }
.ats-offre-fiche .ats-annonce-entete { margin: 0; }
.ats-annonce-surtitre { margin: 0 0 0.9rem; font-size: 0.8em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.ats-annonce-faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.9rem 1.25rem; margin: 0 0 1rem; }
.ats-fait { margin: 0; }
.ats-fait dt { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.15rem; font-size: 0.78em; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.7; }
.ats-fait dt .ats-icone { width: 15px; height: 15px; color: var(--ats-accent); }
.ats-fait dd { margin: 0; font-size: 1.1em; font-weight: 700; }
.ats-annonce-date { margin: 0.9rem 0 0; font-size: 0.8em; opacity: 0.65; }
.ats-offre-principal > .ats-formulaire { max-width: 760px; }
.ats-suite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin: 2.5rem 0 0;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-left: 4px solid var(--ats-accent);
  border-radius: 12px;
}
.ats-suite-texte { flex: 1 1 320px; }
.ats-suite h2 { margin: 0 0 0.35rem; font-size: 1.35em; line-height: 1.2; }
.ats-suite p { margin: 0; }
.ats-suite-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ats-suite .ats-bouton-discret { background: transparent; color: inherit; border: 1px solid rgba(128, 128, 128, 0.6); }
.ats-voisines { margin-top: 2.5rem; }
@container (min-width: 900px) {
  .ats-offre-grille { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
  .ats-offre-fiche { grid-column: 2; grid-row: 1; position: sticky; top: var(--ats-haut, 104px); }
  .ats-offre-principal { grid-column: 1; grid-row: 1; }
  .ats-offre-fiche .ats-annonce-faits { grid-template-columns: 1fr 1fr; }
  .ats-offre-fiche .ats-annonce-cta .ats-bouton { width: 100%; justify-content: center; text-align: center; }
  .ats-offre-principal > .ats-annonce-corps > :first-child { margin-top: 0; }
}

/* Habillage éditorial : la même page, à la charte sombre. */
body.ats-style-editorial .ats-offre, body.ats-style-editorial .ats-suite, body.ats-style-editorial .ats-retour { font-family: var(--ats-sans); color: var(--ats-texte-doux); }
body.ats-style-editorial .ats-portail, body.ats-style-editorial .ats-carrousel, body.ats-style-editorial .ats-voisines, body.ats-style-editorial .ats-annonce-entete,
body.ats-style-editorial .ats-annonce-corps, body.ats-style-editorial .ats-formulaire { font-size: 15.5px; }
/* Un gabarit de thème en deux colonnes dont l'une ne porte que la date :
   l'offre prend toute la largeur. */
body.ats-style-editorial[class*="single-offre"] .wp-block-columns:has(.ats-offre) > .wp-block-column:not(:has(.ats-offre)) { display: none; }
body.ats-style-editorial[class*="single-offre"] .wp-block-columns:has(.ats-offre) > .wp-block-column:has(.ats-offre) { flex-basis: 100%; }
body.ats-style-editorial .ats-retour a {
  color: var(--ats-texte-sourd);
  font-family: var(--ats-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-retour a:hover { color: var(--ats-accent); }
body.ats-style-editorial .ats-offre-fiche .ats-annonce-entete { padding: 24px; }
body.ats-style-editorial .ats-annonce-surtitre {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--ats-accent);
  font-family: var(--ats-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 1;
}
body.ats-style-editorial .ats-annonce-surtitre::before { content: ""; width: 28px; height: 1px; background: var(--ats-accent); }
body.ats-style-editorial .ats-annonce-faits { gap: 0; margin: 0 0 16px; border-top: 1px solid var(--ats-ligne); }
body.ats-style-editorial .ats-fait { padding: 12px 0; border-bottom: 1px solid var(--ats-ligne); }
body.ats-style-editorial .ats-offre-fiche .ats-annonce-faits { grid-template-columns: 1fr; }
body.ats-style-editorial .ats-fait { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
body.ats-style-editorial .ats-fait dt {
  margin: 0;
  color: var(--ats-texte-sourd);
  font-family: var(--ats-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 1;
}
body.ats-style-editorial .ats-fait dd { color: var(--ats-texte); font-size: 15px; font-weight: 600; text-align: right; }
body.ats-style-editorial .ats-annonce-date { color: var(--ats-texte-sourd); font-family: var(--ats-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 1; }
body.ats-style-editorial .ats-annonce-cta .ats-bouton { justify-content: center; }
/* Sections de l'annonce numérotées, comme les rubriques du site. */
body.ats-style-editorial .ats-annonce-corps { counter-reset: ats-section; font-size: 16px; }
body.ats-style-editorial .ats-annonce-corps h2 {
  counter-increment: ats-section;
  margin: 2.4rem 0 0.9rem;
  padding: 0;
  border: 0;
  font-size: 24px;
}
body.ats-style-editorial .ats-annonce-corps h2::before {
  content: "0" counter(ats-section) " /";
  display: block;
  margin: 0 0 8px;
  color: var(--ats-accent);
  font-family: var(--ats-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
body.ats-style-editorial .ats-annonce-corps p, body.ats-style-editorial .ats-annonce-corps li { color: var(--ats-texte-doux); }
body.ats-style-editorial .ats-suite {
  margin-top: 3rem;
  padding: 28px 32px;
  border: 1px solid var(--ats-ligne);
  border-left: 3px solid var(--ats-accent);
  border-radius: 0;
  background: var(--ats-fond-2);
}
body.ats-style-editorial .ats-suite h2 { color: var(--ats-texte); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
body.ats-style-editorial .ats-suite p { color: var(--ats-texte-sourd); font-size: 15px; font-weight: 300; }
body.ats-style-editorial .ats-suite .ats-bouton::after { content: "\2192"; }
body.ats-style-editorial .ats-suite .ats-bouton-discret { background: transparent; color: var(--ats-texte); border: 1px solid rgba(255, 255, 255, 0.25); }
body.ats-style-editorial .ats-suite .ats-bouton-discret:hover { background: transparent; border-color: var(--ats-accent); color: var(--ats-accent); }
body.ats-style-editorial .ats-voisines { margin-top: 3rem; }

/* Tailles resserrées : formulaires, recherche et cartes tiennent sur un
   écran de portable sans donner l'impression d'être grossis. */
body.ats-style-editorial .ats-bouton, body.ats-style-editorial .ats-formulaire .ats-envoi .ats-bouton { padding: 13px 22px; font-size: 12.5px; }
body.ats-style-editorial .ats-formulaire { padding: clamp(1.25rem, 3vw, 1.9rem); }
body.ats-style-editorial .ats-formulaire h2 { font-size: 22px; }
body.ats-style-editorial .ats-formulaire form { margin-top: 12px; }
body.ats-style-editorial .ats-formulaire p, body.ats-style-editorial .ats-formulaire .ats-champ { margin: 0 0 16px; }
body.ats-style-editorial .ats-formulaire label { margin-bottom: 6px; font-size: 11px; }
body.ats-style-editorial .ats-formulaire input[type="text"], body.ats-style-editorial .ats-formulaire input[type="email"],
body.ats-style-editorial .ats-formulaire input[type="tel"], body.ats-style-editorial .ats-formulaire textarea { padding: 10px 13px; font-size: 15px; }
body.ats-style-editorial .ats-formulaire textarea { min-height: 104px; }
body.ats-style-editorial .ats-js .ats-depot-invite { flex-direction: row; justify-content: center; gap: 12px; padding: 16px; text-align: left; flex-wrap: wrap; }
body.ats-style-editorial .ats-depot-invite svg { width: 20px; height: 20px; }
body.ats-style-editorial .ats-depot-texte { font-size: 14px; }
body.ats-style-editorial .ats-consentement label { font-size: 13px; }
body.ats-style-editorial .ats-formulaire .ats-envoi { margin-top: 18px; }
body.ats-style-editorial .ats-recherche input[type="search"], body.ats-style-editorial .ats-recherche select { min-height: 46px; font-size: 14px; }
body.ats-style-editorial .ats-recherche .ats-bouton { min-height: 46px; }
body.ats-style-editorial .ats-carte { padding: 22px 22px 18px; }
body.ats-style-editorial .ats-carte-titre { font-size: 19px; }
body.ats-style-editorial .ats-carte-accroche { font-size: 14.5px; }

/* ---------- 2.5 : fiche métier et articles en rapport, sous l'annonce. */
.ats-lectures { margin-top: 2.5rem; }
.ats-lecture .ats-carte-pied { justify-content: flex-end; }
body.ats-style-editorial .ats-lectures { margin-top: 3rem; }
body.ats-style-editorial .ats-lectures > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.1rem;
  color: var(--ats-accent);
  font-family: var(--ats-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-lectures > h2::before { content: ""; width: 34px; height: 1px; background: var(--ats-accent); }
body.ats-style-editorial .ats-lecture .ats-carte-titre { font-size: 17px; line-height: 1.3; }

/* ---------- 2.7 : bandeau d'ouverture d'une annonce (accroche, repères,
   engagements, carte de France), vignettes des lectures, offre en pleine
   largeur. */
.ats-bandeau {
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: center;
  margin: 0 0 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 14px;
  overflow: hidden;
}
.ats-bandeau-surtitre { margin: 0 0 0.75rem; font-size: 0.8em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ats-accent); }
.ats-bandeau-accroche { margin: 0 0 1.25rem; font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.ats-bandeau-reperes, .ats-engagements { display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.ats-bandeau-reperes li { padding: 0.35rem 0.8rem; border: 1px solid rgba(128, 128, 128, 0.5); border-radius: 99px; font-size: 0.9em; font-weight: 600; }
.ats-bandeau-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.ats-bandeau .ats-bouton-discret { background: transparent; color: inherit; border: 1px solid rgba(128, 128, 128, 0.6); }
.ats-engagements { gap: 0.4rem 1.5rem; margin: 1.4rem 0 0; font-size: 0.85em; }
.ats-engagements li { display: flex; align-items: center; gap: 0.5rem; }
.ats-engagements li::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--ats-accent); }
.ats-engagements-bas { margin: 2.5rem 0 1rem; }
.ats-bandeau-carte { margin: 0; justify-self: center; width: min(100%, 340px); }
.ats-carte-france { display: block; width: 100%; height: auto; overflow: visible; }
.ats-carte-terre { fill: color-mix(in srgb, var(--ats-accent) 7%, transparent); stroke: var(--ats-accent); stroke-width: 1.3; stroke-linejoin: round; }
.ats-carte-point { fill: var(--ats-accent); }
.ats-carte-onde { fill: none; stroke: var(--ats-accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ats-onde 2.4s ease-out infinite; }
.ats-carte-ville { fill: currentColor; font-size: 15px; font-weight: 700; }
@keyframes ats-onde { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ats-carte-onde { animation: none; } }
@container (min-width: 820px) {
  .ats-bandeau { grid-template-columns: minmax(0, 1fr) 340px; }
}
.ats-lecture { overflow: hidden; }
.ats-lecture-image { margin: -1.25rem -1.25rem 1rem; aspect-ratio: 16 / 9; overflow: hidden; }
.ats-lecture-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ats-lecture:hover .ats-lecture-image img { transform: scale(1.04); }
.ats-annonce-corps { max-width: 760px; }

body.ats-style-editorial[class*="single-offre"] .wp-block-columns:has(.ats-offre) > .wp-block-column:has(.ats-offre) { flex-basis: 100% !important; flex-grow: 1; max-width: none; }
body.ats-style-editorial[class*="single-offre"] .wp-block-post-title, body.ats-style-editorial[class*="single-offre"] h1.entry-title {
  color: var(--ats-texte);
  font-family: var(--ats-sans);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
body.ats-style-editorial .ats-bandeau {
  position: relative;
  border: 1px solid var(--ats-ligne);
  border-radius: 0;
  background:
    radial-gradient(520px 320px at 88% 40%, color-mix(in srgb, var(--ats-accent) 13%, transparent), transparent 70%),
    linear-gradient(var(--ats-ligne) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--ats-ligne) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--ats-fond);
  background-blend-mode: normal, soft-light, soft-light, normal;
  font-family: var(--ats-sans);
  color: var(--ats-texte-doux);
}
body.ats-style-editorial .ats-bandeau::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--ats-accent); }
body.ats-style-editorial .ats-bandeau-surtitre {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ats-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
body.ats-style-editorial .ats-bandeau-surtitre::before { content: ""; width: 34px; height: 1px; background: var(--ats-accent); }
body.ats-style-editorial .ats-bandeau-accroche { color: var(--ats-texte); font-size: clamp(22px, 2.5vw, 32px); }
body.ats-style-editorial .ats-bandeau-reperes li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ats-texte);
  font-family: var(--ats-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-bandeau .ats-bouton:first-child::after { content: "\2193"; }
body.ats-style-editorial .ats-bandeau .ats-bouton-discret { background: transparent; color: var(--ats-texte); border: 1px solid rgba(255, 255, 255, 0.25); }
body.ats-style-editorial .ats-bandeau .ats-bouton-discret:hover { background: transparent; border-color: var(--ats-accent); color: var(--ats-accent); }
body.ats-style-editorial .ats-engagements { color: var(--ats-texte-sourd); font-family: var(--ats-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
body.ats-style-editorial .ats-carte-terre { fill: rgba(255, 255, 255, 0.03); stroke: color-mix(in srgb, var(--ats-accent) 75%, transparent); }
body.ats-style-editorial .ats-carte-ville { fill: var(--ats-texte); font-family: var(--ats-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
body.ats-style-editorial .ats-lecture-image { margin: -22px -22px 18px; }
body.ats-style-editorial .ats-lecture-image img { filter: saturate(0.9); }
body.ats-style-editorial .ats-offre-principal > .ats-engagements-bas { margin: 2.5rem 0 14px; }

.ats-offre .ats-lectures .ats-grille, .ats-offre .ats-voisines .ats-grille { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- 2.8 : titre de l'offre dans le bandeau, carte de France des
   offres (portail et carrousel), recherche en barre et filtres en pastilles. */
[class*="single-offre"] main > .wp-block-group:has(.ats-titre-retire):not(:has(.ats-offre)) { display: none; }
[class*="single-offre"] .entry-header:has(~ * .ats-bandeau-titre) .entry-title { display: none; }
.ats-bandeau-titre { margin: 0 0 0.9rem; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
.ats-bandeau-accroche { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 400; line-height: 1.45; letter-spacing: -0.005em; opacity: 0.85; max-width: 46em; }

.ats-portail-tete { display: grid; gap: 1.5rem 2.5rem; align-items: center; margin: 0 0 1.75rem; }
.ats-portail-tete .ats-recherche { display: block; margin: 0; }
.ats-recherche-barre { position: relative; display: flex; align-items: stretch; gap: 0.6rem; }
.ats-recherche-barre .ats-icone { position: absolute; left: 1rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); opacity: 0.6; pointer-events: none; }
.ats-recherche-barre input[type="search"] { flex: 1 1 auto; min-width: 0; padding-left: 2.9rem; }
.ats-facettes { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.25rem; }
.ats-facette { min-width: 0; margin: 0; padding: 0; border: 0; }
.ats-facette legend, .ats-facette-liste label { display: block; margin: 0 0 0.45rem; padding: 0; font-size: 0.75em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; }
.ats-pastilles { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ats-pastille { position: relative; cursor: pointer; }
.ats-pastille input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ats-pastille span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 99px;
  font-size: 0.88em;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ats-pastille:hover span { border-color: var(--ats-accent); }
.ats-pastille input:checked + span { background: var(--ats-accent); border-color: var(--ats-accent); color: var(--ats-sur-accent); }
.ats-pastille input:focus-visible + span { outline: 2px solid var(--ats-accent); outline-offset: 2px; }
.ats-recherche-pied { margin: 1rem 0 0; font-size: 0.85em; }

.ats-carte-des-offres { margin: 0; justify-self: center; width: min(100%, 360px); }
.ats-carte-des-offres figcaption { margin-top: 0.4rem; font-size: 0.75em; text-align: center; opacity: 0.6; }
.ats-carte-lien { cursor: pointer; text-decoration: none; }
.ats-carte-zone { fill: transparent; }
.ats-carte-offres .ats-carte-onde { animation: none; opacity: 0; }
.ats-carte-offres .ats-carte-point { transition: r 0.15s ease, fill 0.15s ease; fill: color-mix(in srgb, var(--ats-accent) 80%, transparent); }
.ats-carte-nombre { fill: var(--ats-sur-accent); font-size: 9px; font-weight: 700; pointer-events: none; }
.ats-carte-offres .ats-carte-ville { opacity: 0; transition: opacity 0.15s ease; pointer-events: none; paint-order: stroke; stroke: rgba(0, 0, 0, 0.55); stroke-width: 3px; }
.ats-carte-lien:hover .ats-carte-ville, .ats-carte-lien:focus .ats-carte-ville, .ats-carte-lien.ats-actif .ats-carte-ville { opacity: 1; }
.ats-carte-lien:hover .ats-carte-point, .ats-carte-lien:focus .ats-carte-point, .ats-carte-lien.ats-actif .ats-carte-point { fill: var(--ats-accent); }
.ats-carte-lien.ats-actif .ats-carte-onde { opacity: 1; animation: ats-onde 2s ease-out infinite; }
.ats-carte-lien:focus { outline: none; }
.ats-carte-lien:focus-visible .ats-carte-zone { stroke: var(--ats-accent); stroke-width: 1.5; }
.ats-carrousel-corps { display: grid; gap: 1.5rem; align-items: center; min-width: 0; }
.ats-carrousel-corps > .ats-carrousel-piste { min-width: 0; }
.ats-carrousel { container-type: inline-size; }
.ats-portail { container-type: inline-size; }
@container (min-width: 900px) {
  .ats-portail-tete.ats-avec-carte { grid-template-columns: minmax(0, 1fr) 320px; }
  .ats-carrousel-corps.ats-avec-carte { grid-template-columns: 300px minmax(0, 1fr); gap: 2.5rem; }
}
@container (max-width: 899px) {
  .ats-carrousel-corps .ats-carte-des-offres { display: none; }
  .ats-portail-tete .ats-carte-des-offres { width: min(100%, 280px); }
}
@media (prefers-reduced-motion: reduce) { .ats-carte-lien.ats-actif .ats-carte-onde { animation: none; } }

body.ats-style-editorial .ats-bandeau-titre { color: var(--ats-texte); font-family: var(--ats-sans); font-size: clamp(36px, 4.8vw, 60px); font-weight: 600; }
body.ats-style-editorial .ats-bandeau-accroche { color: var(--ats-texte-doux); font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; opacity: 1; }
body.ats-style-editorial .ats-bandeau { padding: clamp(28px, 4.5vw, 56px); }
body.ats-style-editorial[class*="single-offre"] main > .wp-block-group:has(.ats-offre) { padding-top: clamp(20px, 3vw, 40px); }

body.ats-style-editorial .ats-portail {
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  background:
    radial-gradient(560px 340px at 92% 12%, color-mix(in srgb, var(--ats-accent) 11%, transparent), transparent 70%),
    var(--ats-fond);
}
body.ats-style-editorial .ats-portail-tete .ats-recherche { border: 0; background: none; }
body.ats-style-editorial .ats-recherche-barre { gap: 0; border: 1px solid var(--ats-ligne); background: var(--ats-fond-2); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
body.ats-style-editorial .ats-recherche-barre:focus-within { border-color: var(--ats-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ats-accent) 16%, transparent); }
body.ats-style-editorial .ats-recherche-barre .ats-icone { color: var(--ats-accent); opacity: 1; }
body.ats-style-editorial .ats-recherche-barre input[type="search"] { min-height: 58px; padding-left: 50px; border: 0; font-size: 17px; }
body.ats-style-editorial .ats-recherche-barre input[type="search"]:focus { box-shadow: none; }
body.ats-style-editorial .ats-recherche-barre .ats-bouton { min-height: 58px; padding: 0 28px; border-radius: 0; }
body.ats-style-editorial .ats-facettes { gap: 18px 36px; margin-top: 22px; }
body.ats-style-editorial .ats-facette legend, body.ats-style-editorial .ats-facette-liste label {
  color: var(--ats-texte-sourd);
  font-family: var(--ats-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 1;
}
body.ats-style-editorial .ats-pastille span {
  padding: 7px 13px;
  border: 1px solid var(--ats-ligne);
  border-radius: 2px;
  background: var(--ats-fond-2);
  color: var(--ats-texte-doux);
  font-family: var(--ats-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-pastille:hover span { border-color: var(--ats-accent); color: var(--ats-texte); }
body.ats-style-editorial .ats-pastille input:checked + span { background: var(--ats-accent); border-color: var(--ats-accent); color: #09090b; }
body.ats-style-editorial .ats-facette-liste select {
  min-height: 34px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--ats-ligne);
  border-radius: 2px;
  background: var(--ats-fond-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ffffff' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--ats-texte);
  font-family: var(--ats-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  -webkit-appearance: none;
  appearance: none;
}
body.ats-style-editorial .ats-recherche-pied { margin-top: 16px; }
body.ats-style-editorial .ats-reinitialiser { padding: 0; }
body.ats-style-editorial .ats-carte-des-offres figcaption { color: var(--ats-texte-sourd); font-family: var(--ats-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 1; }
body.ats-style-editorial .ats-carte-nombre { fill: #09090b; font-family: var(--ats-mono); }
body.ats-style-editorial .ats-carrousel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--ats-ligne); background: var(--ats-fond); }
body.ats-style-editorial .ats-carte.ats-survol-carte { border-left-color: var(--ats-accent); background: var(--ats-fond-3); }

.ats-carte-lien.ats-survol .ats-carte-ville { opacity: 1; }
.ats-carte-lien.ats-survol .ats-carte-point { fill: var(--ats-accent); }
.ats-carte-lien.ats-survol .ats-carte-onde { opacity: 1; animation: ats-onde 2s ease-out infinite; }
.ats-portail-tete { grid-template-columns: minmax(0, 1fr); }
.ats-portail-tete > *, .ats-facette { min-width: 0; min-inline-size: 0; }
@media (max-width: 600px) {
  .ats-recherche-barre { flex-wrap: wrap; }
  .ats-recherche-barre .ats-bouton { flex: 1 1 100%; justify-content: center; }
}

.ats-bandeau .ats-bandeau-titre { padding: 0; border: 0; text-transform: none; }

/* Une ancre ne doit pas arriver sous l'en-tête fixe du site. */
#ats-offres, #postuler { scroll-margin-top: var(--ats-haut, 110px); }


/* ---------- Formulaire de contact en deux volets (2.9). À gauche, à qui
   l'on écrit et ce qu'il advient du message ; à droite, la saisie. Les
   volets se placent côte à côte selon la largeur du bloc lui-même (pas de
   l'écran) : dans une colonne étroite, ils s'empilent. */
.ats-formulaire.ats-volets { padding: 0; overflow: hidden; container-type: inline-size; }
.ats-volets-cadre { display: grid; grid-template-columns: minmax(0, 1fr); }
.ats-volets-volet,
.ats-volets-saisie { padding: clamp(1.25rem, 4vw, 2.25rem); min-width: 0; }
.ats-volets-volet {
  background: color-mix(in srgb, var(--ats-accent) 9%, transparent);
  border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}
@container (min-width: 780px) {
  .ats-volets-cadre { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ats-volets-volet { display: flex; flex-direction: column; border-bottom: 0; border-right: 1px solid rgba(128, 128, 128, 0.25); }
  .ats-volets-volet .ats-volets-garanties { margin-top: auto; }
}
.ats-formulaire .ats-volets-surtitre {
  margin: 0 0 0.6rem;
  color: var(--ats-accent);
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ats-formulaire .ats-volets-titre { margin: 0 0 0.8rem; font-size: 1.7em; line-height: 1.15; }
.ats-formulaire .ats-volets-texte { margin: 0 0 1.4rem; opacity: 0.85; }
.ats-volets-garanties { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; font-size: 0.9em; }
.ats-volets-garanties li { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0; }
.ats-volets-garanties svg { flex: none; margin-top: 0.22em; color: var(--ats-accent); }
.ats-volets .ats-volets-saisie form { margin-top: 0; }
.ats-volets .ats-legende { margin: 0.9rem 0 0; }
.ats-volets-saisie.ats-merci { display: grid; align-content: center; outline: 0; }
.ats-volets-saisie.ats-merci p { margin: 0; padding-left: 1rem; border-left: 3px solid #3ddc97; }

/* « Vous êtes » : trois pastilles, une seule cochée. */
.ats-profils { margin: 0 0 1.25rem; padding: 0; border: 0; min-inline-size: 0; }
.ats-profils legend { padding: 0; margin-bottom: 0.5rem; font-size: 0.9em; font-weight: 600; }
.ats-profils-choix { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ats-formulaire label.ats-profil { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.ats-profil input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ats-profil span {
  padding: 0.5rem 0.95rem;
  border: 1.5px solid rgba(128, 128, 128, 0.55);
  border-radius: 999px;
  font-size: 0.92em;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.ats-profil:hover span { border-color: var(--ats-accent); }
.ats-profil input:checked + span { border-color: var(--ats-accent); background: var(--ats-accent); color: var(--ats-sur-accent); }
.ats-profil input:focus-visible + span { box-shadow: 0 0 0 3px var(--ats-halo); }

.ats-compteur { display: block; margin-top: 0.3rem; text-align: right; font-size: 0.78em; opacity: 0.55; font-variant-numeric: tabular-nums; }
.ats-compteur-plein { color: #d64550; opacity: 1; }

/* Pièce jointe : la zone de dépôt en une ligne, avec de quoi la retirer. */
.ats-js .ats-depot-ligne .ats-depot-invite {
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  text-align: left;
}
.ats-depot-ligne .ats-depot-invite svg { flex: none; }
.ats-depot-ligne.ats-depot-rempli .ats-depot-texte { display: none; }
.ats-depot-ligne.ats-depot-rempli .ats-depot-invite { padding-right: 6.5rem; }
.ats-depot-retirer {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  z-index: 1;
  transform: translateY(-50%);
  padding: 0.2rem 0.3rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.82em;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.ats-depot-retirer:hover { color: var(--ats-accent); }

/* Habillage éditorial. */
body.ats-style-editorial .ats-formulaire.ats-volets { padding: 0; }
body.ats-style-editorial .ats-volets-volet,
body.ats-style-editorial .ats-volets-saisie { padding: clamp(1.4rem, 4cqw, 2.4rem); }
body.ats-style-editorial .ats-volets-volet {
  border-color: var(--ats-ligne);
  background:
    radial-gradient(110% 70% at 0% 0%, color-mix(in srgb, var(--ats-accent) 13%, transparent), transparent 62%),
    var(--ats-fond);
}
body.ats-style-editorial .ats-formulaire .ats-volets-surtitre {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--ats-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
body.ats-style-editorial .ats-volets-surtitre::before { content: ""; width: 22px; height: 1px; background: var(--ats-accent); }
body.ats-style-editorial .ats-formulaire .ats-volets-titre {
  margin-bottom: 14px;
  color: var(--ats-texte);
  font-size: clamp(26px, 4.4cqw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
body.ats-style-editorial .ats-formulaire .ats-volets-texte { margin-bottom: 26px; color: var(--ats-texte-doux); font-size: 15.5px; font-weight: 300; opacity: 1; }
body.ats-style-editorial .ats-volets-garanties { gap: 0; font-size: 13.5px; color: var(--ats-texte-sourd); }
body.ats-style-editorial .ats-volets-garanties li { padding: 12px 0; border-top: 1px solid var(--ats-ligne); }
body.ats-style-editorial .ats-profils legend {
  margin-bottom: 8px;
  color: var(--ats-texte-doux);
  font-family: var(--ats-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-profil span {
  padding: 9px 14px;
  border: 1px solid var(--ats-ligne);
  border-radius: 2px;
  background: var(--ats-fond);
  color: var(--ats-texte-doux);
  font-family: var(--ats-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.ats-style-editorial .ats-profil:hover span { border-color: rgba(255, 255, 255, 0.4); color: var(--ats-texte); }
body.ats-style-editorial .ats-profil input:checked + span { border-color: var(--ats-accent); background: var(--ats-accent); color: #09090b; }
body.ats-style-editorial .ats-compteur { color: var(--ats-texte-sourd); font-family: var(--ats-mono); font-size: 11px; opacity: 1; }
body.ats-style-editorial .ats-compteur-plein { color: #ff8a93; }
body.ats-style-editorial .ats-js .ats-depot-ligne .ats-depot-invite { justify-content: flex-start; padding: 13px 14px; flex-wrap: nowrap; }
body.ats-style-editorial .ats-depot-retirer { color: var(--ats-texte-sourd); font-family: var(--ats-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
body.ats-style-editorial .ats-volets-saisie.ats-merci p { color: var(--ats-texte); }
.ats-volets-garanties .ats-volets-drapeau { margin-top: 0.36em; border-radius: 1.5px; box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.45); }

/* Volet : les trois temps de la suite, entre le texte et les garanties. */
.ats-volets-etapes { margin: 0 0 1.6rem; padding: 0; list-style: none; display: grid; gap: 0.9rem; }
.ats-volets-etapes li { display: flex; gap: 0.9rem; align-items: baseline; margin: 0; }
.ats-volets-rang { flex: none; color: var(--ats-accent); font-weight: 700; font-variant-numeric: tabular-nums; }
@container (min-width: 780px) {
  .ats-volets-volet .ats-volets-etapes { margin: auto 0; padding: 1.5rem 0; }
  .ats-volets-volet .ats-volets-garanties { margin-top: 0; }
}
body.ats-style-editorial .ats-volets-etapes { gap: 0; color: var(--ats-texte); font-size: 16px; }
body.ats-style-editorial .ats-volets-etapes li { gap: 16px; padding: 14px 0; }
body.ats-style-editorial .ats-volets-rang { font-family: var(--ats-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
