/* ═══════════════════════════════════════════════════════════════════════
   LE PARCOURS « maquettes GPT » — 07/11/2026. Se charge APRÈS tunnel.css et ne vaut que sous .tg.
   Nuit profonde, un seul violet (#7C5CFF), cartes de verre, un bouton plein par écran. Une seule police, sans empattement.
   Rien d'inventé à l'écran : ni nombre d'agents, ni avis, ni compte à rebours.
   ═══════════════════════════════════════════════════════════════════════ */
.tg{--v:#8D78ED;--v2:#8D78ED;--v-clair:#C2BAEB;--v-fond:rgba(101,71,232,0.16);--v-bord:rgba(166,154,226,0.42);
  --carte:rgba(255,255,255,.035);--carte-bord:rgba(255,255,255,.10);--gris:#B4AED3;--gris2:#8D88AE;--vert:#22C55E;
  --nuit:#101116;background:var(--nuit)}
.tg .t-fond{background:radial-gradient(90% 70% at 50% -10%,#1E2029 0%,#0C0D10 62%)}
.tg .t-fond .h1{background:radial-gradient(closest-side,rgba(101,71,232,0.096),transparent)}
.tg .t-fond .h2{background:radial-gradient(closest-side,rgba(101,71,232,0.064),transparent)}
.tg .t-fond .h3{left:20vw;bottom:-38vw;background:radial-gradient(closest-side,rgba(101,71,232,0.07),transparent)}
.tg .t-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ── La barre : la marque, trois étapes, l'aide ── */
.tg .t-barre{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px;padding:14px 32px;min-height:78px;background:rgba(16,17,22,.82);border-bottom:1px solid rgba(255,255,255,.08)}
.tg .t-barre > .t-retour{position:absolute;left:32px;top:50%;transform:translateY(-50%)}
.tg .t-barre > .t-retour:hover{transform:translate(-2px,-50%)}
.tg .t-marque{grid-column:1;margin-left:56px;font-size:22px;font-weight:800;letter-spacing:-.02em}
.tg .t-marque img{height:32px}
.tg .t-marque span{background:linear-gradient(90deg,#8D78ED,#C2BAEB);-webkit-background-clip:text;background-clip:text}
.tg .t-pas{grid-column:2;display:flex;align-items:center;margin:0;padding:0;list-style:none}
.tg .t-pas li{display:flex;align-items:center;gap:12px;color:var(--gris2)}
.tg .t-pas li:not(:last-child)::after{content:"";width:clamp(40px,7vw,120px);height:2px;margin:0 18px;border-radius:2px;background:rgba(255,255,255,.14);transition:background .4s}
.tg .t-pas li.fait:not(:last-child)::after{background:linear-gradient(90deg,var(--v),#A99DE8)}
.tg .t-pas i{position:relative;flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:2px solid rgba(255,255,255,.22);font-style:normal;font-size:15px;font-weight:700;color:#CFCBE6;transition:.35s}
.tg .t-pas i svg{position:absolute;width:18px;height:18px;opacity:0;transform:scale(.4);transition:.35s cubic-bezier(.2,1.4,.4,1)}
.tg .t-pas li.fait i{border-color:transparent;background:var(--v);color:transparent;box-shadow:0 0 0 4px rgba(101,71,232,0.126)}
.tg .t-pas li.fait i svg{opacity:1;transform:none;color:#fff}
.tg .t-pas li.ici i{border-color:var(--v);background:rgba(101,71,232,0.22);color:#fff;box-shadow:0 0 0 5px rgba(101,71,232,0.112),0 0 24px rgba(17,19,27,0.16)}
.tg .t-pas p{margin:0;display:flex;flex-direction:column;line-height:1.25}
.tg .t-pas p b{font-size:15px;font-weight:600;color:#D7D3EC;white-space:nowrap}
.tg .t-pas li.ici p b,.tg .t-pas li.fait p b{color:#fff}
.tg .t-pas p small{font-size:12.5px;color:var(--gris2);white-space:nowrap}
.tg .t-aide-btn{grid-column:3;justify-self:end;display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:12px;border:1px solid rgba(255,255,255,.18);color:#E6E3F5;font-size:14.5px;font-weight:600;text-decoration:none;transition:background .2s,border-color .2s}
.tg .t-aide-btn:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.3)}
.tg .t-demo{position:absolute;right:220px;top:50%;transform:translateY(-50%)}

/* ── Le bouton plein (un par écran) ── */
.tg .t-go{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:66px;padding:0 28px;border:0;border-radius:16px;
  background:linear-gradient(180deg,#6F52EB,#6547E8);color:#fff;font:inherit;font-size:21px;font-weight:700;letter-spacing:-.01em;text-decoration:none;cursor:pointer;
  box-shadow:0 1px 0 rgba(255,255,255,.28) inset,0 18px 40px -14px rgba(17,19,27,0.16);transition:transform .2s,box-shadow .2s,filter .2s}
.tg .t-go::before,.tg .t-go::after{display:none}
.tg .t-go:hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 24px 50px -14px rgba(17,19,27,0.16)}
.tg .t-go:active{transform:translateY(0)}
.tg .t-go:focus-visible{outline:3px solid #fff;outline-offset:3px}
.tg .t-go svg{flex:none}
.tg .t-go[aria-busy="true"]{opacity:.7;pointer-events:none}

.tg .t-badge-etape{display:inline-flex;align-items:center;padding:7px 16px;border-radius:999px;background:var(--v-fond);border:1px solid var(--v-bord);color:#DED9F4;font-size:14px;font-weight:600}

/* ══ 1. VOTRE SECTEUR ══ */
.tg .t-sect{padding:0}
.tg .t-sect-g{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:44px;align-items:stretch;max-width:1500px;margin:0 auto;padding:30px 40px 0;min-height:auto}
.tg .t-sect-txt{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:0;max-width:none}
.tg .t-sect-titre{display:flex;align-items:center;flex-wrap:wrap;gap:0 14px;margin:20px 0 10px;font-size:clamp(34px,3.6vw,56px);line-height:1.08;font-weight:800;letter-spacing:-.035em;color:#fff}
.tg .t-sect-titre > span{color:#fff;font-weight:800}
.tg .t-titre-ok{display:inline-grid;place-items:center;width:.72em;height:.72em;border-radius:50%;background:var(--v);box-shadow:0 0 0 6px rgba(101,71,232,0.126)}
.tg .t-titre-ok svg{width:58%;height:58%;color:#fff}
.tg .t-sect-sous{margin:0 0 26px;max-width:600px;font-size:19px;line-height:1.5;color:var(--gris)}
.tg .t-stats{width:100%;margin:0 0 16px}
.tg .t-stats-l{display:grid;grid-template-columns:1fr 1fr;padding:26px 8px;border-radius:20px;background:linear-gradient(180deg,rgba(101,71,232,0.1),rgba(255,255,255,.025));border:1px solid var(--carte-bord)}
.tg .t-stat{display:flex;gap:18px;padding:0 22px;align-items:flex-start}
.tg .t-stat + .t-stat{border-left:1px solid rgba(255,255,255,.10)}
.tg .t-stat > i{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:rgba(101,71,232,0.2);color:var(--v-clair)}
.tg .t-stat > i svg{width:26px;height:26px}
.tg .t-stat p{margin:0;display:flex;flex-direction:column}
.tg .t-stat b{font-size:clamp(32px,2.9vw,44px);line-height:1;font-weight:800;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums}
.tg .t-stat span{margin-top:8px;font-size:18px;font-weight:600;color:#fff}
.tg .t-stat small{margin-top:3px;font-size:14px;color:var(--gris2)}
.tg .t-zone{width:100%;margin:0 0 18px;padding:18px 20px;border-radius:18px;background:var(--carte);border:1px solid var(--carte-bord)}
.tg .t-zone-tete{display:flex;align-items:center;gap:16px;margin:0}
.tg .t-zone-ok{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--vert);box-shadow:0 0 0 5px rgba(34,197,94,.15)}
.tg .t-zone-ok svg{width:24px;height:24px;color:#fff}
.tg .t-zone-tete p{flex:1;margin:0;display:flex;flex-direction:column;min-width:0}
.tg .t-zone-titre{margin:0;font-size:18px;font-weight:700;color:#fff;text-transform:none;letter-spacing:0}
.tg #zoneResume{font-size:15px;color:var(--gris);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tg .t-zone-modif{flex:none;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.03);color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s}
.tg .t-zone-modif:hover{background:rgba(255,255,255,.08)}
.tg .t-zone-edition{margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}
.tg .t-zone-choisies{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:0;list-style:none}
.tg .t-zone-choisies li{display:inline-flex;align-items:center;gap:6px;padding:7px 8px 7px 14px;border-radius:999px;background:var(--v-fond);border:1px solid var(--v-bord);font-size:14px;font-weight:600;color:#fff}
.tg .t-zone-choisies button{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}
.tg .t-zone-aide{margin:0 0 10px;font-size:14px;color:var(--gris)}
.tg .t-voisines{display:flex;flex-wrap:wrap;gap:8px}
.tg .t-puce{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.03);color:#E6E3F5;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:.2s}
.tg .t-puce:hover{border-color:var(--v);background:var(--v-fond);color:#fff}
.tg .t-puce span{color:var(--v-clair)}
.tg .t-sect-action{position:static;width:100%;margin:0;padding:0;background:none;border:0}
.tg .t-sect-action .t-go{min-height:70px;font-size:22px}
.tg .t-rassure{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px;width:100%;margin:20px 0 0;padding:0;list-style:none}
.tg .t-rassure li{display:inline-flex;align-items:center;gap:9px;font-size:15px;color:var(--gris)}
.tg .t-rassure svg{width:19px;height:19px;color:var(--v-clair)}
.tg .t-sect-carte{position:relative;min-height:540px;height:auto;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.10);background:#0F1014;box-shadow:0 40px 90px -40px rgba(0,0,0,.9)}
.tg .t-sect .t-map{position:absolute !important;inset:0}
.tg .t-fond-carte{position:absolute;top:16px;right:16px;z-index:3;display:flex;padding:4px;border-radius:14px;background:rgba(15,16,21,.82);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px)}
.tg .t-fond-carte button{padding:9px 18px;border:0;border-radius:10px;background:none;color:#D4D0EA;font:inherit;font-size:14.5px;font-weight:600;cursor:pointer}
.tg .t-fond-carte button[aria-pressed="true"]{background:var(--v);color:#fff;box-shadow:0 6px 18px -6px rgba(17,19,27,0.16)}
.tg .t-map-aide{left:16px;bottom:16px;top:auto;right:auto;transform:none;padding:8px 14px;border-radius:10px;background:rgba(15,16,21,.82);border:1px solid rgba(255,255,255,.12);color:#D4D0EA;font-size:13px}
.tg .maplibregl-ctrl-group{background:rgba(15,16,21,.86) !important;border:1px solid rgba(255,255,255,.14);border-radius:12px !important;overflow:hidden;box-shadow:none !important}
.tg .maplibregl-ctrl-group button{width:40px;height:40px}
.tg .maplibregl-ctrl-group button + button{border-top:1px solid rgba(255,255,255,.12) !important}
.tg .maplibregl-ctrl-group .maplibregl-ctrl-icon{filter:invert(1) brightness(1.4)}
.tg .maplibregl-ctrl-bottom-right{right:6px;bottom:6px}
.tg .t-etiq{padding:6px 12px;border-radius:10px;font-size:14px;font-weight:600;letter-spacing:0}
.tg .t-etiq.choisie{background:none;border:0;box-shadow:none;color:#fff;font-size:22px;font-weight:800;text-shadow:0 2px 12px rgba(16,17,22,.9),0 0 2px rgba(16,17,22,.9)}
.tg .t-etiq.choisie::before{content:"";display:block;width:18px;height:18px;margin:0 auto 6px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#fff;box-shadow:0 0 0 4px rgba(101,71,232,0.595),0 6px 16px rgba(0,0,0,.5)}
.tg .t-etiq.voisine{background:rgba(15,16,21,.72);border:1px solid rgba(255,255,255,.12);color:#E6E3F5;opacity:1 !important}
.tg .t-etiq.voisine:hover,.tg .t-etiq.voisine.survol{background:var(--v);border-color:var(--v);color:#fff}
.tg .t-sect-carte.photo .t-etiq.voisine{background:rgba(15,16,21,.82)}
.tg .t-confiance{display:flex;justify-content:center;flex-wrap:wrap;gap:16px 0;max-width:1500px;margin:30px auto 0;padding:22px 40px 30px;border-top:1px solid rgba(255,255,255,.08);list-style:none}
.tg .t-confiance li{display:flex;align-items:center;gap:14px;padding:0 40px}
.tg .t-confiance li + li{border-left:1px solid rgba(255,255,255,.10)}
.tg .t-confiance svg{flex:none;width:30px;height:30px;color:var(--v-clair)}
.tg .t-confiance span{display:flex;flex-direction:column;line-height:1.3}
.tg .t-confiance b{font-size:15.5px;font-weight:700;color:#fff}
.tg .t-confiance small{font-size:13.5px;color:var(--gris2)}
.tg .t-source{display:none}
@media (min-width:901px){
  .tg .t-sect-g{min-height:calc(100vh - 78px - 120px)}
  .tg .t-sect-carte{min-height:min(660px,calc(100vh - 230px))}
}

/* ══ 2. VOTRE COURRIER ══ */
.tg .t-cour{padding:0}
.tg .t-cour .t-atelier{display:grid;grid-template-columns:minmax(380px,520px) minmax(0,1fr);gap:52px;align-items:start;max-width:1500px;margin:0 auto;padding:28px 40px 130px}
.tg .t-cour .t-outils{position:sticky;top:100px;padding:28px 28px 26px;border-radius:24px;background:linear-gradient(180deg,rgba(35,38,48,.86),rgba(21,22,29,.86));border:1px solid rgba(255,255,255,.10);box-shadow:0 30px 70px -40px rgba(0,0,0,.9)}
.tg .t-cour .t-outils h2{margin:16px 0 8px;font-size:clamp(28px,2.4vw,38px);line-height:1.1;font-weight:800;letter-spacing:-.03em;color:#fff}
.tg .t-cour .t-outils-txt{margin:0 0 22px;font-size:17px;line-height:1.5;color:var(--gris)}
.tg .t-cour .t-groupe{display:flex;flex-direction:column;gap:0;margin:0;padding:0;border:0}
.tg .t-cour label{display:block;margin:16px 0 8px;font-size:15.5px;font-weight:700;color:#fff}
.tg .t-cour label:first-child{margin-top:0}
.tg .t-requis{font-style:normal;color:#ADA1E9}
.tg .t-facultatif{margin-left:4px;font-weight:500;color:var(--gris2);font-size:13px}
.tg .t-champ{position:relative;display:flex;align-items:center}
.tg .t-champ > svg{position:absolute;left:16px;width:20px;height:20px;color:#8D78ED;pointer-events:none}
.tg .t-cour .t-saisie{width:100%;height:54px;padding:0 16px 0 48px;border-radius:13px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:#fff;font:inherit;font-size:16.5px;transition:border-color .2s,box-shadow .2s}
.tg .t-cour .t-saisie::placeholder{color:#7F7A9E}
.tg .t-cour .t-saisie:focus{outline:none;border-color:var(--v);box-shadow:0 0 0 4px rgba(101,71,232,0.154)}
.tg .t-select select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:44px;background:rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center/18px no-repeat}
.tg .t-select option{background:#16181F;color:#fff}
.tg .t-cour .t-logo{position:relative;display:flex;align-items:center;gap:16px;min-height:96px;padding:12px;border-radius:14px;border:1.5px dashed rgba(255,255,255,.22);background:rgba(255,255,255,.025);cursor:pointer;transition:border-color .2s,background .2s}
.tg .t-cour .t-logo:hover{border-color:var(--v);background:rgba(101,71,232,0.08)}
.tg .t-cour .t-logo input{position:absolute;inset:0;opacity:0;cursor:pointer}
.tg .t-logo-apercu{flex:none;display:grid;place-items:center;width:150px;height:72px;border-radius:10px;background:#fff center/contain no-repeat;background-origin:content-box;padding:8px;box-sizing:border-box}
.tg .t-logo-apercu:not(.plein){background:rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3' fill='none' stroke='%23B9A6FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px no-repeat}
.tg .t-logo-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.tg .t-logo-txt b{font-size:15px;font-weight:600;color:#fff}
.tg .t-logo-txt small{font-size:13px;color:var(--gris2)}
.tg .t-logo-x{position:relative;z-index:2;margin-left:auto;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:rgba(15,16,21,.6);color:#fff;cursor:pointer}
.tg .t-info-modele{display:flex;gap:14px;margin-top:20px;padding:16px 18px;border-radius:16px;background:rgba(101,71,232,0.12);border:1px solid rgba(166,154,226,0.32)}
.tg .t-info-modele i{flex:none;color:#ADA1E9}
.tg .t-info-modele i svg{width:24px;height:24px}
.tg .t-info-modele p{margin:0;display:flex;flex-direction:column;gap:4px}
.tg .t-info-modele b{font-size:16px;color:#fff}
.tg .t-info-modele small{font-size:14px;line-height:1.5;color:var(--gris)}
.tg .t-cour .t-apercu{position:sticky;top:100px;display:flex;flex-direction:column;align-items:center}
.tg .t-cour .t-apercu::before{content:"";position:absolute;inset:6% -4% 0;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,rgba(101,71,232,0.09),transparent 75%)}
.tg .t-onglets{display:inline-flex;margin:0 0 18px;padding:4px;border-radius:14px;background:rgba(15,16,21,.7);border:1px solid rgba(255,255,255,.12)}
.tg .t-onglets button{padding:9px 18px;border:0;border-radius:10px;background:none;color:#CFCBE6;font:inherit;font-size:14.5px;font-weight:600;cursor:pointer}
.tg .t-onglets button[aria-selected="true"]{background:var(--v);color:#fff}
.tg #vueCourrier{width:100%;max-width:min(660px,calc((100vh - 260px) / 1.414))}
.tg #vueCourrier .t-lettre{transform:perspective(1600px) rotateY(-4deg) rotate(-.6deg);transform-origin:50% 60%}
.tg .t-cour .t-pied{position:fixed;left:0;right:0;bottom:0;z-index:15;padding:16px 40px;background:rgba(16,17,22,.88);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid rgba(255,255,255,.08)}
.tg .t-cour .t-pied-int{display:flex;align-items:center;gap:20px;max-width:1500px;margin:0 auto}
.tg .t-cour .t-pied-int small{flex:1;font-size:14px;color:var(--gris2);text-align:right}
.tg .t-cour .t-pied .t-go{width:auto;min-height:60px;font-size:19px;padding:0 30px}
.tg .t-btn-retour{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:0 24px;border-radius:14px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.03);color:#fff;font:inherit;font-size:17px;font-weight:600;cursor:pointer;transition:background .2s}
.tg .t-btn-retour:hover{background:rgba(255,255,255,.08)}

/* ══ LA LETTRE (gabarit A4, unités du conteneur) ══ */
.tg .t-lettre{padding:0;border-radius:.9cqi;color:#22242F;font-family:var(--police);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 50px 100px -30px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.4)}
.tg .l-tete{position:absolute;top:0;left:0;right:0;height:21cqi;overflow:hidden;border-radius:.9cqi .9cqi 0 0}
.tg .l-photo{position:absolute;top:0;right:0;bottom:0;width:52cqi;background:url("img/etude-maison.jpg") center 40%/cover;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 45%);mask-image:linear-gradient(90deg,transparent 0%,#000 45%)}
.tg .l-marque{position:absolute;left:7cqi;top:5.5cqi;z-index:1;display:flex;align-items:center;gap:2.4cqi}
.tg .t-lettre .l-logo{position:static;flex:none;width:10cqi;height:10cqi;border-radius:1.8cqi;background:linear-gradient(180deg,#6F52EB,#6547E8);font-size:4.6cqi;box-shadow:0 .6cqi 1.6cqi rgba(101,71,232,0.21)}
.tg .l-marque-txt{display:flex;flex-direction:column}
.tg .l-marque-txt b{font-size:3.1cqi;font-weight:800;letter-spacing:-.02em;color:#22242F;line-height:1.1}
.tg .l-marque-txt small{margin-top:.6cqi;font-size:1.35cqi;font-weight:700;letter-spacing:.32em;text-transform:uppercase;color:#C59A3A}
.tg .t-lettre .l-trait{position:absolute;left:7cqi;top:20.5cqi;width:30cqi;height:.3cqi;margin:0;background:linear-gradient(90deg,#D4A548,rgba(212,165,72,0))}
.tg .l-haut{position:absolute;left:7cqi;right:7cqi;top:25cqi;display:flex;justify-content:space-between;align-items:baseline}
.tg .t-lettre .l-dest{margin:0;font-size:1.8cqi;color:#22242F}
.tg .t-lettre .l-date{margin:0;font-size:1.55cqi;color:#7A7690}
.tg .t-lettre .l-titre{position:absolute;left:7cqi;right:7cqi;top:31cqi;max-width:none;font-size:4.3cqi;line-height:1.14;font-weight:800;letter-spacing:-.035em;color:#22242F}
.tg .t-lettre .l-titre em{font-style:normal;color:#8D78ED}
.tg .t-lettre .l-corps{position:absolute;left:7cqi;right:7cqi;top:47cqi;max-width:none;margin:0}
.tg .t-lettre .l-corps p{margin:0 0 1.35cqi;font-size:1.82cqi;line-height:1.55;color:#292D39}
.tg .t-lettre .l-qr{left:7cqi;right:7cqi;width:auto;bottom:28cqi;gap:2.6cqi;padding:2.4cqi 2.6cqi;border-radius:2cqi;background:#F5F4FC;border:.25cqi solid #E6E2F7}
.tg .l-qr-ico{flex:none;display:grid;place-items:center;width:6.2cqi;height:6.2cqi;border-radius:1.4cqi;background:#fff;color:#8D78ED;box-shadow:0 .3cqi 1cqi rgba(101,71,232,0.105)}
.tg .l-qr-ico svg{width:60%;height:60%}
.tg .l-qr-txt{flex:1;min-width:0}
.tg .t-lettre .l-qr b{font-size:2.3cqi;font-weight:800;color:#22242F}
.tg .t-lettre .l-qr small{margin-top:.6cqi;font-size:1.55cqi;color:#5E5A78}
.tg .t-lettre .l-qr .t-qr{width:14cqi;height:14cqi;padding:.9cqi;border-radius:1.2cqi;background:#fff;box-shadow:0 0 0 .3cqi #8D78ED}
.tg .t-lettre .l-sign{top:auto;right:auto;left:7cqi;bottom:12.5cqi;width:auto;font-size:1.6cqi;color:#5E5A78}
.tg .t-lettre .l-signature{margin:.8cqi 0 .5cqi;font-size:3.2cqi;font-weight:700;color:#22242F}
.tg .t-lettre .l-sign small{font-size:1.5cqi;color:#5E5A78}
.tg .l-pied{position:absolute;left:7cqi;right:7cqi;bottom:5cqi;display:flex;gap:4cqi;padding-top:2cqi;border-top:.25cqi solid #E9C987;font-size:1.45cqi;color:#3A3652}
.tg .l-pied > span{display:inline-flex;align-items:center;gap:1cqi;min-width:0}
.tg .l-pied > span[hidden]{display:none}
.tg .l-pied svg{flex:none;width:2cqi;height:2cqi;color:#8D78ED}
.tg .t-lettre .l-note{bottom:1.4cqi;font-size:1.2cqi}

/* ══ 3. ACTIVATION : « Votre campagne est prête ! » ══ */
.tg .t-act{padding:34px 40px 40px}
.tg .t-act-tete{max-width:900px;margin:0 auto 28px;text-align:center}
.tg .t-act-tete h2{margin:0;font-size:clamp(36px,4.2vw,64px);line-height:1.05;font-weight:800;letter-spacing:-.04em;color:#fff}
.tg .t-act-tete .t-chaud{background:linear-gradient(90deg,#A294E6,#CEC8EF);-webkit-background-clip:text;background-clip:text;color:transparent}
.tg .t-act-tete p{margin:14px 0 0;font-size:19px;line-height:1.5;color:var(--gris)}
.tg .t-act-g{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:56px;align-items:center;max-width:1240px;margin:0 auto}
.tg .t-act-scene{position:relative;display:grid;place-items:center;min-height:440px;perspective:1600px}
.tg .t-act-lueur{position:absolute;inset:-6% 0;border-radius:50%;background:radial-gradient(closest-side,rgba(101,71,232,0.102),transparent 72%);pointer-events:none}
.tg .t-act-pile{position:relative;width:min(470px,100%,calc((100vh - 300px) / 1.414));transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.tg .t-act-pile > i{position:absolute;inset:0;border-radius:1.5%;background:#fff}
.tg .t-act-pile .p1{transform:translate(-9%,2%) rotate(-7deg);opacity:.32}
.tg .t-act-pile .p2{transform:translate(-4.5%,1%) rotate(-4.5deg);opacity:.6}
.tg .t-act-feuille{position:relative;container-type:inline-size;transform:rotate(-2.2deg);filter:drop-shadow(0 40px 60px rgba(0,0,0,.6))}
.tg .t-act-feuille.image img{display:block;width:100%;height:auto;border-radius:1.2%}
.tg .t-act-feuille .t-modele-img{margin:0}
.tg .t-act-feuille .t-modele-img figcaption{display:none}
.tg .t-act-pile.joue .t-act-feuille{animation:t3-pose .9s cubic-bezier(.16,1,.3,1) both}
.tg .t-act-pile.joue > i{animation:t3-pose .9s cubic-bezier(.16,1,.3,1) both .08s}
@keyframes t3-pose{from{opacity:0;translate:0 30px;scale:.96}}
.tg .t-act-pastille{position:absolute;right:4%;bottom:6%;z-index:3;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:rgba(20,21,27,.9);border:1px solid rgba(34,197,94,.45);color:#fff;font-size:14.5px;font-weight:600;box-shadow:0 14px 30px -10px rgba(0,0,0,.7);animation:t3-pose .8s cubic-bezier(.16,1,.3,1) .5s both}
.tg .t-act-pastille svg{color:var(--vert)}
.tg .t-act-offre{position:relative;padding:34px 36px 30px;border-radius:26px;background:linear-gradient(180deg,rgba(101,71,232,0.2) 0%,rgba(29,31,40,.92) 46%);border:1px solid rgba(173,162,228,0.45);box-shadow:0 0 0 1px rgba(101,71,232,0.105),0 40px 90px -30px rgba(17,19,27,0.16)}
.tg .t-act-badge{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border-radius:12px;background:rgba(101,71,232,0.28);color:#fff;font-size:16px;font-weight:600}
.tg .t-act-badge svg{color:#fff}
.tg .t-act-prix{display:flex;align-items:baseline;gap:12px;margin:22px 0 2px}
.tg .t-act-prix b{font-size:clamp(64px,6vw,92px);line-height:.95;font-weight:800;letter-spacing:-.05em;color:#fff}
.tg .t-act-prix span{font-size:28px;font-weight:600;color:#fff}
.tg .t-act-jour{margin:0 0 20px;font-size:15px;color:var(--gris2)}
.tg .t-act-liste{display:flex;flex-direction:column;gap:14px;margin:0;padding:0 0 22px;list-style:none;border-bottom:1px solid rgba(255,255,255,.12)}
.tg .t-act-liste li{display:flex;align-items:center;gap:14px;font-size:18px;color:#fff}
.tg .t-act-liste i{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--v);color:#fff}
.tg .t-act-extra{margin:18px 0 22px;font-size:17px;color:#E6E3F5}
.tg .t-act-offre .t-go{min-height:68px;font-size:21px}
.tg .t-act-rassure{display:flex;flex-direction:column;gap:12px;margin:22px 0 0;padding:0;list-style:none}
.tg .t-act-rassure li{display:flex;align-items:center;gap:14px;font-size:15.5px;color:var(--gris)}
.tg .t-act-rassure svg{flex:none;width:24px;height:24px;color:#C9C3E6}
.tg .t-act .t-faible{margin:0 0 16px}
.tg .t-tf-liens{display:flex;flex-direction:column;align-items:center;gap:12px;margin:34px auto 0}
.tg .t-explorer{border:0;background:none;color:#E6E3F5;font:inherit;font-size:17px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(255,255,255,.35);cursor:pointer}
.tg .t-explorer:hover{color:#fff;text-decoration-color:#fff}

/* ── L'analyse : aux couleurs du parcours ── */
.tg .t-anneau .plein{stroke:url(#gAnneau)}

/* ══ Tablette et téléphone ══ */
@media (max-width:1180px){
  .tg .t-pas p small{display:none}
  .tg .t-pas li:not(:last-child)::after{width:32px;margin:0 10px}
  .tg .t-aide-btn span{display:none}
  .tg .t-cour .t-atelier{grid-template-columns:minmax(340px,440px) minmax(0,1fr);gap:32px;padding-left:24px;padding-right:24px}
  .tg .t-act-g{gap:36px}
}
@media (max-width:900px){
  .tg .t-barre{grid-template-columns:auto 1fr auto;gap:10px;padding:10px 14px;min-height:62px}
  .tg .t-barre > .t-retour{position:static;transform:none;grid-column:1;grid-row:1}
  .tg .t-marque{display:none}
  .tg .t-pas{grid-column:2;justify-content:center}
  .tg .t-pas li{gap:8px}
  .tg .t-pas li:not(.ici) p{display:none}
  .tg .t-pas li:not(:last-child)::after{width:18px;margin:0 6px}
  .tg .t-pas i{width:30px;height:30px;font-size:13px}
  .tg .t-pas p b{font-size:14px}
  .tg .t-aide-btn{grid-column:3;padding:9px 11px}
  .tg .t-demo{display:none}
  .tg .t-sect-g{grid-template-columns:1fr;gap:20px;padding:18px 16px 0}
  .tg .t-sect-titre{font-size:34px;margin-top:14px}
  .tg .t-sect-sous{font-size:16px;margin-bottom:18px}
  .tg .t-stats-l{padding:18px 4px}
  .tg .t-stat{flex-direction:column;gap:10px;padding:0 14px}
  .tg .t-stat > i{width:42px;height:42px}
  .tg .t-stat span{font-size:15px}
  .tg .t-stat small{font-size:12.5px}
  .tg .t-sect-carte{order:2;min-height:340px}
  .tg .t-sect-txt{display:contents}
  .tg .t-sect-txt > *{order:1}
  .tg .t-sect-action,.tg .t-rassure{order:3}
  .tg .t-sect-action{position:sticky;bottom:0;z-index:5;margin:0 -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));width:calc(100% + 32px);background:rgba(16,17,22,.92);backdrop-filter:blur(14px);border-top:1px solid rgba(255,255,255,.08)}
  .tg .t-sect-action .t-go{min-height:60px;font-size:19px}
  .tg .t-rassure{gap:8px 18px;margin:4px 0 0}
  .tg .t-rassure li{font-size:13.5px}
  .tg .t-confiance{flex-direction:column;align-items:flex-start;gap:14px;padding:20px 16px 28px;margin-top:18px}
  .tg .t-confiance li{padding:0}
  .tg .t-confiance li + li{border-left:0}
  .tg .t-cour .t-atelier{grid-template-columns:1fr;gap:24px;padding:16px 16px 120px}
  .tg .t-cour .t-outils{position:static;padding:22px 18px}
  .tg .t-cour .t-apercu{position:static}
  .tg #vueCourrier{max-width:520px}
  .tg #vueCourrier .t-lettre{transform:none}
  .tg .t-cour .t-pied{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
  .tg .t-cour .t-pied-int small{display:none}
  .tg .t-btn-retour{min-height:54px;padding:0 16px;font-size:16px}
  .tg .t-cour .t-pied .t-go{flex:1;min-height:54px;font-size:17px;padding:0 16px}
  .tg .t-act{padding:22px 16px 30px}
  .tg .t-act-tete p{font-size:16px}
  .tg .t-act-g{grid-template-columns:1fr;gap:26px}
  .tg .t-act-scene{min-height:0;padding:10px 0 20px}
  .tg .t-act-pile{width:min(330px,74vw)}
  .tg .t-act-pastille{right:0;bottom:0;font-size:13px}
  .tg .t-act-offre{padding:26px 20px 22px}
  .tg .t-act-liste li{font-size:16px}
}
@media (prefers-reduced-motion:reduce){
  .tg .t-act-pile,.tg .t-act-pile *,.tg .t-act-pastille{animation:none !important;transition:none !important}
}

/* ── corrections après la première capture (07/11/2026) ── */
.tg .t-ecran{max-width:none;padding:0 0 0}
.tg .t-ecran h2.t-sect-titre{font-size:clamp(36px,3.8vw,58px);line-height:1.06;font-weight:800}
.tg .t-sect-titre > span{display:inline;margin:0;font-size:1em;font-weight:800;letter-spacing:-.035em;color:#fff}
.tg .t-stats{padding:0;border:0;border-radius:0;background:none}
.tg .t-stats-l{grid-template-columns:1fr 1fr;align-items:start;gap:0}
.tg .t-stat b{white-space:nowrap}
.tg .t-cour .t-groupe label{margin:14px 0 7px;font-size:15px;font-weight:700;letter-spacing:0;text-transform:none;color:#fff}
.tg .t-cour .t-groupe label:first-child{margin-top:0}
.tg .t-cour .t-saisie{height:50px}
.tg .t-cour .t-outils h2{margin:14px 0 6px}
.tg .t-cour .t-outils-txt{margin-bottom:18px}
.tg .t-cour .t-logo{min-height:84px}
.tg .t-logo-apercu{width:132px;height:62px}
.tg #vueCourrier{max-width:min(640px,calc((100vh - 290px) / 1.414))}
.tg .l-photo{background-image:url("img/photo-rue.jpg");background-position:14% 62%;background-size:150% auto}
.tg .t-lettre .l-corps p{font-size:1.9cqi}
.tg .t-lettre .l-qr{bottom:27cqi}
.tg .t-sect-titre{display:block}
.tg .t-titre-ok{vertical-align:-.06em}
.tg .t-lettre .l-titre em{white-space:nowrap}
.tg .t-lettre .l-corps p{font-size:2cqi;line-height:1.6;margin-bottom:1.6cqi}
.tg .t-cour .t-outils{position:relative;top:auto}
@media (max-width:900px){
  .tg .t-act-pile{width:min(270px,64vw)}
  .tg .t-act-tete h2{font-size:34px}
  .tg .t-act-scene{padding:4px 0 14px}
}
/* la reprise d'un aperçu, hors du studio : même violet que le parcours */
.t-reprise-btn{background:linear-gradient(180deg,#6F52EB,#6547E8) !important;color:#fff !important;box-shadow:0 10px 24px -10px rgba(17,19,27,0.16)}
/* l'IA dans l'écran Secteur : un total réel, la liste verrouillée jusqu'à l'activation */
.tg .t-ia{position:relative;display:flex;align-items:center;gap:16px;width:100%;margin:0 0 16px;padding:18px 20px;border-radius:18px;
  background:linear-gradient(100deg,rgba(101,71,232,0.3) 0%,rgba(101,71,232,0.1) 70%);border:1px solid rgba(173,162,228,0.55);box-shadow:0 0 0 1px rgba(101,71,232,0.084),0 18px 40px -22px rgba(17,19,27,0.16)}
.tg .t-ia[hidden]{display:none}
.tg .t-ia-ico{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#8D78ED;color:#fff;box-shadow:0 0 24px rgba(17,19,27,0.16)}
.tg .t-ia-ico svg{width:24px;height:24px}
.tg .t-ia p{flex:1;margin:0;font-size:16px;line-height:1.45;color:#E6E3F5}
.tg .t-ia p b{color:#fff}
.tg .t-ia p b span{font-variant-numeric:tabular-nums}
.tg .t-ia small{display:block;margin-top:4px;font-size:13px;color:#B4AED3}
.tg .t-ia-verrou{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(15,16,21,.6);border:1px solid rgba(255,255,255,.18);color:#DED9F4}
.tg #tfSous b{color:#fff}

/* ══════════════════════════════════════════════════════════════════════
   08/11/2026 — LE CHOIX DES MAISONS + L'ACTIVATION « Votre premier courrier est prêt. »
   L'agent choisit ses maisons (IA), personnalise son courrier, clique « Préparer l'envoi » : la lettre entre dans son enveloppe,
   le récapitulatif de SA campagne et l'offre apparaissent. Or = ce qui est à lui (maisons cochées) ; violet = l'action.
   ══════════════════════════════════════════════════════════════════════ */
.tg{--or:#FFD27A;--or2:#F5B544}

/* ── Secteur : chiffres du marché plus discrets quand les maisons sont là ── */
.tg .t-sect.avec-maisons .t-sect-sous{margin-bottom:18px;font-size:17px}
.tg .t-sect.avec-maisons .t-stats-l{padding:14px 4px;border-radius:16px}
.tg .t-sect.avec-maisons .t-stat > i{width:40px;height:40px}
.tg .t-sect.avec-maisons .t-stat > i svg{width:20px;height:20px}
.tg .t-sect.avec-maisons .t-stat b{font-size:28px}
.tg .t-sect.avec-maisons .t-stat span{margin-top:4px;font-size:15px}
.tg .t-sect.avec-maisons .t-stat small{font-size:12.5px}

/* ── La liste des maisons ── */
.tg .t-mais{width:100%;margin:0 0 16px;padding:20px 20px 14px;border-radius:20px;background:linear-gradient(180deg,rgba(101,71,232,0.16),rgba(29,31,40,.55));border:1px solid rgba(173,162,228,0.42);box-shadow:0 30px 70px -40px rgba(17,19,27,0.16)}
.tg .t-mais[hidden]{display:none}
.tg .t-mais.secoue{animation:t-secoue .4s cubic-bezier(.36,.07,.19,.97)}
@keyframes t-secoue{20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
.tg .t-mais-tete{display:flex;align-items:flex-start;gap:14px;margin:0 0 14px}
.tg .t-mais-tete p{margin:0;display:flex;flex-direction:column;gap:4px}
.tg .t-mais-tete b{font-size:18px;line-height:1.3;font-weight:700;color:#fff}
.tg .t-mais-n{background:linear-gradient(90deg,var(--or),#FFF1CC);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:800}
.tg .t-mais-tete small{font-size:14.5px;line-height:1.45;color:var(--gris)}
.tg .t-mais-liste{display:flex;flex-direction:column;gap:6px;max-height:min(372px,42vh);margin:0;padding:2px 4px 2px 0;overflow-y:auto;list-style:none;scrollbar-width:thin;scrollbar-color:rgba(173,162,228,0.4) transparent}
.tg .t-m{animation:t3-pose .5s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--i) * 45ms)}
.tg .t-m label{position:relative;display:grid;grid-template-columns:24px 26px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 14px 15px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.tg .t-m label:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18)}
.tg .t-m input{position:absolute;opacity:0;pointer-events:none}
.tg .t-m-case{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;border:2px solid rgba(255,255,255,.3);color:transparent;transition:.25s cubic-bezier(.2,1.4,.4,1)}
.tg .t-m input:focus-visible ~ .t-m-case{outline:3px solid #fff;outline-offset:2px}
.tg .t-m-rang{font-size:14px;font-weight:700;color:var(--gris2);text-align:center;font-variant-numeric:tabular-nums}
.tg .t-m-txt{display:flex;flex-direction:column;min-width:0}
.tg .t-m-txt b{font-size:15.5px;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg .t-m-masque{margin-left:6px;letter-spacing:1px;color:transparent;text-shadow:0 0 4px rgba(255,255,255,.4)}
.tg .t-m-txt small{font-size:12.5px;color:var(--gris2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg .t-m-chance{display:flex;flex-direction:column;align-items:flex-end;line-height:1}
.tg .t-m-chance b{font-size:24px;font-weight:800;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums}
.tg .t-m-chance b small{font-size:14px;font-weight:700;margin-left:1px}
.tg .t-m-chance em{margin-top:4px;font-style:normal;font-size:11.5px;font-weight:600;color:var(--v-clair);white-space:nowrap}
.tg .t-m-jauge{position:absolute;left:14px;right:14px;bottom:6px;height:3px;border-radius:3px;background:rgba(255,255,255,.07);overflow:hidden}
.tg .t-m-jauge > i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#8D78ED,#C2BAEB);transition:background .3s}
.tg .t-m.coche label{background:linear-gradient(90deg,rgba(255,210,122,.14),rgba(255,210,122,.04));border-color:rgba(255,210,122,.55);box-shadow:0 0 0 1px rgba(255,210,122,.12),0 10px 30px -18px rgba(255,190,90,.8)}
.tg .t-m.coche .t-m-case{border-color:transparent;background:linear-gradient(135deg,var(--or),var(--or2));color:#2A1B00;transform:scale(1.06)}
.tg .t-m.coche .t-m-rang{color:var(--or)}
.tg .t-m.coche .t-m-chance em{color:var(--or)}
.tg .t-m.coche .t-m-jauge > i{background:linear-gradient(90deg,var(--or2),#FFF1CC)}
.tg .t-m.grise label{opacity:.55}
.tg .t-m.grise label:hover{opacity:.8}
.tg .t-mais-plein{margin:10px 0 0;padding:10px 14px;border-radius:12px;background:rgba(255,210,122,.10);border:1px solid rgba(255,210,122,.35);color:#FFE9BD;font-size:14px;line-height:1.45}
.tg .t-mais-pied{display:flex;align-items:flex-start;gap:9px;margin:12px 0 0;font-size:13px;line-height:1.45;color:var(--gris2)}
.tg .t-mais-pied svg{flex:none;margin-top:2px;color:var(--or)}
.tg .t-prix-discret{margin:10px 0 0;width:100%;text-align:center;font-size:14px;color:var(--gris2)}
.tg #versLettre:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}

/* ── Courrier : pour qui ── */
.tg .t-pour{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;padding:9px 14px 9px 10px;border-radius:12px;background:rgba(255,210,122,.10);border:1px solid rgba(255,210,122,.38);color:#FFF1D6;font-size:14.5px;line-height:1.35}
.tg .t-pour[hidden]{display:none}
.tg .t-pour i{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:linear-gradient(135deg,var(--or),var(--or2));color:#2A1B00}
.tg .t-pour i svg{width:16px;height:16px}
.tg .t-pour b{color:#fff}

/* ── 4. ACTIVATION : la scène de l'enveloppe à gauche, la campagne et l'offre à droite ── */
.tg .t-fin{padding:30px 40px 44px}
.tg .t-fin-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(400px,560px);gap:56px;align-items:center;max-width:1280px;margin:0 auto;min-height:calc(100vh - 160px)}
.tg .t-fin-scene{position:relative;display:grid;place-items:center;perspective:1600px}
.tg .t-fin-scene .t-act-lueur{inset:-4% -6%}
.tg .t-env{--w:min(540px,100%);position:relative;width:var(--w);aspect-ratio:1/1.08;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
/* l'enveloppe : dos (avec le rabat ouvert derrière la lettre), la lettre, la face (fenêtre + timbre), le rabat qui se ferme */
.tg .t-env-dos,.tg .t-env-face{position:absolute;left:0;right:0;bottom:4%;height:56%;border-radius:10px}
.tg .t-env-dos{z-index:1;background:linear-gradient(180deg,#E9E3D6,#DCD4C3)}
.tg .t-env-rabat{position:absolute;left:0;right:0;bottom:100%;height:52%;transform-origin:50% 100%;background:linear-gradient(0deg,#E4DDCE,#D3CAB6);clip-path:polygon(0 100%,50% 0,100% 100%);border-radius:10px 10px 0 0}
.tg .t-env-feuille{position:absolute;left:17%;right:17%;top:0;z-index:2;transform-origin:50% 0}
.tg .t-env-feuille .t-act-feuille{transform:none;filter:drop-shadow(0 30px 40px rgba(0,0,0,.55))}
.tg .t-env-face{z-index:3;overflow:hidden;background:linear-gradient(165deg,#FBF8F1 0%,#F1ECE1 60%,#E7E0D1 100%);box-shadow:0 40px 70px -24px rgba(0,0,0,.75),0 0 0 1px rgba(0,0,0,.04) inset}
.tg .t-env-face::before{content:"";position:absolute;inset:0;background:linear-gradient(155deg,transparent 49.6%,rgba(0,0,0,.05) 50%,transparent 50.6%),linear-gradient(25deg,transparent 49.6%,rgba(0,0,0,.05) 50%,transparent 50.6%)}
.tg .t-env-fenetre{position:absolute;left:9%;bottom:16%;width:52%;padding:12px 16px;border-radius:8px;background:rgba(255,255,255,.88);box-shadow:0 0 0 1px rgba(25,27,35,.10) inset;display:flex;flex-direction:column;gap:2px;color:#191B23;font-size:clamp(11px,1.15vw,14px);line-height:1.3}
.tg .t-env-fenetre small{font-size:.82em;color:#6B6687}
.tg .t-env-fenetre b{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg .t-env-fenetre b span{margin-left:4px;letter-spacing:1px;color:transparent;text-shadow:0 0 4px rgba(163,159,186,.85)}
.tg .t-env-timbre{position:absolute;right:7%;top:12%;display:flex;flex-direction:column;align-items:center;justify-content:center;width:15%;aspect-ratio:.82;border-radius:4px;background:linear-gradient(160deg,#FFD84D,#F5B800);color:#1B2A6B;box-shadow:0 0 0 3px #fff,0 0 0 4px rgba(0,0,0,.08),0 6px 14px -6px rgba(0,0,0,.4);font-size:clamp(8px,.85vw,11px);line-height:1.1;text-align:center}
.tg .t-env-timbre span{font-weight:700}
.tg .t-env-timbre b{font-size:1.15em;font-weight:800}
.tg .t-env-timbre i{position:absolute;right:-60%;top:28%;width:110%;height:44%;border-top:2px solid rgba(27,42,107,.35);border-bottom:2px solid rgba(27,42,107,.35);border-radius:50%;transform:rotate(-8deg)}
.tg .t-env-exp{position:absolute;right:7%;bottom:9%;font-size:clamp(10px,1vw,12.5px);font-weight:600;color:#6B6687}
.tg .t-env-rabat-haut{position:absolute;left:0;right:0;top:40%;z-index:4;height:22%;transform-origin:50% 0;background:linear-gradient(180deg,#D9CFBC,#E8E0D0);clip-path:polygon(0 0,100% 0,50% 100%);border-radius:10px 10px 0 0;opacity:0;filter:drop-shadow(0 5px 6px rgba(0,0,0,.18))}
.tg .t-fin-scene .t-act-pastille{right:0;bottom:auto;top:74%;opacity:0}
@media (min-width:901px){.tg .t-fin-scene{position:sticky;top:96px;align-self:start}}

/* La séquence (≈ 2,4 s, une seule fois) : la lettre se pose, l'enveloppe monte, la lettre y glisse, le rabat se ferme, le timbre, « Prêt à partir » */
.tg .t-env.joue .t-env-feuille{animation:t-fe-pose .7s cubic-bezier(.16,1,.3,1) both,t-fe-entre .9s cubic-bezier(.65,0,.35,1) .95s forwards}
.tg .t-env.joue .t-env-dos,.tg .t-env.joue .t-env-face{animation:t-env-monte .8s cubic-bezier(.16,1,.3,1) .55s both}
.tg .t-env.joue .t-env-rabat{animation:t-rabat-dos 1.9s steps(1,end) both}
.tg .t-env.joue .t-env-rabat-haut{animation:t-rabat-ferme .55s cubic-bezier(.5,0,.2,1) 1.8s forwards}
.tg .t-env.joue .t-env-timbre{animation:t-timbre .5s cubic-bezier(.2,1.6,.4,1) 2.15s both}
.tg .t-fin-scene.joue .t-act-pastille{opacity:1;animation:t3-pose .6s cubic-bezier(.16,1,.3,1) 2.35s both}
.tg .t-env.joue{animation:t-env-envol 1s cubic-bezier(.16,1,.3,1) 2.3s both}
@keyframes t-fe-pose{from{opacity:0;transform:translateY(-6%) scale(.96) rotate(-2deg)}to{opacity:1;transform:none}}
@keyframes t-fe-entre{from{transform:none}to{transform:translateY(48%) scale(.54)}}
@keyframes t-env-monte{from{opacity:0;transform:translateY(38%)}to{opacity:1;transform:none}}
@keyframes t-rabat-dos{0%{opacity:0}30%{opacity:1}100%{opacity:0}}
@keyframes t-rabat-ferme{0%{opacity:1;transform:rotateX(180deg)}100%{opacity:1;transform:rotateX(0deg)}}
@keyframes t-timbre{from{opacity:0;transform:scale(1.8) rotate(12deg)}to{opacity:1;transform:none}}
@keyframes t-env-envol{from{translate:0 0}to{translate:0 -16%}}
/* l'enveloppe fermée respire doucement ensuite */
.tg .t-env.joue .t-env-face{animation:t-env-monte .8s cubic-bezier(.16,1,.3,1) .55s both}

/* le côté offre : chaque bloc arrive à son tour, sans attendre la fin de la scène */
.tg .t-fin-offre{display:flex;flex-direction:column;align-items:stretch}
.tg .t-fin-offre.joue > *{animation:t3-pose .7s cubic-bezier(.16,1,.3,1) both}
.tg .t-fin-offre.joue > :nth-child(1){animation-delay:.15s}.tg .t-fin-offre.joue > :nth-child(2){animation-delay:.22s}
.tg .t-fin-offre.joue > :nth-child(3){animation-delay:.3s}.tg .t-fin-offre.joue > :nth-child(4){animation-delay:.45s}
.tg .t-fin-offre.joue > :nth-child(5){animation-delay:.75s}.tg .t-fin-offre.joue > :nth-child(n+6){animation-delay:.9s}
.tg .t-fin-sur{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;margin:0 0 14px;padding:7px 14px;border-radius:999px;background:var(--v-fond);border:1px solid var(--v-bord);color:#DED9F4;font-size:13.5px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.tg .t-fin-sur svg{color:var(--or)}
.tg .t-fin-offre h2{margin:0;font-size:clamp(34px,3.6vw,54px);line-height:1.04;font-weight:800;letter-spacing:-.04em;color:#fff}
.tg .t-fin-offre h2 span{background:linear-gradient(90deg,#A294E6,#CEC8EF);-webkit-background-clip:text;background-clip:text;color:transparent}
.tg .t-fin-sous{margin:12px 0 22px;font-size:17.5px;line-height:1.5;color:var(--gris)}
/* le récapitulatif : quatre lignes cochées, celle des maisons en or */
.tg .t-camp{display:flex;flex-direction:column;margin:0 0 18px;padding:6px 18px;border-radius:18px;background:var(--carte);border:1px solid var(--carte-bord);list-style:none}
.tg .t-camp li{display:grid;grid-template-columns:38px minmax(0,1fr) 22px;align-items:center;gap:14px;padding:12px 0}
.tg .t-camp li + li{border-top:1px solid rgba(255,255,255,.07)}
.tg .t-camp li > i{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(101,71,232,0.22);color:var(--v-clair)}
.tg .t-camp li > i svg{width:20px;height:20px}
.tg .t-camp li:first-child > i{background:linear-gradient(135deg,var(--or),var(--or2));color:#2A1B00;box-shadow:0 0 22px rgba(255,200,100,.35)}
.tg .t-camp p{margin:0;display:flex;flex-direction:column;gap:2px;min-width:0}
.tg .t-camp b{font-size:16px;font-weight:700;color:#fff}
.tg .t-camp small{font-size:13.5px;line-height:1.4;color:var(--gris2)}
.tg .t-camp-ok{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--vert);color:#fff}
.tg .t-camp-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.tg .t-camp-chips em{padding:3px 9px;border-radius:999px;background:rgba(255,210,122,.14);border:1px solid rgba(255,210,122,.4);color:#FFE7B0;font-style:normal;font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums}
.tg .t-fin-offre.joue .t-camp-chips em{animation:t3-pose .45s cubic-bezier(.2,1.4,.4,1) both;animation-delay:calc(.7s + var(--i) * 70ms)}
/* le prix */
.tg .t-fin-prix{display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:center;margin:0 0 6px;padding:20px 22px;border-radius:20px;background:linear-gradient(180deg,rgba(101,71,232,0.22) 0%,rgba(29,31,40,.92) 75%);border:1px solid rgba(173,162,228,0.45);box-shadow:0 30px 70px -36px rgba(17,19,27,0.16)}
.tg .t-fin-nom{display:block;font-size:13.5px;font-weight:700;color:#DED9F4}
.tg .t-fin-prix .t-act-prix{margin:4px 0 0;gap:8px}
.tg .t-fin-prix .t-act-prix b{font-size:clamp(48px,4.4vw,66px)}
.tg .t-fin-prix .t-act-prix span{font-size:18px;color:#E6E3F5}
.tg .t-fin-inclus{display:flex;flex-direction:column;gap:8px;margin:0;padding:0 0 0 22px;border-left:1px solid rgba(255,255,255,.12);list-style:none}
.tg .t-fin-inclus li{display:flex;align-items:center;gap:10px;font-size:14.5px;color:#fff}
.tg .t-fin-inclus i{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--v);color:#fff}
.tg .t-fin-inclus i svg{width:11px;height:11px}
.tg .t-fin-extra{margin:10px 0 16px;font-size:15px;font-weight:600;color:#FFE7B0}
.tg .t-fin-offre .t-go{min-height:68px;font-size:21px}
.tg .t-fin-micro{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 0;font-size:13.5px;line-height:1.4;color:var(--gris);text-align:center}
.tg .t-fin-micro svg{flex:none;color:var(--vert)}
.tg .t-fin-mois{margin:14px 0 0;font-size:13.5px;line-height:1.45;color:var(--gris2);text-align:center}
.tg .t-fin-liens{display:flex;justify-content:center;align-items:center;gap:10px;margin:10px 0 0;color:var(--gris2)}
.tg .t-fin-liens .t-explorer{margin:0;padding:6px 4px;border:0;background:none;color:var(--gris);font:inherit;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tg .t-fin-liens .t-explorer:hover{color:#fff}
.tg .t-fin .t-pw-conditions{margin:12px auto 0;max-width:520px}

@media (max-width:1180px){
  .tg .t-fin-g{grid-template-columns:minmax(0,.9fr) minmax(380px,1fr);gap:36px}
}
@media (max-width:900px){
  .tg .t-fin{padding:18px 16px 32px}
  .tg .t-fin-g{grid-template-columns:1fr;gap:10px;min-height:0}
  .tg .t-fin-scene{order:-1}
  .tg .t-env{--w:min(330px,86vw);margin:-36px 0 -48px}
  .tg .t-fin{overflow-x:hidden}
  .tg .t-fin-scene .t-act-lueur{inset:0}
  .tg .t-fin-offre h2{font-size:32px}
  .tg .t-fin-sous{font-size:16px;margin-bottom:16px}
  .tg .t-camp{padding:4px 14px}
  .tg .t-fin-prix{grid-template-columns:1fr;gap:12px;padding:18px}
  .tg .t-fin-inclus{padding:12px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.12)}
  .tg .t-fin-offre .t-go{min-height:60px;font-size:18px}
  .tg .t-m label{grid-template-columns:24px minmax(0,1fr) auto;gap:10px;padding:10px 12px 14px}
  .tg .t-m-rang{display:none}
  .tg .t-mais-liste{max-height:none;overflow:visible}
  .tg .t-mais{padding:16px 14px 12px}
  .tg .t-sect-g{grid-template-columns:minmax(0,1fr)}
  .tg .t-barre{grid-template-columns:auto minmax(0,1fr) auto}
  .tg .t-pas{min-width:0;overflow:hidden}
  .tg .t-sect-txt,.tg .t-mais,.tg .t-m label{min-width:0}
}
@media (prefers-reduced-motion:reduce){
  .tg .t-env.joue *,.tg .t-env.joue,.tg .t-fin-offre.joue > *,.tg .t-fin-scene.joue .t-act-pastille,.tg .t-m,.tg .t-fin-offre.joue .t-camp-chips em{animation:none !important}
  .tg .t-env .t-env-feuille{transform:translateY(48%) scale(.54)}
  .tg .t-env .t-env-rabat-haut,.tg .t-fin-scene .t-act-pastille{opacity:1}
}

/* ══════════════════════════════════════════════════════════════════════
   08/11/2026 (soir) — REFONTE « SÉLECTION IA », sur la maquette d'Alexis.
   Fond nuit presque noir, surfaces neutres, texte blanc, UN accent violet. Une barre latérale (≥ 1100 px), un titre, cinq lignes,
   un bouton. Plus d'or, plus de halos, plus de carte à l'écran. S'applique aussi aux écrans Courrier et Activation (couleurs).
   ══════════════════════════════════════════════════════════════════════ */
.tg{--fond:#0D0E12;--surface:rgba(255,255,255,.028);--surface2:rgba(255,255,255,.05);--ligne:rgba(255,255,255,.08);--ligne2:rgba(255,255,255,.14);
  --accent:#8D78ED;--accent2:#A79AE7;--accent-fond:rgba(101,71,232,0.14);--texte2:#B3B0C7;--texte3:#86839C;--or:var(--accent2);--or2:var(--accent)}
.tg.studio{background:var(--fond)}
.tg .t-fond{background:radial-gradient(60% 50% at 70% 0%,rgba(101,71,232,0.051),transparent 70%),var(--fond)}
.tg .t-fond .h1,.tg .t-fond .h2,.tg .t-fond .h3,.tg .t-grille{display:none}

/* ── La barre latérale ── */
@media (min-width:1100px){
  .tg .t-barre{position:fixed;left:0;top:0;bottom:0;z-index:30;width:256px;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:28px 18px 22px;min-height:0;
    background:#09090C;border:0;border-right:1px solid var(--ligne);backdrop-filter:none}
  .tg .t-barre > .t-retour{position:static;transform:none;order:9;width:auto;height:auto;justify-content:flex-start;display:flex;gap:10px;padding:11px 14px;border:0;border-radius:12px;background:none;color:var(--texte2);font:inherit;font-size:15px}
  .tg .t-barre > .t-retour::after{content:"Retour"}
  .tg .t-barre > .t-retour:hover{transform:none;background:var(--surface2);color:#fff}
  .tg .t-marque{order:0;margin:0 0 30px 8px;font-size:22px}
  .tg .t-pas{order:1;grid-column:auto;flex-direction:column;align-items:stretch;gap:4px}
  .tg .t-pas li{gap:14px;padding:12px 14px;border-radius:12px;color:var(--texte2);transition:background .2s}
  .tg .t-pas li:not(:last-child)::after{display:none}
  .tg .t-pas li.ici{background:var(--surface2);box-shadow:inset 0 0 0 1px var(--ligne)}
  .tg .t-pas i{width:30px;height:30px;font-size:13.5px;border-width:1.5px;border-color:var(--ligne2);box-shadow:none !important}
  .tg .t-pas li.ici i{border-color:var(--accent);background:var(--accent-fond)}
  .tg .t-pas li.fait i{background:var(--accent)}
  .tg .t-pas p b{font-size:16px;font-weight:500;color:#E9E7F3}
  .tg .t-pas li.ici p b{font-weight:600;color:#fff}
  .tg .t-pas p small{font-size:12.5px;color:var(--texte3)}
  .tg .t-demo{order:2;position:static;transform:none;align-self:flex-start;margin:14px 0 0 14px}
  .tg .t-aide-btn{order:10;margin-top:auto;grid-column:auto;justify-self:auto;justify-content:flex-start;padding:11px 14px;border:0;color:var(--texte2);font-weight:500}
  .tg .t-aide-btn span{display:inline !important}
  .tg .t-aide-btn:hover{background:var(--surface2);color:#fff}
  .tg > .t-ecran{margin-left:256px;max-width:none}
  .tg .t-cour .t-pied{left:256px}
}

/* ── La sélection ── */
.tg .t-sel{position:relative;padding:34px 48px 56px}
.tg .t-sel-haut{position:absolute;top:28px;right:44px;z-index:6}
.tg .t-chip{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 18px;border-radius:16px;border:1px solid var(--ligne2);background:rgba(13,14,18,.75);backdrop-filter:blur(12px);color:#fff;font:inherit;font-size:16.5px;font-weight:500;cursor:pointer;transition:border-color .2s,background .2s}
.tg .t-chip:hover{border-color:rgba(255,255,255,.28)}
.tg .t-chip svg{color:#D7D3EA}
.tg .t-chip-fl{transition:transform .2s}
.tg .t-chip[aria-expanded="true"] .t-chip-fl{transform:rotate(180deg)}
.tg .t-zone-pop{position:absolute;right:0;top:calc(100% + 10px);width:min(380px,calc(100vw - 32px));padding:18px;border-radius:18px;background:#0E0F14;border:1px solid var(--ligne2);box-shadow:0 30px 70px -20px rgba(0,0,0,.8)}
.tg .t-zone-pop[hidden]{display:none}
.tg .t-zone-pop .t-zone-titre{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--texte2)}
.tg .t-zone-pop .t-zone-choisies li{background:var(--accent-fond);border-color:rgba(101,71,232,0.35)}
.tg .t-zone-pop .t-puce:hover{border-color:var(--accent);background:var(--accent-fond)}
.tg .t-lien-carte{display:inline-flex;align-items:center;gap:8px;margin:14px 0 0;padding:0;border:0;background:none;color:var(--accent2);font:inherit;font-size:14.5px;font-weight:600;cursor:pointer}
.tg .t-lien-carte:hover{color:#fff}

.tg .t-sel-g{display:grid;grid-template-columns:minmax(0,860px) minmax(260px,1fr);gap:44px;align-items:start;max-width:1400px}
.tg .t-sel-main{padding-top:30px;min-width:0}
.tg .t-sel-sur{display:flex;align-items:center;gap:10px;margin:0 0 16px;color:var(--accent2);font-size:17px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.tg .t-sel-sur svg{color:var(--accent2)}
.tg .t-ecran h2.t-sel-titre{margin:0;font-size:clamp(40px,4.3vw,64px);line-height:1.04;font-weight:700;letter-spacing:-.035em;color:#fff}
.tg .t-sel-titre span{display:block;background:linear-gradient(90deg,#8D78ED,#B9AFEC);-webkit-background-clip:text;background-clip:text;color:transparent}
.tg .t-sel-sous{max-width:760px;margin:18px 0 30px;font-size:19px;line-height:1.55;color:var(--texte2)}

/* la liste : une carte, cinq lignes */
.tg .t-sel .t-mais{width:100%;margin:0;padding:6px 22px 0;border-radius:20px;background:var(--surface);border:1px solid var(--ligne);box-shadow:0 30px 80px -50px rgba(0,0,0,.9)}
.tg .t-sel .t-mais-liste{display:block;max-height:none;margin:0;padding:0;overflow:visible}
.tg .t-sel .t-m{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:0 22px;padding:14px 0;border-bottom:1px solid var(--ligne);animation:t3-pose .45s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--i) * 50ms)}
.tg .t-sel .t-m.neuve{animation:t-neuve .6s cubic-bezier(.16,1,.3,1) both}
@keyframes t-neuve{from{opacity:0;transform:translateX(18px)}}
.tg .t-sel .t-m-l{display:flex;align-items:center;gap:20px;min-width:0;padding:0;border:0;background:none;cursor:pointer}
.tg .t-sel .t-m-l:hover{background:none}
.tg .t-sel .t-m input{position:absolute;opacity:0;pointer-events:none}
.tg .t-sel .t-m-case{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;border:1.5px solid rgba(255,255,255,.32);background:transparent;color:transparent;transform:none;transition:background .2s,border-color .2s}
.tg .t-sel .t-m-case svg{width:15px;height:15px}
.tg .t-sel .t-m.coche .t-m-case{border-color:var(--accent);background:var(--accent);color:#fff;transform:none}
.tg .t-sel .t-m input:focus-visible ~ .t-m-case{outline:2px solid #fff;outline-offset:3px}
.tg .t-sel .t-m-img{flex:none;width:100px;height:64px;border-radius:10px;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.tg .t-sel .t-m:not(.coche) .t-m-img{opacity:.55;filter:saturate(.6)}
.tg .t-sel .t-m-txt{display:flex;flex-direction:column;gap:4px;min-width:0}
.tg .t-sel .t-m-txt b{font-size:19px;font-weight:600;letter-spacing:-.01em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg .t-sel .t-m-masque{margin-left:6px;font-weight:400;letter-spacing:1.5px;color:rgba(255,255,255,.28);filter:none;text-shadow:none}
.tg .t-sel .t-m-txt small{font-size:15px;color:var(--texte3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg .t-sel .t-m:not(.coche) .t-m-txt b{color:#C9C6D8}
.tg .t-sel .t-m-rang{display:inline-flex;align-items:center;padding:7px 13px;border-radius:999px;background:var(--accent-fond);border:1px solid rgba(101,71,232,0.28);color:#E7E4F7;font-size:14.5px;font-weight:600;white-space:nowrap}
.tg .t-sel .t-m-pq{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 0 0 22px;border:0;border-left:1px solid var(--ligne);background:none;color:#E9E7F3;font:inherit;font-size:15px;font-weight:500;white-space:nowrap;cursor:pointer}
.tg .t-sel .t-m-pq:hover{color:#fff}
.tg .t-sel .t-m-pq svg{transition:transform .2s;color:var(--texte2)}
.tg .t-sel .t-m.ouverte .t-m-pq svg{transform:rotate(90deg)}
.tg .t-sel .t-m-detail{grid-column:1 / -1;margin:14px 0 2px 48px;padding:16px 18px;border-radius:14px;background:var(--surface2);border:1px solid var(--ligne);font-size:15px;line-height:1.55;color:var(--texte2)}
.tg .t-sel .t-m-detail[hidden]{display:none}
.tg .t-sel .t-m-detail p{margin:0 0 6px}
.tg .t-sel .t-m-detail b{color:#fff;font-size:17px}
.tg .t-sel .t-m-limite{margin:10px 0 0 !important;font-size:13px;color:var(--texte3)}
.tg .t-sel .t-mais-pied{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:18px 0 20px}
.tg .t-sel .t-mais-pied p{margin:0;font-size:17px;color:#E9E7F3}
.tg .t-sel .t-mais-pied b{font-size:21px;font-weight:700;color:#fff}
.tg .t-remplacer{display:inline-flex;align-items:center;gap:9px;padding:0;border:0;background:none;color:var(--accent2);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.tg .t-remplacer:hover{color:#fff}
.tg .t-remplacer:disabled{color:var(--texte3);cursor:default}

/* l'action */
.tg .t-sel-action{display:flex;flex-direction:column;align-items:center;margin:40px 0 0}
.tg .t-sel .t-go{width:min(760px,100%);min-height:76px;border-radius:18px;font-size:23px;font-weight:600;background:linear-gradient(180deg,#6F52EB,#6547E8);box-shadow:0 20px 50px -20px rgba(17,19,27,0.16),inset 0 1px 0 rgba(255,255,255,.18)}
.tg .t-sel .t-go:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.tg .t-sel-note{display:flex;align-items:center;gap:10px;margin:22px 0 0;font-size:16.5px;color:var(--texte2)}
.tg .t-sel-note svg{flex:none;color:var(--texte3)}
.tg .t-sel .t-prix-discret{margin:8px 0 0;font-size:14px;color:var(--texte3)}

/* la colonne de droite : la photo du quartier, fondue dans la nuit, et trois atouts */
.tg .t-sel-cote{position:relative;align-self:stretch;min-height:640px;margin:-34px -48px 0 0}
.tg .t-sel-photo{position:absolute;inset:0 0 auto 0;height:560px;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 40%,transparent 96%),linear-gradient(90deg,transparent 0%,#000 28%);mask-image:linear-gradient(180deg,#000 40%,transparent 96%);-webkit-mask-composite:source-in;mask-composite:intersect}
.tg .t-sel-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.tg .t-sel-atouts{position:relative;display:flex;flex-direction:column;gap:30px;margin:0;padding:440px 40px 0 28px;list-style:none}
.tg .t-sel-atouts li{display:flex;align-items:flex-start;gap:18px}
.tg .t-sel-atouts i{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:rgba(101,71,232,0.12);border:1px solid rgba(101,71,232,0.2);color:#CEC8EF}
.tg .t-sel-atouts i svg{width:26px;height:26px}
.tg .t-sel-atouts p{margin:0;display:flex;flex-direction:column;gap:5px}
.tg .t-sel-atouts b{font-size:18px;font-weight:600;color:#fff}
.tg .t-sel-atouts span{font-size:15.5px;line-height:1.45;color:var(--texte2)}

/* la carte, à la demande */
.tg .t-carte-pop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:rgba(10,10,13,.72);backdrop-filter:blur(6px)}
.tg .t-carte-pop[hidden]{display:none}
.tg .t-carte-boite{width:min(1100px,100%);height:min(720px,calc(100vh - 48px))}
.tg .t-carte-pop .t-sect-carte{height:100%;min-height:0;border-radius:22px}
.tg .t-carte-x{position:absolute;top:16px;left:16px;z-index:4;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid var(--ligne2);background:rgba(13,14,18,.85);color:#fff;cursor:pointer}
.tg .t-carte-pop .t-map-aide{position:absolute}

/* ── Courrier et Activation : une seule couleur d'accent, plus d'or ── */
.tg .t-pour{background:var(--accent-fond);border-color:rgba(101,71,232,0.32);color:#EDEBF9}
.tg .t-pour i{background:var(--accent);color:#fff}
.tg .t-camp li:first-child > i{background:var(--accent);color:#fff;box-shadow:none}
.tg .t-camp-chips em{background:var(--accent-fond);border-color:rgba(101,71,232,0.32);color:#E7E4F7}
.tg .t-fin-sur svg{color:var(--accent2)}
.tg .t-fin-extra{color:#E7E4F7}
.tg .t-fin-prix{background:var(--surface2);border-color:var(--ligne2);box-shadow:none}
.tg .t-fin .t-act-lueur{background:radial-gradient(closest-side,rgba(101,71,232,0.051),transparent 72%)}
.tg .t-camp{background:var(--surface);border-color:var(--ligne)}
.tg .t-camp li > i{background:var(--accent-fond);color:#D5D0F1}
.tg .t-camp-ok{background:transparent;color:#4ADE80;box-shadow:inset 0 0 0 1.5px rgba(74,222,128,.55)}

/* ── Écrans moyens et téléphone ── */
@media (max-width:1280px){
  .tg .t-sel-g{grid-template-columns:minmax(0,1fr)}
  .tg .t-sel-cote{display:none}
}
@media (max-width:900px){
  .tg .t-sel{padding:18px 16px 40px}
  .tg .t-sel-haut{position:static;display:flex;justify-content:flex-start;margin:0 0 8px}
  .tg .t-chip{height:44px;font-size:15px}
  .tg .t-zone-pop{left:0;right:auto}
  .tg .t-sel-main{padding-top:10px}
  .tg .t-sel-sur{font-size:14px}
  .tg .t-ecran h2.t-sel-titre{font-size:34px}
  .tg .t-sel-sous{font-size:16.5px;margin:12px 0 22px}
  .tg .t-sel .t-mais{padding:2px 14px 0}
  .tg .t-sel .t-m{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px 0}
  .tg .t-sel .t-m-l{gap:12px}
  .tg .t-sel .t-m-img{width:64px;height:48px;border-radius:8px}
  .tg .t-sel .t-m-txt b{font-size:16.5px}
  .tg .t-sel .t-m-txt small{font-size:13.5px}
  .tg .t-sel .t-m-masque{display:none}
  .tg .t-sel .t-m-rang{padding:5px 10px;font-size:12.5px}
  .tg .t-sel .t-m-pq{grid-column:1 / -1;justify-self:start;height:30px;padding:0;margin-left:40px;border:0;color:var(--texte2);font-size:14px}
  .tg .t-sel .t-m-detail{margin:6px 0 0}
  .tg .t-sel .t-mais-pied{flex-wrap:wrap;padding:14px 0 16px}
  .tg .t-sel .t-mais-pied p{font-size:15.5px}
  .tg .t-remplacer{font-size:15px}
  .tg .t-sel-action{position:sticky;bottom:0;z-index:5;margin:24px -16px 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(13,14,18,.94);backdrop-filter:blur(14px);border-top:1px solid var(--ligne)}
  .tg .t-sel .t-go{min-height:60px;font-size:18.5px}
  .tg .t-sel-note{margin-top:10px;font-size:13.5px}
  .tg .t-sel .t-prix-discret{display:none}
  .tg .t-carte-pop{padding:0}
  .tg .t-carte-boite{height:100%}
  .tg .t-carte-pop .t-sect-carte{border-radius:0}
}
.tg .t-sel .t-m .t-m-l,.tg .t-sel .t-m.coche .t-m-l,.tg .t-sel .t-m .t-m-l:hover{display:flex;grid-template-columns:none;padding:0;border:0;border-radius:0;background:none;box-shadow:none;opacity:1}
.tg .t-sel .t-m:last-child{border-bottom:1px solid var(--ligne)}
.tg .t-sel .t-mais-liste .t-m-jauge{display:none}
.tg .t-cour .t-outils{background:var(--surface);border-color:var(--ligne);box-shadow:none}
.tg .t-cour .t-info-modele{background:var(--surface2);border-color:var(--ligne)}
@media (max-width:900px){.tg .t-sel .t-go{font-size:17.5px;gap:10px;padding:0 18px;white-space:nowrap}}

/* ══════════════════════════════════════════════════════════════════════
   08/11/2026 (nuit) — SÉLECTION IA v2 : le résultat est le titre, l'analyse se voit (entonnoir), chaque maison a SA vue du ciel
   (orthophotos IGN autour de sa position brouillée), SON chiffre et SON rang ; à droite, la preuve (examen hors zone). Un accent violet.
   ══════════════════════════════════════════════════════════════════════ */
.tg .t-sel-g{grid-template-columns:minmax(0,900px) minmax(300px,380px);gap:56px;justify-content:space-between;max-width:1400px}
.tg .t-sel-main{padding-top:14px}
.tg .t-sel-sur{gap:10px;margin:0 0 14px;color:#D3CDF0;font-size:14px;letter-spacing:.08em}
.tg .t-sel-point{position:relative;width:9px;height:9px;border-radius:50%;background:#4ADE80;box-shadow:0 0 0 4px rgba(74,222,128,.16)}
.tg .t-sel-point::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1.5px solid rgba(74,222,128,.6);animation:t-pouls 2s ease-out infinite}
@keyframes t-pouls{from{transform:scale(.6);opacity:1}to{transform:scale(2.2);opacity:0}}
.tg .t-ecran h2.t-sel-titre{max-width:880px;font-size:clamp(34px,3.2vw,50px);line-height:1.08;font-weight:700;letter-spacing:-.03em}
.tg .t-sel-titre span{display:inline;background:linear-gradient(90deg,#8D78ED,#B9AFEC);-webkit-background-clip:text;background-clip:text;color:transparent}
.tg .t-sel-sous{margin:14px 0 0}

/* l'entonnoir */
.tg .t-entonnoir{display:grid;grid-template-columns:1fr 1fr 1fr;margin:26px 0 18px;padding:0;list-style:none;border-radius:16px;background:var(--surface);border:1px solid var(--ligne);overflow:hidden}
.tg .t-entonnoir[hidden]{display:none}
.tg .t-entonnoir li{position:relative;display:flex;flex-direction:column;gap:4px;padding:16px 22px}
.tg .t-entonnoir li + li{border-left:1px solid var(--ligne)}
.tg .t-entonnoir li:not(.fin)::after{content:"";position:absolute;right:-7px;top:50%;z-index:1;width:12px;height:12px;border-top:1px solid var(--ligne2);border-right:1px solid var(--ligne2);background:#0C0D11;transform:translateY(-50%) rotate(45deg)}
.tg .t-entonnoir b{font-size:26px;line-height:1.1;font-weight:700;letter-spacing:-.02em;color:#fff;font-variant-numeric:tabular-nums}
.tg .t-entonnoir span{font-size:14px;color:var(--texte2)}
.tg .t-entonnoir li.fin{background:linear-gradient(90deg,rgba(101,71,232,0.22),rgba(101,71,232,0.08))}
.tg .t-entonnoir li.fin b{color:#D2CCF0}

/* la liste */
.tg .t-sel .t-mais{padding:0;border-radius:18px;overflow:hidden}
.tg .t-sel .t-m{grid-template-columns:minmax(0,1fr) 168px 40px;gap:0 18px;padding:16px 20px 16px 18px;border-bottom:1px solid var(--ligne);transition:background .2s}
.tg .t-sel .t-m:hover{background:rgba(255,255,255,.018)}
.tg .t-sel .t-m:last-child{border-bottom:1px solid var(--ligne)}
.tg .t-sel .t-m .t-m-l{gap:18px}
.tg .t-m-vue{--vw:112px;--vh:84px;position:relative;flex:none;width:var(--vw);height:var(--vh);border-radius:12px;background-color:#15171D;background-repeat:no-repeat;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.1);filter:saturate(.8) brightness(.92);transition:filter .25s,opacity .25s}
.tg .t-m-vue::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(101,71,232,0.1),rgba(29,31,40,.35))}
.tg .t-m-vue.vide{background:radial-gradient(circle at 50% 50%,rgba(101,71,232,0.08),transparent 60%),#121319}
.tg .t-m-scan{position:absolute;left:50%;top:50%;z-index:1;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;border:1.5px solid rgba(197,189,236,0.95);background:rgba(101,71,232,0.18);box-shadow:0 0 18px rgba(17,19,27,0.16)}
.tg .t-m-scan::before{content:"";position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:#fff;box-shadow:0 0 8px #fff}
.tg .t-m-scan::after{content:"";position:absolute;inset:-1.5px;border-radius:50%;border:1.5px solid rgba(197,189,236,0.8);animation:t-pouls 2.4s ease-out infinite;animation-delay:calc(var(--i) * .3s)}
.tg .t-sel .t-m:not(.coche) .t-m-vue{filter:grayscale(.7) brightness(.6)}
.tg .t-sel .t-m:not(.coche) .t-m-scan{opacity:.4}
.tg .t-sel .t-m-txt{gap:5px}
.tg .t-sel .t-m-txt b{font-size:18.5px;font-weight:600}
.tg .t-sel .t-m-txt small{display:flex;align-items:center;gap:7px;font-size:14.5px;color:var(--texte2)}
.tg .t-sel .t-m-txt small svg{flex:none;color:var(--accent2)}
.tg .t-sel .t-m-masque{margin:0;letter-spacing:.5px;color:#D5D2E6;text-shadow:none}
.tg .t-m-ville::before{content:"·";margin-right:7px;color:var(--texte3)}
.tg .t-m-ville{color:var(--texte3)}
.tg .t-sel .t-m-txt em{font-style:normal;font-size:13.5px;color:var(--texte3)}
.tg .t-m-score{display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:3px}
.tg .t-m-score b{font-size:32px;line-height:1;font-weight:700;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums}
.tg .t-m-score b small{font-size:18px;font-weight:600;color:#D5D2E6}
.tg .t-m-score span{font-size:12.5px;line-height:1.3;color:var(--texte3)}
.tg .t-m-barre{display:block;width:120px;height:4px;margin-top:6px;border-radius:4px;background:rgba(255,255,255,.08);overflow:hidden}
.tg .t-m-barre i{display:block;width:var(--p);height:100%;border-radius:4px;background:linear-gradient(90deg,#8D78ED,#C2BAEB)}
.tg .t-sel .t-m:not(.coche) .t-m-score b{color:#A7A3BC}
.tg .t-sel .t-m:not(.coche) .t-m-barre i{background:rgba(255,255,255,.25)}
.tg .t-sel .t-m-pq{justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--ligne2);border-radius:50%;color:var(--texte2)}
.tg .t-sel .t-m-pq:hover{border-color:rgba(255,255,255,.3);color:#fff}
.tg .t-sel .t-m.ouverte .t-m-pq svg{transform:rotate(180deg)}
.tg .t-sel .t-m-detail{margin:14px 0 0 46px}
.tg .t-sel .t-m-detail b{font-size:15px}
.tg .t-sel .t-mais-pied{padding:16px 20px}

/* l'action */
.tg .t-sel-action{margin:28px 0 0}
.tg .t-sel-cle{display:flex;align-items:center;gap:10px;max-width:760px;margin:0 0 16px;font-size:15px;line-height:1.45;color:var(--texte2);text-align:left}
.tg .t-sel-cle svg{flex:none;color:var(--accent2)}
.tg .t-sel-cle b{color:#fff;font-weight:600}
.tg .t-sel .t-go{width:min(760px,100%);gap:14px}
.tg .t-sel-note{flex-wrap:wrap;justify-content:center;gap:4px 10px;margin:16px 0 0;font-size:14.5px;color:var(--texte3)}
.tg .t-sel-note #prixSecteur{display:inline;margin:0;font-size:inherit;color:inherit}

/* la preuve */
.tg .t-sel-cote{min-height:0;margin:-34px -48px 0 0;display:flex;flex-direction:column}
.tg .t-sel-photo{position:relative;inset:auto;height:300px;flex:none;-webkit-mask-image:linear-gradient(180deg,#000 35%,transparent 100%);mask-image:linear-gradient(180deg,#000 35%,transparent 100%)}
.tg .t-preuve{position:relative;margin:-90px 40px 0 0;padding:24px 24px 22px;border-radius:20px;background:rgba(18,19,25,.92);border:1px solid var(--ligne2);backdrop-filter:blur(10px);box-shadow:0 30px 70px -30px rgba(0,0,0,.9)}
.tg .t-preuve-sur{margin:0 0 8px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#D3CDF0}
.tg .t-preuve h3{margin:0 0 10px;font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.02em;color:#fff}
.tg .t-preuve-txt{margin:0 0 18px;font-size:14.5px;line-height:1.55;color:var(--texte2)}
.tg .t-preuve-test{padding:16px 16px 14px;border-radius:14px;background:var(--surface2);border:1px solid var(--ligne)}
.tg .t-preuve-test-t{margin:0 0 14px;font-size:14px;line-height:1.4;color:#E9E7F3}
.tg .t-preuve-test-t b{color:#fff}
.tg .t-preuve-barres{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end;height:130px}
.tg .t-preuve-barres div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:4px}
.tg .t-preuve-barres i{display:block;width:62%;height:calc(var(--h) * .62);min-height:6px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#ADA1E9,#8D78ED);box-shadow:0 0 24px rgba(17,19,27,0.144);order:2}
.tg .t-preuve-barres .bas i{background:rgba(255,255,255,.22);box-shadow:none}
.tg .t-preuve-barres b{order:1;font-size:22px;font-weight:700;color:#fff}
.tg .t-preuve-barres .bas b{font-size:17px;color:var(--texte2)}
.tg .t-preuve-barres span{order:3;font-size:12.5px;color:var(--texte3)}
.tg .t-preuve-leg{margin:10px 0 0;font-size:12.5px;color:var(--texte3);text-align:center}
.tg .t-preuve-sources{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 0;padding:0;list-style:none}
.tg .t-preuve-sources li{padding:5px 10px;border-radius:999px;border:1px solid var(--ligne2);font-size:12px;color:var(--texte2)}

@media (max-width:1280px){
  .tg .t-sel-g{grid-template-columns:minmax(0,1fr)}
  .tg .t-sel-cote{display:block;margin:44px 0 0;max-width:760px}
  .tg .t-sel-photo{display:none}
  .tg .t-preuve{margin:0}
}
@media (max-width:900px){
  .tg .t-ecran h2.t-sel-titre{font-size:28px}
  .tg .t-entonnoir{margin:18px 0 14px}
  .tg .t-entonnoir li{padding:12px 10px}
  .tg .t-entonnoir b{font-size:19px}
  .tg .t-entonnoir span{font-size:11.5px;line-height:1.3}
  .tg .t-sel .t-m{grid-template-columns:minmax(0,1fr) auto;gap:10px 10px;padding:14px 14px}
  .tg .t-sel .t-m .t-m-l{gap:12px}
  .tg .t-m-vue{--vw:72px;--vh:60px;border-radius:10px}
  .tg .t-m-scan{width:30px;height:30px;margin:-15px 0 0 -15px}
  .tg .t-sel .t-m-txt b{font-size:16px}
  .tg .t-sel .t-m-txt small{font-size:13px}
  .tg .t-m-ville{display:none}
  .tg .t-sel .t-m-txt em{font-size:12px}
  .tg .t-m-score b{font-size:24px}
  .tg .t-m-score b small{font-size:14px}
  .tg .t-m-score span{display:none}
  .tg .t-m-barre{width:64px}
  .tg .t-sel .t-m-pq{grid-column:1 / -1;justify-self:start;width:auto;height:28px;margin-left:36px;padding:0;border:0;border-radius:0;gap:4px;font-size:13.5px}
  .tg .t-sel .t-m-pq::before{content:"Pourquoi cette maison ?"}
  .tg .t-sel .t-m-detail{margin:4px 0 0}
  .tg .t-sel-cle{font-size:13.5px;margin-bottom:10px}
  .tg .t-sel-note{font-size:12.5px;margin-top:10px}
  .tg .t-sel-cote{margin-top:28px}
}
.tg .t-m-vue{--vw:120px;--vh:88px;filter:saturate(1.05) brightness(1.08) contrast(1.05)}
.tg .t-m-vue::after{background:linear-gradient(160deg,rgba(101,71,232,0.06),rgba(29,31,40,.22))}
@media (max-width:900px){.tg .t-m-vue{--vw:72px;--vh:60px}}
/* le bouton reste visible : barre collée en bas de la colonne */
.tg .t-sel-action{position:sticky;bottom:0;z-index:5;margin:8px 0 0;padding:22px 0 20px;background:linear-gradient(180deg,rgba(13,14,18,0) 0%,var(--fond) 34%)}
.tg .t-sel-note svg{color:var(--accent2)}
.tg .t-sel-note b{color:#E9E7F3;font-weight:600}
@media (min-width:1281px){.tg .t-sel-cote{position:sticky;top:0;align-self:start}}
@media (max-width:900px){.tg .t-sel-action{margin:16px -16px 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(13,14,18,.95)}}
@media (max-width:900px){
  .tg .t-sel .t-m-masque{display:inline}
  .tg .t-sel-note{display:block;text-align:center}
  .tg .t-sel-note svg{display:inline;vertical-align:-2px;margin-right:5px}
  .tg .t-sel-note > span[aria-hidden],.tg .t-sel-note #prixSecteur{display:none}
}

/* ══════════════════════════════════════════════════════════════════════
   08/11/2026 — SÉLECTION SUR CARTE : la liste à gauche (480 px), une grande carte claire à droite, pleine hauteur.
   L'agent choisit lui-même (rien d'office), jusqu'aux courriers inclus ; liste ⇄ carte synchronisées (survol, clic, numéros).
   ══════════════════════════════════════════════════════════════════════ */
.tg .t-carto{padding:0 !important;max-width:none}
.tg .t-carto-g{display:grid;grid-template-columns:minmax(400px,500px) minmax(0,1fr);height:100vh;height:100dvh}
.tg .t-carto-panneau{position:relative;display:flex;flex-direction:column;min-height:0;overflow-y:auto;background:var(--panneau,#0C0D10);border-right:1px solid var(--ligne);scrollbar-width:thin}
.tg .t-carto-tete{padding:26px 26px 6px}
.tg .t-carto .t-zone-chip{position:relative;margin:0 0 18px}
.tg .t-carto .t-chip{height:42px;font-size:15px;border-radius:12px}
.tg .t-carto .t-zone-pop{left:0;right:auto}
.tg .t-carto .t-sel-sur{font-size:12.5px;margin-bottom:10px}
.tg .t-ecran.t-carto h2.t-sel-titre{font-size:30px;line-height:1.12;max-width:none}
.tg .t-carto .t-entonnoir{margin:18px 0 14px}
.tg .t-carto .t-entonnoir li{padding:11px 14px}
.tg .t-carto .t-entonnoir b{font-size:20px}
.tg .t-carto .t-entonnoir span{font-size:12.5px}
.tg .t-carto .t-entonnoir li.fin{background:transparent}
.tg .t-carto .t-entonnoir.a-choix li.fin{background:var(--accent-fond)}
.tg .t-carto-outils{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.tg .t-carto-outils p{margin:0;font-size:14px;line-height:1.4;color:var(--texte2);transition:color .2s}
.tg .t-carto-outils p.alerte{color:var(--accent2);font-weight:600}
.tg .t-lien-fort{flex:none;padding:8px 12px;border-radius:10px;border:1px solid var(--ligne2);background:transparent;color:var(--texte);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;transition:border-color .2s,background .2s}
.tg .t-lien-fort:hover{border-color:var(--accent);background:var(--accent-fond)}

/* la liste */
.tg .t-carto .t-mais{margin:0 14px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.tg .t-carto .t-mais-liste{display:flex;flex-direction:column;gap:6px}
.tg .t-carto .t-m{display:block;padding:0;border:0;animation:t3-pose .4s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--i) * 30ms)}
.tg .t-carto .t-m .t-m-l{display:grid;grid-template-columns:30px 72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;border:1px solid transparent;background:var(--surface);cursor:pointer;transition:background .15s,border-color .15s}
.tg .t-carto .t-m .t-m-l:hover,.tg .t-carto .t-m.survol .t-m-l{background:var(--surface2);border-color:var(--ligne2)}
.tg .t-carto .t-m.coche .t-m-l{background:var(--accent-fond);border-color:var(--accent-bord,rgba(101,71,232,0.45))}
.tg .t-carto .t-m.flash .t-m-l{animation:t-flash 1s ease}
@keyframes t-flash{0%{box-shadow:0 0 0 0 rgba(101,71,232,0.42)}100%{box-shadow:0 0 0 12px rgba(101,71,232,0)}}
.tg .t-carto .t-m.secoue .t-m-l{animation:t-secoue .4s}
.tg .t-carto .t-m-case{width:30px;height:30px;border-radius:50%;border:1.5px dashed var(--ligne2);color:var(--texte3);background:transparent}
.tg .t-carto .t-m-case svg{width:15px;height:15px}
.tg .t-carto .t-m-case b{font-size:14px;font-weight:700}
.tg .t-carto .t-m.coche .t-m-case{border:0;background:var(--accent);color:#fff}
.tg .t-carto .t-m-vue{--vw:72px;--vh:56px;border-radius:10px;filter:none}
.tg .t-carto .t-m:not(.coche) .t-m-vue{filter:none}
.tg .t-carto .t-m-scan{width:26px;height:26px;margin:-13px 0 0 -13px}
.tg .t-carto .t-m:not(.coche) .t-m-scan{opacity:.75}
.tg .t-carto .t-m-txt{gap:3px}
.tg .t-carto .t-m-txt b{display:flex;align-items:center;gap:8px;font-size:15.5px;color:var(--texte)}
.tg .t-carto .t-m:not(.coche) .t-m-txt b{color:var(--texte)}
.tg .t-m-niv{padding:2px 7px;border-radius:999px;font-style:normal;font-size:11px;font-weight:600;white-space:nowrap}
.tg .t-m-niv.tres{background:rgba(101,71,232,0.16);color:var(--niv-tres,#CEC8EF)}
.tg .t-m-niv.forte{background:rgba(153,140,221,0.12);color:var(--niv-forte,#BBB1ED)}
.tg .t-m-niv.bonne{background:var(--surface2);color:var(--texte3)}
.tg .t-carto .t-m-txt small{display:flex;align-items:center;gap:5px;font-size:12.5px;color:var(--texte3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg .t-carto .t-m-txt small svg{color:var(--accent2)}
.tg .t-m-rangtxt{font-size:12px;color:var(--texte3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg .t-carto .t-m-score{gap:1px}
.tg .t-carto .t-m-score b{font-size:22px;color:var(--texte)}
.tg .t-carto .t-m:not(.coche) .t-m-score b{color:var(--texte)}
.tg .t-carto .t-m-score b small{font-size:13px;color:var(--texte2)}
.tg .t-carto .t-m-score span{font-size:11.5px;color:var(--texte3)}
.tg .t-voir-plus{display:block;width:100%;margin:10px 0 0;padding:12px;border-radius:12px;border:1px dashed var(--ligne2);background:transparent;color:var(--texte2);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.tg .t-voir-plus:hover{color:var(--texte);border-color:var(--accent)}
.tg .t-comment{margin:14px 26px 0;font-size:13.5px;color:var(--texte2)}
.tg .t-comment summary{cursor:pointer;font-weight:600;color:var(--texte2)}
.tg .t-comment p{margin:8px 0 0;line-height:1.55;color:var(--texte3)}

/* l'action, collée en bas du panneau */
.tg .t-carto .t-sel-action{position:sticky;bottom:0;z-index:5;margin:auto 0 0;padding:16px 20px 16px;background:var(--panneau,#0C0D10);border-top:1px solid var(--ligne);box-shadow:0 -20px 30px -20px rgba(0,0,0,.35)}
.tg .t-carto .t-go{width:100%;min-height:58px;font-size:18px;border-radius:14px}
.tg .t-carto .t-sel-note{margin:10px 0 0;font-size:12.5px}

/* la carte */
.tg .t-carto-carte{position:relative;min-height:0;background:#EEEBE5}
.tg .t-carto .t-map{position:absolute !important;inset:0}
.tg .t-carto .t-fond-carte{top:16px;right:16px;background:rgba(255,255,255,.95);border:1px solid #E3DFEA;box-shadow:0 6px 20px -8px rgba(26,28,36,.25)}
.tg .t-carto .t-fond-carte button{color:#4A4762}
.tg .t-carto .t-fond-carte button[aria-pressed="true"]{background:#6547E8;color:#fff;box-shadow:none}
.tg .t-carto-leg{position:absolute;left:16px;top:16px;z-index:3;display:flex;gap:14px;padding:9px 14px;border-radius:12px;background:rgba(255,255,255,.95);border:1px solid #E3DFEA;box-shadow:0 6px 20px -8px rgba(26,28,36,.25);font-size:12.5px;font-weight:500;color:#3E3B55}
.tg .t-carto-leg span{display:inline-flex;align-items:center;gap:6px}
.tg .t-carto-leg i{width:11px;height:11px;border-radius:50%;border:1.5px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.tg .t-carto-leg .l1{background:#8D78ED}.tg .t-carto-leg .l2{background:#8D78ED}.tg .t-carto-leg .l3{width:15px;height:15px;background:#6547E8;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(101,71,232,0.21)}
.tg .t-carto .t-map-aide{left:auto;right:16px;bottom:16px;padding:7px 12px;border-radius:10px;background:rgba(255,255,255,.92);border:1px solid #E3DFEA;color:#5B5872;font-size:12px}
.tg .t-carto .maplibregl-ctrl-group{background:#fff !important;border:1px solid #E3DFEA}
.tg .t-carto .maplibregl-ctrl-group .maplibregl-ctrl-icon{filter:none}
.tg .t-carto .maplibregl-ctrl-group button + button{border-top:1px solid #E3DFEA !important}
.tg .t-carto .maplibregl-ctrl-bottom-right{bottom:48px}
.tg .t-carto .t-etiq.choisie{color:#232530;font-size:18px;text-shadow:0 1px 0 #fff,0 0 6px #fff,0 0 2px #fff}
.tg .t-carto .t-etiq.choisie::before{display:none}
.tg .t-carto .t-etiq.voisine{background:rgba(255,255,255,.92);border:1px solid #D9D7E6;color:#4A4762;box-shadow:0 4px 12px -6px rgba(26,28,36,.3)}
.tg .t-carto .t-etiq.voisine:hover,.tg .t-carto .t-etiq.voisine.survol{background:#6547E8;border-color:#6547E8;color:#fff}
.t-bulle .maplibregl-popup-content{padding:10px 12px;border-radius:12px;background:#fff;box-shadow:0 12px 30px -10px rgba(26,28,36,.35);font-family:inherit;display:flex;flex-direction:column;gap:2px;color:#232530}
.t-bulle b{font-size:14px}.t-bulle span{font-size:12.5px;color:#4A4762}.t-bulle em{font-style:normal;font-size:12px;font-weight:600;color:#6547E8}
.t-bulle .maplibregl-popup-tip{border-top-color:#fff !important;border-bottom-color:#fff !important}

/* la barre latérale reste ; l'écran carte occupe toute la hauteur */
@media (min-width:1100px){.tg > .t-ecran.t-carto{margin-left:256px}}

@media (max-width:1099px){
  .tg .t-carto-g{grid-template-columns:1fr;grid-template-rows:auto;height:auto}
  .tg .t-carto-carte{order:-1;height:44vh;min-height:280px}
  .tg .t-carto-panneau{overflow:visible;border-right:0}
}
@media (max-width:620px){
  .tg .t-carto-tete{padding:18px 16px 4px}
  .tg .t-ecran.t-carto h2.t-sel-titre{font-size:25px}
  .tg .t-carto .t-mais{margin:0 10px}
  .tg .t-carto .t-m .t-m-l{grid-template-columns:28px 58px minmax(0,1fr) auto;gap:10px;padding:9px 10px}
  .tg .t-carto .t-m-vue{--vw:58px;--vh:48px}
  .tg .t-m-niv{display:none}
  .tg .t-carto-outils{flex-wrap:wrap}
  .tg .t-carto-leg{gap:10px;padding:7px 10px;font-size:11.5px}
  .tg .t-carto-leg span:nth-child(2){display:none}
  .tg .t-carto .t-sel-action{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
  .tg .t-carto .t-map-aide{display:none}
}
.tg .t-carto .t-mais{width:auto}
@media (max-width:620px){
  .tg .t-carto .t-fond-carte{top:10px;right:10px;padding:3px}
  .tg .t-carto .t-fond-carte button{padding:7px 12px;font-size:13px}
  .tg .t-carto-leg{top:auto;bottom:10px;left:10px}
  .tg .t-carto .maplibregl-ctrl-bottom-right{bottom:6px}
  .tg .t-carto-g{overflow-x:hidden}
}

/* 13/11/2026 (Alexis, PC : « Le Plessis-Robinson (92350) » dépassait de la pastille de l’étape) : le texte des étapes se coupe proprement */
.tg .t-pas li>p{min-width:0;overflow:hidden}
.tg .t-pas p b{overflow:hidden;text-overflow:ellipsis;max-width:100%}
.tg .t-pas p small{white-space:normal;overflow-wrap:anywhere;line-height:1.3}

/* 13/11/2026 (audit d'affichage, 901–1099 px) : « MandatDirect » passait sous la pastille « 1 Ma sélection » (la marque, décalée de 56 px,
   déborde de sa colonne). Entre 901 et 1099 px, seul le symbole reste : les trois étapes gardent leur nom. */
@media (min-width:901px) and (max-width:1099px){
  .tg .t-marque{min-width:0}
  .tg .t-marque b{display:none}
  .tg .t-demo{display:none}   /* « Démonstration » se posait sur l'étape 3 (déjà masqué sous 900 px) */
}
