/* =========================================================
   SIZ.IMMO — Refonte 2026 · v4 « Agence »
   Présentation inspirée du modèle Quarter (index-2) :
   héros coupé en deux, sur-titres colorés, cartes à ombre douce,
   bandeau d'appel plein. Couleurs du logo, tons clairs uniquement.
   ========================================================= */

:root {
  --accent: #f2541b;        /* rouge-orangé du logo */
  --accent-2: #d9430f;      /* survol */
  --accent-pale: #fdece4;   /* fonds d'icônes */
  --orange: #f8931e;        /* orange du logo */
  --or: #c46504;            /* orange du logo assombri : texte lisible */
  --orange-pale: #fff1df;
  --bleu: #12306e;          /* bleu du « SIZ » du logo */
  --bleu-2: #2450a8;        /* liens, survols */
  --bleu-pale: #e9effa;     /* fonds d'icônes, en-têtes de tableau */
  --fond-bleu: #f2f6fc;     /* sections bleu très pâle */

  --titre: #0f2557;        /* titres au bleu du logo */
  --texte: #5a6274;
  --gris: #8a8f9c;
  --fond: #ffffff;
  --fond-2: #f6f3ef;        /* sections grises chaudes */
  --fond-3: #efe9e2;
  --ligne: #ebe5de;

  --ombre: 0 0 0 1px var(--ligne);
  --ombre-forte: 0 0 0 1px var(--ligne), 0 2px 6px rgba(15, 37, 87, .06);

  --f-titre: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texte: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --ease: ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font-family: var(--f-texte); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; transition: color .25s; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--f-titre); color: var(--titre); font-weight: 700; line-height: 1.25; margin: 0; }
