/* ==========================================================================
   CARexplorer — page de recherche (le chat), design « La Nuit », version 1
   Référence : design/reference/chat-1 à chat-3, planches 8 et 9 ; spec : design/specs/CHAT.md.
   Dépend de tokens.css, motion.css et cx.css. Les dimensions sans variable viennent des maquettes.
   Seule la largeur de 1440 px est dessinée : les règles sous 1280 px suivent la base de travail de la
   spec (« Adaptation aux écrans ») et restent à faire valider.
   ========================================================================== */

/* ---------- Écran d'application : la hauteur de la fenêtre, rien ne déborde ---------- */
body.cx-application { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
.cx-app { flex: 1 1 auto; min-height: 0; display: flex; }
.cx .cx-conversation { flex: 1 1 auto; min-width: 0; min-height: 0; display: flex; flex-direction: column; }

/* Menu de l'application : une ligne de 56 px, plus calme que sur l'accueil. */
.cx-entete--application .cx-entete__ligne { height: var(--cx-h-entete-compact); padding: 0 var(--cx-e-5); }
.cx-entete--application .cx-entete__nav { margin-left: 20px; }
.cx-beta {
  display: inline-flex; align-items: center; height: 18px; margin-left: 10px; padding: 0 6px;
  border-radius: var(--cx-r-etiquette); background: var(--cx-surface-haute); color: var(--cx-brume);
  font: 600 11px/16px var(--cx-police-texte);
}
.cx-volet-ouvrir { display: none; margin-left: calc(var(--cx-e-2) * -1); margin-right: var(--cx-e-1); }

/* ---------- Colonne de gauche, fixe : ce qui sert à la recherche (pour tous ; le visiteur est invité à se connecter) ---------- */
.cx-volet {
  flex: 0 0 var(--cx-l-volet); width: var(--cx-l-volet); min-height: 0;
  display: flex; flex-direction: column; padding: var(--cx-e-4) var(--cx-e-3) 0;
  border-right: var(--cx-trait) solid var(--cx-filet); background: var(--cx-nuit);
}
.cx-volet__haut { display: flex; align-items: center; gap: var(--cx-e-1); }
.cx-volet__nouvelle {
  display: flex; align-items: center; gap: 10px; flex: 1 1 auto; height: var(--cx-cible); padding: 0 var(--cx-e-4);
  border-radius: var(--cx-r-pilule); background: var(--cx-surface-haute); font: var(--cx-t-interface); color: var(--cx-lune);
  transition: background var(--cx-d-etat);
}
.cx-volet__nouvelle:hover { background: var(--cx-relief); }
.cx-volet__nouvelle svg { transition: transform var(--cx-d-icone) var(--cx-courbe); }
.cx-volet__nouvelle:hover svg { transform: rotate(90deg); }
.cx-volet__fermer { display: none; border: 0; background: none; }
.cx-volet__titre {
  display: flex; align-items: center; justify-content: space-between; height: 16px; margin: var(--cx-e-5) 0 var(--cx-e-2);
  padding: 0 var(--cx-e-3); font: var(--cx-t-etiquette); color: var(--cx-legende);
}
.cx-volet__titre--action { margin-bottom: 0; }
.cx-volet__titre a { display: flex; align-items: center; height: var(--cx-cible); color: var(--cx-brume); }
.cx-volet__titre a:hover { color: var(--cx-lune); }
.cx-volet__lien {
  display: flex; align-items: center; gap: var(--cx-e-3); height: 40px; padding: 0 var(--cx-e-3);
  border-radius: var(--cx-r-puce); font: 500 14px/20px var(--cx-police-texte); color: var(--cx-brume);
}
.cx-volet__lien:hover, .cx-volet__recherche:hover { background: var(--cx-surface); }
.cx-volet__compteur {
  margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--cx-r-etiquette);
  background: var(--cx-surface-haute); color: var(--cx-lune); font: 600 12px/20px var(--cx-police-texte); text-align: center;
}
.cx-volet__recherches { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 calc(var(--cx-e-3) * -1); padding: 0 var(--cx-e-3) var(--cx-e-3); scrollbar-width: thin; scrollbar-color: var(--cx-contour) transparent; }
.cx-volet__groupe { margin: 10px 0 2px; padding: 0 var(--cx-e-3); font: var(--cx-t-legende); color: var(--cx-legende); }
.cx-volet__recherche {
  display: flex; flex-direction: column; justify-content: center; height: 52px; padding: 0 var(--cx-e-3);
  border-radius: var(--cx-r-puce);
}
.cx-volet__recherche b, .cx-volet__recherche i { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cx-volet__recherche b { font: 500 14px/20px var(--cx-police-texte); color: var(--cx-lune); }
.cx-volet__recherche i { font: var(--cx-t-legende); font-style: normal; color: var(--cx-legende); }
.cx .cx-volet__recherche[aria-current] { background: var(--cx-surface-haute); }
.cx-volet__recherche[aria-current] b { font-weight: 600; }
.cx-volet__vide { margin: var(--cx-e-3) var(--cx-e-3) 0 !important; font: var(--cx-t-detail); color: var(--cx-legende); }
.cx-volet__bas { margin: 0 calc(var(--cx-e-3) * -1); padding: var(--cx-e-2) var(--cx-e-3); border-top: var(--cx-trait) solid var(--cx-filet); }
.cx-volet__bas--visiteur { display: grid; gap: var(--cx-e-1); padding: var(--cx-e-3); }
.cx-volet__bas--visiteur .cx-bouton { width: 100%; }
.cx-volet__creer { display: flex; align-items: center; justify-content: center; min-height: var(--cx-cible); font: var(--cx-t-interface); }
.cx a.cx-volet__creer { color: var(--cx-brume); }
.cx a.cx-volet__creer:hover { color: var(--cx-lune); }
.cx-volet-voile { position: fixed; inset: 0; z-index: 14; background: color-mix(in srgb, var(--cx-nuit) 72%, transparent); }

/* ---------- Conversation : une colonne centrée de 760 px ---------- */
.cx-fil { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--cx-contour) transparent; }
.cx-fil__colonne, .cx-quai__colonne { width: 100%; max-width: calc(var(--cx-l-conversation) + 2 * var(--cx-e-4)); margin: 0 auto; padding: 0 var(--cx-e-4); }
.cx-fil__colonne { display: flex; flex-direction: column; padding-bottom: var(--cx-e-5); }
.cx-messages { display: flex; flex-direction: column; }

