/* Ancra : thème de l'application, aligné sur la page de présentation (js/vitrine.js).
   Couleurs, typographie, tuiles, boutons ; sur grand écran, le menu passe en colonne à gauche.
   Uniquement de l'habillage : aucune fonction ni aucun identifiant ne change.
   Polices (Bricolage Grotesque, Figtree) chargées par js/vitrine.js après le chargement de la page, jamais bloquantes. */

:root{--navy:#0F2A3D;--green:#16B374;--bg:#F3F7FA;--muted:#5B7083;
  --an-vert:#0B7D55;--an-menthe:#DDF5E9;--an-ciel:#E6F1FA;--an-soleil:#FFC94A;--an-soleil-p:#FFF1CC;--an-brique:#E9876B;--an-brique-p:#FBE3DA;--an-ligne:#DCE6EE;
  --an-titre:'Bricolage Grotesque',system-ui,-apple-system,'Segoe UI',sans-serif;--an-texte:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif}

body{font-family:var(--an-texte);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}
.phone h1,.phone h2,.phone .section h2,.modal-box h2{font-family:var(--an-titre);letter-spacing:-.015em}

/* En-tête : bleu nuit, toits en bas, titre en grande typographie */
.head{background:#0F2A3D;position:relative;padding-bottom:46px!important}
.head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0;pointer-events:none;opacity:.9;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 40' preserveAspectRatio='none'%3E%3Cpath fill='%23F6D3C6' fill-opacity='.22' d='M0 40V24h20V14l10-8 10 8v10h17V18h30V10l13-9 14 9v14h13V16h24V7h20v17h17V15l15-10 15 10v9h20V20h27v-9l12-7 12 7v13h17v-7h30V9l13-8 14 8v15h20v-4h23v-7h17v11h20v-6l13-9 14 9v24z'/%3E%3C/svg%3E") repeat-x bottom/480px 22px}
.head h1{font-family:var(--an-titre);font-weight:800;letter-spacing:-.025em}
.head .brandname{font-family:var(--an-titre);font-weight:800}
.head .search{border-radius:14px}

/* Boutons */
.btn{border-radius:14px;font-weight:700;background:var(--an-vert)}
.btn:hover{background:#09694a}
.btn-outline{border-radius:14px;font-weight:700}

/* Cartes */
.card{border-color:var(--an-ligne);border-radius:20px}

/* Tuiles de l'accueil : une couleur par outil */
.tile{border-color:var(--an-ligne);border-radius:18px}
.tile:hover{border-color:var(--green);box-shadow:0 10px 24px -16px #0F2A3D55}
.tile strong{font-weight:700}
.tile .icon{border-radius:12px}
#homeOutils .tile:nth-child(4n+1) .icon{background:var(--an-menthe);color:var(--an-vert)}
#homeOutils .tile:nth-child(4n+2) .icon{background:var(--an-ciel);color:#1F5F8B}
#homeOutils .tile:nth-child(4n+3) .icon{background:var(--an-soleil-p);color:#8A5A00}
#homeOutils .tile:nth-child(4n+4) .icon{background:var(--an-brique-p);color:#A9431F}
#homeOutils .tile:first-child{background:#0F2A3D}

/* Encart assistant */
.assistant{border-radius:20px}

/* Menu */
.nav .active{color:var(--an-vert)}

/* Grand écran : menu en colonne à gauche, contenu à côté */
@media (min-width:1100px){
  body{padding:0!important}
  .phone{padding-left:236px!important;padding-bottom:48px!important;max-width:none!important}
  .nav{left:0!important;top:0;bottom:0!important;transform:none!important;width:236px!important;max-width:none!important;height:100vh;
    display:flex!important;flex-direction:column;justify-content:flex-start;gap:4px;padding:104px 14px 20px!important;
    border-top:0!important;border-right:1px solid var(--an-ligne);border-radius:0!important;box-shadow:none!important;background:#fff!important;z-index:30}
  .nav button{display:flex;align-items:center;gap:12px;text-align:left;padding:11px 12px;border-radius:12px;font-size:15px!important;font-weight:600;color:#3B5568}
  .nav button:hover{background:var(--bg);color:#0F2A3D}
  .nav button.active{background:var(--an-menthe);color:var(--an-vert)}
  .nav b{margin:0!important;font-size:20px!important;display:flex;width:22px;height:22px}
  .nav b svg{width:22px;height:22px}
  .head{border-radius:0 0 0 28px!important}
}

/* Fenêtres (projet, document, biens…) : fond flouté, champs aérés, boutons toujours visibles en bas.
   Sur téléphone : feuille qui monte du bas de l'écran, avec poignée, au-dessus de la barre du bas. */
.modal-overlay{background:rgba(15,42,61,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.modal-box{border-radius:24px;padding:24px 22px 22px;box-shadow:0 24px 60px rgba(15,42,61,.28);font-family:var(--an-texte)}
.modal-box h2{font-size:24px;color:var(--navy);margin:0 0 4px}
.modal-box .mx-sous{margin:0 0 16px;color:var(--muted);font-size:14px}
.modal-box form>label,.modal-box .mx-ligne>label{display:block;font-size:13px;font-weight:650;color:var(--navy);margin:0 0 12px}
.modal-box form>label>.field,.modal-box .mx-ligne>label>.field{margin:6px 0 0}
.modal-box .field{border-color:var(--an-ligne);background:#FBFDFE;transition:border-color .15s,box-shadow .15s}
.modal-box .field:focus{outline:none;border-color:var(--an-vert);box-shadow:0 0 0 3px var(--an-menthe);background:#fff}
.modal-box .field::placeholder{color:#9AABB9}
.modal-box .mx-opt{font-weight:500;color:var(--muted)}
.modal-box .mx-ligne{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.modal-box .mx-info{display:flex;gap:10px;align-items:flex-start;background:var(--an-ciel);border-radius:14px;padding:12px 14px;margin:2px 0 4px;font-size:13px;line-height:1.45;color:#2B4458}
.modal-box .mx-info svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px;color:var(--an-vert)}
.modal-actions{position:sticky;bottom:-22px;background:#fff;margin:16px -22px -22px;padding:14px 22px calc(16px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--an-ligne);z-index:1}
.modal-actions .btn,.modal-actions .btn-outline{margin:0;min-height:48px}
@media (max-width:600px){
  .modal-overlay.show{align-items:flex-end;padding:0!important;padding-top:max(24px,env(safe-area-inset-top,0px))!important}
  .modal-overlay .modal-box{width:100%;max-height:92vh;max-height:88dvh;border-radius:26px 26px 0 0;padding-top:26px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));position:relative;animation:mx-monte .22s ease-out}
  .modal-overlay .modal-box::before{content:"";position:absolute;top:9px;left:50%;width:40px;height:5px;margin-left:-20px;border-radius:3px;background:#D3DDE5}
  .modal-actions .btn,.modal-actions .btn-outline{flex:1}
  .modal-box .mx-ligne{grid-template-columns:1fr}
  .modal-box .mx-ligne.mx-duo{grid-template-columns:1fr 1fr}
}
@keyframes mx-monte{from{transform:translateY(40px);opacity:.6}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.modal-overlay .modal-box{animation:none}}
.modal-box .mx-info[hidden]{display:none}

/* ---------- Page Recherche « Biens & rentabilité » : accroche, panneau de recherche, résultats, outils ---------- */
#recherche .rs-hero{position:relative;overflow:hidden;background:radial-gradient(120% 140% at 100% 0%,#1d5a4a 0%,#0F2A3D 55%);color:#fff;border-radius:24px;padding:22px 20px 18px;margin:0 0 -26px;box-shadow:0 18px 40px -26px #0F2A3D}
#recherche .rs-hero::after{content:"";position:absolute;right:-30px;top:-30px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,#34d39955,transparent 70%);pointer-events:none}
#recherche .rs-kicker{display:inline-block;font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7ee2b8;background:#ffffff14;border:1px solid #ffffff22;border-radius:999px;padding:4px 10px}
#recherche .rs-titre{font-family:var(--an-titre);font-size:27px;line-height:1.1;margin:12px 0 8px;color:#fff;letter-spacing:-.025em}
#recherche .rs-titre em{font-style:normal;color:#34d399;background:linear-gradient(transparent 62%,#34d39933 0)}
#recherche .rs-sous{margin:0 0 16px;color:#c9d7e2;font-size:14px;line-height:1.5;max-width:46ch}
#recherche .rs-atouts{list-style:none;margin:0;padding:0 0 26px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
#recherche .rs-atouts li{background:#ffffff12;border:1px solid #ffffff1f;border-radius:14px;padding:9px 8px;font-size:12.5px;font-weight:800;line-height:1.2;color:#fff}
#recherche .rs-atouts b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#34d399;color:#0F2A3D;font-size:13px;margin-bottom:6px}
#recherche .rs-atouts small{display:block;font-weight:600;color:#a9bccb;font-size:11px;margin-top:2px}

#recherche .rs-panel{position:relative;z-index:1;background:#fff;border:1px solid var(--an-ligne);border-radius:22px;padding:16px 16px 6px;margin:0 6px 22px;box-shadow:0 22px 40px -28px #0F2A3D80}
#recherche .rs-panel-t{margin:0 0 8px;font-family:var(--an-titre);font-weight:800;font-size:16px;color:var(--navy)}
#recherche .rs-panel .field{border-color:var(--an-ligne);background:#FBFDFE;transition:border-color .15s,box-shadow .15s}
#recherche .rs-panel .field:focus{border-color:var(--green);box-shadow:0 0 0 3px #16B37426;outline:none}
#recherche #cityFilter{padding-left:40px;background:#FBFDFE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7D55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") no-repeat 13px 50%/18px;font-weight:600}
#recherche #rlSearch{min-height:54px;font-size:16px;font-weight:800;border-radius:16px;background:linear-gradient(135deg,#16B374,#0B7D55);box-shadow:0 12px 24px -14px #0B7D55;letter-spacing:.005em}
#recherche #rlSearch:hover{filter:brightness(1.05)}
#recherche #rlSearch::before{content:"⌕ ";font-size:19px;line-height:0}
#recherche .rl-chip{border-color:var(--an-ligne)}
#recherche .rl-chip[aria-pressed=true]{background:var(--an-menthe);border-color:var(--green);color:var(--an-vert)}
.rs-pulse{animation:rs-pulse 1.2s ease-out 2}
@keyframes rs-pulse{0%{box-shadow:0 0 0 0 #16B37480}100%{box-shadow:0 0 0 14px #16B37400}}
/* Filtres repliés après une recherche (js/mobile.js) : le panneau ne garde que le résumé */
#recherche.fc .rs-panel{padding:0;border:0;box-shadow:none;background:none;margin:0 0 12px}
#recherche.fc .rs-panel-t,#recherche.fc .rs-hero{display:none}
#recherche.fc .rs-panel>*:not(#rlSummary):not(#rlStatut):not(#rlPages){display:none!important}

#recherche .rs-resultats>.section{margin-top:4px}
#recherche #listingCount{font-weight:600;color:#40566b}
/* Cartes d'annonces */
#listings .listing{padding:0;border-radius:22px;box-shadow:0 14px 30px -26px #0F2A3D;transition:transform .15s,box-shadow .15s}
#listings .listing:hover{transform:translateY(-2px);box-shadow:0 20px 36px -24px #0F2A3D}
#listings .listing-photo{height:190px;border-radius:0}
#listings .listing-photo::after{content:"";position:absolute;inset:auto 0 0 0;height:60px;background:linear-gradient(transparent,#0F2A3D33);pointer-events:none}
#listings .listing-photo .tag{background:#ffffffe6;color:var(--an-vert);backdrop-filter:blur(4px);box-shadow:0 2px 8px #0F2A3D1f;z-index:1}
#listings .listing-content{padding:16px 16px 14px}
#listings .listing h3{font-family:var(--an-titre);font-size:17px;letter-spacing:-.01em}
.rl-prix{font-family:var(--an-titre);font-size:25px;font-weight:800;letter-spacing:-.02em;color:var(--navy);margin-top:4px}
.rl-prix small{font-family:var(--an-texte);font-size:13px;color:#728294;font-weight:600;letter-spacing:0}
.rl-meta{margin:6px 0 8px;display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:13px}
.rl-chiffres{gap:8px;margin:12px 0}
.rl-chiffres .metric{border-radius:14px;padding:11px 12px}
.rl-chiffres .metric small{font-weight:700;color:#40566b;font-size:11.5px}
.rl-chiffres .metric small i{font-style:normal;font-weight:600;color:#728294}
.rl-chiffres .metric strong{display:block;font-family:var(--an-titre);font-size:22px;margin-top:2px;letter-spacing:-.02em}
.rl-chiffres .metric strong span{font-family:var(--an-texte);font-size:13px;font-weight:700;color:#5b7083;letter-spacing:0}
.rl-chiffres .rl-loyer{background:var(--an-ciel)}.rl-chiffres .rl-loyer strong{color:var(--navy)}
.rl-chiffres .rl-renta{background:var(--an-menthe)}.rl-chiffres .rl-renta strong{color:var(--an-vert)}
.rl-chiffres .rl-renta-top{background:linear-gradient(135deg,#16B374,#0B7D55)}.rl-chiffres .rl-renta-top small,.rl-chiffres .rl-renta-top small i,.rl-chiffres .rl-renta-top strong{color:#fff}
#listings .project-actions{gap:8px}
#listings .project-actions .btn,#listings .project-actions .btn-outline{border-radius:12px}

/* État vide : comment ça marche + villes pour commencer */
.rs-vide{background:#fff;border:1px dashed #b9dccd;border-radius:22px;padding:20px 18px;text-align:center}
.rs-vide-ill svg{width:120px;height:80px}
.rs-vide h3{font-family:var(--an-titre);font-size:18px;line-height:1.25;margin:6px auto 12px;max-width:30ch;color:var(--navy)}
.rs-etapes{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px;text-align:left}
.rs-etapes li{display:flex;align-items:center;gap:10px;background:var(--bg);border-radius:14px;padding:10px 12px;font-size:14px;font-weight:600;color:#2B4458}
.rs-etapes b{flex:0 0 26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--an-vert);color:#fff;font-size:13px}
.rs-vide-t{margin:0 0 8px;font-size:13px;font-weight:700;color:#5b7083}
.rs-villes{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.rs-ville{border:1px solid var(--an-ligne);background:#fff;color:var(--navy);font:inherit;font-weight:700;font-size:13.5px;border-radius:999px;padding:8px 13px;min-height:40px;cursor:pointer}
.rs-ville:hover{border-color:var(--green);background:var(--an-menthe)}

/* Outils : import par lien et comparateur, regroupés sous les résultats */
#recherche .rs-outils{margin:22px 0 14px}
#recherche .rs-outils-t{font-family:var(--an-titre);font-size:17px;margin:0 0 10px;color:var(--navy)}
#recherche .rs-outils .import-box{margin:0 0 10px;border-color:var(--an-ligne);border-radius:20px}
#recherche .rs-outils .import-box h3{margin-top:0}
.rs-cmp{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:1px solid var(--an-ligne);border-radius:20px;padding:14px 16px;font:inherit;color:var(--navy);cursor:pointer}
.rs-cmp:hover{border-color:var(--green)}
.rs-cmp-i{flex:0 0 40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--an-soleil-p);font-size:20px}
.rs-cmp b{display:block;font-size:15px}.rs-cmp small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.rs-cmp>span:last-child{margin-left:auto;font-weight:800;color:var(--an-vert)}

@media (min-width:900px){
  #recherche .rs-hero{padding:30px 32px 22px}
  #recherche .rs-titre{font-size:36px}
  #recherche .rs-atouts{max-width:560px}
  #recherche .rs-panel{margin:0 18px 26px;padding:20px 22px 8px}
  #recherche .rs-outils{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;align-items:start}
  #recherche .rs-outils-t{grid-column:1/-1;margin:0}
  #recherche .rs-outils .import-box{margin:0}
  .rs-etapes{grid-template-columns:repeat(3,1fr)}
}
@media (prefers-reduced-motion:reduce){.rs-pulse{animation:none}#listings .listing{transition:none}}
#recherche #cityFilter{margin:0 0 8px}
#recherche #rlRayonWrap .field{margin:0}
#recherche #rlRayonWrap .field,#recherche #cityFilter{min-height:50px}
/* « Trouver les meilleures affaires » : aux couleurs du site (bleu nuit, vert), seule l'étiquette 🔥 reste rouge */
#recherche .rl-deals{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:-2px 0 12px;padding:13px 14px;border-radius:18px;border:1px solid #BFE8D4;background:linear-gradient(180deg,#fff,#F3FBF7);color:var(--navy);font:inherit;cursor:pointer;box-shadow:0 12px 24px -20px #0F2A3D;transition:transform .15s,box-shadow .15s}
#recherche .rl-deals:hover{transform:translateY(-1px);border-color:var(--green);box-shadow:0 16px 28px -18px #0B7D55}
#recherche .rl-deals::before{content:none}
.rl-deals-ico{flex:0 0 42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#DDF5E9;font-size:22px}
.rl-deals-txt b{display:block;font-family:var(--an-titre);font-size:16px;letter-spacing:-.01em;color:var(--navy)}
.rl-deals-txt small{display:block;margin-top:2px;font-size:12.5px;line-height:1.35;color:#40566b}
.rl-deals-go{margin-left:auto;font-size:20px;font-weight:800;color:var(--an-vert)}
/* Interrupteur « Meilleures affaires » sous la ville */
#recherche .rl-switch{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:4px 0 10px;padding:12px 14px;border-radius:16px;border:1.5px solid #BFE8D4;background:linear-gradient(180deg,#fff,#F3FBF7);font:inherit;color:var(--navy);cursor:pointer;transition:border-color .15s,box-shadow .15s}
#recherche .rl-switch:hover{border-color:var(--green)}
#recherche .rl-switch[aria-pressed=true]{border-color:var(--green);background:var(--an-menthe);box-shadow:0 10px 22px -18px #0B7D55}
.rl-switch-ico{flex:0 0 38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#DDF5E9;font-size:20px}
.rl-switch-txt b{display:block;font-family:var(--an-titre);font-size:15.5px;color:var(--navy)}
.rl-switch-txt small{display:block;margin-top:1px;font-size:12.5px;line-height:1.3;color:#40566b}
.rl-switch-tog{margin-left:auto;flex:0 0 46px;height:26px;border-radius:999px;background:#D3DDE5;position:relative;transition:background .15s}
.rl-switch-tog i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0F2A3D40;transition:left .15s}
#recherche .rl-switch[aria-pressed=true] .rl-switch-tog{background:var(--an-vert)}
#recherche .rl-switch[aria-pressed=true] .rl-switch-tog i{left:23px}
#recherche.fc #rlDealsSwitch{display:none}

/* ---------- Accueil : Trouver un bien, Projet en cours, Assistant, installation discrète ---------- */
#homeFeedWrap.hf-card{margin-top:22px;border-radius:22px;padding:18px;background:linear-gradient(180deg,#fff,#F6FAFC)}
.hf-tete,.hp-tete,.ha-tete{display:flex;gap:14px;align-items:flex-start}
.hf-ill,.hp-ill,.ha-ill{flex:0 0 56px;height:56px;border-radius:16px;display:grid;place-items:center;background:var(--an-menthe);font-size:26px}
.hf-tete h2{margin:2px 0 4px;font-size:20px}.hf-tete p{margin:0 0 14px;font-size:14px}
.hf-btns{display:flex;flex-direction:column;gap:8px}.hf-btns .btn,.hf-btns .btn-outline{margin:0;min-height:48px}
@media (min-width:700px){.hf-btns{flex-direction:row}.hf-btns>*{flex:1}}
.hp-card{border-radius:22px;padding:18px}
.hp-ill{background:var(--an-ciel)}
.hp-t h3{margin:4px 0 2px;font-size:18px}.hp-t p{margin:0 0 12px;font-size:13.5px}
.hp-t .tag{position:static;display:inline-block}
.hp-prog{margin:0 0 12px}.hp-prog>div{display:flex;justify-content:space-between;font-size:12.5px;color:var(--muted);margin-bottom:5px}.hp-prog b{color:var(--navy)}
.hp-prog i{display:block;height:8px;border-radius:999px;background:#E3ECF2;overflow:hidden}.hp-prog em{display:block;height:100%;background:linear-gradient(90deg,#16B374,#0B7D55);border-radius:999px}
.hp-card .btn{width:100%;margin:0}
#homeAssistant.ha-card{border-radius:22px;padding:18px;background:linear-gradient(135deg,#0F2A3D,#174a5c 75%,#0f7a5c);color:#fff;border:0}
#homeAssistant.ha-card h3{margin:2px 0 4px;color:#fff;font-size:18px;line-height:1.25}#homeAssistant.ha-card p{margin:0 0 12px;color:#cfdde8;font-size:13.5px}
.ha-ill{background:#ffffff1f}
.ha-ex{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.ha-ex button{background:#ffffff14;border:1px solid #ffffff2e;color:#fff;font:inherit;font-size:12.5px;font-weight:700;border-radius:999px;padding:7px 11px;cursor:pointer}
.ha-ex button:hover{background:#ffffff26}
#homeAssistant.ha-card .btn{width:100%;margin:0;background:#34D399;color:#0F2A3D}
.ip-install.ip-mini{padding:0;margin:14px 0 4px!important;border-radius:16px;border-style:dashed}
.ip-mini summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none}
.ip-mini summary::-webkit-details-marker{display:none}
.ip-mini .ip-ico{flex:0 0 34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--an-ciel);font-size:17px}
.ip-mini .ip-t b{display:block;font-size:14px}.ip-mini .ip-t small{display:block;color:var(--muted);font-size:12px}
.ip-mini .ip-ch{margin-left:auto;color:var(--muted)}
.ip-mini details[open] .ip-ch{transform:rotate(180deg)}
.ip-mini details>:not(summary){margin-left:12px;margin-right:12px}
.ip-mini details>:last-child{margin-bottom:12px}
/* Téléphone : ligne « Installer Ancra » en haut de l'accueil, discrète mais animée (icône qui sautille, reflet qui passe). */
.ip-mini.ip-anim{position:relative;overflow:hidden;animation:ipEntree .5s ease-out both}
.ip-mini.ip-anim .ip-ico{animation:ipSaut 2.6s ease-in-out .6s 3}
.ip-mini.ip-anim::before{content:"";position:absolute;top:0;bottom:0;left:-40%;width:35%;background:linear-gradient(100deg,transparent,rgba(16,185,129,.14),transparent);animation:ipReflet 5s ease-in-out 1s infinite;pointer-events:none}
@keyframes ipEntree{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@keyframes ipSaut{0%,70%,100%{transform:translateY(0)}78%{transform:translateY(-5px)}86%{transform:translateY(0)}92%{transform:translateY(-2px)}}
@keyframes ipReflet{0%{left:-40%}40%,100%{left:110%}}
@media (prefers-reduced-motion:reduce){.ip-mini.ip-anim,.ip-mini.ip-anim .ip-ico,.ip-mini.ip-anim::before{animation:none}.ip-mini.ip-anim::before{display:none}}
/* Fourchettes basse / moyenne / haute (fiche d'une annonce, js/listings.js) */
.rl-fz{width:100%;border-collapse:collapse;font-size:13.5px;table-layout:fixed}.rl-fz thead th:first-child,.rl-fz tbody th{width:38%}.rl-fz th,.rl-fz td{padding:7px 6px;border-bottom:1px solid #eef2f4;text-align:right;vertical-align:top}.rl-fz thead th{font-size:12px;color:#5b6b7b;font-weight:700}.rl-fz tbody th{text-align:left;font-weight:600;color:#10243a}.rl-fz tbody th small{display:block;color:#5b6b7b;font-weight:500}.rl-fz td:nth-child(3){font-weight:800}@media(max-width:480px){.rl-fz{font-size:12.5px}.rl-fz th,.rl-fz td{padding:6px 3px}}
.estim small.estim-verif{display:block;margin-top:4px;font-weight:600;color:#5b6b7b}
/* Fiche d'un bien : graphiques toujours visibles, lecture claire (une colonne, cartes larges) */
#propertyDetail>.card{margin-bottom:14px}.pd-charts{display:grid;gap:12px;margin:12px 0}.pd-charts .chart-card{margin:0}@media(min-width:900px){.pd-charts{grid-template-columns:repeat(3,minmax(0,1fr))}}
#rlEstim .estim{font-size:15px;padding:14px 16px;border-radius:14px}#rlEstim .estim b{font-size:19px}#rlEstim .estim small{font-size:13.5px;line-height:1.5;margin-top:6px}
/* Fiche : ordre de lecture fixe, quel que soit l'ordre d'arrivée des blocs (le prix, puis les chiffres, puis les actions) */
#propertyDetail{display:flex;flex-direction:column}#propertyDetail>*{order:20}#propertyDetail>.hero-photo{order:0}#propertyDetail>.card:not([id]){order:1}#propertyDetail>#rlEstim,#propertyDetail>#rlEstimWait{order:2}#propertyDetail>#rlFourchettes{order:3}#propertyDetail>#pbBox{order:4}#propertyDetail>#pcPoints{order:5}#propertyDetail>#rlCharges{order:6}#propertyDetail>#rlCompare{order:7}#propertyDetail>#proBox{order:8}#propertyDetail>#propertyExtra{order:9}
.mk-calc{display:flex;flex-direction:column;gap:2px}.mk-l{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eef2f4;font-size:14px}.mk-l small{color:#5b6b7b;font-weight:500}.mk-l b{white-space:nowrap}.mk-f{font-weight:800}.mk-f span{font-weight:800}
.mk-bars{display:flex;flex-direction:column;gap:12px;margin:6px 0 4px}.mk-bar span{display:block;font-size:13px;color:#40566b;margin-bottom:4px}.mk-track{display:flex;align-items:center;gap:8px}.mk-zone{flex:1;min-width:0}.mk-track i{display:block;height:16px;border-radius:6px}.mk-track b{font-size:14px;white-space:nowrap}
.fp-carte{overflow:hidden}
/* Fiche enrichie (js/fiche-plus.js) : mêmes couleurs que le site (bleu nuit, vert, orange pour les sorties d'argent) */
.fp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.fp-head h3{margin:0}.fp-head p{margin:4px 0 0;color:#5b6b7b;font-size:13.5px}
.fp-toggle{background:none;border:1px solid #d7e3ea;border-radius:999px;padding:6px 12px;font:inherit;font-size:12.5px;font-weight:700;color:#0f7a55;cursor:pointer;white-space:nowrap}.fp-toggle:hover{background:#f2fbf6}
.fp-corps{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease}.fp-corps>div{overflow:hidden;min-height:0}.fp-corps.fp-ouvert{grid-template-rows:1fr}.fp-corps.fp-ouvert>div{padding-top:12px}
.fp-badge{display:inline-block;border-radius:999px;padding:4px 12px;font-weight:800;font-size:13px}
.fp-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fp-kpis div{background:#f5f8fa;border-radius:12px;padding:10px 12px;min-width:0}.fp-kpis small{display:block;color:#5b6b7b;font-size:12px}.fp-kpis b{font-size:17px;color:#10243a}.fp-txt-vert{color:#047857!important}
.fp-jauge{position:relative;height:14px;border-radius:999px;background:#eef2f5;margin:34px 4px 6px}.fp-bande{position:absolute;top:0;bottom:0;background:#a7e3c9;border-radius:999px}.fp-est{position:absolute;top:-3px;bottom:-3px;width:3px;margin-left:-1.5px;background:#047857;border-radius:2px}
.fp-repere{position:absolute;top:-6px;width:4px;height:26px;margin-left:-2px;background:#10243a;border-radius:3px;transition:left 1s cubic-bezier(.2,.8,.2,1)}.fp-repere span{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#10243a;color:#fff;font-size:11.5px;font-weight:700;border-radius:6px;padding:3px 7px}
.fp-jauge-leg{display:flex;justify-content:space-between;gap:8px;font-size:11.5px;color:#5b6b7b;flex-wrap:wrap}
.fp-pt{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}.fp-trait{width:3px;background:#047857}
.fp-phrase{font-size:14.5px;line-height:1.5;margin:10px 0 4px}.fp-gros{font-size:20px;font-weight:800;margin:4px 0;color:#10243a}.fp-gros small{font-size:13px;font-weight:600;color:#5b6b7b;margin-left:4px}.fp-note{font-size:12.5px;color:#5b6b7b;line-height:1.45;margin:6px 0 0}
.fp-grid2,.fp-grid3{display:grid;gap:12px}@media(min-width:900px){.fp-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.fp-graph{background:#fff;border:1px solid #e0e9ec;border-radius:16px;padding:14px;min-width:0}.fp-graph h4{margin:0 0 6px;font-size:14px;color:#10243a}
.pd-charts.fp-remplace{display:block}
.fp-pile{display:flex;height:22px;border-radius:8px;overflow:hidden;background:#eef2f5;margin:8px 0}.fp-pile i{display:block;height:100%;transition:width .9s cubic-bezier(.2,.8,.2,1)}
.fp-vert{background:#10b981}.fp-orange{background:#f59e0b}.fp-bleu{background:#10243a}.fp-gris{background:#8aa0b4}
.fp-leg{display:flex;gap:14px;flex-wrap:wrap;font-size:12.5px;color:#40566b}
.fp-barres{display:flex;flex-direction:column;gap:10px}.fp-barres span{display:block;font-size:13px;color:#40566b;margin-bottom:3px}.fp-barres span small{color:#728294;margin-left:4px}.fp-ligne{display:flex;align-items:center;gap:8px}.fp-zone{flex:1;min-width:0;background:#f1f5f7;border-radius:6px}.fp-zone i{display:block;height:14px;border-radius:6px;transition:width .9s cubic-bezier(.2,.8,.2,1)}.fp-ligne b{font-size:14px;white-space:nowrap}
.fp-colonnes{display:flex;align-items:flex-end;gap:10px;height:150px;padding-top:6px}.fp-col{flex:1;display:flex;flex-direction:column;align-items:center;height:100%;min-width:0}.fp-col b{font-size:12px;white-space:nowrap}.fp-col-zone{flex:1;width:100%;max-width:56px;display:flex;align-items:flex-end;margin:4px 0}.fp-col-zone i{display:block;width:100%;background:linear-gradient(#10b981,#0f7a55);border-radius:8px 8px 3px 3px;transition:height .9s cubic-bezier(.2,.8,.2,1)}.fp-col span{font-size:12px;color:#40566b;text-align:center}.fp-col span small{display:block;color:#728294;font-size:11px}
#propertyDetail>#fpVerdict{order:2}#propertyDetail>#fpQuartier{order:5}#propertyDetail>#rlEstim,#propertyDetail>#rlEstimWait{order:4}#propertyDetail>#rlFourchettes{order:3}#propertyDetail>#rlCompare{order:6}#propertyDetail>#proBox{order:7}#propertyDetail>#propertyExtra{order:8}#propertyDetail>#pbBox{order:9}#propertyDetail>#pcPoints{order:10}#propertyDetail>#rlCharges{order:11}
#proBox{border:2px solid #cfeedd;background:linear-gradient(180deg,#f2fbf6,#fff 60%)}#propertyExtra{border:2px solid #e0e9ec}#propertyExtra>summary{font-size:16px}
.fp-repere.fp-rep-g span{left:-2px;transform:none}.fp-repere.fp-rep-d span{left:auto;right:-2px;transform:none}
@media(prefers-reduced-motion:reduce){.fp-corps,.fp-pile i,.fp-zone i,.fp-col-zone i,.fp-repere{transition:none}}
.rl-tag-neuf{left:auto!important;right:10px;background:#10243a!important;color:#fff!important}
.rl-neuf{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}.rl-neuf button{border:1px solid #d7e3ea;background:#fff;border-radius:999px;padding:8px 14px;font:inherit;font-size:13.5px;font-weight:700;color:#10243a;cursor:pointer}.rl-neuf button[aria-pressed=true]{background:#10243a;color:#fff;border-color:#10243a}
.rl-prog{display:flex;flex-direction:column;gap:10px;border:2px dashed #cfd9e2}.rl-prog small{display:block;color:#40566b;margin-top:4px}
@media(max-width:600px){.fp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-kpis div:last-child{grid-column:1/-1}.property-tabs button{font-size:12.5px;padding-left:4px;padding-right:4px}}
/* Financement (fiche d'un bien) */
#propertyDetail>#fpFinancement{order:2}#propertyDetail>#fpVerdict{order:3}#propertyDetail>#rlFourchettes{order:4}#propertyDetail>#rlEstim,#propertyDetail>#rlEstimWait{order:5}#propertyDetail>#fpQuartier{order:6}#propertyDetail>#rlCompare{order:7}#propertyDetail>#proBox{order:8}#propertyDetail>#propertyExtra{order:9}#propertyDetail>#pbBox{order:10}#propertyDetail>#pcPoints{order:11}#propertyDetail>#rlCharges{order:12}
.fp-fin{display:grid;gap:16px}@media(min-width:900px){.fp-fin{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start}}
.fp-fin-form{display:flex;flex-direction:column;gap:10px}.fp-fin-form label{display:flex;flex-direction:column;gap:4px;font-size:13.5px;font-weight:700;color:#10243a}.fp-fin-form label small{font-weight:500;color:#5b6b7b}.fp-fin-form .field{margin:0}.fp-fin-duo{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fp-fin-res{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:center}.fp-fin-res>.fp-note{grid-column:1/-1}.fp-donut svg{width:150px;height:150px;display:block}@media(max-width:480px){.fp-fin-res{grid-template-columns:1fr}.fp-donut svg{margin:0 auto}}
.fp-fin-leg{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:13.5px}.fp-fin-leg li{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:8px;align-items:center}.fp-fin-leg i{width:12px;height:12px;border-radius:50%}.fp-fin-leg b{white-space:nowrap}
.fp-flux{margin-top:14px}.fp-l{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eef2f4;font-size:14.5px}.fp-l small{color:#5b6b7b;font-weight:500}.fp-l b{white-space:nowrap}.fp-o{color:#b45309}.fp-total{border-bottom:0;font-weight:800;font-size:16px}.fp-total small{font-size:12px;color:#5b6b7b}
.fp-avec-credit{font-size:13.5px;background:#f5f8fa;border-radius:10px;padding:8px 10px}.fp-avec-credit a{color:#0f7a55;font-weight:700}
.fp-alerte{background:#fff7ed;border:1px solid #fde1c2;color:#7a3e00;border-radius:12px;padding:10px 12px;font-size:13.5px;line-height:1.5;margin:10px 0 4px}
.rl-maint{opacity:.75}.rl-maint .rl-switch-tog{display:none}.rl-maint-msg{background:#fff7ed;border:1px solid #fde1c2;color:#7a3e00;border-radius:10px;padding:8px 10px}
/* Carte d'annonce : verdict compact (js/listings.js verdictCarte) */
.rl-v{margin:8px 0 10px}.rl-v-top{display:flex;align-items:center;gap:10px}.rl-v-pill{flex:none;border-radius:999px;padding:5px 11px;font-weight:800;font-size:13px}
.rl-v-jauge{position:relative;flex:1;height:8px;border-radius:999px;background:#eef2f5;min-width:60px}.rl-v-bande{position:absolute;top:0;bottom:0;background:#a7e3c9;border-radius:999px}.rl-v-prix{position:absolute;top:-4px;width:4px;height:16px;margin-left:-2px;background:#10243a;border-radius:2px}
.rl-v-ligne{margin:6px 0 0;font-size:14px;color:#10243a}.rl-v-alerte{margin:4px 0 0;font-size:12.5px;color:#9a4d00}
.rl-v-det{margin-top:6px}.rl-v-det>summary{cursor:pointer;font-size:12.5px;font-weight:700;color:#0f7a55;list-style:none}.rl-v-det>summary::-webkit-details-marker{display:none}.rl-v-det>summary::before{content:'+ '}.rl-v-det[open]>summary::before{content:'− '}
.rl-v-lock .rl-v-pill{background:#10243a;color:#fff}.rl-v-flou{filter:blur(5px);user-select:none;font-weight:800;color:#0f7a55;white-space:nowrap;overflow:hidden}.rl-v-cta{background:none;border:0;padding:0;font:inherit;font-weight:800;color:#0f7a55;cursor:pointer;text-decoration:underline}
/* « Mon budget » dans la recherche (js/budget-recherche.js) : couleurs Ancra (bleu nuit, vert ; orange = alerte) */
.bu-box{background:#10243a;color:#fff;border-radius:18px;padding:16px;margin:0 0 14px;box-shadow:0 6px 18px rgba(16,36,58,.18)}
.bu-tete{display:flex;justify-content:space-between;align-items:center;gap:10px}.bu-tete b{display:block;font-size:19px;margin-top:4px}.bu-tag{display:inline-block;background:#10b981;color:#10243a;font-weight:800;font-size:12px;border-radius:999px;padding:3px 10px}
.bu-mod{background:transparent;border:1.5px solid rgba(255,255,255,.5);color:#fff;border-radius:999px;padding:7px 14px;font:inherit;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap}
.bu-corps{margin-top:12px}.bu-champs{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media(max-width:520px){.bu-champs{grid-template-columns:1fr}}
.bu-champs label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;color:#d6e2ec}.bu-champs .field{margin:0;background:#fff;color:#10243a}
.bu-out{margin-top:12px}.bu-res{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bu-res div{background:#1b3654;border-radius:12px;padding:10px 12px}.bu-res small{display:block;color:#c9d4df;font-size:12px}.bu-res b{display:block;font-size:20px;color:#34d399}.bu-res span{display:block;font-size:11.5px;color:#c9d4df;margin-top:2px}
.bu-note,.bu-biens,.bu-vide{font-size:12.5px;color:#c9d4df;line-height:1.45;margin:8px 0 0}.bu-biens b{color:#fff}.bu-alerte{background:#fff7ed;color:#7a3e00;border-radius:10px;padding:8px 10px;font-size:13px;margin:8px 0 0}
.bu-go{width:100%;margin-top:10px;background:#10b981;color:#10243a;border:0;border-radius:12px;padding:13px;font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.bu-dans{background:#e7f6ef;color:#047857;border-radius:6px;padding:2px 7px;font-weight:700}.bu-hors{background:#fff3e0;color:#9a4d00;border-radius:6px;padding:2px 7px;font-weight:700}

/* Recherche : compteur « X sur N sont trop chères » et « Lesquelles ? » (Gratuit). Bleu nuit, vert, gris : pas d'orange. */
.rl-compteur{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dbe4ea;border-radius:14px;padding:10px 12px;margin:0 0 12px;color:#10243a}
.rl-compteur svg{flex:none}
.rl-compteur p{margin:0;flex:1;min-width:0;font-size:14px;line-height:1.4}
.rl-cpt-tag{display:block;font-size:11.5px;font-weight:700;color:#40566b}
.rl-cpt-img{flex:none;width:56px;height:56px;border-radius:10px;background:#dbe4ea center/cover no-repeat}
.rl-cpt-lock{filter:blur(4px)}
.rl-lesq{position:relative;margin:0 0 16px}
.rl-lesq-flou{display:flex;flex-direction:column;gap:12px;filter:blur(6px);opacity:.8}
.rl-lesq-flou i{display:block;height:110px;background:#fff;border-radius:16px}
.rl-lesq-carte{position:relative;margin:-210px 8px 0;background:#fff;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:10px;box-shadow:0 8px 28px rgba(16,36,58,.18);color:#10243a}
.rl-lesq-carte b{font-size:20px;line-height:1.25}
.rl-lesq-carte p{margin:0;font-size:14px;line-height:1.45;color:#40566b}
.rl-lesq-carte .btn{width:100%;margin:0}
.rl-lesq-carte small{text-align:center;color:#5b6b7b;font-size:12px}
.rl-lesq-tag{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#40566b}
#propertyDetail>#fpPrix{order:1}
.fp-prix-carte{background:#10243a!important;color:#fff;border:0!important}
.fp-px{display:flex;flex-direction:column;gap:6px}
.fp-px-logo{display:flex;align-items:center;gap:7px;margin-bottom:4px}.fp-px-logo b{font-size:21px;font-weight:800;letter-spacing:-.4px}.fp-px-logo b i{font-style:normal;color:#34d399}.fp-px-logo small{color:#c9d4df;font-size:14px;font-weight:600}
.fp-px>small{color:#c9d4df;font-size:13px}
.fp-px-prix{font-size:34px;line-height:1.1;font-weight:800}
.fp-px-v{margin:0;font-size:15.5px;line-height:1.45}.fp-px-v b{color:#34d399;font-size:20px}
.fp-px-flou{filter:blur(6px);font-weight:800;color:#34d399;user-select:none}
.fp-px-cta{display:block;margin-top:8px;background:#10b981;color:#10243a;border:0;border-radius:12px;padding:11px 14px;font:inherit;font-weight:800;cursor:pointer;width:100%}
.rl-tag-viager{top:46px;background:#10243a!important;color:#fff!important;font-weight:800;letter-spacing:.04em}
.rl-viager{margin:8px 0 10px;background:#eef2f5;border-left:4px solid #10243a;border-radius:10px;padding:10px 12px;font-size:13.5px;line-height:1.45;color:#10243a}
.mb-flou{filter:blur(5px);opacity:.55;user-select:none;pointer-events:none}
.mb-verrou{border:2px solid #0f7a55}.mb-verrou h3{margin-top:0}.mb-verrou ul{margin:8px 0 14px;padding-left:20px}.mb-verrou li{margin:4px 0}
#listings .listing-photo .tag.rl-tag-viager{top:46px;background:#10243a;color:#fff}

/* Recherche : analyse de la ville entière, mise en avant sous le bouton de recherche */
.rl-ville{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:-2px 0 12px;padding:14px;border-radius:18px;border:0;background:linear-gradient(135deg,#10243a,#17395a);color:#fff;font:inherit;cursor:pointer;box-shadow:0 14px 28px -20px #10243a}
.rl-ville:hover{transform:translateY(-1px)}
.rl-ville:focus-visible{outline:3px solid #34d399;outline-offset:2px}
.rl-ville-ico{flex:0 0 42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#34d399;color:#10243a}
.rl-ville-txt b{display:block;font-family:var(--an-titre);font-size:16px;letter-spacing:-.01em;color:#fff}
.rl-ville-txt small{display:block;margin-top:2px;font-size:12.5px;line-height:1.35;color:#c9d4df}
.rl-ville-go{margin-left:auto;font-size:26px;font-weight:800;color:#34d399}
.rl-v-lock,.aff-lock{cursor:pointer}.rl-v-lock:focus-visible,.aff-lock:focus-visible{outline:3px solid #34d399;outline-offset:2px}

/* Page des abonnements : vitrine en haut */
.abo-v{background:linear-gradient(160deg,#10243a,#17395a 70%,#0f5a45);color:#fff;border-radius:22px;padding:20px 16px 16px;margin:0 0 18px;box-shadow:0 18px 36px -24px #10243a}
.abo-v-logo{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:#c9d4df;font-size:14px}.abo-v-logo b{font-size:22px;font-weight:800;color:#fff;letter-spacing:-.4px}.abo-v-logo b span{color:#34d399}
.abo-v-titre{margin:14px 0 6px;font-size:24px;line-height:1.18;letter-spacing:-.02em;color:#fff}
.abo-v-sous{margin:0 0 14px;font-size:14px;line-height:1.45;color:#d6e0ea}
.abo-v-ex{background:#fff;color:#10243a;border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:8px}
.abo-v-ex-l{display:flex;justify-content:space-between;gap:8px;font-size:14px}
.abo-v-jauge{position:relative;height:10px;border-radius:999px;background:linear-gradient(90deg,#10b981 0 33%,#d5dde5 33% 66%,#10243a 66%)}.abo-v-jauge i{position:absolute;top:-5px;width:6px;height:20px;border-radius:3px;background:#10243a;box-shadow:0 0 0 2px #fff}
.abo-v-jl{display:flex;justify-content:space-between;font-size:11px;color:#5b6b7b}
.abo-v-verdict{font-size:13.5px;font-weight:700;background:#10243a;color:#fff;border-radius:8px;padding:7px 10px}
.abo-v-exemple{font-size:11px;color:#728294}
.abo-v-plus{list-style:none;margin:14px 0;padding:0;display:grid;gap:7px;font-size:14px;line-height:1.35}.abo-v-plus li{position:relative;padding-left:24px}.abo-v-plus li::before{content:'';position:absolute;left:2px;top:3px;width:14px;height:14px;border-radius:50%;background:#34d399 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2310243a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.abo-d{margin:16px 0;padding:14px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16)}.abo-d h3{margin:0 0 10px;font-size:17px;color:#fff}.abo-d-l{display:grid;grid-template-columns:1fr 1fr;gap:10px}.abo-d-c{padding:12px;border-radius:10px;background:rgba(255,255,255,.08);border-left:4px solid #34d399}.abo-d-c b{display:block;font-size:15px;margin-bottom:4px;color:#fff}.abo-d-c p{margin:0;font-size:13.5px;line-height:1.4;opacity:.92}.abo-d-f{margin:10px 0 0;padding-left:20px;font-size:13px;line-height:1.45}.abo-d-f li::marker{color:#34d399;font-weight:800}.abo-d-n{margin:10px 0 0;font-size:13.5px;font-weight:700;color:#34d399}@media(max-width:640px){.abo-d-l{grid-template-columns:1fr}}
.abo-v-tuiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0 12px;align-items:stretch}
.abo-t-pages{display:inline-block;margin:6px 0 0;background:#e6f6ee;color:#0f6b46;font-weight:800;font-size:12.5px;border-radius:999px;padding:4px 10px}
.abo-t-liste{list-style:none;margin:6px 0 10px;padding:0;display:grid;align-content:start;gap:4px;font-size:13px;line-height:1.3;color:#33475b;flex:1}
.abo-t-liste li{position:relative;padding-left:22px}.abo-t-liste li::before{content:'';position:absolute;left:0;top:3px;width:14px;height:14px;border-radius:50%;background:#34d399 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2310243a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.abo-t .abo-t-go{border:0;font:inherit;font-weight:800;cursor:pointer;width:100%}.abo-t .abo-t-actu{background:#e6f6ee!important;color:#0f6b46}
.abo-t-pdet{font-size:12.5px!important;color:#40566b!important;line-height:1.35;margin:2px 0 0}.pg-of-pdet{display:block;font-size:12.5px;color:#40566b;margin:4px 0 0}
.abo-v-glisse{display:none;margin:12px 0 0;font-size:13px;color:#c9d4df;text-align:right}
.abo-v-recharges{margin:0 0 10px;padding:10px 12px;background:#ffffff14;border:1px solid #34d39966;border-radius:12px;font-size:13.5px;line-height:1.4;color:#e8eef4}.abo-v-recharges b{color:#fff}
.abo-v-gratuit{margin:0 0 6px;font-size:13px;color:#dbe4ec;text-align:center}
@media(max-width:860px){.abo-v-tuiles{display:flex;align-items:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:6px -4px 10px;padding:12px 4px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.abo-v-tuiles::-webkit-scrollbar{display:none}.abo-t{flex:0 0 78%;scroll-snap-align:center}.abo-v-glisse{display:block}}
.abo-t{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;font:inherit;color:#10243a;background:#fff;border:2px solid transparent;border-radius:16px;padding:12px 13px}
.abo-t.reco{border-color:#34d399;box-shadow:0 0 0 4px #34d39933}
.abo-t:focus-visible{outline:3px solid #34d399;outline-offset:2px}
.abo-t-badge{position:absolute;top:-11px;right:12px;background:#10b981;color:#fff;font-size:11.5px;font-weight:800;border-radius:999px;padding:3px 9px}
.abo-t-pour{font-size:12px;font-weight:700;color:#0f7a55}
.abo-t b{font-size:18px}
.abo-t-prix{font-size:24px;font-weight:800;letter-spacing:-.03em;line-height:1.1}.abo-t-prix em{font-style:normal;font-size:14px;font-weight:600;color:#40566b;margin-left:3px}
.abo-t small{font-size:12px;color:#5b6b7b}
.abo-t-quoi{font-size:13px;line-height:1.35;color:#40566b;margin-top:4px}
.abo-t-go{margin-top:8px;align-self:stretch;text-align:center;background:#10b981;color:#fff;font-weight:800;border-radius:12px;padding:11px}
.abo-t:not(.reco) .abo-t-go{background:#10243a}
.abo-v-confiance{margin:0 0 8px;font-size:12px;color:#c9d4df;text-align:center}
.abo-v-tout{display:block;width:100%;background:transparent;border:1px solid #ffffff40;color:#fff;font:inherit;font-weight:700;border-radius:12px;padding:11px;cursor:pointer}

/* Accueil de l'application : vidéo de présentation (bulle ronde + fenêtre par-dessus la page) */
.hv-card{display:flex;align-items:center;gap:16px;background:#fff;color:#10243a;border:1px solid #d5e6de;border-radius:18px;padding:12px 16px;margin:0 0 16px;box-shadow:0 8px 22px -18px #10243a}
.hv-bulle{flex:none;position:relative;width:76px;height:76px;border-radius:50%;border:3px solid #16B374;padding:0;cursor:pointer;background:radial-gradient(circle at 30% 25%,#1d3d5c,#10243a 70%);box-shadow:0 0 0 5px #16B37426}
.hv-bulle:focus-visible,.hv-lancer:focus-visible,.hv-fermer:focus-visible{outline:3px solid #16B374;outline-offset:3px}
.hv-bulle-play{position:absolute;inset:0;display:grid;place-items:center;color:#34d399;padding-left:4px}.hv-bulle-play svg{width:34px;height:34px}.hv-bulle:hover{box-shadow:0 0 0 7px #16B37440}
.hv-txt{flex:1;min-width:0}
.hv-txt h3{margin:0 0 3px;font-size:17px;color:#10243a}
.hv-txt p{margin:0;font-size:13.5px;line-height:1.4;color:#40566b}
.hv-lancer{flex:none;width:auto;margin:0;padding:10px 16px}
.hv-modale{position:fixed;inset:0;z-index:9999;background:rgba(8,18,30,.86);display:grid;place-items:center;padding:16px}
.hv-boite{position:relative;width:min(92vw,78vh,720px);aspect-ratio:1/1;border-radius:18px;overflow:hidden;background:#0b1a2a;border:4px solid #fff;box-shadow:0 30px 70px -20px #000}
.hv-boite video{display:block;width:100%;height:100%;object-fit:contain;background:#0b1a2a}
.hv-fermer{position:absolute;top:10px;right:10px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:#10243a;font-size:20px;font-weight:800;cursor:pointer;box-shadow:0 6px 16px -6px #000}
@media (max-width:640px){.hv-card{gap:12px;padding:10px 12px;flex-wrap:wrap}.hv-bulle{width:62px;height:62px}.hv-bulle-play svg{width:28px;height:28px}.hv-txt h3{font-size:15.5px}.hv-txt p{font-size:12.5px}.hv-lancer{display:none}}

/* « Comment avez-vous connu Ancra ? » : compacte sur téléphone (choix sur une ligne qui défile) */
@media (max-width:640px){
  #cnModal.cn-carte{padding:12px 14px}
  #cnModal.cn-carte h3{font-size:15px}
  #cnModal .cn-sous{display:none}
  #cnModal #cnChoix{flex-wrap:nowrap!important;overflow-x:auto;margin-top:8px;padding-bottom:4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  #cnModal #cnChoix::-webkit-scrollbar{display:none}
  #cnModal #cnChoix .btn-outline{flex:none;white-space:nowrap}
}
/* Recherche sur téléphone : le grand encart de présentation poussait le formulaire sous l'écran ; l'en-tête dit
   déjà « Trouvez votre prochain bien ». On garde une seule ligne d'explication au-dessus du formulaire. */
@media (max-width:640px){
  #recherche .rs-hero{padding:12px 14px;border-radius:16px;margin-bottom:10px}
  #recherche .rs-hero .rs-kicker,#recherche .rs-hero .rs-titre,#recherche .rs-hero .rs-atouts{display:none}
  #recherche .rs-hero .rs-sous{margin:0;font-size:13px;line-height:1.4}
}

/* Cartes d'annonces : ordinateur inchangé (« Plus d'options » caché) ; téléphone : photo moins haute,
   « Fiche et simulation » en bouton principal + « Voir l'annonce », le reste derrière « Plus d'options ». */
.rl-actions .rl-plus-btn{display:none}
@media (max-width:640px){
  #listings .listing-photo{height:150px}
  .rl-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
  .rl-actions > *{width:100%;margin:0!important;text-align:center;justify-content:center}
  .rl-actions .rl-fiche{grid-column:1/-1;order:-2;background:#0b7a55;color:#fff;border-color:#0b7a55;font-weight:800}
  .rl-actions [data-rl-compare]{order:-1;background:#fff;color:#0b7a55;border:1.5px solid #9fd8c1}
  .rl-actions .rl-voir{order:-1}
  .rl-actions .rl-plus-btn{display:block;grid-column:1/-1;background:transparent;border:0;color:#0b7a55;font-weight:700;padding:6px}
  .rl-actions:not(.ouvert) > :not(.rl-fiche):not(.rl-voir):not(.rl-plus-btn):not([data-rl-compare]):not([data-demasquer]){display:none!important}
  .rl-actions.ouvert .rl-plus-btn{order:9;grid-column:1/-1}
}
/* Téléphone : avant la liste, seulement l'essentiel (l'export Excel et le conseil restent sur ordinateur). */
@media (max-width:640px){
  #xlsAnnonces.xls-verrou{display:none!important}
  #rlReperes .rp-hint:only-child{display:none}
  #rlReperes:has(> .rp-hint:only-child){display:none}
}
/* Paiement : ce que comprend la formule, en points lisibles (5 au plus) au lieu d'un bloc de texte. */
.ck-liste{list-style:none;margin:10px 0 4px;padding:0;display:grid;gap:7px}
.ck-liste li{position:relative;padding-left:24px;font-size:14px;line-height:1.4;color:#10243a}
.ck-liste li::before{content:'';position:absolute;left:0;top:2px;width:16px;height:16px;border-radius:50%;background:#16B374 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.ck-plus{margin:2px 0 8px;font-size:12.5px;color:#5b6b7b}

/* ✕ de fermeture ajouté à chaque fenêtre (js/pwa.js) : toujours visible en haut, même si la barre de Safari
   recouvre le bas de l'écran sur iPhone. */
.mx-fermer{position:absolute;top:10px;right:12px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:#EEF3F6;color:#10243a;font-size:17px;font-weight:800;line-height:1;cursor:pointer;display:grid;place-items:center}
.mx-fermer:focus-visible{outline:3px solid #16B374;outline-offset:2px}
.modal-box:has(> .mx-fermer){position:relative}
.modal-box:has(> .mx-fermer) > h2:first-of-type,.modal-box:has(> .mx-fermer) > h3:first-of-type{padding-right:44px}
/* Téléphone : blocs mieux délimités et titres de section encadrés (demande de Baptiste, 16/11).
   Fond de page un peu plus soutenu, cartes blanches détachées (bordure nette + ombre), titre de chaque
   carte en gras avec un trait vert à gauche, plus d'espace entre les blocs. Ordinateur inchangé. */
@media (max-width:640px){
  main.body{background:#E9EFF4}
  main.body .fp-graph{background:#fff;border:1px solid #CBD9E4;border-radius:16px;padding:14px;margin-top:12px}
  main.body .card,main.body .chart-card{background:#fff;border:1px solid #CBD9E4!important;border-radius:18px;box-shadow:0 1px 2px rgba(16,36,58,.06),0 8px 18px -12px rgba(16,36,58,.22)}
  main.body .card + .card,main.body .chart-card + .chart-card,main.body .card + .chart-card,main.body .chart-card + .card{margin-top:14px}
  main.body .card > h3:first-child,main.body .chart-card > h3:first-child,main.body .card > h2:first-child,
  main.body .card > div:first-child > h3:first-child,main.body .chart-card > div:first-child > h3:first-child,
  main.body .fp-head h3,main.body .fp-graph > h4:first-child,main.body .chart-card > h4:first-child{
    border-left:4px solid #16B374;padding-left:10px;margin-top:0;margin-bottom:10px;
    font-family:var(--an-titre);font-size:17px;font-weight:800;line-height:1.25;color:#10243a}
}

/* ---- Projets et Mes biens (17/11) : cartes plus compactes, espaces réguliers, photo du bien ---- */
#projets .project-summary{display:flex;gap:0;background:#fff;border:1px solid #e3eaef;border-radius:16px;padding:10px 4px;margin:0 0 12px}
#projets .project-summary .stat{flex:1;min-width:0;background:none;border:0;border-radius:0;padding:2px 6px}
#projets .project-summary .stat+.stat{border-left:1px solid #e8eef2}
#projets .project-summary .stat strong{font-size:18px;color:#10243a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#projets .project-summary .stat small{font-size:11.5px}
#projets .eb-promo{background:linear-gradient(135deg,#10243a,#1b3c5a)!important;color:#fff;border:0!important;padding:14px!important;margin:0 0 12px!important;border-radius:16px}
.eb-promo .ebp-h{display:flex;gap:12px;align-items:center}
.eb-promo .ebp-ic{flex:none;width:42px;height:42px;border-radius:12px;background:rgba(22,179,116,.18);display:grid;place-items:center;font-size:22px}
.eb-promo .ebp-t{min-width:0}.eb-promo .ebp-t b{display:block;font-size:16px;line-height:1.2}
.eb-promo .ebp-t small{display:block;font-size:12.5px;line-height:1.35;opacity:.82;margin-top:2px}
.eb-promo .ebp-l{display:flex;gap:6px;margin-top:10px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.eb-promo .ebp-l::-webkit-scrollbar{display:none}
.eb-promo .ebp-b{flex:none;display:inline-flex;align-items:center;gap:6px;max-width:230px;border:1px solid rgba(110,231,183,.45);background:rgba(16,185,129,.14);color:#d1fae5;border-radius:999px;padding:7px 12px;font:600 13px/1.2 inherit;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eb-promo .ebp-b i{font-style:normal;font-weight:500;opacity:.75;font-size:12px}.eb-promo .ebp-b span{font-size:15px;opacity:.8}
.eb-promo .ebp-b:hover,.eb-promo .ebp-b:focus-visible{background:rgba(16,185,129,.28)}
#projets .project-directory{gap:10px;margin:12px 0}
#projets .project-tile{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;border-color:#e3eaef;box-shadow:0 1px 4px #10243a0d}
#projets .project-tile .pt-vis,#projets .project-tile .pt-photo{flex:none;width:68px;height:68px;margin:0;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#e6f4ee,#d4e6ee);display:grid;place-items:center;font-size:28px;line-height:1}
#projets .project-tile .pt-vis img,#projets .project-tile .pt-photo img{width:100%;height:100%;object-fit:cover;display:block}
#projets .project-tile .pt-photo .tag{display:none}
#projets .project-tile .pt-corps{flex:1;min-width:0}
#projets .project-tile .tag{font-size:11px;padding:2px 8px}
#projets .project-tile h3{margin:4px 0 2px;font-size:16px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#projets .project-tile p{margin:0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#projets .project-tile .pt-meta{margin:0 0 1px;font-size:12.5px}
#projets .project-tile .pt-compte{font-size:12px;color:#8494a5}
#projets .project-tile .tile-arrow{flex:none;margin:0;font-size:24px;color:#9fb2c1;font-weight:400}
#biens .mb-liste{display:grid;gap:10px}
#biens .mb-liste>.card.mb-card{margin:0;padding:12px;border-radius:16px;border-color:#e3eaef;box-shadow:0 1px 4px #10243a0d}
#biens .mb-card img,#biens .mb-card>div:first-child>div:first-child{width:56px!important;height:56px!important;font-size:24px!important;flex:none}
#biens .mb-card .mb-st{font-size:12px;padding:3px 9px}
#biens .mb-card>div:nth-child(2){margin-top:8px!important}
#biens .mb-card-btns{margin-top:8px}
#biens .mb-card-btns button{min-height:0;padding:8px 10px;font-size:13px;border-radius:10px;white-space:nowrap}
#biens .mb-pat-btn{margin-bottom:12px}
#biens .mb-ajout{margin-bottom:8px}
#biens .mb-ajout .btn-outline{font-size:13.5px;padding:9px 12px;min-height:0}
/* Champ « Photo du bien » (formulaires projet et bien) */
.ph-champ{display:flex;align-items:center;gap:10px;border:1px dashed #c8d6e0;border-radius:14px;padding:8px;margin:6px 0 14px;background:#f8fbfc}
.ph-vis{flex:none;width:56px;height:56px;border-radius:10px;overflow:hidden;background:#e8f1f4;display:grid;place-items:center;font-size:22px}
.ph-vis img{width:100%;height:100%;object-fit:cover;display:block}
.ph-txt{flex:1;min-width:0;line-height:1.25}.ph-txt b{display:block;font-size:14px;color:#10243a}.ph-txt small{font-size:12px;color:#728294}
.ph-btn{flex:none;padding:7px 12px!important;font-size:13px!important;min-height:0!important;width:auto!important}
.ph-del{flex:none;border:0;background:none;color:#8494a5;font-size:16px;cursor:pointer;padding:6px}
.ph-msg:empty{display:none}
/* Formules Pro et Expert : l'espace de travail mis en avant (ligne encadrée en tête de liste) */
li.abo-fort{list-style:none;background:linear-gradient(135deg,#ecfdf5,#e0f2fe);border:1px solid #a7e3c9;border-radius:10px;padding:7px 9px 7px 9px!important;margin:2px 0 4px;color:#10243a;line-height:1.3}
li.abo-fort::before{display:none!important}
li.abo-fort b{display:block;font-size:13.5px;color:#0b6e4b}
.pd-copie{border:1px solid #cfe3d9;border-radius:12px;padding:8px 12px;background:#f6fbf8;margin:10px 0}
.pd-copie summary{font-weight:700;color:#0b6e4b;cursor:pointer}
.pd-copie-t{font-size:13px;line-height:1.45;color:#33475b;white-space:pre-wrap;max-height:220px;overflow:auto;margin:6px 0 2px}
/* « Mes projets immobiliers » et ses chiffres dans un même encadré */
#projets .pj-cadre{background:#fff;border:1px solid #e3eaef;border-radius:16px;padding:12px 12px 10px;margin:0 0 12px;box-shadow:0 1px 4px #10243a0d}
#projets .pj-cadre .section{margin:0 2px 8px}
#projets .pj-cadre .section h2{font-size:18px}
#projets .pj-cadre .project-summary{border:0;border-top:1px solid #edf2f5;border-radius:0;padding:10px 0 0;margin:0;box-shadow:none}