h1, h2 { text-wrap: balance; }
::selection { background: var(--bleu); color: #fff; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; }

/* Sur-titre coloré + titre (signature Quarter) */
.label, .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-titre); font-size: 14px; font-weight: 500; color: var(--or);
  letter-spacing: 0; text-transform: none;
}
.label.light { color: var(--or); }
.d { font-family: var(--f-titre); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--titre); }
.hl, .it { color: inherit; font-style: normal; }
.sec-title { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.sec-title h2 { margin-top: 8px; font-size: clamp(28px, 3.4vw, 42px); }
.sec-title p { margin: 14px 0 0; }
.sec-title h2:first-child, .sec-head h2:first-child, .split-text h2:first-child { margin-top: 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fb36b; }
.live.off::before { background: var(--gris); box-shadow: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 34px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--f-titre); font-weight: 500; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-ink, .btn-nuit, .btn-braise, .btn-orange { background: var(--accent); color: #fff; }
.btn-ink:hover, .btn-nuit:hover, .btn-braise:hover, .btn-orange:hover { background: var(--accent-2); }
.btn-ghost, .btn-line { background: #fff; color: var(--titre); border-color: var(--ligne); }
.btn-ghost:hover, .btn-line:hover { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.btn-white { background: #fff; color: var(--titre); }
.btn-white:hover { background: var(--titre); color: #fff; }
.btn-block { width: 100%; }
.btn-round {
  width: 54px; height: 54px; border-radius: 50%; display: inline-grid; place-items: center;
  background: #fff; color: var(--bleu); box-shadow: var(--ombre); transition: background .3s, color .3s;
}
.btn-round:hover { background: var(--bleu); color: #fff; }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-titre); font-weight: 500; font-size: 14px; color: var(--bleu); }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--ligne); }
.top-in { display: flex; align-items: center; gap: 32px; height: 88px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: clamp(22px, 2.4vw, 36px); margin: 0 auto; padding: 0; list-style: none; }
.nav a { font-family: var(--f-titre); font-size: 15.5px; font-weight: 500; color: var(--titre); position: relative; padding: 8px 0; white-space: nowrap; }
.nav a:hover { color: var(--bleu-2); }
.nav a[aria-current="page"] { color: var(--bleu-2); box-shadow: inset 0 -2px var(--orange); }
.top-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Barre d'information au-dessus de l'en-tête (non collante) */
.topbar { background: var(--fond-bleu); border-bottom: 1px solid var(--bleu-pale); color: var(--texte); font-size: 13.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.topbar li { display: flex; align-items: center; white-space: nowrap; }
.topbar li + li { margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--bleu-pale); }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--bleu-2); }
.topbar svg { color: var(--bleu); flex-shrink: 0; }
.topbar .tb-wa svg { color: #1ea952; }
.topbar .open-state { font-family: var(--f-titre); font-weight: 500; font-size: 13px; }
@media (max-width: 1180px) { .topbar .tb-mail { display: none; } }
@media (max-width: 1080px) { .topbar .tb-left { display: none; } .topbar-in { justify-content: flex-end; } }
@media (max-width: 960px) { .topbar { display: none; } }
.top .btn { min-height: 48px; padding: 0 24px; font-size: 14px; }
.burger { display: none; width: 48px; height: 48px; border: 0; background: var(--accent); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.drawer {
  position: fixed; inset: 80px 0 0 0; z-index: 49; background: #fff; color: var(--titre);
  padding: 20px var(--gutter) 32px; display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); overflow-y: auto; border-top: 1px solid var(--ligne);
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a.big { font-family: var(--f-titre); font-weight: 600; font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--ligne); display: flex; justify-content: space-between; align-items: center; }
.drawer a.big::after { content: "+"; color: var(--orange); font-weight: 400; }
.drawer .drawer-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
body.nav-open { overflow: hidden; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .top-right { margin-left: auto; gap: 10px; }
  .top-in, .top.scrolled .top-in { height: 80px; }
  .brand img, .top.scrolled .brand img { height: 50px; }
}
@media (max-width: 520px) { .top .btn-rdv { display: none; } .brand img, .top.scrolled .brand img { height: 46px; } }

/* ---------- Héros coupé en deux ---------- */
.hero { position: relative; background: var(--fond-2); overflow: hidden; }
.hero-in { min-height: clamp(560px, 72vh, 760px); display: flex; align-items: center; }
.hero-text { width: 50%; padding-block: 80px; padding-right: 48px; position: relative; z-index: 2; }
.hero-text .kicker svg { color: var(--orange); }
.hero h1 { margin: 16px 0 0; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.15; }
.hero-lede { margin: 28px 0 0; padding-left: 22px; border-left: 2px solid var(--fond-3); max-width: 480px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 44px; }
.hero-call { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-titre); font-weight: 600; color: var(--titre); }
.hero-call small { display: block; font-family: var(--f-texte); font-weight: 400; font-size: 13px; color: var(--gris); }
.hero-status { margin-top: 36px; font-size: 14px; color: var(--gris); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; background: var(--fond-3); }
.hero-media .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.hero-media .slide.on { opacity: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute; left: 28px; bottom: 84px; right: 28px; z-index: 3; max-width: 380px;
  background: #fff; padding: 18px 22px; box-shadow: var(--ombre-forte); display: grid; gap: 2px;
}
.hero-tag .t { font-family: var(--f-titre); font-weight: 600; color: var(--titre); font-size: 16px; line-height: 1.35; }
.hero-tag .p { font-family: var(--f-titre); font-weight: 600; color: var(--accent); font-size: 15px; }
.hero-tag .p small { color: var(--gris); font-weight: 400; }
.hero-tag .s { font-size: 13.5px; color: var(--gris); }
.hero-dots { position: absolute; right: 28px; top: 28px; z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button.on { background: #fff; }
@media (max-width: 960px) {
  .hero-in { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-text { width: 100%; padding: 56px 0 40px; }
  .hero-media { position: relative; width: auto; height: 72vw; max-height: 520px; margin-inline: calc(-1 * var(--gutter)); }
  .hero-tag { left: var(--gutter); right: var(--gutter); bottom: 20px; }
  .hero-media .slide, .hero-media { overflow: hidden; }
}

/* Recherche (sous le héros) */
.search-band { position: relative; z-index: 4; margin-top: -48px; }
.search {
  display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 0; align-items: stretch;
  background: #fff; box-shadow: var(--ombre-forte);
}
.tabs { display: flex; align-items: stretch; background: var(--fond-2); }
.tabs button {
  border: 0; background: transparent; padding: 0 22px; cursor: pointer; font-family: var(--f-titre); font-size: 14px; font-weight: 500; color: var(--titre);
  border-bottom: 2px solid transparent; transition: background .25s, color .25s;
}
.tabs button[aria-pressed="true"] { background: #fff; color: var(--bleu); border-bottom-color: var(--bleu); }
.field { display: grid; align-content: center; gap: 2px; padding: 14px 24px; border-left: 1px solid var(--ligne); min-width: 0; }
.field label { font-family: var(--f-titre); font-size: 12px; font-weight: 500; color: var(--gris); }
.field input, .field select { border: 0; background: transparent; padding: 0; font-size: 16px; font-weight: 600; color: var(--titre); outline: none; min-width: 0; width: 100%; }
.field input::placeholder { color: var(--gris); font-weight: 400; }
.search .btn { min-height: 76px; padding: 0 36px; box-shadow: none; }
@media (max-width: 860px) {
  .search-band { margin-top: 0; padding-top: 24px; }
  .search { grid-template-columns: 1fr; }
  .tabs button { flex: 1; padding: 14px 8px; }
  .field { border-left: 0; border-top: 1px solid var(--ligne); }
  .search .btn { min-height: 58px; }
}

/* ---------- Sections ---------- */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.sec.gris { background: var(--fond-2); }
.sec.bleu { background: var(--fond-bleu); }
.sec.gris + .call, .sec.bleu + .call { margin-top: -90px; }
.on-dark, .tint { background: var(--fond-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 { margin-top: 8px; font-size: clamp(28px, 3.4vw, 42px); }
.sec-head p { margin: 0; max-width: 460px; justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }

/* À propos (image + texte) */
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split2.rev > :first-child { order: 2; }
@media (max-width: 960px) { .split2 { grid-template-columns: 1fr; } .split2.rev > :first-child { order: 0; } }
.media-box { position: relative; }
.media-box .ph { aspect-ratio: 5 / 6; overflow: hidden; background: var(--fond-3); }
.media-box .ph img { width: 100%; height: 100%; object-fit: cover; }
/* légende sous la photo, comme dans un journal */
.ph-legende { margin: 10px 0 0; font-size: 13.5px; font-style: italic; color: var(--gris); }
.ph-legende a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--ligne); text-underline-offset: 3px; }
.ph-legende a:hover { color: var(--bleu-2); }
.split-text h2 { margin-top: 8px; font-size: clamp(28px, 3.2vw, 40px); }
.split-text > p { margin: 20px 0 0; }
.feats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.feats li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; }
.feats h4 { font-size: 18px; }
.feats p { margin: 4px 0 0; font-size: 15px; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.checks li { position: relative; padding-left: 40px; font-size: 15.5px; color: var(--titre); }
.checks li::before {
  position: absolute; left: 0; top: 0;
  content: ""; width: 28px; height: 28px; background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312306e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center no-repeat;
}
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* Services : 3 cartes */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.svc-card {
  background: #fff; padding: 0 36px 40px; text-align: center; box-shadow: var(--ombre); position: relative; overflow: hidden;
}
.svc-card:hover h3 { color: var(--bleu-2); }
/* une vraie photo de nos biens en tête de carte */
.svc-card .svc-photo { display: block; width: calc(100% + 72px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 -36px 28px; }

/* Pictogrammes au trait sur pastille (siz.js → picto()) : engagements, métiers. */
.picto { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--bleu-pale); color: var(--bleu); }
.picto svg { display: block; }
.svc-card h3 { font-size: 22px; }
.svc-card p { margin: 14px 0 22px; font-size: 15px; }
@media (max-width: 900px) { .svc-cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* Bien à la une (fiche projet) */
.project { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: #fff; box-shadow: var(--ombre-forte); }
.project-media { position: relative; min-height: 420px; background: var(--fond-3); overflow: hidden; }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-media .thumbs { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.project-media .thumbs::-webkit-scrollbar { display: none; }
.project-media .thumbs button { flex: 0 0 64px; width: 64px; height: 48px; padding: 0; border: 2px solid #fff; cursor: pointer; overflow: hidden; background: #fff; opacity: .75; }
.project-media .thumbs button.on { opacity: 1; border-color: var(--orange); }
.project-media .thumbs img { position: static; }
.project-info { padding: clamp(28px, 4vw, 48px); background: var(--fond-2); display: flex; flex-direction: column; }
.project-info h3 { font-size: 24px; margin: 6px 0 22px; }
.project-list { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: p; }
.project-list li { counter-increment: p; display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.project-list li span:first-child { font-family: var(--f-titre); font-weight: 500; color: var(--titre); }
.project-list li span:first-child::before { content: counter(p) ". "; }
.project-list li span:last-child { text-align: right; }
.project-info .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .project { grid-template-columns: 1fr; } .project-media { min-height: 300px; } }

/* Par type de bien (onglets) */
.type-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; margin-bottom: 40px; }
.type-tabs button { border: 0; background: none; padding: 6px 0; cursor: pointer; font-family: var(--f-titre); font-size: 16px; font-weight: 500; color: var(--titre); border-bottom: 2px solid transparent; }
.type-tabs button[aria-selected="true"], .type-tabs button:hover { color: var(--bleu); border-bottom-color: var(--bleu); }
.type-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.type-panel h3 { font-size: clamp(24px, 2.6vw, 32px); }
.type-panel > div > p { margin: 16px 0 26px; }
/* trois biens du type, nommés : ni compteur ni moyenne */
.type-biens { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.type-biens li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.type-biens a strong { display: block; font-family: var(--f-titre); font-weight: 500; color: var(--titre); font-size: 16px; }
.type-biens a span { font-size: 14px; color: var(--gris); }
.type-biens a:hover strong { color: var(--bleu-2); }
.type-biens .px { flex: none; font-family: var(--f-titre); font-weight: 600; color: var(--titre); font-size: 15px; text-align: right; }
.type-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--fond-3); position: relative; }
.type-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .type-panel { grid-template-columns: 1fr; } }

/* Quartiers : cartes */
.area-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.area-card { background: #fff; box-shadow: var(--ombre); padding: 14px 14px 22px; }
.area-card:hover h4 { color: var(--bleu-2); }
.area-card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fond-3); }
.area-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.area-card .sub { display: block; margin: 16px 8px 0; font-size: 14px; color: var(--gris); }
.area-card h4 { margin: 2px 8px 10px; font-size: 18px; }
.area-card .link-more { margin-left: 8px; }


/* Tableau des disponibilités */
.avail { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--ombre); font-size: 15px; }
.avail th { background: var(--bleu-pale); color: var(--bleu); font-family: var(--f-titre); font-weight: 500; text-align: left; padding: 18px 20px; font-size: 14.5px; }
.avail td { padding: 18px 20px; border-bottom: 1px solid var(--ligne); color: var(--texte); }
.avail tr:last-child td { border-bottom: 0; }
.avail tbody tr { transition: background .25s; }
.avail tbody tr:hover { background: var(--fond-2); }
.avail td:first-child { font-family: var(--f-titre); font-weight: 600; color: var(--titre); }
.avail td.px { font-family: var(--f-titre); font-weight: 600; color: var(--titre); white-space: nowrap; }
.avail td a { font-family: var(--f-titre); font-weight: 500; color: var(--bleu); white-space: nowrap; }
.avail-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.avail-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: 14px; color: var(--gris); }
@media (max-width: 900px) {
  .avail thead { display: none; }
  .avail, .avail tbody, .avail tr, .avail td { display: block; width: 100%; }
  .avail tr { padding: 14px 18px; border-bottom: 1px solid var(--ligne); }
  .avail td { padding: 2px 0; border: 0; }
  .avail td[data-l]::before { content: attr(data-l) " : "; color: var(--gris); font-family: var(--f-texte); font-weight: 400; }
}

/* Méthode : cartes numérotées */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.step { background: #fff; padding: 32px 28px; box-shadow: var(--ombre); position: relative; }
.step .k { font-family: var(--f-titre); font-weight: 600; font-size: 15px; line-height: 1; color: var(--or); }
.step h4 { margin: 14px 0 10px; font-size: 19px; }
.step p { margin: 0; font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cartes de biens ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 30px; }
/* cartes arrondies, ombre douce, sans filet ; la photo s'agrandit au survol */
.card { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 24px rgba(15, 37, 87, .07); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: 0 14px 36px rgba(15, 37, 87, .13); transform: translateY(-2px); }
.cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fond-3); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .cover img { transform: scale(1.04); }
.chips { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.chip { font-family: var(--f-titre); font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--bleu); color: #fff; }
.chip.alt { background: rgba(255, 255, 255, .92); color: var(--titre); }
.chip.lots { margin-left: auto; background: rgba(255, 255, 255, .92); color: var(--titre); }
/* corps de carte : type, nom, lieu, puis les caractéristiques en grille
   (icône + mot), le prix en pied. flex:1 aligne les pieds d'une même rangée. */
.card-body { flex: 1; padding: 20px 22px 6px; display: flex; flex-direction: column; gap: 6px; }
.card-type { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-titre); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; color: var(--or); text-transform: uppercase; }
.card h3 { font-size: 18.5px; line-height: 1.3; }
.card:hover h3 { color: var(--bleu-2); }
.card-loc { display: flex; gap: 7px; align-items: center; font-size: 14px; color: var(--gris); }
.card-loc svg { color: var(--orange); flex-shrink: 0; }
/* caractéristiques : icône + mot, posés à plat, sans encadré */
.card-specs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.card-specs li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--titre); white-space: nowrap; }
.card-specs svg { color: var(--bleu-2, var(--bleu)); opacity: .85; flex-shrink: 0; }
.card-foot { padding: 4px 22px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.card .price { font-family: var(--f-titre); font-size: 19px; font-weight: 600; color: var(--accent); }
.card .price small { font-size: 13px; color: var(--gris); font-weight: 400; }
.card-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fond-2); color: var(--bleu); transition: background .2s, color .2s, transform .2s; }
.card:hover .card-go { background: var(--bleu); color: #fff; transform: translateX(2px); }

/* Planche (bien sans photo) */
/* bien sans photo : vignette au bleu du logo, l'emblème du « i » au centre */
.plate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 22px; text-align: center; background: var(--bleu); color: #fff; }
.plate-embleme { display: block; width: 32px; margin-bottom: 12px; }
.plate-embleme svg { display: block; width: 100%; height: auto; }
.area-card .plate-c, .area-card .plate-t { display: none; }
.plate-c { display: block; font-family: var(--f-titre); font-weight: 700; font-size: clamp(22px, 2vw, 26px); line-height: 1.1; color: #fff; }
.plate-t { display: block; font-size: 14px; color: #d5def0; }
.plate-note { display: block; margin-top: 10px; font-family: var(--f-titre); font-size: 12px; font-weight: 500; color: var(--orange); }

.skeleton { background: var(--fond-2); min-height: 420px; border-radius: 18px; }
.empty-state { grid-column: 1 / -1; padding: clamp(36px, 5vw, 60px); background: var(--fond-2); text-align: center; }
.empty-state strong { display: block; font-family: var(--f-titre); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); color: var(--titre); margin-bottom: 10px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* ---------- Services (liste accueil v3, gardée pour compatibilité) ---------- */
.svc-list { border-top: 1px solid var(--ligne); }
.svc-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 4px 18px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.svc-row .n { color: var(--bleu); font-family: var(--f-titre); font-weight: 600; }
.svc-row h4 { font-size: 20px; }
.svc-row p { grid-column: 2; margin: 4px 0 0; font-size: 15px; }
.svc-row > svg { grid-column: 3; grid-row: 1; color: var(--bleu); }

/* ---------- Bandeau d'appel (chevauche le pied) ---------- */
/* le bandeau semble posé à cheval sur le pied : fond moitié page, moitié pied */
.call { position: relative; z-index: 2; background: linear-gradient(var(--fond) 50%, var(--fond-2) 50%); }
.sec.gris + .call, .sec.bleu + .call { background: var(--fond-2); }
.call-in {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px); background: var(--bleu-pale); color: var(--texte);
  position: relative;
}
.call h2 { color: var(--titre); font-size: clamp(26px, 3vw, 38px); }
.call p { margin: 8px 0 0; color: var(--texte); }
.call .call-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.call .btn-ghost { background: #fff; color: var(--bleu); border-color: var(--bleu-pale); }
.call .btn-ghost:hover { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.call .tel-big { display: none; }
.call .label { display: none; }

/* ---------- Pied ---------- */
.foot { background: var(--fond-2); color: var(--texte); font-size: 15px; }
.foot a:hover { color: var(--bleu-2); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px 56px; align-items: start; padding-block: 56px 40px; border-bottom: 1px solid var(--ligne); }
.foot-brand img { height: 64px; width: auto; margin-bottom: 16px; }
.foot-brand p { margin: 0; max-width: 300px; }
.foot-contacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-contacts li { display: grid; gap: 6px; align-content: start; }
.foot-contacts span { display: flex; align-items: center; gap: 8px; font-family: var(--f-titre); font-size: 13px; font-weight: 500; color: var(--gris); }
.foot-contacts span svg { color: var(--bleu); flex-shrink: 0; }
.foot-contacts a { font-family: var(--f-titre); font-weight: 600; color: var(--titre); line-height: 1.45; overflow-wrap: anywhere; }
.foot-in { padding-block: 40px 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 32px 40px; }
.foot h5 { font-family: var(--f-titre); font-size: 16px; font-weight: 600; color: var(--titre); margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-hours .open-state { margin: -8px 0 10px; font-family: var(--f-titre); font-size: 13px; font-weight: 500; }
.foot-hours .hours { max-width: 260px; }
.foot-bottom { border-top: 1px solid var(--ligne); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; font-size: 13.5px; color: var(--gris); }
.foot-bottom span:last-child { display: flex; gap: 20px; }
/* laisse la place au bouton WhatsApp flottant */
.foot-bottom .wrap { padding-right: max(var(--gutter), 92px); }
@media (max-width: 1100px) { .foot-top { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .foot-contacts { grid-template-columns: 1fr 1fr; } .foot-in { grid-template-columns: 1fr 1fr; } .foot-hours { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-contacts { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- En-tête de page intérieure (bannière fil d'Ariane) ---------- */
/* Le titre au centre, sur fond clair, souligné des triangles du logo.
   --decal : place laissée à la barre qui chevauche le bas du bandeau (services, agence). */
.page-head { --decal: 0px; --pad: clamp(44px, 5vw, 72px); position: relative; overflow: hidden; background: var(--fond-2); }
.page-head.with-nav { --decal: 60px; }
.page-head-in {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding-block: var(--pad) calc(var(--pad) + var(--decal));
}
.page-head-text { max-width: 620px; }
.page-head h1 { margin: 10px 0 0; font-size: clamp(34px, 4.6vw, 56px); }
.page-head p { margin: 16px auto 0; max-width: 560px; }
.page-head h1::after {
  content: ""; display: block; width: 66px; height: 10px; margin: 18px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 10'%3E%3Cpath d='M0 10L11 0l11 10z' fill='%23f8931e'/%3E%3Cpath d='M22 10L33 0l11 10z' fill='%23f2541b'/%3E%3Cpath d='M44 10L55 0l11 10z' fill='%2312306e'/%3E%3C/svg%3E") center / contain no-repeat;
}
.crumbs { font-family: var(--f-titre); font-size: 14px; font-weight: 500; color: var(--or); }
.crumbs a { color: var(--titre); }
.crumbs a:hover { color: var(--bleu); }
.svc-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.svc-index a { font-family: var(--f-titre); font-size: 13.5px; font-weight: 500; padding: 8px 16px; background: #fff; color: var(--titre); box-shadow: var(--ombre); }
.svc-index a:hover { background: var(--bleu); color: #fff; }
@media (max-width: 860px) { .page-head-in { grid-template-columns: 1fr; } }

/* ---------- Catalogue (2026-10-22) ----------
   La barre reste en haut, sur toute la largeur, comme à l'origine ; habillage
   moderne et sans cadres : pastilles arrondies sur fond doux. */
.cat-bar { position: sticky; top: 80px; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 10px 30px -22px rgba(15, 37, 87, .35); }
.cat-bar-in { display: flex; flex-wrap: wrap; gap: 12px 12px; align-items: center; padding-block: 16px; }
.cat-bar .filters { flex: 1 1 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .cat-bar .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-bar .filters { grid-template-columns: 1fr 1fr; } .cat-bar .filters .pill-select:last-child { grid-column: 1 / -1; } }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fond-2); }
.seg button { border: 0; border-radius: 999px; background: transparent; padding: 9px 18px; cursor: pointer; font-family: var(--f-titre); font-size: 14px; font-weight: 500; color: var(--titre); transition: background .2s, color .2s; }
.seg button:hover { color: var(--bleu-2, var(--bleu)); }
.seg button[aria-pressed="true"] { background: var(--bleu); color: #fff; }
.f-search { position: relative; flex: 1 1 220px; min-width: 0; }
.f-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gris); pointer-events: none; }
.f-search input { width: 100%; border: 0; border-radius: 999px; background: var(--fond-2); padding: 12px 18px 12px 44px; font: inherit; font-size: 14.5px; color: var(--titre); outline: none; transition: box-shadow .2s, background .2s; }
.f-search input:focus { background: #fff; box-shadow: 0 0 0 2px var(--bleu); }
.pill-select {
  appearance: none; -webkit-appearance: none; width: 100%; border: 0; border-radius: 999px; background: var(--fond-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%2312306e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding: 11px 38px 11px 18px; font: inherit; font-size: 14px; font-weight: 600; color: var(--titre); cursor: pointer; outline: none; transition: box-shadow .2s;
}
.pill-select:focus { box-shadow: 0 0 0 2px var(--bleu); }
.view-toggle { display: flex; gap: 4px; margin-left: auto; padding: 4px; border-radius: 999px; background: var(--fond-2); }
.view-toggle button { border: 0; border-radius: 999px; background: transparent; width: 40px; height: 36px; cursor: pointer; color: var(--gris); display: grid; place-items: center; }
.view-toggle button[aria-pressed="true"] { background: #fff; color: var(--bleu); box-shadow: 0 1px 4px rgba(15, 37, 87, .12); }
.result-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 40px 0 26px; flex-wrap: wrap; }
.result-line .count { font-family: var(--f-titre); font-weight: 600; font-size: 18px; color: var(--titre); }
.reset { border: 0; background: none; color: var(--bleu); cursor: pointer; font-family: var(--f-titre); font-size: 14px; font-weight: 500; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .cat-bar { position: static; } .seg { width: 100%; } .seg button { flex: 1; padding: 9px 6px; } .view-toggle { display: none; } }

.ledger { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 24px rgba(15, 37, 87, .07); }
.ledger-row { display: grid; grid-template-columns: 120px minmax(0, 1.7fr) minmax(0, 1.1fr) 60px 80px minmax(0, 1fr) 20px; gap: 18px; padding: 18px 22px; align-items: center; border-bottom: 1px solid var(--ligne); font-size: 15px; transition: background .25s; }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row:not(.ledger-cols):hover { background: var(--fond-2); }
.ledger-cols { background: var(--bleu-pale); color: var(--bleu); font-family: var(--f-titre); font-size: 14px; font-weight: 500; }
.ledger-row .ref { font-size: 13px; color: var(--gris); }
.ledger-row .nm { font-family: var(--f-titre); font-weight: 600; color: var(--titre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ledger-row .pr { font-family: var(--f-titre); font-weight: 600; color: var(--accent); text-align: right; white-space: nowrap; }
.ledger-row .pr small { color: var(--gris); font-weight: 400; }
.ledger-row > svg { color: var(--bleu); }
@media (max-width: 900px) { .ledger-row { grid-template-columns: minmax(0, 1fr) auto; } .ledger-row > :not(.nm):not(.pr) { display: none; } .ledger-cols { display: none; } }

/* ---------- Fiche bien ---------- */
.bien-top { padding-top: 28px; }
.bien-crumbs { font-family: var(--f-titre); font-size: 14px; font-weight: 500; color: var(--or); }
.bien-crumbs a { color: var(--titre); }
.bien-crumbs a:hover { color: var(--bleu); }
.bien-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 40px; align-items: end; padding: 22px 0 30px; }
.bien-title h1 { margin-top: 8px; font-size: clamp(30px, 3.8vw, 46px); }
.bien-title .loc { margin-top: 10px; display: flex; gap: 8px; align-items: center; }
.bien-title .loc svg { color: var(--orange); }
.bien-title .price-big { text-align: right; }
.bien-title .price-big .price { display: block; font-family: var(--f-titre); font-weight: 700; color: var(--accent); font-size: clamp(24px, 2.4vw, 32px); }
.bien-title .price-big .price small { font-size: .5em; color: var(--gris); font-weight: 400; }
@media (max-width: 760px) { .bien-title { grid-template-columns: 1fr; } .bien-title .price-big { text-align: left; } }

.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(320px, 44vw, 580px); }
.gallery > * { position: relative; overflow: hidden; background: var(--fond-3); cursor: zoom-in; border: 0; padding: 0; }
.gallery > :first-child { grid-row: 1 / span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .more { position: absolute; right: 16px; bottom: 16px; left: auto; top: auto; }
.gallery.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.single > :first-child { grid-row: auto; }
.gallery.duo { grid-template-rows: 1fr; grid-template-columns: 1.4fr 1fr; }
.gallery.duo > :first-child { grid-row: auto; }
.gallery.nophoto { height: clamp(240px, 26vw, 340px); }
.gallery.nophoto > * { cursor: default; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 72vw; } .gallery > :not(:first-child) { display: none; } .gallery > :first-child { grid-row: auto; } }

.bien-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(32px, 4vw, 56px); padding-block: clamp(40px, 5vw, 64px) clamp(120px, 12vw, 170px); align-items: start; }
@media (max-width: 1000px) { .bien-layout { grid-template-columns: 1fr; } }
/* 4 ou 5 chiffres selon ce que GIMMO renseigne : colonnes égales */
.facts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--fond-2); }
.fact { padding: 20px 22px; }
.fact + .fact { border-left: 1px solid var(--ligne); }
.fact .label { color: var(--gris); font-size: 13px; }
.fact .v { font-family: var(--f-titre); font-weight: 600; color: var(--titre); font-size: 20px; margin-top: 2px; }
@media (max-width: 560px) { .facts { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } .fact:nth-child(odd) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--ligne); } .fact:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* en détail : libellé à gauche, valeur à droite, deux colonnes sur grand écran */
/* agencement : une icône dans une pastille ronde, le mot à côté, à plat sur deux colonnes */
.compo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.compo li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--titre); }
.compo svg { flex-shrink: 0; box-sizing: content-box; padding: 10px; border-radius: 50%; background: var(--bleu-pale); color: var(--bleu); }
@media (max-width: 640px) { .compo { grid-template-columns: 1fr; } }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.detail div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.detail dt { color: var(--texte); }
.detail dd { margin: 0; font-family: var(--f-titre); font-weight: 500; color: var(--titre); text-align: right; }
@media (max-width: 640px) { .detail { grid-template-columns: 1fr; } }
.prose h2 { font-size: 24px; margin: 44px 0 16px; line-height: 1.2; }
.prose p { max-width: 680px; }
.prose a { color: var(--bleu); font-family: var(--f-titre); font-weight: 500; }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 24px; }
.amen div { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--titre); }
.amen svg { color: var(--bleu); flex-shrink: 0; }
/* Fiche : à prévoir à l'entrée */
#entree, #adresse { scroll-margin-top: 110px; }
.entree { border-top: 1px solid var(--ligne); }
.entree div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--ligne); }
.entree b { display: block; font-family: var(--f-titre); font-weight: 500; color: var(--titre); font-size: 15.5px; }
.entree small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--gris); }
.entree div > span:last-child { flex: none; font-family: var(--f-titre); font-weight: 500; color: var(--titre); font-variant-numeric: tabular-nums; }
.entree .total { border-bottom: 0; padding-top: 16px; }
.entree .total span { font-family: var(--f-titre); font-weight: 600; color: var(--titre); font-size: 17px; }
.entree .total span:last-child { color: var(--accent); font-size: 19px; }
.prose .entree-note { margin-top: 10px; font-size: 14px; color: var(--gris); }
/* Fiche : adresse et position GPS de l'immeuble. Pas de gros boutons : la
   carte, puis une ligne de liens discrets sous elle. */
.prose .adresse-ligne { margin-bottom: 14px; color: var(--titre); }
.gps-carte { aspect-ratio: 16 / 9; background: var(--fond-3); box-shadow: var(--ombre); }
.gps-carte iframe { width: 100%; height: 100%; border: 0; display: block; }
.prose .adresse-liens { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: 12px 0 0; font-size: 14px; color: var(--gris); }
.adresse-liens b { font-family: var(--f-titre); font-weight: 500; color: var(--titre); font-variant-numeric: tabular-nums; margin: 0 4px; }
.prose .adresse-liens a, .gps-copier { color: var(--bleu-2); font-family: var(--f-titre); font-weight: 500; font-size: 14px; }
.gps-copier { border: 0; background: none; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--ligne); text-underline-offset: 3px; }
.prose .adresse-liens a:hover, .gps-copier:hover { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; }
.gps-voir { margin-left: 6px; color: var(--bleu-2); font-family: var(--f-titre); font-weight: 500; font-size: 14px; }
.gps-voir:hover { text-decoration: underline; text-underline-offset: 3px; }

.aside { position: sticky; top: 104px; background: #fff; box-shadow: var(--ombre-forte); }
.aside-in { padding: 30px; }
.aside .label { color: var(--gris); }
.aside .price { display: block; font-family: var(--f-titre); font-weight: 700; color: var(--accent); font-size: 30px; margin: 4px 0 18px; line-height: 1.2; }
.aside .price small { font-size: 14px; color: var(--gris); font-weight: 400; }
.aside .sub-lines { display: grid; margin-bottom: 24px; font-size: 14.5px; }
.aside .sub-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ligne); }
.aside .sub-lines span:last-child { color: var(--titre); font-weight: 600; text-align: right; }
.aside-actions { display: grid; gap: 10px; }
/* lots identiques : le choix de l'étage, avant la proforma */
.lots-choix { margin: 0 0 22px; padding: 18px; background: var(--orange-pale); }
.lots-choix label { display: block; margin-bottom: 8px; font-family: var(--f-titre); font-size: 14px; font-weight: 600; color: var(--titre); }
.lots-choix select { background-color: #fff; font-weight: 600; }
.lots-choix p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; }

/* Formulaires */
.form { display: grid; gap: 18px; align-content: start; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-family: var(--f-titre); font-size: 13px; font-weight: 500; color: var(--titre); }
.form input, .form select, .form textarea {
  font-family: var(--f-texte); font-size: 15.5px; font-weight: 400; color: var(--titre);
  background: var(--fond-2); border: 1px solid transparent; border-radius: 0; padding: 14px 16px; outline: none; width: 100%; min-width: 0; transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--bleu); background: #fff; }
.form textarea { min-height: 140px; resize: vertical; }
.form-msg { padding: 14px 16px; font-size: 14px; line-height: 1.5; color: #8a2a0c; background: var(--accent-pale); border-left: 3px solid var(--accent); }
.form-ok { padding: 12px 0; }
.form-ok strong { display: block; font-family: var(--f-titre); font-size: 24px; color: var(--accent); margin-bottom: 8px; }
.form-note { margin: 0; font-size: 13px; color: var(--gris); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(27, 23, 20, .94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 90vw; max-height: 82vh; object-fit: contain; }
.lb button { position: absolute; border: 0; background: #fff; color: var(--titre); width: 50px; height: 50px; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: var(--bleu); color: #fff; }
.lb .x { top: 22px; right: 22px; }
.lb .p { left: 22px; top: 50%; transform: translateY(-50%); }
.lb .n { right: 22px; top: 50%; transform: translateY(-50%); }
.lb .c { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: #fff; box-shadow: var(--ombre); padding: clamp(24px, 4vw, 40px); gap: 20px; }
.form-head h2, .coords h2 { font-size: 24px; }
.form-head p { margin: 6px 0 0; font-size: 15px; }
.form label .opt { font-family: var(--f-texte); font-weight: 400; color: var(--gris); }
.form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background: var(--fond-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%2312306e' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.form select:focus { background-color: #fff; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 4px; }
.form-foot .form-note { flex: 1 1 240px; }
.form-note a { color: var(--bleu-2); text-decoration: underline; text-underline-offset: 2px; }

.coords { padding-top: clamp(0px, 2vw, 8px); }
.coords h2 { margin-bottom: 14px; }
.coord-list { margin: 0; }
.coord-list > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--ligne); align-items: start; }
.coord-list dt { display: flex; align-items: center; gap: 10px; min-height: 23px; font-family: var(--f-titre); font-size: 14px; font-weight: 500; color: var(--gris); }
.coord-list dt svg { color: var(--bleu); flex-shrink: 0; }
.coord-list dd { margin: 0; font-family: var(--f-titre); font-weight: 600; color: var(--titre); font-size: 15.5px; line-height: 1.5; }
.coord-list dd a:hover { color: var(--bleu-2); }
.coord-list .link-more { display: flex; margin-top: 4px; font-size: 14px; }
.coord-hours { padding: 16px 0 18px; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.coord-hours h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; margin-bottom: 10px; }
.coord-hours .open-state { font-family: var(--f-titre); font-size: 13px; font-weight: 500; }
.coord-client { margin: 16px 0 0; font-size: 14.5px; }
.coord-client a { color: var(--bleu-2); font-family: var(--f-titre); font-weight: 500; }
@media (max-width: 420px) { .coord-list > div { grid-template-columns: 1fr; } }
.contact-map { height: clamp(260px, 30vw, 360px); margin-bottom: clamp(64px, 8vw, 104px); background: var(--fond-3); box-shadow: var(--ombre); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Vérifier un document (QR codes) ---------- */
.verif-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(48px, 6vw, 80px) clamp(64px, 8vw, 104px); }
@media (max-width: 960px) { .verif-grid { grid-template-columns: 1fr; } }
.verif-form { background: #fff; box-shadow: var(--ombre); padding: clamp(24px, 4vw, 36px); }
.form input.verif-code { font-family: var(--f-titre); font-size: 26px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; max-width: 320px; }
.verif-res { margin-top: 20px; padding: 22px 24px; background: #fff; border: 1px solid var(--ligne); border-left-width: 4px; }
.verif-res.ok { border-left-color: #1f8f55; }
.verif-res.warn { border-left-color: var(--or); }
.verif-res.ko { border-left-color: var(--accent); }
.verif-titre { display: block; font-family: var(--f-titre); font-size: 20px; color: var(--titre); }
.verif-res.ok .verif-titre { color: #1f8f55; }
.verif-res p { margin: 6px 0 0; }
.verif-details { margin: 16px 0 0; }
.verif-details > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--ligne); }
.verif-details dt { font-family: var(--f-titre); font-size: 14px; font-weight: 500; color: var(--gris); }
.verif-details dd { margin: 0; font-family: var(--f-titre); font-weight: 600; color: var(--titre); }
.verif-aide h2 { font-size: 22px; }
.verif-aide .checks { grid-template-columns: 1fr; margin-top: 16px; }
.verif-aide .small a { color: var(--bleu-2); font-family: var(--f-titre); font-weight: 500; white-space: nowrap; }

/* ---------- Page Services ---------- */
.svc-block { display: grid; grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 56px); align-items: start; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ligne); scroll-margin-top: 180px; }
.svc-block:first-child { border-top: 0; }
.svc-block .big-n { width: 72px; height: 72px; display: grid; place-items: center; background: var(--bleu-pale); color: var(--bleu); font-family: var(--f-titre); font-weight: 700; font-size: 24px; }
.svc-block h2 { margin: 6px 0 18px; font-size: clamp(26px, 3vw, 36px); }
.svc-block p { margin: 0 0 14px; }
.svc-block > div:last-child { background: var(--fond-2); padding: clamp(24px, 3vw, 34px); }
.svc-block:nth-child(even) > div:last-child { background: var(--fond-bleu); }
.svc-block ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.svc-block li { position: relative; padding-left: 40px; font-size: 15px; line-height: 1.6; color: var(--titre); }
.svc-block li::before {
  content: ""; position: absolute; left: 0; top: -2px; width: 28px; height: 28px; background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312306e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center no-repeat;
}
.svc-block li strong { font-weight: 700; }
@media (max-width: 960px) {
  .svc-block { grid-template-columns: 56px minmax(0, 1fr); }
  .svc-block .big-n { width: 56px; height: 56px; font-size: 20px; }
  .svc-block > div:last-child { grid-column: 1 / -1; }
}
/* 2) raccourcis vers les services, posés à cheval sur le bandeau */
.svc-nav { position: relative; z-index: 3; margin-top: -44px; display: flex; background: #fff; box-shadow: var(--ombre-forte); }
.svc-nav a { flex: 1 1 auto; justify-content: center; white-space: nowrap; display: flex; align-items: center; gap: 10px; padding: 18px 14px; font-family: var(--f-titre); font-weight: 600; font-size: 14px; color: var(--titre); border-left: 1px solid var(--ligne); border-bottom: 3px solid transparent; transition: color .25s, border-color .25s; }
.svc-nav a:first-child { border-left: 0; }
.svc-nav a:hover { color: var(--bleu-2); border-bottom-color: var(--orange); }
.svc-nav span { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--bleu-pale); color: var(--bleu); font-size: 13px; }
@media (min-width: 961px) and (max-width: 1180px) {
  .svc-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svc-nav a { justify-content: flex-start; white-space: normal; border-top: 1px solid var(--ligne); }
  .svc-nav a:nth-child(-n+4) { border-top: 0; }
  .svc-nav a:nth-child(5) { border-left: 0; }
  .svc-nav a:last-child { grid-column: span 2; }
}
@media (max-width: 960px) {
  .svc-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc-nav a { justify-content: flex-start; white-space: normal; }
  .svc-nav a { border-left: 0; border-top: 1px solid var(--ligne); padding: 16px 14px; gap: 10px; font-size: 14px; overflow-wrap: anywhere; }
  .svc-nav span { width: 30px; height: 30px; font-size: 12px; }
  .svc-nav a:nth-child(-n+2) { border-top: 0; }
  .svc-nav a:nth-child(even) { border-left: 1px solid var(--ligne); }
  .svc-nav a:last-child { grid-column: 1 / -1; border-left: 0; }
  .svc-nav a:nth-child(n+3) { border-top: 1px solid var(--ligne); }
}
/* ---------- v5 : compléments (favoris, WhatsApp, horaires, engagements…) ---------- */

/* Statut d'ouverture */
.open-state { color: var(--gris); }
.open-state.is-open { color: #1f8f55; }
.open-state::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.drawer .open-state { margin: 0 0 4px; font-family: var(--f-titre); font-size: 14px; font-weight: 500; }

/* Favoris */
.top-fav { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--bleu); border-radius: 50%; transition: background .25s; }
.top-fav:hover, .top-fav[aria-current="page"] { background: var(--bleu-pale); }
.fav-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--f-titre); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.card-wrap { position: relative; display: flex; }
.card-wrap > .card { flex: 1; }
.fav {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--bleu); cursor: pointer;
  box-shadow: 0 0 0 1px rgba(15, 37, 87, .12);
}
.fav:hover { color: var(--accent); }
.fav.on { color: var(--accent); }
.fav.on svg path { fill: currentColor; }
.chips { right: 66px; }
.chip.lots { margin-left: 0; }
.fav.big { position: static; width: 50px; height: 50px; box-shadow: none; border: 1px solid var(--ligne); }

/* WhatsApp */
.btn-wa { background: #25d366; color: #0b3d21; }
.btn-wa:hover { background: #1ebe5b; color: #0b3d21; }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.wa-float:hover { background: #1ebe5b; }
/* Fiche bien : l'encadré et la barre mobile ont déjà leur bouton WhatsApp */
body.has-mbar .wa-float { display: none; }

/* Partage */
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share > span { font-family: var(--f-titre); font-size: 13px; font-weight: 500; color: var(--gris); margin-right: 4px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu-pale); color: var(--bleu); border: 0; cursor: pointer; transition: background .25s, color .25s; }
.share a:hover, .share button:hover { background: var(--bleu); color: #fff; }
.copy-link.ok { background: #1f8f55; color: #fff; }

/* Horaires */
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.hours li.today { color: var(--titre); font-weight: 700; }

/* Engagements écrits (6 étapes datées) */
.pledges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; counter-reset: pl; }
.pledge { background: #fff; padding: 30px 28px; box-shadow: var(--ombre); counter-increment: pl; position: relative; }
.pledge::before { content: "Étape " counter(pl); display: block; font-family: var(--f-titre); font-size: 13px; font-weight: 500; color: var(--or); margin-bottom: 8px; }
.pledge h4 { font-size: 19px; margin-bottom: 8px; }
.pledge p { margin: 0; font-size: 15px; }
.pledge .doc { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--f-titre); font-size: 13px; font-weight: 500; color: var(--bleu); background: var(--bleu-pale); padding: 6px 12px; }
@media (max-width: 960px) { .pledges { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pledges { grid-template-columns: 1fr; } }
.guarantees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; background: var(--fond-bleu); }
.guarantees div { padding: 24px 24px; border-left: 1px solid var(--bleu-pale); }
.guarantees div:first-child { border-left: 0; }
.guarantees strong { display: block; font-family: var(--f-titre); color: var(--titre); font-size: 16px; margin-bottom: 4px; }
.guarantees span { font-size: 14px; }
@media (max-width: 960px) { .guarantees { grid-template-columns: 1fr 1fr; } .guarantees div:nth-child(3) { border-left: 0; } .guarantees div:nth-child(n+3) { border-top: 1px solid var(--bleu-pale); } }
@media (max-width: 520px) { .guarantees { grid-template-columns: 1fr; } .guarantees div { border-left: 0; border-top: 1px solid var(--bleu-pale); } .guarantees div:first-child { border-top: 0; } }

/* Diaspora */
.diaspora { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.diaspora-card { background: #fff; box-shadow: var(--ombre-forte); padding: clamp(26px, 4vw, 44px); }
.diaspora-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: d; }
.diaspora-card li { counter-increment: d; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.diaspora-card li::before { content: counter(d); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu-pale); color: var(--bleu); font-family: var(--f-titre); font-weight: 600; }
.diaspora-card h4 { font-size: 17px; }
.diaspora-card p { margin: 2px 0 0; font-size: 14.5px; }
@media (max-width: 900px) { .diaspora { grid-template-columns: 1fr; } }

/* Alerte */
.alert-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: #fff; box-shadow: var(--ombre-forte); padding: clamp(26px, 4vw, 48px); }
.alert-box h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 8px; }
.alert-box > div > p { margin: 14px 0 0; }
.alert-form { gap: 14px; }
.alert-form .btn { justify-self: start; }
@media (max-width: 900px) { .alert-box { grid-template-columns: 1fr; } }

/* Fiche : actions, vidéo, barre mobile */
.bien-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding: 18px 0 0; }
.bien-actions .left { display: flex; align-items: center; gap: 12px; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--fond-3); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m-bar { display: none; }
@media (max-width: 1000px) {
  .m-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -10px 30px -16px rgba(15, 37, 87, .4);
  }
  .m-bar .btn { min-height: 48px; padding: 0 10px; font-size: 14px; }
  body.has-mbar { padding-bottom: 72px; }
}


/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; box-shadow: var(--ombre); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font-family: var(--f-titre); font-weight: 600; color: var(--titre); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; color: var(--bleu); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 24px 22px; }
.faq .a p { margin: 0 0 10px; }
.faq-group { margin-top: 48px; }
.faq-group:first-child { margin-top: 0; }
.faq-group > h2 { font-size: 24px; margin-bottom: 18px; }

/* Pages de texte (mentions, confidentialité) */
.legal { max-width: 820px; padding-block: clamp(48px, 6vw, 80px) clamp(120px, 12vw, 170px); }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.legal dt { font-family: var(--f-titre); font-weight: 500; color: var(--titre); }
.legal dd { margin: 0; }
.todo { background: var(--orange-pale); color: var(--or); font-weight: 700; padding: 0 6px; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }

/* Agence : venir à l'agence, métiers */
.visite-band { display: flex; align-items: center; gap: 20px 40px; padding: 26px 30px; background: #fff; box-shadow: var(--ombre-forte); }
.visite-band p { margin: 0; flex: 1; font-size: 16px; }
.visite-band strong { font-family: var(--f-titre); font-weight: 600; color: var(--titre); }
@media (max-width: 700px) { .visite-band { flex-direction: column; align-items: flex-start; } }
.metiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.metier { background: #fff; box-shadow: var(--ombre); padding: 26px 22px; text-align: center; }
.metier .picto { margin-bottom: 16px; }
.metier h4 { font-size: 17px; }
.metier p { margin: 8px 0 0; font-size: 14px; }
@media (max-width: 1000px) { .metiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .metiers { grid-template-columns: 1fr; } }

.page-head.with-nav + .wrap > .visite-band { position: relative; z-index: 3; margin-top: -60px; }
.bien-actions .left span { font-family: var(--f-titre); font-weight: 500; font-size: 14px; color: var(--titre); }

/* 404 */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px) clamp(140px, 14vw, 200px); }
.notfound .code { font-family: var(--f-titre); font-weight: 700; font-size: clamp(90px, 14vw, 160px); line-height: 1; color: var(--bleu); }
.notfound h1 { margin: 16px 0 12px; font-size: clamp(26px, 3vw, 36px); }
.notfound .empty-actions { margin-top: 28px; }

/* Petits téléphones : libellés entiers, sans coupure */
.tabs button, .seg button { white-space: nowrap; }
.avail td.px { white-space: nowrap; }
@media (max-width: 480px) {
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tabs button { padding: 12px 4px; font-size: 13px; }
  .cat-bar .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .cat-bar .seg button { padding: 10px 6px; }
}
@media (max-width: 560px) {
  .svc-nav span { display: none; }
  .svc-nav a { justify-content: center; text-align: center; padding: 15px 10px; }
}

@media (prefers-reduced-motion: reduce) { .hero-media .slide { transition: none; } }