/* Bandeau de recherche : collé en haut pendant le défilement ; la conversation passe dessous. */
.cx-bandeau-zone { position: sticky; top: 0; z-index: 2; padding-top: var(--cx-e-3); background: var(--cx-nuit); }
.cx-bandeau-recherche {
  display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 var(--cx-e-2) 0 var(--cx-e-1);
  border-radius: var(--cx-r-carte); background: var(--cx-surface);
}
.cx-bascule--nuit { flex: 0 0 auto; margin-right: var(--cx-e-1); background: var(--cx-nuit); }
.cx-bandeau-recherche__criteres { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 6px 0; }
.cx-bandeau-recherche__criteres::-webkit-scrollbar { display: none; }
.cx-bandeau-recherche__criteres:empty::before { content: "L’IA affiche ici ce qu’elle a compris de votre recherche"; font: var(--cx-t-detail); color: var(--cx-legende); white-space: nowrap; padding-left: var(--cx-e-1); }
.cx-critere {
  position: relative; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; height: var(--cx-h-critere);
  padding: 0 var(--cx-e-2) 0 10px; border: 0; border-radius: var(--cx-r-photo); background: var(--cx-bleu-doux);
  font: 600 13px/18px var(--cx-police-texte); white-space: nowrap; cursor: pointer; transition: background var(--cx-d-etat);
}
.cx button.cx-critere { font: 600 13px/18px var(--cx-police-texte); color: var(--cx-bleu-doux-texte); }
.cx-critere::before, .cx-bandeau-recherche__bouton::before { content: ""; position: absolute; inset: -6px 0; }
.cx-critere:hover { background: var(--cx-bleu-doux-survol); }
.cx-bandeau-recherche__bouton {
  position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 var(--cx-h-critere);
  width: var(--cx-h-critere); height: var(--cx-h-critere); padding: 0; border: 0; border-radius: var(--cx-r-photo);
  background: transparent; cursor: pointer;
}
.cx button.cx-bandeau-recherche__bouton { color: var(--cx-brume); }
.cx button.cx-bandeau-recherche__bouton:hover { background: var(--cx-surface-haute); color: var(--cx-lune); }

