/* Logis Dispo — site public. Design « Modernist » : Archivo, aucun arrondi, filets de 2px, bleus. */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #12151a;
  --accent: #1f4e8c;
  --accent-hover: #1a4380;
  --accent-100: #eef3fa;
  --accent-200: #dbe5f3;
  --accent-300: #bccfe9;
  --accent-400: #8aacd8;
  --accent-500: #4f7fbf;
  --accent-700: #16396b;
  --accent-800: #102b52;
  --accent-900: #0b1c36;
  --n500: #8f96a0;
  --n700: #555b65;
  --n800: #3b4048;
  --n900: #1d2127;
  --divider: rgba(18, 21, 26, .36);
  --shadow-sm: 0 1px 2px rgba(45, 43, 43, .14);
  --shadow-md: 0 3px 10px rgba(45, 43, 43, .16);
  --shadow-lg: 0 12px 32px rgba(45, 43, 43, .22);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 15px; line-height: 1.55; text-wrap: pretty; -webkit-font-smoothing: antialiased;
}
main { flex: 1; padding-top: 64px; }
.page-home main { padding-top: 0; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 8px; }
p { margin: 0 0 12px; }
a { color: var(--accent-700); text-underline-offset: 3px; }
a:hover { color: var(--accent-900); }
img, video { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(31, 78, 140, .3); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 16px; }
.eyebrow-light { color: var(--accent-300); }
.muted { color: var(--n700); }
.small { font-size: 13px; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.02em; margin: 0; }

