/* EazyRent, essai premium : page « Agences immobilières » (s'ajoute à premium.css) */

/* Menu : la page en cours en surbrillance, comme sur le site */
/* « Solutions » est allumé sur les pages métiers : règle .nv-btn.is-courant de premium.css */

.btn-blanc { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.btn-blanc:hover { box-shadow: 0 18px 36px -12px rgba(0,0,0,.55); }

/* ---------- Hero ---------- */
.ag-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 128px 0 88px; overflow: hidden; }
.page-ag .g1 { background: radial-gradient(circle, #b9cdec 0%, rgba(185,205,236,.62) 26%, rgba(185,205,236,.2) 52%, rgba(185,205,236,0) 74%); }
.page-ag .g2 { background: radial-gradient(circle, #d9d6ff 0%, rgba(217,214,255,.62) 26%, rgba(217,214,255,.2) 52%, rgba(217,214,255,0) 74%); }
.ag-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.ag-pastille {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.ag-pastille-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ag-s); color: var(--ag); font-size: 16px; }
/* Titre sur 3 lignes, en triangle inversé (« Centralisez et automatisez / vos candidatures de / location ») :
   les <br class="br-l"> imposent les coupures quand la place le permet ; ailleurs, coupure équilibrée */
.ag-h1 { margin-top: 24px; font: 700 clamp(32px, 4.2vw, 60px)/1.06 var(--f-d); letter-spacing: -.036em; font-variation-settings: 'opsz' 96; text-wrap: balance; }
.br-l { display: none; }
@media (min-width: 1200px) {
  /* la carte de Léa se cale à droite (alignée sur la barre de menu) pour laisser la place au titre */
  .ag-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; }
  .ag-hero .ag-scene { justify-self: end; }
  .ag-h1 { text-wrap: wrap; }
  .ag-h1 .br-l { display: inline; }
}
/* sous 900 px, le texte prend toute la largeur : le titre grossit, et garde le triangle à partir de 560 px */
@media (max-width: 899px) {
  .ag-h1 { font-size: clamp(32px, 7vw, 56px); }
}
@media (min-width: 560px) and (max-width: 899px) {
  .ag-h1 { text-wrap: wrap; }
  .ag-h1 .br-l { display: inline; }
}
.ag-lead { max-width: 30em; }
/* Ce dont EazyRent se charge : une icône de 20 px par tâche, sans fond */
.ag-taches { margin-top: 16px; display: grid; gap: 10px; }
.ag-taches li { display: flex; align-items: center; gap: 12px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.ag-tache-ico { display: grid; place-items: center; flex: none; width: 20px; height: 20px; color: var(--ag); }
.ag-tache-ico svg { width: 100%; height: 100%; }

.ag-scene { position: relative; justify-self: center; width: 100%; max-width: 440px; perspective: 1400px; }
.ag-carte {
  position: relative; z-index: 1;
  padding: 22px; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.55), 0 0 0 7px rgba(219,225,236,.9), 0 40px 80px -30px rgba(27,69,128,.35);
}
.ag-carte-tete { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
.ag-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--f-t); color: var(--ag); background: var(--ag-s); }
.ag-nom { font: 600 18px/1.2 var(--f-d); letter-spacing: -.01em; }
.ag-bien { margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-3); }
/* Les 3 étapes (mêmes icônes que les puces du texte) : en attente, en cours (pulsation), faite (vert + coche) */
.ag-etapes { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ag-etapes li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; }
.ag-etape-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #d5dbe6; color: #94a3b8; transition: background-color .35s, color .35s, box-shadow .35s; }
.ag-etape-ico > svg { width: 19px; height: 19px; }
.ag-etape-ok { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--ok); color: #fff; box-shadow: 0 0 0 2px #fff; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.ag-etape-ok svg { width: 11px; height: 11px; }
.ag-etapes li.is-actif .ag-etape-ico { background: var(--ag-s); color: var(--ag); box-shadow: inset 0 0 0 1.5px rgba(34,83,155,.35); animation: ag-pulse 1.4s ease-out infinite; }
.ag-etapes li.is-fait .ag-etape-ico { background: var(--ok-s); color: var(--ok); box-shadow: none; }
.ag-etapes li.is-fait .ag-etape-ok { transform: scale(1); }
@keyframes ag-pulse { from { box-shadow: inset 0 0 0 1.5px rgba(34,83,155,.35), 0 0 0 0 rgba(34,83,155,.3); } to { box-shadow: inset 0 0 0 1.5px rgba(34,83,155,.35), 0 0 0 10px rgba(34,83,155,0); } }
.ag-etape-txt { font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--ink-3); transition: color .35s; }
.ag-etapes li.is-actif .ag-etape-txt, .ag-etapes li.is-fait .ag-etape-txt { color: var(--ink); }
.ag-etape-txt .t-fait { display: none; }
.ag-etapes li.is-fait .t-encours { display: none; }
.ag-etapes li.is-fait .t-fait { display: inline; }
/* le trait qui relie une étape à la précédente se remplit quand on l'atteint */
.ag-trait { position: absolute; top: 19px; left: calc(-50% + 26px); right: calc(50% + 26px); height: 2px; border-radius: 2px; background: #e3e8f0; overflow: hidden; }
.ag-trait i { display: block; height: 100%; background: #22c55e; transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.ag-etapes li.is-actif .ag-trait i, .ag-etapes li.is-fait .ag-trait i { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .ag-etapes li.is-actif .ag-etape-ico { animation: none; } }
.ag-completion { margin-top: 18px; padding: 14px; border-radius: 14px; background: #f6f8fc; }
.ag-completion-ligne { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--ok); font-weight: 500; }
.ag-completion-ligne b { font: 700 22px/1 var(--f-d); color: var(--ink); font-variant-numeric: tabular-nums; }
.ag-nb { margin-left: auto; color: var(--ink-3); font-weight: 400; }
.ag-barre { margin-top: 10px; height: 7px; border-radius: 4px; background: #e6eaf2; overflow: hidden; }
.ag-barre span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4ade80, #15803d); transform-origin: left; }
.ag-pieces { margin-top: 14px; display: grid; gap: 2px; }
.ag-pieces li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; font-size: 14px; color: var(--ink-2); }
.ag-coche { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--ok-s); color: var(--ok); font-size: 13px; transition: background .3s, box-shadow .3s; }
.ag-coche svg { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.ag-pieces li.is-attente .ag-coche { background: transparent; box-shadow: inset 0 0 0 1.5px #cbd5e1; }
.ag-pieces li.is-attente .ag-coche svg { transform: scale(0); }


/* ---------- La candidature de 23 h : la nuit, puis le matin ---------- */
.nuit {
  position: relative; overflow: hidden;
  padding: clamp(96px, 10vw, 140px) 0;
  background: #0f172a; color: #94a3b8;
  transition: background-color 1.1s ease, color 1.1s ease;
}
.nuit-ciel { position: absolute; inset: 0; pointer-events: none; }
.nuit-ciel::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.4px 1.4px at 46% 12%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 63% 38%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 78% 72%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 88% 24%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.3px 1.3px at 6% 82%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 52% 88%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 36% 34%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.2px 1.2px at 94% 56%, rgba(255,255,255,.5), transparent);
  transition: opacity 1.1s;
}
.nuit-lune {
  position: absolute; top: 10%; right: 9%; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e0e7ff, #a5b4fc 60%, #818cf8);
  box-shadow: 0 0 60px 20px rgba(129,140,248,.25);
  transition: transform 1.2s cubic-bezier(.6,0,.3,1), opacity 1.1s;
}
.nuit-soleil {
  position: absolute; top: -260px; right: -160px; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253,230,138,.55), rgba(253,186,116,.18) 40%, rgba(253,186,116,0) 70%);
  opacity: 0; transform: translateY(120px);
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1), opacity 1.2s;
}
.nuit-in { position: relative; }