/* Seul l'utilisateur parle dans une bulle. */
.cx-bulle {
  align-self: flex-end; max-width: 78%; margin: 20px 0 0 !important; padding: var(--cx-e-3) var(--cx-e-4);
  border-radius: 18px 18px var(--cx-r-etiquette) 18px; background: var(--cx-surface-haute);
  font: var(--cx-t-texte); overflow-wrap: anywhere;
}

/* Un tour de l'IA : ligne d'état, étapes, texte à même la page, annonces, mise en garde. */
.cx-tour { display: flex; flex-direction: column; }
.cx-etat {
  display: flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 28px; margin-top: 20px; padding: 0;
  border: 0; background: transparent; text-align: left;
}
.cx .cx-etat { font: var(--cx-t-texte-s); color: var(--cx-brume); }
.cx button.cx-etat { cursor: pointer; transition: color var(--cx-d-etat); }
.cx button.cx-etat:hover { color: var(--cx-lune); }
.cx-etat--travail > span:last-child { font: 500 16px/24px var(--cx-police-texte); }
.cx-etat svg { transition: transform var(--cx-d-survol) var(--cx-courbe); }
.cx-etat[aria-expanded="true"] svg { transform: rotate(180deg); }
.cx-etapes { margin: var(--cx-e-2) 0 0 30px; }
.cx-etape { display: flex; align-items: center; gap: 10px; min-height: 32px; font: var(--cx-t-texte-s); color: var(--cx-lune); }
.cx-etape > svg, .cx-etape > .cx-symbole { flex: 0 0 16px; }
.cx-etape--faite > svg { color: var(--cx-atout); }
.cx-etape--attente { color: var(--cx-legende); }
.cx-etape--attente > svg { color: var(--cx-gris-repere); }
.cx-etapes .cx-progression { margin: 2px 0 6px 26px; max-width: 280px; }

.cx-reponse { margin-top: 10px !important; font: var(--cx-t-texte); color: var(--cx-lune); overflow-wrap: anywhere; }
.cx-reponse p + p, .cx-reponse ul, .cx-reponse ol { margin-top: var(--cx-e-3); }
.cx-reponse b, .cx-reponse strong { font-weight: 600; }
.cx-reponse ul, .cx-reponse ol { margin-bottom: 0; padding-left: 22px; }
.cx-reponse li + li { margin-top: var(--cx-e-1); }
.cx .cx-reponse a { color: var(--cx-bleu-doux-texte); text-decoration: underline; text-underline-offset: 3px; }

