.drive-catalogue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:start}.drive-listing{background:#173e62;color:#fff;border:1px solid #173e62;border-radius:0;overflow:hidden;scroll-margin-top:100px;display:flex;flex-direction:column;height:100%}.drive-cover{display:block;width:100%;border:0;padding:0;cursor:zoom-in;background:#eceff0}.drive-cover img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;display:block}.drive-thumbnails{display:flex;gap:7px;padding:10px;overflow-x:auto;background:#eef0f1}.drive-thumbnails a{flex:0 0 88px;padding:0;border:2px solid transparent;background:transparent;cursor:zoom-in}.drive-thumbnails a:focus-visible{border-color:#173e62}.drive-thumbnails img{display:block;width:88px;height:60px;object-fit:cover}.drive-listing-body{padding:25px}.drive-listing h3{font-size:25px;line-height:1.25;margin:10px 0 18px;color:#173e62}.drive-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 24px}.drive-facts div{border-bottom:1px solid #e2e6e8;padding-bottom:10px}.drive-facts dt{font-size:14px;color:#657481}.drive-facts dd{font-size:18px;line-height:1.35;margin:4px 0 0;font-weight:600}.drive-description{font-size:16px;line-height:1.7;white-space:pre-line}.drive-source{font-size:14px;color:#657481;border-top:1px solid #e2e6e8;margin-top:22px;padding-top:14px}.drive-photo-missing{min-height:180px;display:flex;align-items:center;justify-content:center;background:#eef0f1;color:#657481;font-size:18px}.drive-viewer{background:#111923;color:white;border:0;border-radius:10px;padding:20px;width:min(1200px,96vw);max-height:95vh}.drive-viewer::backdrop{background:#000c}.drive-viewer>img{width:100%;max-height:72vh;object-fit:contain}.drive-viewer p{font-size:16px;margin:12px 0}.drive-viewer button{font:inherit;padding:9px 15px;border:1px solid #8e9bab;border-radius:5px;background:#253746;color:white;cursor:pointer}.drive-close{display:block;margin:0 0 12px auto}.drive-controls{display:flex;justify-content:space-between;gap:12px}@media(max-width:850px){.drive-catalogue-grid{grid-template-columns:1fr}.drive-listing-body{padding:20px}}@media(max-width:450px){.drive-facts{grid-template-columns:1fr}.drive-listing h3{font-size:22px}.drive-viewer{padding:12px}}

.drive-detail{max-width:1150px}.drive-detail .prose{max-width:850px;margin:2rem auto}.drive-detail .drive-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;background:transparent;padding:0;gap:12px}.drive-detail .drive-thumbnails a{width:auto;border:0;display:block}.drive-detail .drive-thumbnails a:first-child{grid-column:1/-1}.drive-detail .drive-thumbnails img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#eef0f1}.drive-detail .drive-thumbnails a:focus-visible{outline:3px solid #173e62;outline-offset:3px}.drive-catalogue{padding:1rem 0}.drive-listing .btn{font-size:14px}@media(max-width:600px){.drive-detail .drive-thumbnails{grid-template-columns:repeat(2,minmax(0,1fr))}.drive-controls button{font-size:14px;padding:9px}.drive-viewer img{max-height:65vh}}

/* Cartes du catalogue aux couleurs de l’agence. */
.drive-listing-body{flex:1;display:flex;flex-direction:column}.drive-listing h3,.drive-listing h3 a,.drive-listing .drive-facts dd,.drive-listing .drive-description{color:#fff}.drive-listing .eyebrow{color:#e7d5ba}.drive-listing .drive-facts dt{color:#d4e1ed}.drive-listing .drive-facts div{border-bottom-color:#ffffff40}.drive-listing .drive-cover{background:#173e62;cursor:pointer}.drive-listing .drive-photo-missing{background:#214c70;color:#fff;aspect-ratio:3/2;min-height:0}.drive-listing .btn{align-self:flex-start;margin-top:auto;background:#f1e9db;border-color:#f1e9db;color:#173e62}.drive-listing .btn:hover{background:#fff;border-color:#fff}.drive-listing a:focus-visible{outline:3px solid #f1d39c;outline-offset:4px}

/* Jaune ImmoTech pour les locations, bleu pour les ventes. */
body :is(.home-listing,.drive-listing).listing-rental{background:var(--yellow,#d5a20b);color:#173e62;border-color:#173e6233}
body :is(.home-listing,.drive-listing).listing-rental>div{background:linear-gradient(135deg,#e6bc39,var(--yellow,#d5a20b) 75%);color:#173e62}
body :is(.home-listing,.drive-listing).listing-rental :is(h3,h3 a,p,.eyebrow,.drive-facts dt,.drive-facts dd,.home-listing-price strong,.home-listing-price span,.home-listing-link){color:#173e62}
body :is(.home-listing,.drive-listing).listing-rental .eyebrow::before{background:#173e62}
body :is(.home-listing,.drive-listing).listing-rental .home-listing-status{background:#173e62;color:#fff;border-color:#173e62}
body :is(.home-listing,.drive-listing).listing-rental .home-listing-link{border-bottom-color:#173e62}
body :is(.home-listing,.drive-listing).listing-rental h3 a:hover{text-decoration-color:#173e62}
body :is(.home-listing,.drive-listing).listing-rental .drive-facts div{border-bottom-color:#173e6240}
body :is(.home-listing,.drive-listing).listing-rental .btn{background:#173e62;border-color:#173e62;color:#fff}
body :is(.home-listing,.drive-listing).listing-rental .btn:hover{background:#102d48;border-color:#102d48}
body :is(.home-listing,.drive-listing).listing-rental:focus-within{border-color:#173e62}
body :is(.home-listing,.drive-listing).listing-rental a:focus-visible{outline-color:#173e62}

/* Agencement détaillé : une lecture claire sur ordinateur et téléphone. */
.property-section-title{font-size:clamp(22px,3vw,29px);line-height:1.25;margin:2rem 0 1rem;color:#173e62}
.property-room-list{list-style:none;padding:0;margin:1rem 0 1.5rem;border:1px solid #173e621f;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 28px #173e6205}
.property-room-list li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:13px 18px;border-bottom:1px solid #173e6214;font-size:16px;line-height:1.5}
.property-room-list li:last-child{border-bottom:0}.property-room-list li:nth-child(even){background:#f5f7f8}.property-room-list strong{flex-shrink:0;color:#173e62;font-variant-numeric:tabular-nums}.property-room-list li>span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#d5a20b;margin:0 10px 2px 0}
@media(max-width:450px){.property-room-list li{padding:12px;gap:10px;font-size:15px}.property-section-title{margin-top:1.6rem}.property-room-list li>span:before{margin-right:7px}}