/* L'en-tête, centré en haut : on lit le titre avant tout le reste */
.nuit-tete { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.nuit-sur { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #a5b4fc; transition: color 1.1s; }
.nuit .h2 { max-width: none; color: #fff; transition: color 1.1s; }
.nuit-sous { max-width: 36em; margin: 20px auto 0; font-size: 18px; color: #94a3b8; text-wrap: balance; transition: color 1.1s; }

/* La frise : l'heure | l'icône sur la ligne | le texte. Même apparition que « On adapte EazyRent » de l'accueil :
   les ronds et le trait gris sont là, le contenu glisse depuis la droite, le rond s'allume, le trait se remplit au défilement. */
.nuit-frise {
  --col-h: 128px; --ico: 48px; --ecart: 28px; --pas: 72px;
  --h3: clamp(22px, 2.2vw, 30px); --hb: clamp(24px, 2.2vw, 30px);
  --haut-carte: 40px;                                            /* place des 2 feuilles au-dessus de la carte de 9 h */
  --dec: calc(30px + var(--h3) * .575 - var(--ico) / 2);         /* icône de 9 h centrée sur le titre de la carte */
  max-width: 820px; margin: 0 auto;
}
.n-etape, .n-sep {
  position: relative; display: grid; column-gap: var(--ecart); padding-bottom: var(--pas);
  grid-template-columns: var(--col-h) var(--ico) minmax(0, 1fr); grid-template-areas: "heure axe corps";
}
.n-heure { grid-area: heure; text-align: right; }
.n-heure b { display: block; margin-top: calc((var(--ico) - var(--hb) * 1.15) / 2); font: 700 var(--hb)/1.15 var(--f-d); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; transition: color 1.1s; }
.n-heure span { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: #a5b4fc; transition: color 1.1s; }
.n-axe { grid-area: axe; position: relative; }
.n-ico {
  position: relative; z-index: 1; display: grid; place-items: center; width: var(--ico); height: var(--ico); border-radius: 50%;
  background: #141c36; box-shadow: inset 0 0 0 1.5px rgba(129,140,248,.28); color: #64748b;
  transition: background-color .5s, box-shadow .5s, color .5s, transform .5s;
}
.n-ico svg { width: 21px; height: 21px; }
.is-on > .n-axe .n-ico { background: var(--indigo); box-shadow: 0 0 0 7px rgba(79,70,229,.24), 0 0 26px 4px rgba(129,140,248,.4); color: #fff; transform: scale(1.04); }
/* le trait gris relie les ronds ; sa partie indigo se remplit au défilement */
.n-trait { position: absolute; left: calc(50% - 1px); top: var(--ico); bottom: calc(-1 * var(--pas) - var(--vers, 0px)); width: 2px; border-radius: 2px; background: rgba(255,255,255,.1); transition: background 1.1s; }
.n-trait i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(#818cf8, var(--indigo)); transform: scaleY(0); transform-origin: top; }
.n-trait.is-pointille { background: repeating-linear-gradient(to bottom, rgba(255,255,255,.14) 0 5px, transparent 5px 11px); }
.n-trait.is-pointille i { background: repeating-linear-gradient(to bottom, #818cf8 0 5px, transparent 5px 11px); }
.n-corps { grid-area: corps; }
.n-corps h3 { padding-top: calc((var(--ico) - var(--h3) * 1.15) / 2); font: 600 var(--h3)/1.15 var(--f-d); letter-spacing: -.02em; color: #fff; transition: color 1.1s; }
.n-corps p { margin-top: 12px; max-width: 32em; font-size: 16.5px; color: #94a3b8; transition: color 1.1s; }

/* La pause de la nuit : un point, des pointillés et le soleil */
.n-avant-pause .n-trait { --vers: 14px; }
.n-noeud { display: block; width: 12px; height: 12px; margin: 14px auto 0; border-radius: 50%; background: #334155; transition: background-color .5s, box-shadow .5s; }
.n-sep.is-on .n-noeud { background: #818cf8; box-shadow: 0 0 0 5px rgba(129,140,248,.2); }
.n-sep .n-trait { top: 26px; --vers: calc(var(--haut-carte) + var(--dec)); }
.n-pause {
  grid-area: corps; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 7px 15px; border-radius: 999px;
  border: 1px dashed rgba(251,191,36,.45); font-size: 14px; font-weight: 600; color: #fbbf24; transition: color 1.1s, border-color 1.1s;
}
.n-pause svg { width: 17px; height: 17px; flex: none; }

/* 9 h : la carte du dossier déjà complet, avec 2 pièces qui dépassent */
.n-matin { padding-bottom: 0; }
.n-matin .n-heure { padding-top: calc(var(--haut-carte) + var(--dec)); }
.n-matin .n-ico { margin-top: calc(var(--haut-carte) + var(--dec)); }
.n-matin .n-corps { position: relative; margin-top: var(--haut-carte); }
/* la carte dans un cadre en verre fin, comme sur l'ancienne version : les feuilles se voient à travers */
.n-carte { position: relative; z-index: 1; padding: 30px 34px 32px; border-radius: 20px; background: #e6ebf5; box-shadow: 0 0 0 7px rgba(255,255,255,.06), 0 0 0 8px rgba(255,255,255,.09), 0 24px 48px -16px rgba(0,0,0,.6), 0 0 80px -10px rgba(246,199,104,.14); transition: background-color 1.1s, box-shadow 1.1s; }
.nuit .n-carte h3 { padding-top: 0; color: var(--ink); }
.nuit .n-carte p { margin-top: 20px; line-height: 1.6; color: var(--ink-2); }
.n-feuilles { position: absolute; inset: 0; pointer-events: none; }
.n-feuille { position: absolute; width: 88px; color: #64748b; --feuille-fond: #fff; --feuille-op: 1; filter: drop-shadow(0 10px 18px rgba(15,23,42,.25)); transform: rotate(var(--r)); }
.n-feuille svg { display: block; width: 100%; height: auto; }
.n-feuille.f-1 { top: -44px; right: 40px; --r: 8deg; }
.n-feuille.f-2 { top: -34px; right: 120px; --r: -6deg; }

.nuit-fin { max-width: 28em; margin: clamp(40px, 5vw, 56px) auto 0; text-align: center; font-size: clamp(18px, 1.7vw, 22px); color: #94a3b8; text-wrap: balance; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s, color 1.1s; }
.nuit-fin.is-on { opacity: 1; transform: none; }
.nuit-fin strong { color: #fff; font-weight: 600; transition: color 1.1s; }

/* Le matin */
.nuit.is-matin { background-color: #e6ebf5; color: var(--ink-2); }
.nuit.is-matin .nuit-ciel::before { opacity: 0; }
.nuit.is-matin .nuit-lune { opacity: 0; transform: translateY(160px); }
.nuit.is-matin .nuit-soleil { opacity: 1; transform: none; }
.nuit.is-matin .h2, .nuit.is-matin .n-heure b, .nuit.is-matin .n-corps h3, .nuit.is-matin .nuit-fin strong { color: var(--ink); }
.nuit.is-matin .nuit-sous, .nuit.is-matin .n-corps p, .nuit.is-matin .nuit-fin { color: var(--ink-2); }
.nuit.is-matin .nuit-sur, .nuit.is-matin .n-heure span { color: var(--ag); }
.nuit.is-matin .n-ico { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(79,70,229,.25); color: #94a3b8; }
.nuit.is-matin .is-on > .n-axe .n-ico { background: var(--indigo); box-shadow: 0 0 0 7px rgba(79,70,229,.14), 0 12px 24px -8px rgba(79,70,229,.45); color: #fff; }
.nuit.is-matin .n-trait { background: rgba(15,23,42,.1); }
.nuit.is-matin .n-trait.is-pointille { background: repeating-linear-gradient(to bottom, rgba(15,23,42,.14) 0 5px, transparent 5px 11px); }
.nuit.is-matin .n-pause { color: #b45309; border-color: rgba(180,83,9,.35); }
.nuit.is-matin .n-carte { background: #fff; box-shadow: 0 0 0 7px rgba(255,255,255,.5), 0 0 0 8px rgba(79,70,229,.12), 0 30px 60px -28px rgba(27,69,128,.4), 0 0 90px -10px rgba(246,199,104,.25); }

/* ---------- Le parcours ---------- */
.parcours { padding: clamp(110px, 13vw, 170px) 0 clamp(60px, 8vw, 110px); }
.parcours-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(72px, 9vw, 120px); }
.parcours-tete p { max-width: 26em; font-size: 19px; color: var(--ink-2); }
.pc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; margin-bottom: clamp(96px, 12vw, 160px); }
.pc:nth-of-type(even) .pc-visuel { order: -1; }
.pc-avance { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ag); }
.pc-traits { display: flex; gap: 5px; }
.pc-traits i { width: 22px; height: 4px; border-radius: 2px; background: var(--ag-s); position: relative; overflow: hidden; }
.pc-traits i::after { content: ''; position: absolute; inset: 0; background: var(--ag); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); transition-delay: var(--dl, 0s); }
.pc-traits i.is-on::after { transform: none; }
.pc h3 { margin-top: 16px; font: 700 clamp(28px, 3vw, 44px)/1.05 var(--f-d); letter-spacing: -.03em; text-wrap: balance; }
.pc-p { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 30em; }
.pc-liste { margin-top: 24px; display: grid; gap: 12px; }
.pc-liste li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); max-width: 32em; }
.pc-liste svg { margin-top: 4px; width: 18px; height: 18px; color: var(--ag); }

.pc-visuel { position: relative; perspective: 1400px; padding: 28px 24px; }
.pc-feuille { position: absolute; z-index: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: 16px; box-shadow: 0 20px 40px -24px rgba(15,23,42,.3); }
.pc-feuille.f-a { top: -6px; right: 0; background: var(--ag-s); transform: rotate(8deg); }
.pc-feuille.f-b { bottom: -10px; left: 0; background: #fff; transform: rotate(-7deg); box-shadow: 0 0 0 1px rgba(219,225,236,.9), 0 20px 40px -24px rgba(15,23,42,.3); }

/* Aperçus de l'outil */
.ap {
  position: relative; z-index: 1;
  padding: 20px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.55), 0 0 0 7px rgba(219,225,236,.9), 0 40px 80px -36px rgba(27,69,128,.35);
  font-size: 13px; color: var(--ink-2);
}
.ap-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid #eef1f7; }
.ap-tete b { font: 600 16px/1.2 var(--f-d); color: var(--ink); }
.ap-tete span { font-size: 12.5px; color: var(--ink-3); }
.ap-chip { flex: none; padding: 4px 10px; border-radius: 999px; font: 600 12px/1.2 var(--f-t); white-space: nowrap; transition: background .3s, color .3s; }
.ap-chip.is-ok { background: var(--ok-s); color: var(--ok); }
.ap-chip.is-attente { background: #eef1f7; color: var(--ink-3); }

.ap-mails li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #f1f4f9; }
.ap-mails li:last-child { border-bottom: 0; }
.ap-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: var(--ag); background: var(--ag-s); }
.ap-mails b, .ap-prospects b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ap-mails div span, .ap-prospects div span { display: block; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ap-questions { margin: 12px 0 6px; padding: 12px; border-radius: 12px; background: #f6f8fc; }
.ap-questions p { font-size: 12px; color: var(--ink-3); }
.ap-questions div { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.ap-questions div span { padding: 5px 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #e2e8f0; font-size: 12.5px; color: var(--ink-2); }
.ap-prospects li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f4f9; }
.ap-prospects li:last-child { border-bottom: 0; }
.ap-prospects li > div { min-width: 0; }
.ap-tampon { flex: none; padding: 5px 12px; border-radius: 999px; font: 700 12px/1.2 var(--f-t); }
.ap-tampon.is-ok { background: var(--ok-s); color: var(--ok); }
.ap-tampon.is-non { background: #fee2e2; color: #b91c1c; }

.ap-profils { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ap-profil { font-size: 13px; font-weight: 600; color: var(--ag); margin-bottom: 6px; }
.ap-liste li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; }
.ap-liste li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; transition: background-color .3s, box-shadow .3s; }
.ap-liste li.is-attente::before { background-color: transparent; background-size: 0; box-shadow: inset 0 0 0 1.5px #cbd5e1; }
.ap-liste li.is-garant { color: var(--ink-3); font-style: italic; }

.ap-rapport { overflow: hidden; }
.ap-scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; }
.ap-scan span { position: absolute; left: 0; right: 0; top: -40px; height: 80px; background: linear-gradient(180deg, rgba(79,70,229,0), rgba(115,102,254,.18) 46%, rgba(79,70,229,.8) 50%, rgba(115,102,254,.18) 54%, rgba(79,70,229,0)); }
.ap-lignes li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #f1f4f9; font-size: 14px; color: var(--ink); }
.ap-effort { font: 700 22px/1 var(--f-d); color: var(--ink); font-variant-numeric: tabular-nums; }
.ap-attention { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff7ed; box-shadow: inset 0 0 0 1px #fed7aa; display: grid; gap: 2px; }
.ap-attention b { font-size: 12.5px; color: #b45309; }
.ap-attention span { font-size: 14px; color: var(--ink); }

/* ---------- Tout au même endroit ---------- */
.endroit { padding: clamp(96px, 12vw, 150px) 0; background: #f8fafc; border-top: 1px solid #eef1f7; border-bottom: 1px solid #eef1f7; }
.endroit-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.endroit-p { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 28em; }
.endroit-points { margin-top: 40px; display: grid; gap: 28px; }
.endroit-points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.e-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--ag); font-size: 22px; box-shadow: 0 0 0 1px #e2e8f0, 0 8px 18px -10px rgba(15,23,42,.25); }
.endroit-points h3 { font: 600 19px/1.25 var(--f-d); color: var(--ink); padding-top: 2px; }
.endroit-points p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); max-width: 32em; }
.endroit-visuel { position: relative; padding-bottom: 60px; }
/* L'onglet Mandats d'EazyRent, dans un cadre en verre : la barre de l'appli, puis le tableau des biens */
.ap.ap-mandats { padding: 0; overflow: hidden; }
.ap-app { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #111827; }
.ap-logo { width: 89px; height: auto; margin-right: 12px; filter: brightness(0) invert(1); }
.ap-onglet { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px; font: 600 13px/1 var(--f-t); color: #cbd5e1; white-space: nowrap; }
.ap-onglet svg { width: 16px; height: 16px; }
.ap-onglet.is-on { background: var(--indigo); color: #fff; box-shadow: 0 6px 14px -6px rgba(79,70,229,.7); }
.ap-page { padding: 18px 20px 10px; }
.ap-titre { display: block; font: 600 17px/1.2 var(--f-d); color: var(--ink); }
.ap-grille { width: 100%; margin-top: 12px; border-collapse: collapse; }
.ap-grille th { padding: 0 12px 10px 0; border-bottom: 1px solid #eef1f7; text-align: left; font-size: 12px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.ap-grille td { padding: 12px 12px 12px 0; vertical-align: middle; }
.ap-grille th:last-child, .ap-grille td:last-child { padding-right: 0; }
.ap-grille tbody tr + tr td { border-top: 1px solid #f1f4f9; }
.ap-ph { width: 44px; }
.ap-ph img { display: block; max-width: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.ap-nom { width: 100%; max-width: 0; }
.ap-nom b { display: block; font-size: 13.5px; font-weight: 600; color: var(--indigo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-nom span { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.ap-nb { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(79,70,229,.45); color: var(--indigo); font: 600 13px/1.2 var(--f-t); font-variant-numeric: tabular-nums; }
.ap-nb svg { width: 15px; height: 15px; }
.ap-nb i { font-style: normal; min-width: 2ch; }
.ap-resp { display: flex; gap: 4px; }
.ap-resp i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ag-s); color: var(--ag); font: 600 11px/1 var(--f-t); font-style: normal; box-shadow: 0 0 0 2px #fff; }
.ap-resp i + i { margin-left: -8px; background: #ede9fe; color: #5b21b6; }
.t-court, .t-c2 { display: none; }
.ap-bulle {
  position: absolute; z-index: 2; left: 12px; bottom: 0;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 16px; background: #fff; white-space: nowrap;
  box-shadow: 0 0 0 1px #e2e8f0, 0 24px 48px -20px rgba(15,23,42,.35);
}
.ap-bulle b { display: block; font-size: 14px; color: var(--ink); }
.ap-bulle span:not(.e-ico) { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Appel à la démo ---------- */
.ag-cta { position: relative; padding: clamp(110px, 13vw, 170px) 0; text-align: center; color: #fff; }
.ag-cta-fond {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(129,140,248,.45), transparent 70%),
    radial-gradient(50% 70% at 10% 100%, rgba(121,165,232,.35), transparent 70%),
    linear-gradient(135deg, #1b4580, #22539b 55%, #3f3bc4);
}
.ag-cta-fond::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%);
}
.ag-cta-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.ag-cta-titre { font: 700 clamp(40px, 5.8vw, 84px)/1.02 var(--f-d); letter-spacing: -.04em; max-width: 15ch; text-wrap: balance; }
.ag-cta-p { margin-top: 24px; max-width: 34em; font-size: 19px; color: #dbe4f5; }
.ag-cta .btn { margin-top: 36px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(96px, 12vw, 150px) 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.faq-tete { position: sticky; top: 120px; }
.faq-tete p { margin-top: 20px; font-size: 16px; color: var(--ink-2); max-width: 22em; }
.faq-tete a { color: var(--indigo); font-weight: 500; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 600 17px/1.4 var(--f-t); color: var(--ink);
}
.faq-q:hover { color: var(--ag); }
.faq-plus { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #eef1f7; color: var(--ink-2); font-size: 16px; transition: transform .45s cubic-bezier(.2,.8,.2,1), background .3s, color .3s; }
.faq-item.is-ouvert .faq-plus { transform: rotate(45deg); background: var(--ag); color: #fff; }
.faq-r { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1); }
.faq-item.is-ouvert .faq-r { grid-template-rows: 1fr; }
.faq-r > div { overflow: hidden; }
.faq-r p { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 46em; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s; }
.faq-item.is-ouvert .faq-r p { opacity: 1; transform: none; transition-delay: .1s; }
.faq-r a { color: var(--indigo); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .ag-hero { padding: 104px 0 72px; align-items: flex-start; }
  .ag-hero-in { grid-template-columns: 1fr; gap: 56px; }
  .ag-h1 { margin-top: 18px; }
  .ag-scene { max-width: 400px; }
  .ag-carte { padding: 18px; }

  .nuit-lune { top: 26px; right: 18px; width: 48px; height: 48px; }
  .nuit-tete { text-align: left; }
  .nuit-sous { margin-left: 0; }
  /* mobile : l'heure passe au-dessus du titre de chaque étape */
  .nuit-frise { --ico: 40px; --ecart: 16px; --pas: 48px; --h3: 20px; --hb: 18px; --dec: 0px; }
  .n-etape { grid-template-columns: var(--ico) minmax(0, 1fr); grid-template-areas: "axe heure" "axe corps"; }
  .n-sep { grid-template-columns: var(--ico) minmax(0, 1fr); grid-template-areas: "axe corps"; }
  .n-heure { display: flex; align-items: baseline; gap: 8px; text-align: left; }
  .n-heure span { margin-top: 0; font-size: 13px; }
  .n-corps h3 { padding-top: 6px; }
  .n-corps p { margin-top: 8px; font-size: 15.5px; }
  .n-ico svg { width: 18px; height: 18px; }
  .n-noeud { margin-top: 12px; }
  .n-avant-pause .n-trait { --vers: 12px; }
  .n-sep .n-trait { top: 24px; --vers: 0px; }
  .n-matin .n-heure { padding-top: 0; }
  .n-matin .n-ico { margin-top: 0; }
  .n-carte { padding: 24px 22px 26px; }
  .n-feuille { width: 64px; }
  .n-feuille.f-1 { top: -36px; right: 24px; }
  .n-feuille.f-2 { top: -28px; right: 84px; }
  /* la carte de 9 h prend toute la largeur sous son heure, comme sur l'ancienne version */
  .n-matin { grid-template-areas: "axe heure" "corps corps"; }

  .pc { grid-template-columns: 1fr; gap: 40px; }
  .pc:nth-of-type(even) .pc-visuel { order: 0; }
  .pc-visuel { padding: 22px 14px; }
  /* Les pièces derrière les aperçus restent entières sur mobile (retour de Pierre sur le site actuel) */
  .pc-feuille { width: 40%; }
  .pc-feuille.f-a { right: 20px; }
  .pc-feuille.f-b { left: 20px; }
  .ap { padding: 16px; }
  .ap-profils { gap: 14px; }

  .endroit-in { grid-template-columns: 1fr; gap: 56px; }

  .faq-in { grid-template-columns: 1fr; gap: 40px; }
  .faq-tete { position: static; }
  .faq-r p { padding-right: 0; }
}
@media (max-width: 420px) {
  .ap-profils { grid-template-columns: 1fr; }
  .ap-bulle { padding: 10px 14px 10px 10px; }
  .ap-app { padding: 10px 12px; }
  .ap-logo { width: 74px; margin-right: 6px; }
  .ap-onglet { padding: 6px 9px; font-size: 12px; }
  .ap-page { padding: 16px 16px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .nuit, .nuit *, .faq-r, .faq-r p, .faq-plus, .pc-traits i::after { transition: none !important; }
  .n-etape, .n-sep, .nuit-fin { opacity: 1; transform: none; }
  .n-trait i { transform: none; }
  .pc-traits i::after { transform: none; }
}

/* 2026-11-17 : l'accueil a resserré le bas de la bande de logos (ses chiffres sont dessous) ; ici on garde l'espace d'origine */
.page-ag .logos { padding-bottom: 88px; }
.page-ag .chiffres li { align-content: start; }
.page-ag .chiffres span { max-width: 17em; text-wrap: balance; }

/* la bulle API déborde à gauche du tableau quand il y a la place */
@media (min-width: 900px) { .ap-bulle { left: -28px; } }
/* mobile et tablette : la bulle API centrée sous le tableau */
@media (max-width: 899px) { .ap-bulle { left: 0; right: 0; width: fit-content; margin: 0 auto; } }
/* Grand écran (et tablette en portrait) : le tableau prend la largeur de son contenu, avec le même écart entre les colonnes, et tout est plus grand */
@media (min-width: 1200px), (min-width: 700px) and (max-width: 899px) {
  .endroit-visuel { width: fit-content; max-width: 100%; margin-left: auto; }
  .ap-app { padding: 14px 20px; gap: 8px; }
  .ap-logo { width: 100px; margin-right: 14px; }
  .ap-onglet { padding: 8px 13px; font-size: 14px; }
  .ap-onglet svg { width: 17px; height: 17px; }
  .ap-page { padding: 22px 26px 12px; }
  .ap-titre { font-size: 20px; }
  .ap-grille { width: auto; margin-top: 16px; }
  .ap-grille th { padding: 0 40px 12px 0; font-size: 13px; }
  .ap-grille td { padding: 16px 40px 16px 0; }
  .ap-grille .ap-ph { padding-right: 16px; }
  .ap-ph { width: 54px; }
  .ap-ph img { width: 54px; height: 54px; border-radius: 12px; }
  .ap-nom { width: auto; max-width: none; }
  .ap-nom b { font-size: 15.5px; }
  .ap-nom span { margin-top: 3px; font-size: 13px; }
  .ap-nb { gap: 7px; padding: 7px 13px; font-size: 14.5px; border-radius: 10px; }
  .ap-nb svg { width: 17px; height: 17px; }
  .ap-resp i { width: 34px; height: 34px; font-size: 12px; }
  .ap-resp i + i { margin-left: -9px; }
}
@media (min-width: 700px) and (max-width: 899px) { .endroit-visuel { margin-right: auto; } }
/* Tout au même endroit, petits écrans : noms sur 2 lignes, et « Équipe » à la place de « Responsables » */
@media (max-width: 480px) {
  .ap-nom b { white-space: normal; }
  .ap-nb { padding: 5px 9px; }
  .t-long { display: none; }
  .t-court { display: inline; }
  .ap-onglet:not(.is-on) svg { display: none; }
}
/* très petits écrans : le nombre sans icône et « Dossiers » ; sous 370 px, sans les photos, pour laisser la place au nom du bien */
@media (max-width: 370px) { .ap-ph { display: none; } }
@media (max-width: 400px) {
  .ap-page { padding: 14px 14px 6px; }
  .ap-app { gap: 4px; padding: 10px; }
  .ap-logo { width: 62px; margin-right: 4px; }
  .ap-onglet { padding: 6px 8px; font-size: 11.5px; }
  .ap-nb svg, .t-l2 { display: none; }
  .t-c2 { display: inline; }
}