/* Cartes de résultat : deux ou trois côte à côte. */
.cx-resultats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cx-e-3); margin-top: var(--cx-e-4); }
.cx-carte-resultat {
  display: flex; flex-direction: column; padding: var(--cx-e-2); border-radius: var(--cx-r-carte);
  background: var(--cx-surface); transition: background var(--cx-d-etat);
}
.cx a.cx-carte-resultat:hover { background: var(--cx-surface-haute); }
.cx-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--cx-r-photo); background: var(--cx-relief); }
.cx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cx-carte-resultat__corps { display: flex; flex-direction: column; flex: 1 1 auto; padding: var(--cx-e-3) 6px 6px; }
.cx-carte-resultat h3 { margin-top: var(--cx-e-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: var(--cx-t-titre-carte-s); color: var(--cx-lune); }
.cx-carte-resultat .cx-etiquette + h3 { margin-top: var(--cx-e-2); }
.cx-carte-resultat h3:first-child { margin-top: 0; }
.cx-carte-resultat__detail { margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: var(--cx-t-detail); color: var(--cx-brume); }
.cx-carte-resultat__raison {
  margin-top: var(--cx-e-2); font: var(--cx-t-detail); color: var(--cx-lune);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
/* Le filet et le prix restent en bas de la carte, alignés d'une carte à l'autre. */
.cx-carte-resultat__filet { display: block; flex: 0 0 var(--cx-trait); height: var(--cx-trait); margin-top: auto; background: var(--cx-filet); }
.cx-carte-resultat__corps > :nth-last-child(3) { margin-bottom: 10px; }
.cx a.cx-carte-resultat:hover .cx-carte-resultat__filet { background: var(--cx-contour); }
.cx-carte-resultat__prix { display: flex; align-items: baseline; justify-content: space-between; gap: var(--cx-e-2); padding-top: 10px; }
.cx-carte-resultat__prix .cx-prix { white-space: nowrap; }
.cx-origine { display: inline-flex; align-items: center; gap: var(--cx-e-1); min-width: 0; font: var(--cx-t-legende); color: var(--cx-legende); white-space: nowrap; }

/* Le cœur : une zone de 44 px sur la photo, un disque de 36 ; plein et bleu quand l'annonce est gardée. */
.cx-carte-zone { position: relative; display: flex; min-width: 0; }
.cx-carte-zone > a { flex: 1 1 auto; min-width: 0; }
.cx-coeur {
  position: absolute; right: 10px; top: 10px; display: flex; align-items: center; justify-content: center;
  width: var(--cx-cible); height: var(--cx-cible); padding: 0; border: 0; background: transparent; cursor: pointer;
}
.cx button.cx-coeur { color: var(--cx-lune); }
.cx-coeur::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: color-mix(in srgb, var(--cx-nuit) 72%, transparent); transition: background var(--cx-d-etat); }
.cx-coeur:hover::before { background: var(--cx-nuit); }
.cx-coeur svg { position: relative; }
.cx button.cx-coeur[aria-pressed="true"], .cx .cx-coeur-bouton[aria-pressed="true"] svg { color: var(--cx-bleu); }
.cx-coeur[aria-pressed="true"] svg, .cx-coeur-bouton[aria-pressed="true"] svg { fill: currentColor; }

/* En attente : des cartes à la forme des cartes à venir. */
.cx-carte-resultat--attente .cx-squelette { display: block; border-radius: var(--cx-r-etiquette); background: var(--cx-surface-haute); }
.cx-carte-resultat--attente .cx-squelette--photo { aspect-ratio: 3 / 2; border-radius: var(--cx-r-photo); }

/* Carte vedette : une seule annonce, avec le bouton bleu de l'écran. */
.cx-vedette { margin-top: var(--cx-e-4); padding: var(--cx-e-2); border-radius: var(--cx-r-carte); background: var(--cx-surface); }
.cx-vedette__grille { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; }
.cx-vedette .cx-photo { aspect-ratio: auto; min-height: 248px; }
.cx-vedette__contenu { display: flex; flex-direction: column; padding: var(--cx-e-2) var(--cx-e-3) var(--cx-e-2) 0; min-width: 0; }
.cx-vedette h3 { margin-top: var(--cx-e-2); font: 600 17px/24px var(--cx-police-texte); color: var(--cx-lune); }
.cx-vedette__detail { margin-top: 2px; font: var(--cx-t-detail); color: var(--cx-brume); }
.cx-vedette__vendeur { margin-top: 2px; }
.cx-vedette__prix { margin-top: var(--cx-e-4); font: var(--cx-t-prix-grand); letter-spacing: var(--cx-interlettrage-titre); color: var(--cx-lune); }
.cx-vedette__boutons { display: flex; flex-wrap: wrap; gap: var(--cx-e-2); margin-top: auto; padding-top: var(--cx-e-4); }
.cx-pourquoi { margin: var(--cx-e-2) var(--cx-e-2) 0; padding: 14px 0 10px; border-top: var(--cx-trait) solid var(--cx-filet); }
.cx-pourquoi__titre { font: var(--cx-t-etiquette); color: var(--cx-legende); }
.cx-pourquoi__raisons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cx-e-2) var(--cx-e-5); margin-top: 10px; }
.cx-pourquoi__raison { display: flex; gap: var(--cx-e-2); font: var(--cx-t-texte-s); color: var(--cx-lune); }
.cx-pourquoi__raison svg { flex: 0 0 16px; margin-top: 2px; color: var(--cx-atout); }
.cx-pourquoi__raison--vigilance svg { color: var(--cx-vigilance); }

