/* Copie aux couleurs d'ActiSorty de css/olomap-recherche-phrase.css — produite par outils/actisorty_couleurs.php, ne pas modifier à la main. */
/* Recherche « en une phrase » (essai) : le champ prend la place des deux champs, dans la même boîte et avec le même bouton ;
   pastilles « J'ai compris » et lien « Recherche classique » dessous. Couleurs : celles de la charte (variables de
   css/olomap-design.css). Chargée seulement quand l'essai est allumé (libs/olomap_recherche_phrase.php).
   La saisie est une zone de texte qui grandit avec la phrase (js/olomap-recherche-phrase.js) : on la lit toujours en entier. */
.olo-phrase-cache{display:none !important}
/* accueil et pages d'activité : un seul champ blanc, comme ceux d'aujourd'hui, à la place des deux */
.olo-recherche .olo-phrase-champ{flex:2 1 0}
.olo-recherche .olo-phrase-saisie{display:block;width:100%;height:56px;max-height:152px;margin:0;padding:16px 52px 16px 48px;border:0;border-radius:14px;box-shadow:none;resize:none;overflow-y:hidden;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f2a93b'%3E%3Cpath d='M12 2l1.9 5.6L19.5 9l-5.6 1.9L12 16.5l-1.9-5.6L4.5 9l5.6-1.4zM19 14l.9 2.6 2.6.9-2.6.9L19 21l-.9-2.6-2.6-.9 2.6-.9zM5 15l.7 1.8 1.8.7-1.8.7L5 20l-.7-1.8-1.8-.7 1.8-.7z'/%3E%3C/svg%3E") no-repeat 16px 18px/20px;
  font:500 16.5px/24px "Open Sans",sans-serif;color:var(--olo-encre,#17302c)}
.olo-recherche .olo-phrase-saisie::placeholder{color:#7d8a92;font-weight:400}
.olo-recherche .olo-phrase-saisie:focus{outline:3px solid color-mix(in srgb,var(--olo-vert,#018d83) 55%,#fff);outline-offset:1px}
/* phrase sur deux lignes : le bouton reste en bas, comme l'envoi d'une conversation */
.olo-recherche form.olo-phrase-mode #searchPropertySubmit{align-self:flex-end}
.olo-phrase-geo{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;
  background:var(--olo-fond,#f4f7f8);color:var(--olo-encre,#17302c);cursor:pointer;transition:background-color .15s}
.olo-phrase-geo svg{width:20px;height:20px}
@media (hover:hover) and (pointer:fine){.olo-phrase-geo:hover{background:var(--olo-trait,#e3e9ec)}}
.olo-phrase-geo:focus-visible{outline:2px solid var(--olo-vert-fonce,#01615a);outline-offset:2px}
.olo-phrase-geo-attente{pointer-events:none;animation:olo-phrase-pouls 1s ease-in-out infinite}
/* « Où êtes-vous ? » : la phrase demande « près de chez moi » et la position n'est pas connue */
.olo-phrase-question{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:14px;font-weight:600;line-height:1.4}
.olo-phrase-localiser{display:inline-flex;align-items:center;gap:6px;min-height:34px;margin:0;padding:0 14px 0 10px;border:0;border-radius:30px;background:#fff;
  font:700 13.5px/1 "Open Sans",sans-serif;color:var(--olo-encre,#17302c);cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.12)}
.olo-phrase-localiser svg{width:18px;height:18px}
.olo-phrase-infos-accueil .olo-phrase-question{color:#fff}
@keyframes olo-phrase-pouls{50%{opacity:.35}}
.olo-phrase-attente #searchPropertySubmit{opacity:.9}
/* pastilles « J'ai compris » et lien de bascule (accueil) */
.olo-phrase-infos{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:12px 6px 0;text-align:left}
.olo-phrase-compris{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:28px}
.olo-phrase-titre{margin-right:4px;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.olo-phrase-puce{display:inline-flex;align-items:center;padding:5px 11px;border-radius:30px;font-size:13px;font-weight:600;line-height:1.25}
.olo-phrase-puce-lieu::before{content:"📍";margin-right:4px;font-size:11px}
.olo-phrase-oublier{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin:0 -5px 0 6px;padding:0;border:0;border-radius:50%;
  background:rgba(255,255,255,.18);font:700 14px/1 "Open Sans",sans-serif;color:inherit;cursor:pointer}
.olo-phrase-oublier:hover{background:rgba(255,255,255,.32)}
.olo-phrase-puce-autre{border:1px dashed;font-weight:500}
.olo-phrase-puce-retire{text-decoration:line-through;font-weight:500;opacity:.7}
.olo-phrase-puce-absent{border:1px dashed;font-weight:500;opacity:.85}
.olo-phrase-bascule{flex:0 0 auto;margin:0 0 0 auto;padding:4px 2px;border:0;background:none;font:600 13.5px/1.3 "Open Sans",sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* sur la photo de l'accueil */
.olo-phrase-infos-accueil .olo-phrase-titre{color:rgba(255,255,255,.75)}
.olo-phrase-infos-accueil .olo-phrase-puce{border:1px solid rgba(255,255,255,.3);background:rgba(1,35,31,.45);color:#fff}
.olo-phrase-infos-accueil .olo-phrase-puce-activite{border-color:#fff;background:#fff;color:var(--olo-encre,#17302c)}
.olo-phrase-infos-accueil .olo-phrase-puce-autre,.olo-phrase-infos-accueil .olo-phrase-puce-absent{border-style:dashed;background:transparent;color:rgba(255,255,255,.8)}
.olo-phrase-infos-accueil .olo-phrase-bascule{color:rgba(255,255,255,.88)}
/* téléphone : la boîte passe en colonne (comme aujourd'hui) ; le champ prend toute la largeur */
@media (max-width:767px){
  .olo-recherche .olo-phrase-champ{flex:0 0 auto}
  .olo-phrase-infos{justify-content:flex-start}
  .olo-phrase-bascule{margin-left:0}
}

/* page de résultats, version simple (façon conversation) : une boîte où la phrase se lit en entier, avec « Filtres » dedans.
   Au repos, la phrase est montrée « déjà entrée » ; un clic la rend modifiable (classe olo-phrase-active,
   posée par le script) et la flèche d'envoi n'apparaît qu'en écrivant. Le tri et les champs classiques sont dans le panneau. */
.olo-phrase-simple #oloRecherche>.olo-f-recherche,.olo-phrase-simple #oloRecherche>.olo-f-rapides{display:none !important}
.olo-phrase-barre{margin:0 0 8px}
.olo-phrase-boite{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;grid-template-areas:"texte geo filtres envoyer";align-items:end;gap:6px 0;padding:7px;
  border:1px solid var(--olo-trait,#e3e9ec);border-radius:30px;background:#fff;box-shadow:0 6px 22px rgba(15,23,42,.07);cursor:text;transition:border-color .15s,box-shadow .15s}
.olo-phrase-boite:hover{border-color:#cdd7dc}
.olo-phrase-boite.olo-phrase-active{border-color:var(--olo-vert,#018d83);box-shadow:0 0 0 4px color-mix(in srgb,var(--olo-vert,#018d83) 14%,transparent),0 6px 22px rgba(15,23,42,.07)}
/* la phrase au repos et la zone où on la modifie : même place, même lettre */
.olo-phrase-affiche,.olo-phrase-boite .olo-phrase-saisie{grid-area:texte;display:block;width:100%;min-width:0;margin:0;padding:11px 8px 11px 17px;font:500 17px/24px "Open Sans",system-ui,sans-serif;color:var(--olo-encre,#17302c)}
.olo-phrase-affiche{overflow-wrap:anywhere;cursor:text;-webkit-tap-highlight-color:transparent}
.olo-phrase-affiche-texte{outline:0}
.olo-phrase-affiche-texte:focus-visible{border-radius:4px;box-shadow:0 0 0 2px var(--olo-vert-fonce,#01615a)}
.olo-phrase-affiche-vide{font-weight:400;color:#8a97a0}
.olo-phrase-active .olo-phrase-affiche,.olo-phrase-boite:not(.olo-phrase-active) .olo-phrase-saisie{display:none}
.olo-phrase-boite .olo-phrase-saisie{height:46px;max-height:150px;border:0;border-radius:0;outline:0;resize:none;overflow-y:hidden;background:none;box-shadow:none}
.olo-phrase-boite .olo-phrase-saisie::placeholder{color:#8a97a0;font-weight:400}
.olo-phrase-boite .olo-phrase-geo-boite{position:static;grid-area:geo;align-self:end;width:40px;height:40px;margin:0 0 3px 6px}
.olo-phrase-boite .olo-f-tous{grid-area:filtres;align-self:end;height:40px;margin:0 0 3px 8px;padding:0 15px;border:0;background:var(--olo-fond,#f4f7f8);font-weight:600;color:var(--olo-encre,#17302c);transition:background .15s}
.olo-phrase-boite .olo-f-tous svg{opacity:.7}
.olo-phrase-boite .olo-f-tous:hover,.olo-phrase-boite .olo-f-tous-actif:hover{border:0;background:var(--olo-trait,#e3e9ec);color:var(--olo-encre,#17302c) !important}
/* au repos, « Filtres » se place au bout de la dernière ligne de la phrase, en format compact (la hauteur d'une ligne : il ne
   touche jamais la ligne du dessus) ; sans la place, juste dessous, à droite (classe posée par le script) */
.olo-phrase-affiche{position:relative}
.olo-phrase-boite .olo-phrase-affiche .olo-f-tous{position:absolute;right:8px;bottom:10px;gap:5px;height:26px;margin:0;padding:0 10px;font-size:13px}
.olo-phrase-boite .olo-phrase-affiche .olo-f-tous svg{width:15px;height:15px}
.olo-phrase-boite .olo-phrase-affiche .olo-f-tous::after{content:"";position:absolute;inset:-9px -4px}      /* zone de toucher plus grande que le bouton */
.olo-phrase-boite .olo-phrase-affiche .olo-f-nombre{min-width:17px;height:17px;padding:0 4px;font-size:10.5px}
.olo-phrase-boite .olo-phrase-affiche.olo-phrase-affiche-dessous{padding-bottom:42px}
.olo-phrase-boite .olo-f-nombre{min-width:19px;height:19px;padding:0 5px;background:var(--olo-vert-fonce,#01615a);font-size:11.5px;color:#fff}
/* flèche cachée : sa colonne se referme (marge négative de sa largeur) ; elle se glisse à droite quand on écrit */
.olo-phrase-envoyer{grid-area:envoyer;align-self:end;display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin:0 0 0 -46px;padding:0;border:0;border-radius:50%;
  background:var(--olo-encre,#17302c);color:#fff;cursor:pointer;opacity:0;transform:scale(.4);visibility:hidden;
  transition:margin .2s ease,opacity .15s ease,transform .2s ease,visibility .2s,background .15s}
.olo-phrase-active:not(.olo-phrase-vide) .olo-phrase-envoyer{margin-left:8px;opacity:1;transform:none;visibility:visible}
.olo-phrase-envoyer:hover{background:var(--olo-vert-fonce,#01615a)}
.olo-phrase-envoyer:focus-visible{outline:2px solid var(--olo-vert-fonce,#01615a);outline-offset:2px}
/* pendant la recherche (27 nov. 2026, à la place de la flèche qui clignotait) : un anneau qui tourne, jusqu'à l'ouverture des résultats */
.olo-phrase-envoi-attente{pointer-events:none}
.olo-phrase-envoi-attente svg{display:none}
.olo-phrase-envoi-attente::after{content:"";box-sizing:border-box;width:20px;height:20px;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:olo-phrase-tourne .7s linear infinite}
@keyframes olo-phrase-tourne{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.olo-phrase-envoi-attente::after{animation-duration:1.6s}}
/* le bouton de l'accueil est un champ d'envoi (sans contenu possible) : l'anneau en image, sur son fond, à la place du texte */
#searchPropertySubmit.olo-phrase-bouton-attente{pointer-events:none;color:transparent !important;background-repeat:no-repeat;background-position:center;background-size:24px 24px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='white' stroke-opacity='.35' stroke-width='3'/%3E%3Cpath d='M12 3a9 9 0 0 1 9 9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.7s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E")}
body .olo-recherche #searchPropertySubmit.olo-phrase-bouton-attente{background-position:center,0 0;background-size:24px 24px,100% 100%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='white' stroke-opacity='.35' stroke-width='3'/%3E%3Cpath d='M12 3a9 9 0 0 1 9 9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.7s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E"),linear-gradient(90deg,var(--olo-corail),var(--olo-rouge))}
/* sous la boîte, seulement quand la phrase n'a pas pu être comprise */
.olo-phrase-note{margin:0 0 12px 25px;font-size:14px;line-height:1.5;color:var(--olo-doux,#5c6c74)}
.olo-phrase-note .olo-phrase-question{color:var(--olo-encre,#17302c)}
.olo-phrase-note .olo-phrase-localiser{background:var(--olo-fond,#f4f7f8);box-shadow:none}
/* en tête du panneau des filtres : les champs classiques (activité, lieu), déjà ouverts, puis le tri */
.olo-phrase-panneau-haut{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:8px 0 18px;padding:0 0 18px;border-bottom:1px solid var(--olo-trait,#e3e9ec)}
.olo-phrase-panneau-haut .olo-f-recherche{align-self:stretch;box-shadow:none}
.olo-phrase-panneau-haut .olo-f-chercher{display:none}
.olo-phrase-panneau-haut .olo-f-activites .olo-f-valeur::after{content:" ›";font-weight:400;color:var(--olo-doux,#5c6c74)}
html.olo-f-ouvert .pac-container.olomap-saisie{z-index:100002}      /* les villes proposées passent devant le panneau */
.olo-phrase-bascule-classique{display:block;margin:10px 8px 0 auto;color:var(--olo-doux,#5c6c74)}
/* téléphone : au repos, une ligne — la phrase, « Filtres » à droite ; en écrivant, la phrase sur toute la largeur, « Filtres » et la flèche dessous */
@media (max-width:640px){
  .olo-phrase-boite{align-items:center;gap:2px 0;padding:6px;border-radius:24px}
  .olo-phrase-boite.olo-phrase-active{grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:"texte texte texte texte" "filtres geo . envoyer";align-items:end;padding:6px 7px 7px}
  .olo-phrase-boite .olo-phrase-geo-boite{align-self:center;width:38px;height:38px;margin:0 0 0 4px}
  .olo-phrase-active .olo-phrase-geo-boite{align-self:end;margin:0 0 2px 6px}
  .olo-phrase-affiche,.olo-phrase-boite .olo-phrase-saisie{padding:10px 6px 10px 14px;font-size:16px}
  .olo-phrase-boite .olo-phrase-saisie{height:44px}
  .olo-phrase-boite .olo-f-tous{align-self:center;height:38px;margin:0 0 0 6px;padding:0 13px}
  .olo-phrase-boite .olo-phrase-affiche .olo-f-tous{right:6px;bottom:9px;height:26px;margin:0;padding:0 10px}
  .olo-phrase-boite .olo-phrase-affiche.olo-phrase-affiche-dessous{padding-bottom:41px}
  .olo-phrase-active .olo-f-tous{justify-self:start;align-self:end;margin:0 0 2px}
  .olo-phrase-envoyer{justify-self:end;width:42px;height:42px;margin-left:-42px}
  .olo-phrase-note{margin-left:22px}
}
/* une nouvelle recherche lancée depuis la page de résultats (27 nov. 2026) : des fiches « fantômes » qui scintillent à la place de la
   liste, du titre, du compte et de la pagination, jusqu'à la page suivante ; la carte s'efface un peu */
#results.olo-chargement > :not(.olo-squelette-carte){display:none !important}
.olo-squelette-carte{display:flex;flex-direction:column;min-height:340px;background:#fff;border-radius:22px;overflow:hidden;box-shadow:4px 6px 35px 0 rgba(84,154,156,.12)}
.olo-sq{position:relative;overflow:hidden;background:#e7edeb;border-radius:8px}
.olo-sq::after,#content > h1.olo-chargement-masque::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translateX(-100%);
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.75),rgba(255,255,255,0));animation:olo-sq-reflet 1.3s ease-in-out infinite}
@keyframes olo-sq-reflet{to{transform:translateX(100%)}}
.olo-sq-image{flex:0 0 170px;border-radius:0;background:#dfe7e4}
.olo-sq-corps{flex:1 0 auto;display:flex;flex-direction:column;gap:12px;padding:20px}
.olo-sq-titre{height:22px;width:72%}
.olo-sq-puce{height:20px;width:32%;border-radius:20px}
.olo-sq-ligne{height:12px;width:88%}
.olo-sq-courte{width:58%}
.olo-sq-bas{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-top:1px solid #eef2f1}
.olo-sq-etoiles{height:16px;width:110px}
.olo-sq-prix{height:26px;width:46px;border-radius:20px}
#content > h1.olo-chargement-masque{position:relative;overflow:hidden;width:fit-content;max-width:100%;color:transparent !important;background:#eef2f1;border-radius:14px}
.results-number.olo-chargement-masque{visibility:hidden}
#pagination.olo-chargement-masque{display:none}
#map-container.olo-chargement-masque{opacity:.55;transition:opacity .2s}
@media (prefers-reduced-motion:reduce){.olo-sq::after,#content > h1.olo-chargement-masque::after{animation:none}}

/* Téléphone : l'écran de recherche, comme Google (js/olomap-suggestions.js, 27 nov. 2026) : la saisie en haut, dessous les recherches
   précédentes (↖ pour reprendre, × pour effacer) et les phrases proposées, la partie ajoutée en gras */
.olo-sugg{display:none}
.olo-sugg.olo-sugg-ouvert{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483000;display:flex;flex-direction:column;background:#fff}
html.olo-sugg-actif,html.olo-sugg-actif body{overflow:hidden !important}
.olo-sugg-tete{display:flex;align-items:flex-start;gap:4px;padding:8px 10px 8px 4px;border-bottom:1px solid #e3e9ec;background:#fff;box-shadow:0 2px 10px rgba(15,23,42,.05)}
.olo-sugg-retour,.olo-sugg-effacer,.olo-sugg-envoyer{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:none;color:#17302c;cursor:pointer}
.olo-sugg-effacer{flex-basis:36px;width:36px;font:400 26px/1 system-ui,sans-serif;color:#8a97a0}
.olo-sugg-effacer[hidden]{display:none}
.olo-sugg-envoyer{flex-basis:40px;width:40px;height:40px;margin-top:2px;background:#01231f;color:#fff}
.olo-sugg-saisie{flex:1 1 auto;min-width:0;min-height:44px;max-height:150px;margin:0;padding:11px 4px 10px;border:0;border-radius:0;outline:0;box-shadow:none;resize:none;background:none;font:400 17px/1.35 "Open Sans",system-ui,sans-serif;color:#01231f;-webkit-appearance:none;appearance:none}
.olo-sugg-saisie::placeholder{color:#8a97a0}
.olo-sugg-liste{flex:1 1 auto;margin:0;padding:2px 0 32px;overflow-y:auto;list-style:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.olo-sugg-titre{margin:0;padding:16px 18px 6px;font:700 12px/1.3 "Open Sans",system-ui,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#6b7a82}
.olo-sugg-ligne{display:flex;align-items:center;margin:0;border-bottom:1px solid #f1f4f5}
.olo-sugg-texte{display:flex;align-items:center;gap:14px;flex:1 1 auto;min-width:0;min-height:54px;margin:0;padding:11px 6px 11px 18px;border:0;background:none;text-align:left;font:400 16px/1.35 "Open Sans",system-ui,sans-serif;color:#17302c;cursor:pointer}
.olo-sugg-texte svg{flex:0 0 19px;color:#8a97a0}
.olo-sugg-texte span{display:-webkit-box;min-width:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.olo-sugg-texte b{font-weight:700;color:#01231f}
.olo-sugg-reprendre,.olo-sugg-oublier{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:54px;margin:0;padding:0;border:0;background:none;color:#8a97a0;font:400 24px/1 system-ui,sans-serif;cursor:pointer}
.olo-sugg-oublier{margin-right:6px}
.olo-sugg-pied{margin:0;padding:4px 18px 6px;text-align:right}
.olo-sugg-tout-effacer{margin:0;padding:8px 0;border:0;background:none;font:600 13.5px/1.3 "Open Sans",system-ui,sans-serif;color:#01524a;text-decoration:underline;cursor:pointer}
.olo-sugg-retour:active,.olo-sugg-texte:active,.olo-sugg-reprendre:active,.olo-sugg-oublier:active{background:#f1f4f5}
@media (min-width:768px){.olo-sugg,.olo-sugg.olo-sugg-ouvert{display:none !important}}