/* ---------- Boutons : libellé à gauche, flèche à droite ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer; text-decoration: none;
  font-family: var(--font); font-weight: 800; font-size: 14px; line-height: 1.2; color: var(--text);
  background: transparent; border: 1px solid transparent; border-radius: 0; padding: 11px 16px;
  transition: background .25s, color .25s, border-color .25s;
}
.btn svg { display: block; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-back:hover svg { transform: translateX(-4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-primary:active { background: var(--accent-800); }
.btn[aria-busy="true"] { cursor: progress; opacity: .75; }
.btn-secondary { border-color: var(--divider); }
.btn-secondary:hover { background: rgba(18, 21, 26, .07); color: var(--text); }
.btn-ghost { color: var(--accent-700); padding-inline: 4px; }
.btn-ghost:hover { background: rgba(31, 78, 140, .1); color: var(--accent-700); }
.btn-white { background: #fff; color: var(--accent-900); padding: 13px 18px; gap: 28px; font-size: 15px; }
.btn-white:hover { background: var(--accent-200); color: var(--accent-900); }
.btn-block { width: 100%; justify-content: space-between; }
.btn-lg { padding: 15px 18px; font-size: 15px; }

/* ---------- En-tête fixe ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 32px; padding: 10px var(--gutter);
  background: rgba(255, 255, 255, .96); color: var(--text);
  border-bottom: 2px solid var(--divider); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .5s var(--ease), color .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.site-header.is-top { background: rgba(255, 255, 255, 0); color: #fff; border-bottom-color: rgba(255, 255, 255, .28); box-shadow: none; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: inherit; text-decoration: none; white-space: nowrap; }
.brand:hover { color: inherit; }
.brand-owner { font-weight: 600; }
@media (max-width: 860px) { .brand-owner { display: none; } }
.brand-logo { position: relative; display: block; height: 30px; }
.brand-logo img { height: 30px; width: auto; transition: opacity .5s; }
.brand-logo .logo-white { position: absolute; left: 0; top: 0; opacity: 0; }
.is-top .brand-logo .logo-blue { opacity: 0; }
.is-top .brand-logo .logo-white { opacity: 1; }
.nav-link { font-weight: 600; font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; color: inherit; text-decoration: none; transition: border-color .3s, color .3s; }
.nav-link:hover, .nav-link.active { color: inherit; border-bottom-color: var(--accent); }
.progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.label-short { display: none; }
.site-header .btn { white-space: nowrap; }
@media (max-width: 960px) {
  .site-header { gap: 22px; }
  .label-long { display: none; }
  .label-short { display: inline; }
}
@media (max-width: 720px) {
  .site-header { gap: 16px; }
  .nav-link { display: none; }
}
.admin-pill { position: fixed; left: 16px; bottom: 16px; z-index: 40; background: var(--text); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 12px; text-decoration: none; box-shadow: var(--shadow-md); }
.admin-pill:hover { color: #fff; background: var(--accent); }

/* ---------- Accueil : hero ---------- */
.hero { position: relative; height: min(92vh, 840px); min-height: 600px; overflow: hidden; background: var(--n900); }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 8s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
/* Photo de la ville : légèrement floue (adoucit l'aspect d'image générée) et agrandie pour masquer les bords flous. */
.hero-city { position: absolute; inset: -24px; animation: hero-zoom 14s var(--ease) both; }
.hero-city img { width: 100%; height: 100%; object-fit: cover; filter: blur(1.5px) saturate(.9); }
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1.03); } }
.hero-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11, 28, 54, .78) 0%, rgba(11, 28, 54, .45) 45%, rgba(11, 28, 54, .05) 80%), linear-gradient(180deg, rgba(11, 28, 54, .55) 0%, rgba(11, 28, 54, 0) 22%); }
.hero-content { position: relative; height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) 120px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; pointer-events: none; will-change: transform, opacity; }
.hero-content .eyebrow { color: #fff; letter-spacing: .12em; margin: 0; }
.hero h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.03em; margin: 24px 0 0 -.05em; color: #fff; }
.hero-lead { font-size: 18px; line-height: 28px; max-width: 46ch; margin: 0; }
.rise { display: block; overflow: hidden; padding-bottom: .06em; }
.rise > * , .rise > span { display: block; }
[data-rise] { display: block; animation: rise 1.1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }
.hero-dots { position: absolute; right: var(--gutter); bottom: 128px; display: flex; gap: 8px; align-items: center; }
.hero-dots button { width: 56px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.hero-dots span { position: relative; display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.hero-dots .is-active span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dot-fill 6s linear both; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Barre de filtres ---------- */
.filters-wrap { position: relative; z-index: 2; max-width: 1240px; margin: -72px auto 0; padding: 0 var(--gutter); }
.filters { background: var(--surface); box-shadow: var(--shadow-lg); border-top: 2px solid var(--accent); padding: 24px clamp(20px, 3vw, 32px); display: flex; gap: 20px 32px; flex-wrap: wrap; align-items: end; }
.field { display: block; min-width: 0; }
.field > label, .field > .label { display: block; font-size: 12px; margin-bottom: 5px; color: rgba(18, 21, 26, .7); }
.filters .field-type { flex: 1 1 auto; }
.filters .field-max { flex: 0 1 220px; min-width: 180px; }
.filters .btn { min-height: 42px; padding: 0 18px; gap: 28px; font-size: 15px; }
.seg { display: flex; border: 1px solid var(--divider); overflow-x: auto; }
.seg-opt { flex: 1; display: inline-flex; align-items: center; padding: 11px 14px; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.seg-opt + .seg-opt { border-left: 1px solid var(--divider); }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt:has(input:checked) { background: var(--accent); color: #fff; }
.seg-opt:not(:has(input:checked)):hover { background: rgba(18, 21, 26, .07); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.input {
  width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 15px; color: var(--text);
  caret-color: var(--accent); background: var(--surface); border: 1px solid var(--divider); border-radius: 0;
}
.input:hover { border-color: rgba(18, 21, 26, .45); }
.input:focus-visible { border-color: var(--accent); outline-offset: 0; }
select.input { min-height: 42px; }
textarea.input { min-height: 110px; resize: vertical; }
.input.bad { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------- Grille des logements ---------- */
.listings { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(56px, 7vw, 96px); scroll-margin-top: 60px; }
.section-head { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; margin-bottom: 40px; }
.section-head .rule { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--text); }
.section-head-side { display: flex; gap: 16px; align-items: center; font-size: 14px; color: var(--n700); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 48px 28px; }
.card { display: flex; flex-direction: column; background: var(--surface); color: var(--text); text-decoration: none; transition: opacity .9s var(--ease), box-shadow .5s var(--ease), transform .7s var(--ease); }
.card:hover { color: var(--text); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--n900); }
.card-img { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-img { transform: scale(1.06); }
.type-tag { position: absolute; left: 0; top: 0; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; padding: 8px 12px; pointer-events: none; }
.placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .6); font-size: 14px; background: var(--n900); }
.card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price { font-weight: 800; font-size: 28px; letter-spacing: -.02em; line-height: 1; }
.price small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--n700); }
.ref { font-size: 12px; letter-spacing: .08em; color: var(--n700); }
.card-title { font-weight: 800; font-size: 17px; line-height: 1.3; }
.place { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-top: 6px; color: var(--n700); }
.place svg { flex: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); margin-top: auto; }
.stat { padding: 12px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat + .stat { padding-left: 14px; border-left: 1px solid var(--divider); }
.stat-k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--n700); }
.stat-v { font-weight: 600; font-size: 15px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.card-foot > span { display: flex; align-items: center; gap: 8px; }
.card-foot .see { font-weight: 600; color: var(--accent-700); gap: 6px; }
.no-results { padding: 48px 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.no-results[hidden] { display: none; }
.no-results p { font-size: 17px; margin: 0; }

/* ---------- Comment ça marche ---------- */
.steps { position: relative; overflow: hidden; background: var(--accent-900); color: #fff; }
/* Photo de la cour intérieure en filigrane, teintée de bleu marine. */
.steps-bg { position: absolute; inset: 0; pointer-events: none; }
.steps-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .28; filter: grayscale(.6) contrast(1.1); }
.steps-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 28, 54, .92) 0%, rgba(11, 28, 54, .7) 55%, rgba(11, 28, 54, .55) 100%); }
.steps .wrap { position: relative; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.steps-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.steps-head .h2 { color: #fff; }
.steps-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); padding-top: 2px; }
.steps-grid .rule { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .5); }
.step { padding: 32px 32px 8px 0; border-right: 1px solid rgba(255, 255, 255, .22); margin-right: 32px; }
.step:last-child { border-right: 0; margin-right: 0; }
.step-n { font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -.04em; color: var(--accent-400); margin-bottom: 28px; }
.step h3 { font-size: 24px; margin: 0 0 12px; color: #fff; }
.step p { font-size: 16px; line-height: 26px; margin: 0; color: rgba(255, 255, 255, .82); max-width: 34ch; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--n900); color: #fff; scroll-margin-top: 60px; }
.site-footer .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px; padding-bottom: 48px; border-bottom: 2px solid rgba(255, 255, 255, .3); }
@media (min-width: 900px) { .footer-main { grid-column: span 2; } }
.footer-main { min-width: 0; }
.footer-main .eyebrow { margin-bottom: 20px; }
.big-email { font-weight: 800; font-size: clamp(26px, 3.6vw, 48px); letter-spacing: -.02em; color: #fff; text-decoration: none; border-bottom: 2px solid var(--accent-500); padding-bottom: 6px; word-break: break-word; transition: border-color .3s; }
.big-email:hover { color: #fff; border-bottom-color: #fff; }
.footer-main p { font-size: 15px; line-height: 24px; margin: 24px 0 0; color: rgba(255, 255, 255, .78); max-width: 46ch; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-links .brand-footer { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.footer-links .brand-footer img { height: 26px; width: auto; }
.footer-links a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-links span.city { color: rgba(255, 255, 255, .7); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ---------- Fiche logement ---------- */
.page { padding-top: 28px; padding-bottom: clamp(56px, 7vw, 96px); }
.page > .btn-back { padding-left: 0; margin-bottom: 28px; }
.notice { background: var(--accent-100); border-top: 2px solid var(--accent); padding: 14px 18px; margin-bottom: 24px; font-size: 14px; color: var(--accent-800); }
.listing-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 2px solid var(--text); }
.listing-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; font-size: 14px; color: var(--n700); }
.listing-meta .tag { background: var(--accent); color: #fff; font-weight: 800; padding: 6px 10px; }
.listing-head h1 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.025em; margin: 0; max-width: 22ch; }
.listing-head .address { margin: 10px 0 0; color: var(--n700); font-size: 15px; }
.listing-price { font-weight: 800; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.02em; line-height: 1; }
.listing-price small { font-size: 16px; font-weight: 400; letter-spacing: 0; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; aspect-ratio: 16 / 7; }
.gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n4 .tile:last-child { grid-column: span 2; }
.tile { position: relative; overflow: hidden; border: 0; padding: 0; margin: 0; background: var(--n900); cursor: zoom-in; display: block; width: 100%; height: 100%; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile-main { grid-row: span 2; }
.gallery.n1 .tile-main, .gallery.n2 .tile-main { grid-row: auto; }
.tile-main:hover img { transform: scale(1.04); }
.tile-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 28, 54, .62); color: #fff; font-weight: 800; font-size: 20px; }
.tile-count { position: absolute; right: 12px; bottom: 12px; background: rgba(11, 28, 54, .85); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; display: none; }
.gallery-empty { display: grid; place-items: center; margin-top: 24px; aspect-ratio: 16 / 7; background: var(--n900); color: rgba(255, 255, 255, .6); }
@media (max-width: 640px) {
  .gallery, .gallery-empty { display: block; aspect-ratio: 4 / 3; }
  .gallery .tile { display: none; height: 100%; }
  .gallery .tile-main { display: block; }
  .tile-count { display: block; }
}

.listing-body { display: flex; flex-wrap: wrap; gap: 56px clamp(32px, 5vw, 80px); margin-top: 56px; align-items: flex-start; }
.listing-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.listing-main h2 { font-size: 22px; margin: 0 0 16px; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); border-top: 2px solid var(--text); margin: 0; }
.specs > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--divider); display: flex; flex-direction: column; gap: 4px; }
.specs dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--n700); }
.specs dd { margin: 0; font-weight: 600; font-size: 16px; }
.prose { font-size: 17px; line-height: 29px; margin: 0; max-width: 64ch; color: var(--n800); }
.incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 24px; border-top: 2px solid var(--text); }
.incl li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--divider); font-size: 16px; }
.check-box { width: 22px; height: 22px; flex: none; display: grid; place-items: center; background: var(--accent); color: #fff; }
.videos { display: grid; gap: 16px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--n900); overflow: hidden; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--n900); }
.video-cover { position: absolute; inset: 0; border: 0; padding: 24px; margin: 0; width: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; color: #fff; background: var(--n900); cursor: pointer; text-align: left; font: inherit; }
.video-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video-cover > * { position: relative; }
.video-cover .eyebrow { color: #fff; margin: 0; }
.video-cover-row { display: flex; align-items: center; gap: 18px; }
.play { width: 72px; height: 72px; flex: none; background: var(--accent); color: #fff; display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.video-cover:hover .play { background: var(--accent-hover); transform: scale(1.06); }
.video-cover strong { display: block; font-weight: 800; font-size: 19px; }
.video-cover small { display: block; font-size: 14px; opacity: .85; margin-top: 2px; }
.video-frame.is-playing .video-cover { display: none; }

.aside { flex: 0 1 370px; min-width: 280px; position: sticky; top: 96px; background: var(--surface); border-top: 2px solid var(--accent); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-md); }
.aside .price { font-size: 32px; }
.aside .price small { font-size: 15px; }
.aside-rows { display: flex; flex-direction: column; font-size: 15px; }
.aside-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--divider); }
.aside-rows div:last-child { border-bottom: 1px solid var(--divider); }
.aside-rows span:last-child { font-weight: 600; text-align: right; }
.aside .btn { padding: 15px 16px; font-size: 15px; }
.aside p { font-size: 13px; line-height: 20px; margin: 0; color: var(--n700); }
@media (max-width: 960px) { .aside { position: static; flex: 1 1 100%; } }