/* Mise en garde : ce qu'il faut vérifier, dit sans détour. Pas de bordure colorée. */
.cx-garde {
  display: flex; gap: var(--cx-e-3); align-items: flex-start; margin-top: var(--cx-e-3); padding: var(--cx-e-3) var(--cx-e-4);
  border-radius: var(--cx-r-bascule); background: var(--cx-vigilance-fond); font: 400 14px/22px var(--cx-police-texte); color: var(--cx-vigilance-texte);
}
.cx-garde svg { flex: 0 0 auto; margin-top: 2px; color: var(--cx-vigilance); }
.cx-garde--defaut { background: var(--cx-defaut-fond); color: var(--cx-lune); }
.cx-garde--defaut svg { color: var(--cx-defaut); }
.cx-garde .cx-bouton { margin-top: var(--cx-e-2); }

/* Les autres plateformes : des recherches déjà réglées, qui s'ouvrent chez elles. */
.cx-portails { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cx-e-2); margin-top: var(--cx-e-4); }
.cx-portails__titre { flex: 0 0 100%; font: var(--cx-t-detail); color: var(--cx-brume); }
.cx-pastille svg { flex: 0 0 auto; }
.cx-pastille--icone { gap: var(--cx-e-2); }
.cx button.cx-pastille { border: 0; background: transparent; font: 500 14px/20px var(--cx-police-texte); color: var(--cx-lune); cursor: pointer; }
.cx button.cx-pastille:hover { background: var(--cx-surface-haute); }

/* Actions sous une réponse : discrètes, en gris. */
.cx-actions { display: flex; align-items: center; gap: 2px; margin: var(--cx-e-2) 0 0 -10px; }
.cx-actions .cx-bouton-icone { border: 0; background: none; border-radius: 50%; }
.cx button.cx-bouton-icone { color: var(--cx-brume); }
.cx button.cx-bouton-icone:hover { background: var(--cx-surface-haute); color: var(--cx-lune); }
.cx .cx-actions .cx-bouton-icone[aria-pressed="true"] { color: var(--cx-bleu); }
.cx-actions__retour { margin-left: var(--cx-e-2); font: var(--cx-t-legende); color: var(--cx-legende); }

/* ---------- Zone du bas : suites possibles, champ en ligne, légende ---------- */
.cx-quai { flex: 0 0 auto; padding: var(--cx-e-3) 0 14px; background: var(--cx-nuit); }
.cx-suites { display: flex; flex-wrap: wrap; gap: var(--cx-e-2); margin-bottom: 10px; }
.cx-suites:empty { display: none; }
.cx-saisie { display: block; margin: 0 -2px; padding: var(--cx-trait-selection); border-radius: calc(var(--cx-r-champ) + var(--cx-trait-selection)); }
.cx-saisie:focus-within { background: var(--cx-degrade-ciel); }
.cx-saisie__boite {
  display: flex; align-items: center; gap: var(--cx-e-1); height: 56px; padding: 0 6px 0 20px;
  border-radius: var(--cx-r-champ); background: var(--cx-surface); box-shadow: inset 0 0 0 var(--cx-trait) var(--cx-contour);
}
.cx-saisie:focus-within .cx-saisie__boite { box-shadow: none; }
.cx-saisie input {
  flex: 1 1 auto; min-width: 0; height: var(--cx-cible); padding: 0; border: 0; outline: 0; background: transparent;
  color: var(--cx-lune); font: var(--cx-t-texte);
}
.cx .cx-saisie input:focus-visible { outline: 0; }
.cx-saisie input::placeholder { color: var(--cx-legende); opacity: 1; }
.cx-saisie input:not(:placeholder-shown) ~ .cx-envoi { background: var(--cx-bleu); color: var(--cx-sur-bleu); }
.cx-saisie input:not(:placeholder-shown) ~ .cx-envoi:hover { background: var(--cx-bleu-survol); }
.cx-arret {
  display: flex; align-items: center; justify-content: center; flex: 0 0 var(--cx-cible); width: var(--cx-cible); height: var(--cx-cible);
  padding: 0; border: 0; border-radius: 50%; background: var(--cx-lune); cursor: pointer;
}
.cx-arret span { width: 14px; height: 14px; border-radius: 3px; background: var(--cx-nuit); }
.cx-arret:hover { background: var(--cx-blanc); }
.cx-quai__legende { margin-top: 10px !important; text-align: center; }
.cx .cx-quai__legende a { color: var(--cx-bleu-doux-texte); font-weight: 600; }

/* ---------- Nouvelle recherche : même structure que le premier écran de l'accueil ---------- */
.cx-fil--accueil { display: flex; overflow-x: hidden; }
.cx-nouvelle { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; padding: clamp(48px, 12.4vh, 112px) var(--cx-e-4) var(--cx-e-7); }
.cx-nouvelle__titre { margin-top: 28px !important; max-width: 760px; text-align: center; text-wrap: balance; font: var(--cx-t-grand-titre); letter-spacing: var(--cx-interlettrage-grand-titre); }
.cx-nouvelle__phrase { margin-top: var(--cx-e-5) !important; max-width: 560px; text-align: center; font: var(--cx-t-detail); color: var(--cx-legende); }

/* ==========================================================================
   Adaptation aux écrans (base de travail de la spec, à faire valider)
   ========================================================================== */
@media (max-width: 1023px) {
  /* Écran étroit : la colonne de gauche est repliée, elle glisse par-dessus la conversation à la demande. */
  .cx-volet-ouvrir { display: flex; border: 0; background: none; }
  .cx-volet {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 15; width: min(var(--cx-l-volet), 86vw);
    transform: translateX(-100%); visibility: hidden;
    transition: transform var(--cx-d-survol) var(--cx-courbe), visibility 0s linear var(--cx-d-survol);
  }
  .cx-volet--ouvert { transform: none; visibility: visible; transition: transform var(--cx-d-survol) var(--cx-courbe); }
  .cx-volet__fermer { display: flex; }
}
@media (max-width: 1023px) {
  /* Dans l'application, les rubriques sont dans le menu du bouton : la barre reste à 56 px. */
  .cx-entete--application .cx-entete__nav { display: none; }
  .cx-entete--application .cx-entete__ligne { padding: 0 var(--cx-e-2) 0 var(--cx-e-4); }
  .cx-entete--application .cx-entete__logo { margin-right: auto; }
  .cx-entete--application .cx-beta { margin-right: auto; margin-left: var(--cx-e-2); }
  .cx-entete--application .cx-entete__logo:has(+ .cx-beta) { margin-right: 0; }
}
@media (max-width: 767px) {
  /* Les cartes côte à côte défilent à l'horizontale ; le bandeau de critères aussi. */
  .cx-resultats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--cx-e-4) * -1); margin-right: calc(var(--cx-e-4) * -1); padding: 0 var(--cx-e-4); scroll-snap-type: x proximity; }
  .cx-resultats::-webkit-scrollbar { display: none; }
  .cx-resultats > * { scroll-snap-align: center; }
  .cx-vedette__grille { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cx-vedette .cx-photo { aspect-ratio: 3 / 2; min-height: 0; }
  .cx-vedette__contenu { padding: var(--cx-e-3) 6px 6px; }
  .cx-pourquoi__raisons { grid-template-columns: minmax(0, 1fr); }
  .cx-bulle { max-width: 88%; }
  .cx-quai { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .cx-suites { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--cx-e-4) * -1); margin-right: calc(var(--cx-e-4) * -1); padding: 4px var(--cx-e-4); }
  .cx-suites::-webkit-scrollbar { display: none; }
  .cx-suites > * { flex: 0 0 auto; }
  .cx-nouvelle { padding-top: var(--cx-e-7); }
  .cx-nouvelle__titre { font-size: 28px; line-height: 36px; }
  .cx-bandeau-recherche__criteres:empty::before { content: "Votre recherche, comprise par l’IA"; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-volet, .cx-volet--ouvert { transition: none; }
}