/* ---------- Visionneuse photo ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(11, 28, 54, .94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s; }
.lb-btn:hover { background: var(--accent); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 24px; left: 24px; color: rgba(255, 255, 255, .8); font-size: 14px; }

/* ---------- Formulaires (visite, contact) ---------- */
.form-page { display: flex; flex-wrap: wrap; gap: 48px clamp(32px, 6vw, 96px); align-items: flex-start; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
.form-intro { flex: 1 1 340px; min-width: 0; }
@media (min-width: 960px) { .form-intro { position: sticky; top: 112px; } }
.form-intro h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.03; letter-spacing: -.03em; margin: 0 0 24px -.04em; }
.form-intro h1.h1-long { font-size: clamp(32px, 3.6vw, 52px); }
.form-intro .lead { font-size: 17px; line-height: 28px; margin: 0 0 36px; max-width: 44ch; color: var(--n800); }
.recap { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-top: 2px solid var(--text); border-bottom: 1px solid var(--divider); }
.recap-img { position: relative; aspect-ratio: 4 / 3; background: var(--n900); overflow: hidden; }
.recap-img img { width: 100%; height: 100%; object-fit: cover; }
.recap strong { display: block; font-weight: 800; font-size: 16px; line-height: 1.3; }
.recap span { display: block; font-size: 14px; margin-top: 6px; color: var(--n700); }
.recap a { font-size: 13px; }
.panel { flex: 1 1 540px; min-width: 0; background: var(--surface); border-top: 2px solid var(--accent); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-md); }
.form-stack { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px 16px; }
.field-error { display: block; font-size: 13px; color: var(--accent-700); margin-top: 6px; }
.form-error { background: var(--accent-100); border-top: 2px solid var(--accent); color: var(--accent-800); padding: 14px 18px; font-size: 14px; }
.form-error ul { margin: 6px 0 0; padding-left: 18px; }
.fine { font-size: 13px; line-height: 20px; color: var(--n700); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Questionnaire */
.questionnaire { counter-reset: q; }
.q-block { padding: 26px 0; border-top: 1px solid var(--divider); }
.q-block:first-child { padding-top: 0; border-top: 0; }
.sec { display: block; font-weight: 800; font-size: 18px; margin: 0 0 14px; }
.q-note { font-size: 13px; color: var(--n700); margin: 10px 0 0; }
.q { border: 0; margin: 0; padding: 26px 0; min-width: 0; border-top: 1px solid var(--divider); counter-increment: q; }
.q[hidden] { display: none; }
.q-head { float: left; width: 100%; padding: 0; margin-bottom: 16px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; }
.q-head + * { clear: both; }
.q-num { font-weight: 800; font-size: 14px; color: var(--accent); min-width: 2ch; font-variant-numeric: tabular-nums; }
.q-num::before { content: counter(q, decimal-leading-zero); }
.q-title { font-weight: 800; font-size: 17px; line-height: 1.35; }
.q-help { display: block; font-weight: 400; font-size: 14px; color: var(--n700); margin-top: 3px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: block; padding: 10px 14px; border: 1px solid var(--divider); font-size: 14px; background: var(--surface); transition: background .2s, border-color .2s, color .2s; }
.opt input:hover + span { border-color: var(--accent); }
.opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.date-wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.date-wrap .input { width: auto; cursor: pointer; }
.date-out { font-size: 14px; color: var(--n700); }
.pet-row { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid rgba(18, 21, 26, .14); }
.pet-row:last-child { border-bottom: 0; }
.pet-row .opts { gap: 6px; }
.pet-row .opt span { padding: 6px 13px; font-variant-numeric: tabular-nums; }
.endos-box { margin-top: 20px; padding: 20px; background: var(--accent-100); display: grid; gap: 16px; }
.endos-box[hidden] { display: none; }
.endos-box .sub { font-weight: 800; margin: 0; }
.endos-box p { margin: 0; }
.q-reminder { background: var(--accent-100); border-top: 2px solid var(--accent); color: var(--accent-800); padding: 18px 20px; margin-top: 8px; }
.q-reminder[hidden] { display: none; }
.q-reminder p { margin: 0; font-size: 14px; line-height: 22px; }
.q-reminder .q-reminder-title { font-weight: 800; margin-bottom: 4px; }
.q-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.q-actions .btn { justify-content: space-between; padding: 16px 18px; font-size: 16px; }
.q-msg { font-size: 14px; color: var(--accent-700); font-weight: 600; }
.q-msg:empty { display: none; }
.is-missing .input:not(.bad) { border-color: var(--divider); }

/* Contact */
.contact-email { font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; text-decoration: none; border-bottom: 2px solid var(--accent-500); padding-bottom: 4px; word-break: break-word; color: var(--text); }
.contact-email:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Confirmation */
.confirm { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.confirm-icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.confirm-icon path { stroke-dasharray: 40; animation: draw .8s .2s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
.confirm h1 { font-size: 32px; letter-spacing: -.02em; margin: 0; }
.confirm p { font-size: 17px; line-height: 28px; margin: 0; max-width: 46ch; color: var(--n800); }
.confirm-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Animations d'apparition ---------- */
[data-view] { animation: view-in .7s var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="rule"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.js [data-reveal="rule"].is-in { transform: scaleX(1); }
.js [data-mask] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s .1s var(--ease); }
.js .is-in [data-mask] { clip-path: inset(0); }
.js .card[data-reveal].is-in { transition: opacity .9s var(--ease), box-shadow .5s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-mask] { opacity: 1; transform: none; transition: none; clip-path: none; }
  [data-rise], [data-view], .hero-dots .is-active span::after, .confirm-icon path, .hero-city { animation: none; }
  .hero-slide { transition: opacity .3s; transform: none; }
}

/* ---------- Politique de confidentialité ---------- */
.legal { padding-top: clamp(40px, 6vw, 88px); }
.legal h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.03; letter-spacing: -.03em; margin: 0 0 12px -.04em; }
.legal-updated { color: var(--n700); font-size: 14px; padding-bottom: 24px; border-bottom: 2px solid var(--text); margin-bottom: 8px; }
.legal-body { max-width: 72ch; }
.legal-body section { padding: 32px 0; border-bottom: 1px solid var(--divider); }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { font-size: 22px; margin: 0 0 14px; }
.legal-body h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 27px; color: var(--n800); }
.legal-body ul { margin: 0 0 12px; padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.footer-bottom a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page Propriétaires ---------- */
.owners-hero { position: relative; overflow: hidden; background: var(--accent-900); color: #fff; }
.owners-hero::before { content: ""; position: absolute; inset: 0; background: url("/img/cour-interieure.jpg") center 40% / cover no-repeat; opacity: .22; filter: grayscale(.6) contrast(1.1); }
.owners-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 28, 54, .92) 0%, rgba(11, 28, 54, .7) 60%, rgba(11, 28, 54, .5) 100%); }
.owners-hero .wrap { position: relative; z-index: 1; padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(56px, 8vw, 112px); }
.owners-hero h1 { font-size: clamp(38px, 5.6vw, 80px); line-height: 1.03; letter-spacing: -.03em; margin: 0 0 24px -.04em; color: #fff; max-width: 16ch; }
.owners-lead { font-size: 18px; line-height: 28px; max-width: 52ch; margin: 0 0 32px; color: rgba(255, 255, 255, .85); }
.owners-services { padding-top: clamp(64px, 8vw, 112px); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; }
.service { padding: 28px 0 32px; border-bottom: 1px solid var(--divider); }
.service-n { font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.04em; color: var(--accent); margin-bottom: 18px; }
.service h3 { font-size: 20px; margin: 0 0 10px; }
.service p { font-size: 15px; line-height: 25px; color: var(--n800); margin: 0; max-width: 40ch; }
.owners-checks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); max-width: 420px; }
.owners-checks li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--divider); font-size: 16px; }
#formulaire { scroll-margin-top: 70px; }

/* ---------- Suggestions d'adresses ---------- */
.ac-wrap { position: relative; }
.ac-list { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 2px); margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid rgba(18, 21, 26, .36); box-shadow: 0 12px 32px rgba(45, 43, 43, .22); max-height: 300px; overflow-y: auto; }
.ac-list li { padding: 10px 12px; font-size: 14px; line-height: 1.35; cursor: pointer; color: #12151a; }
.ac-list li:hover, .ac-list li[aria-selected="true"] { background: #eef3fa; color: #102b52; }
.ac-list li.ac-credit { cursor: default; font-size: 11px; color: #8f96a0; padding: 6px 12px 4px; background: none; }

/* ---------- Promotion : loyer effectif ---------- */
.eff-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; margin-right: 6px; vertical-align: 1px; }
.eff-line { font-size: 14px; color: var(--n800); margin-top: -6px; }
.eff-line strong { color: var(--text); font-weight: 800; }
.eff-head { margin-top: 10px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--n800); }
.eff-head strong { color: var(--accent); font-weight: 800; }
.eff-box { background: var(--accent-100); border-top: 2px solid var(--accent); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.eff-box .eff-badge { align-self: flex-start; }
.eff-amount { font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--accent); line-height: 1.1; }
.eff-amount small { font-size: 14px; font-weight: 400; color: var(--n700); letter-spacing: 0; }
.eff-box p { margin: 0; font-size: 13px; line-height: 19px; color: var(--n800); }
.eff-box .eff-calc { color: var(--n700); font-size: 12px; }

/* Loyer effectif mis de l'avant */
.promo-ribbon { align-self: flex-start; margin: -22px 0 0 -22px; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; }
.price-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 4px; }
.price-eff { color: var(--accent); }
.eff-badge-lg { font-size: 13px; padding: 6px 10px; }
.listing-price-eff { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--accent); }
.listing-price-eff .price-label { margin: 0; }
@media (max-width: 640px) { .listing-price-eff { align-items: flex-start; } }
.price-eff-aside { color: var(--accent); }
.eff-dd { color: var(--accent); font-weight: 800 !important; }
.eff-explain { margin-top: 16px; background: var(--accent-100); border-top: 2px solid var(--accent); padding: 16px 18px; }
.eff-explain p { margin: 0 0 8px; font-size: 15px; line-height: 24px; color: var(--n800); }
.eff-explain ul { margin: 0 0 10px; padding-left: 18px; }
.eff-explain li { font-size: 15px; line-height: 24px; color: var(--n800); }
.eff-explain .fine { margin: 0; }
