* {
  box-sizing: border-box !important;
}

html {
  -webkit-font-smoothing: antialiased;
  font-size: 62.5%;
  overflow-y: scroll;
}

html:focus-within {
  scroll-behavior: smooth;
}

body,
html,
p,
figure {
  margin: 0;
  padding: 0;
}

body,
html {
  overflow-x: hidden;
}

html {
  min-height: 100%;
  font-size: 62.5%;
}

body {
  scroll-behavior: smooth;
  font-family: 'Poppins', BlinkMacSystemFont, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.7rem;
  line-height: 1.75;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
  color: var(--text);
}

:root {
  /* ── Marque — primaires (Guide de marque Kandem) ──────────
     Couleur 1 : Bleu marine — Ceprogim Colin (gestion)
     Couleur 2 : Jaune moutarde — Colin Immobilier (transaction)
     ────────────────────────────────────────────────────── */
  --navy: #000053;
  /* ex --red / --dark, fusionnés */
  --navy-dk: #000038;
  /* ex --red-dk, hover/actif */
  --navy-2: #000080;
  /* secondaire */
  --navy-3: #0000b2;
  /* secondaire */
  --navy-tint: #e3e7fa;
  /* fond clair bleuté */

  --gold: #fdc500;
  /* ex --gold, même rôle, nouvelle valeur */
  --gold-2: #efbc1b;
  /* secondaire, plus mat (texte sur clair) */
  --gold-tint-1: #ffe39b;
  /* ex --gold-lt */
  --gold-tint-2: #ffefbf;
  /* ex --cream */

  /* ── Texte ──────────────────────────────── */
  --text: #000053;
  /*#383f4e;*/
  --muted: #000053;
  /*#666;*/
  --white: #fff;

  /* ── Fonds ──────────────────────────────── */
  --sand: #faf9f5;
  --fb: #fdfcf7;
  --beige: #f1eeec;
  --burgundy-lt: #f5f1ee;

  /* ── UI ─────────────────────────────────── */
  --border: #e5e7ef;

  /* ── Checkbox ripple ────────────────────── */
  --c-primary: #000053;
  --c-primary-20: rgba(0, 0, 83, 0.20);
  --c-primary-10: rgba(0, 0, 83, 0.10);
  --t-base: 0.4s;
  --t-fast: 0.2s;
  --e-in: ease-in;
  --e-out: cubic-bezier(.11, .29, .18, .98);
}

/* ── Typographie signature (guide de marque) ──────────────
   Usage restreint : mots-clés, accroches, titres courts.
   Jamais pour du texte courant (cf. guide, p.22).
   ────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Holiday';
  src: url('/assets/fonts/Holiday.woff') format('woff'),
    url('/assets/fonts/Holiday.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.txt-signature {
  font-family: 'Holiday', cursive;
  font-weight: 400;
  letter-spacing: 0;
}

.white {
  color: var(--white) !important;
}

.cream {
  color: var(--gold-tint-2) !important;
}

.beige {
  color: var(--beige) !important;
}

.red {
  color: var(--navy) !important;
}

.bkg-white {
  background: var(--white) !important;
}

.bkg-red {
  background: var(--navy) !important;
}

.bkg-fb {
  background: var(--fb) !important;
}

.bkg-f9 {
  background: var(--sand) !important;
}

.bkg-beige {
  background: var(--beige) !important;
}

a {
  text-decoration: none;
  color: inherit;
}

a:link,
a:visited,
a:hover,
a:active {
  outline: none;
}

a img {
  border: none;
}

ul {
  padding-left: 10px;
  list-style-type: none;
}

.listinline li {
  display: inline-block;
}

.checkli li {
  background: url(../images/icons/check16.png) no-repeat left 5px;
}

.indent li {
  list-style-position: inside;
  text-indent: 0em;
  padding-left: 1.8em;
}

.dot li {
  position: relative;
  padding-left: 16px;
}

.dot li:before {
  content: "\00B7";
  position: absolute;
  font-size: 3.5rem;
  left: 0;
  top: -16px;
}

.icolist {
  top: -1px;
  right: -1px;
}

p {
  margin: 0.75em 0 0;
}

strong {
  font-weight: 500;
}

.block {
  display: block;
}

.inbl {
  display: inline-block;
  vertical-align: top;
}

.none {
  display: none;
}

.pointer {
  cursor: pointer;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear:before,
.clear:after {
  content: " ";
  display: table;
}

.clear:after {
  clear: both;
}

.rel {
  position: relative;
}

.abs {
  position: absolute;
}

.fix {
  position: fixed;
}

.fullcenter {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/*----  FLEX réglages généraux  -----*/

.flex {
  display: flex;
}

.flexI {
  display: inline-flex;
}

.flexV {
  flex-direction: column;
}

.flexA {
  justify-content: space-around;
}

.flexB {
  justify-content: space-between;
}

.flexC {
  justify-content: center;
}

.flexLeft {
  justify-content: flex-start;
}

.flexRight {
  justify-content: flex-end;
}

.flexAfter {
  align-items: baseline;
}

.flexM {
  align-items: center;
}

.flexTop {
  align-items: flex-start;
}

.flexBottom {
  align-items: flex-end;
}

.flexS {
  align-items: stretch;
}

.flexRow {
  flex-direction: row;
}

.flexRowR {
  flex-direction: row-reverse;
}

.flexCol {
  flex-direction: column;
}

.flexColR {
  flex-direction: column-reverse;
}

.flexW {
  flex-wrap: wrap;
}

.flex1 {
  flex: 1;
}

.flex2>div:first-child {
  width: 50%;
  padding-right: 20px;
}

.flex2>div:last-child {
  margin-left: 0;
  padding-left: 20px;
}

.center {
  margin: auto;
}

.tC {
  text-align: center;
}

.txtleft {
  text-align: left;
}

.txtright {
  text-align: right;
}

.just {
  text-align: justify;
}

.caps {
  text-transform: uppercase;
}

.under,
.link:hover,
#nav div:hover {
  text-decoration: underline;
}

.bold {
  font-weight: bold;
}

.ital {
  font-style: italic;
}

.z100 {
  z-index: 100;
}

.underblue,
#headfiche {
  border-bottom: 1px solid #304875;
}

.underparme {
  border-bottom: 1px solid #9eb3d8;
}

.white,
.form input[type="submit"] {
  color: #fff;
}

.bgpurewhite {
  background: #fff;
}

.bgfb {
  background: #fbfbfb;
}

.bgf7 {
  background: #f7f7f7;
}

.bgef {
  background: #f8fafb;
}

.bglightgrey {
  background: #8fa0bc;
}

.bgdeepgrey {
  background: #455b7c;
  /*#6D80A0;*/
}

.bgfoot {
  background: #617493;
}

input[type="radio"]+label,
input[type="checkbox"]+label,
.tip {
  background: rgb(252, 253, 254);
  /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZjZmRmZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmM2Y1ZjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,
      rgba(252, 253, 254, 1) 0%,
      rgba(243, 245, 247, 1) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(0%, rgba(252, 253, 254, 1)),
      color-stop(100%, rgba(243, 245, 247, 1)));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,
      rgba(252, 253, 254, 1) 0%,
      rgba(243, 245, 247, 1) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,
      rgba(252, 253, 254, 1) 0%,
      rgba(243, 245, 247, 1) 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top,
      rgba(252, 253, 254, 1) 0%,
      rgba(243, 245, 247, 1) 100%);
  /* IE10+ */
  background: linear-gradient(to bottom,
      rgba(252, 253, 254, 1) 0%,
      rgba(243, 245, 247, 1) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfdfe', endColorstr='#f3f5f7', GradientType=0);
  /* IE6-8 */
}

.gold {
  color: #f49a09;
}

.bgor {
  background: #ffaa23;
}

.borderwhite,
input[type="radio"]:checked+label,
input[type="checkbox"]:checked+label {
  border: 2px solid #e1e8ef;
}

.bordertop {
  border-top: 2px solid #e1e8ef;
}

.bkgrey00 {
  background: #9db2dd;
}

.bkgrey0 {
  background: #8399c4;
}

.bkgrey1 {
  background: #7e91b7;
}

.bkgrey2 {
  background: #384256;
}

.bkgrey3,
.gm-style-iw {
  background: #627395;
}

.submit {
  background-color: #627395;
}

.gold {
  color: #ffc800;
}

.ocre {
  color: #d39832;
}

.ocreclair {
  color: #edaf44;
}

.blue {
  color: #027ddb;
}

.lightblue {
  color: #3f5a96;
}

.polar {
  background: rgba(160, 160, 170, 0.8);
}

.polar1 {
  background: rgba(100, 100, 110, 0.8);
}

.lightgrey {
  color: #e3eefa;
}

.grey {
  color: #5670a3;
}

.h2 {
  color: #5670b5;
}

.grey2 {
  color: #3e5a8e;
}

.deepgrey {
  color: #3a4459;
}

.bordergrey {
  border: 1px solid #5670a3;
}

.orange {
  color: #f08214;
}

.bgorange {
  background: #f08214;
}

.bgnone {
  background: none;
}

.rad3 {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.rad5,
.form input[type="submit"] {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.ma0 {
  margin: 0;
}

.pa0 {
  padding: 0;
}

.ma1 {
  margin: 10px;
}

.ma2 {
  margin: 20px;
}

.ma3 {
  margin: 30px;
}

.pa05 {
  padding: 5px;
}

.pa1 {
  padding: 10px;
}

.pa2 {
  padding: 20px;
}

.pa3 {
  padding: 30px;
}

.mt0 {
  margin-top: 0;
}

.mt1 {
  margin-top: 10px;
}

.mt2 {
  margin-top: 20px;
}

.mt3 {
  margin-top: 30px;
}

.mr0 {
  margin-right: 0;
}

.mr1 {
  margin-right: 10px;
}

.mr2 {
  margin-right: 20px;
}

.mr3 {
  margin-right: 30px;
}

.mb0 {
  margin-bottom: 0;
}

.mb1 {
  margin-bottom: 10px;
}

.mb2 {
  margin-bottom: 20px;
}

.mb3 {
  margin-bottom: 30px;
}

.ml0 {
  margin-left: 0;
}

.ml1 {
  margin-left: 10px;
}

.ml2 {
  margin-left: 20px;
}

.ml3 {
  margin-left: 30px;
}

.pt0 {
  padding-top: 0;
}

.pt1 {
  padding-top: 10px;
}

.pt2 {
  padding-top: 20px;
}

.pt3 {
  padding-top: 30px;
}

.pr0 {
  padding-right: 0;
}

.pr1 {
  padding-right: 10px;
}

.pr2 {
  padding-right: 20px;
}

.pr3 {
  padding-right: 30px;
}

.pb0 {
  padding-bottom: 0;
}

.pb1 {
  padding-bottom: 10px;
}

.pb2 {
  padding-bottom: 20px;
}

.pb3 {
  padding-bottom: 30px;
}

.pl0 {
  padding-left: 0;
}

.pl1 {
  padding-left: 10px;
}

.pl2 {
  padding-left: 20px;
}

.pl3 {
  padding-left: 30px;
}

.w100p {
  width: 100px;
}

.w150p {
  width: 150px;
}

.w200p {
  width: 200px;
}

.w300p {
  width: 300px;
}

.w340p {
  width: 340px;
}

.w25 {
  width: 25%;
}

.w30 {
  width: 30%;
}

.w40 {
  width: 40%;
}

.w50 {
  width: 50%;
}

.w60 {
  width: 60%;
}

.w70 {
  width: 70%;
}

.w80 {
  width: 80%;
}

.w90 {
  width: 90%;
}

.w100 {
  width: 100%;
}

.h100 {
  height: 100%;
}

.fs1 {
  font-size: 1rem;
}

.fs12 {
  font-size: 1.2rem;
}

.fs14 {
  font-size: 1.4rem;
}

.fs18 {
  font-size: 1.8rem;
}

.fs2,
.fiche h2 {
  font-size: 2rem;
}

h3 {
  font-size: 2.2rem;
}

.fs25,
h2 {
  font-size: 2.5rem;
}

.fs3 {
  font-size: 3rem;
}

.fs35 {
  font-size: 3.5rem;
}

.fs4,
h1 {
  font-size: 4rem;
}

.fw6 {
  font-weight: 600;
}

img {
  height: auto;
  vertical-align: middle;
  border: none;
}

.ico24 {
  width: 24px;
  height: 24px;
}

.ico28 {
  width: 28px;
  height: 28px;
}

.ico32 {
  width: 32px;
  height: 32px;
}

.ico48 {
  width: 48px;
  height: 48px;
}

.arial {
  font-family: Arial, sans-serif;
}

.pan,
h1 {
  font-family: "paneuropa_neue_normalregular";
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */

#siteHeader {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

/* ── Barre du haut : logos, recherche, signature, actions ─────── */

#headerTopBar {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px;
  position: relative;
}

#headerBrands {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#headerBrands img {
  width: 48px;
  height: 48px;
  display: block;
}

#siteLogo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -35%);
  /* la police Holiday a peu de descendantes :
    le centrage géométrique classique (-50%) place le glyphe visuellement
    trop haut dans sa boîte de ligne — décalage mesuré et corrigé ici */
  font-size: 5.4rem;
  color: var(--navy);
  text-decoration: none;
  line-height: 1;
  transition: color .2s;
}

#headerActions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-shrink: 0;
}

#monEspaceWrap {
  position: relative;
}

#monEspaceBtn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
}

#monEspaceBtn:hover {
  opacity: .7;
}

#monEspaceBtn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

#monEspaceChevron {
  width: 14px !important;
  height: 14px !important;
  transition: transform .15s;
}

#monEspaceBtn[aria-expanded="true"] #monEspaceChevron {
  transform: rotate(180deg);
}

#monEspaceDropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 83, .12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 20;
}

#monEspaceDropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#monEspaceDropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

#monEspaceDropdown a:hover {
  background: var(--navy-tint);
}

#headerSocials {
  display: flex;
  align-items: center;
  gap: 12px;
}

#headerSocials a {
  color: var(--navy);
  display: flex;
}

#headerSocials svg {
  width: 19px;
  height: 19px;
}

#headerSocials a:hover {
  opacity: .7;
}

/* ── Barre de nav : items + sous-menus, météo, contact ─────────── */

#headerNavBar {
  border-top: 1px solid var(--navy);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-height: 300px;
  opacity: 1;
  transition: max-height .3s ease, opacity .25s ease;
}

body.page-home #headerNavBar {
  border-top-color: transparent;
  max-height: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

body.page-home #siteHeader:hover #headerNavBar,
body.page-home #siteHeader.navRevealed #headerNavBar {
  border-top-color: var(--navy);
  max-height: 300px;
  padding-bottom: 20px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
}

#mainNav {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainNav>li {
  position: static;
}

#mainNav>li>a {
  display: block;
  padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}

#mainNav>li>a:hover,
#mainNav>li:hover>a {
  border-bottom-color: var(--gold);
}

#mainNav>li>a[aria-current="page"] {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

.subNav {
  list-style: none;
  margin: 0;
  width: 0;
  /* nouveau — ne réserve plus de largeur au repos */
  padding: 0;
  /* était 0 0 0 16px */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-height .2s ease, opacity .15s ease;
}

#mainNav>li.has-children:hover .subNav,
#mainNav>li.has-children:focus-within .subNav {
  width: auto;
  /* nouveau — largeur naturelle seulement à l'ouverture */
  max-height: 90px;
  opacity: 1;
  padding: 10px 0 0 16px;
  /* le padding-left ne s'applique aussi qu'à l'ouverture */
}

.subNav li a {
  display: block;
  padding: 6px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.subNav li a.isExternal {
  color: var(--gold-2);
}

.subNav li a:hover {
  text-decoration: underline;
}

/* ── Dropdown de recherche (ancré sous l'icône loupe) ─────────── */

#headerSearchWrap {
  position: relative;
}

#headerSearchBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: .03em;
  padding: 8px 4px;
}

#headerSearchBtn svg {
  width: 18px;
  height: 18px;
}

#headerSearchBtn:hover {
  opacity: .7;
}

#searchDropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 340px;
  max-width: 90vw;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 83, .12);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 20;
}

#searchDropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#searchDropdown label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}

#searchDropdownRow {
  display: flex;
  gap: 8px;
}

#searchDropdownRow input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
}

#searchDropdownRow input:focus {
  outline: none;
  border-color: var(--navy);
}

#searchDropdownRow button {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s;
}

#searchDropdownRow button:hover {
  background: var(--navy-dk);
}

#searchDropdownRow button svg {
  width: 18px;
  height: 18px;
}

#searchDropdownVenteNote {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--muted);
}

#searchDropdownVenteNote a {
  display: inline-block;
  margin-top: 4px;
  color: var(--gold-2);
  font-weight: 600;
  text-decoration: none;
}

#searchDropdownVenteNote a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  #searchDropdown {
    left: auto;
    right: 0;
  }
}

#headerNavRight {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  flex-shrink: 0;
}

#headerWeather {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-2);
}

#headerWeather svg {
  width: 20px;
  height: 20px;
}

#headerContact {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

#headerContact svg {
  width: 16px;
  height: 16px;
}

#headerContact:hover {
  opacity: .7;
}

/* ── Hamburger ───────────────────────────────────────────────── */

#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

#hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

#hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

#hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Breakpoints ─────────────────────────────────────────────── */

@media (max-width: 1100px) {
  #headerNavBar {
    display: none;
  }

  #headerSearchBtn span,
  #monEspaceBtn span,
  #monEspaceChevron {
    display: none;
  }

  #hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  #headerTopBar {
    padding: 10px 16px;
    gap: 12px;
  }

  #headerBrands img {
    width: 38px;
    height: 38px;
  }

  #siteLogo {
    font-size: 4rem;
  }

  #headerSocials {
    display: none;
  }
}

/* ── Home : header transparent superposé au hero ─────────────────
   Le déclencheur (survol du header OU scroll > 40px) est déjà géré
   par la classe .navRevealed plus haut, qui révèle #headerNavBar sur
   toutes les pages. Sur la home uniquement, on réutilise ce même
   état pour faire passer le fond de transparent à blanc, et le texte
   de blanc à navy — au lieu d'ajouter un second mécanisme.

   Le header passe en position:fixed (au lieu de sticky) : il sort
   entièrement du flux, la vidéo démarre donc à y=0 sans marge à
   calculer à la main. Ça évite aussi que l'agrandissement du
   sous-menu (#headerNavBar qui passe à 180px) ne pousse le contenu
   suivant — en fixed, ça n'a aucun effet de mise en page, seule la
   zone recouverte de la vidéo grandit. ── */

body.page-home #siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  transition: background .25s ease, border-color .25s ease;
}

body.page-home #siteHeader.navRevealed,
body.page-home #siteHeader:hover {
  background: var(--white);
  border-bottom-color: var(--border);
}

body.page-home #siteHeader:not(.navRevealed):not(:hover) #siteLogo,
body.page-home #siteHeader:not(.navRevealed):not(:hover) #headerSearchBtn,
body.page-home #siteHeader:not(.navRevealed):not(:hover) #monEspaceBtn,
body.page-home #siteHeader:not(.navRevealed):not(:hover) #headerSocials a {
  color: var(--white);
  transition: color .25s ease;
}

body.page-home #siteHeader:not(.navRevealed):not(:hover) #hamburger span {
  background: var(--white);
}

@media (max-width: 768px) {

  /* Sous le point de rupture mobile, le hero n'est jamais assez haut pour
     justifier la superposition — on revient au header blanc classique,
     replacé dans le flux normal. */
  body.page-home #siteHeader {
    position: sticky;
    background: var(--white);
    border-bottom-color: var(--border);
  }

  body.page-home #siteHeader #siteLogo,
  body.page-home #siteHeader #headerSearchBtn,
  body.page-home #siteHeader #monEspaceBtn,
  body.page-home #siteHeader #headerSocials a {
    color: var(--navy);
  }

  body.page-home #siteHeader #hamburger span {
    background: var(--navy);
  }
}

@media (max-width: 380px) {
  #headerBrands img {
    width: 32px;
    height: 32px;
  }
}















/* ── Overlay ─────────────────────────────────────────────────── */

#mobileOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s;
}

#mobileOverlay.open {
  display: block;
  opacity: 1;
}

/* ── Panneau latéral mobile ──────────────────────────────────── */

#mobilePanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
}

#mobilePanel.open {
  transform: translateX(0);
}

#mobilePanelClose {
  display: block;
  margin-left: auto;
  margin-bottom: 32px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 8px;
}

#mobilePanelClose:hover {
  opacity: .6;
}

#mobileNav {
  list-style: none;
  margin: 0;
  padding: 0;
}

#mobileNav li {
  border-bottom: 1px solid #eee;
}

#mobileNav li a {
  display: block;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: .03em;
  transition: padding-left .15s;
}

#mobileNav li a:hover {
  padding-left: 12px;
}

#mobileNav li a[aria-current="page"] {
  font-weight: 700;
  border-left: 3px solid var(--navy);
  padding-left: 12px;
  color: var(--navy);
}

.subNavMobile {
  list-style: none;
  margin: 0 0 8px;
  padding: 0 0 8px 16px;
}

.subNavMobile li a {
  display: block;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.subNavMobile li a:hover {
  color: var(--navy);
}

@media (max-width: 380px) {
  #mobilePanel {
    width: 100%;
  }
}

/* ================================================================
   CONTENT  GENERAL
   ================================================================ */

/*----------------------------------------- MAIN ----------------------------------------*/

#main {
  min-height: 80%;
}

.section {
  padding: 30px 0;
}

.content,
.wrapper,
.container,
.contentfiche {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.content,
.contentfiche {
  padding: 0 40px;
}

.wrapper {
  padding: 0 50px 50px 50px;
}

h1,
h2,
h3 {
  min-width: 270px;
  margin: 0 auto;
  font-weight: normal;
}

h2 {
  margin-bottom: 30px;
}

.title {
  border-bottom: 1px solid #9eb3d8;
}

.verticalcenter {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.backpop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: 1000;
  background: rgba(150, 156, 161, 0.6);
}

.pop {
  width: 550px;
  background: #fff;
  padding: 40px 60px 60px 60px;
}

.pop textArea {
  min-height: 300px;
}

.formcontent {
  max-width: 430px;
}

.close {
  top: 20px;
  right: 20px;
}

/*----------------------------------------- FORM ----------------------------------------*/

fieldset {
  padding: 30px;
}

input,
input:active,
input:focus {
  outline: 0;
  outline-style: none;
  outline-width: 0;
}

input[type="text"],
textArea {
  width: 100%;
}

input,
textArea {
  border: 1px solid #dfe7f3;
}

textarea {
  padding: 5%;
  border-radius: 3px;
}

input,
label,
button,
textArea {
  font: 400 1.7rem/35px Arial, sans-serif;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

input {
  padding-left: 10px;
}

label,
button {
  height: 35px;
}

button {
  color: #fff;
  border: none;
  margin-left: 5px;
}

label {
  display: inline-block;
  cursor: pointer;
}

.form input[type="text"] {
  height: 35px;
  line-height: 35px;
  margin-bottom: 8px;
}

input[type="search"] {
  width: 40%;
  min-width: 270px;
  height: 35px;
  vertical-align: bottom;
}

input[type="number"] {
  width: 150px;
  height: 35px;
  vertical-align: bottom;
}

input[type="radio"],
input[type="checkbox"] {
  display: none;
}

input[type="radio"]+label,
input[type="checkbox"]+label {
  width: 100px;
  line-height: 35px;
  vertical-align: bottom;
  text-align: center;
  cursor: pointer;
}

input[type="radio"]:checked+label,
input[type="checkbox"]:checked+label {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#627395+1,556482+100 */
  background: rgb(98, 115, 149);
  /* Old browsers */
  background: -moz-linear-gradient(top,
      rgba(98, 115, 149, 1) 1%,
      rgba(85, 100, 130, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top,
      rgba(98, 115, 149, 1) 1%,
      rgba(85, 100, 130, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,
      rgba(98, 115, 149, 1) 1%,
      rgba(85, 100, 130, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#627395', endColorstr='#556482', GradientType=0);
  /* IE6-9 */
  color: #fff !important;
}

.loupe {
  top: -1px;
}

#price1 {
  display: none;
}

#frontsub {
  background: url("../images/icons/view32.png") no-repeat center center;
}

.tip {
  height: 40px;
  line-height: 40px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.form input[type="submit"] {
  margin-top: 20px;
  border: none;
}

.send {
  width: 130px;
  height: 35px;
  line-height: 35px;
  margin: 10px auto 30px auto;
}

#contactfiche input[type="text"],
#contactfiche textArea {
  border: 1px solid #dee2ea;
}

#contactfiche textArea {
  margin-top: 10px;
  min-height: 220px;
}

::-webkit-input-placeholder {
  font-family: Arial, sans-serif;
  color: #000;
  font-weight: normal;
}

::-moz-placeholder {
  font-family: Arial, sans-serif;
  color: #000;
  font-weight: normal;
}

/* firefox 19+ */
:-ms-input-placeholder {
  font-family: Arial, sans-serif;
  color: #000;
  font-weight: normal;
}

/* ie */
input:-moz-placeholder {
  font-family: Arial, sans-serif;
  color: #000;
  font-weight: normal;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus:-moz-placeholder {
  color: transparent;
}

/* FF 4-18 */
input:focus::-moz-placeholder {
  color: transparent;
}

/* FF 19+ */
input:focus:-ms-input-placeholder {
  color: transparent;
}

/*----------------------------------------- MOTEUR ----------------------------------------*/

#frontsearch {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #e4ebf8;
}

/*----------------------------------------- ACCUEIL ----------------------------------------*/

#selec {
  width: 80% !important;
  height: 180px !important;
  min-width: 300px !important;
}

.titleMenu {
  top: 0;
  z-index: 100;
  margin: 0 auto;
  height: 40px;
  line-height: 40px;
}

#topsearch {
  padding: 8px 0 15px 0;
}

.minislide {
  max-width: 300px;
  min-height: 200px;
  margin: auto;
  border: 15px solid #4e6384;
}

#bareme input {
  background: none;
  border: none;
  padding: 0;
  color: #fbfbfb;
}

#bareme {
  padding-left: 50px;
}

/*-----------------------  VENTE -----------------------------*/

#formdepot {
  max-width: 900px;
  min-width: 300px;
}

#showestim {
  width: 300px;
  height: 55px;
  line-height: 55px;
  border-radius: 20px;
}

/* ================================================================
   PAGES ANNONCES
   ================================================================ */

#adsHead {
  margin-top: 28px;
  ;
  text-align: center;
}

#annoncesTitle {
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 10px;
}

#adsLinks a:first-child {
  margin-right: 3rem;
}

/* Toggle Liste/Carte */
#viewToggle {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Checkboxes animées — effet ripple + stroke animé */
.engineBox {
  height: auto;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.checkbox__symbol {
  display: inline-flex;
  margin-right: 0.6em;
  border: 1.5px solid var(--c-primary);
  position: relative;
  border-radius: 0.15em;
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
  transition: box-shadow var(--t-base) var(--e-out), background-color var(--t-base);
  box-shadow: 0 0 0 0 var(--c-primary-10);
}

.checkbox__symbol::after {
  content: '';
  position: absolute;
  top: 0.4em;
  left: 0.4em;
  width: 0.25em;
  height: 0.25em;
  background-color: var(--c-primary-20);
  opacity: 0;
  border-radius: 3em;
  transform: scale(1);
  transform-origin: 50% 50%;
}

.icon-checkbox {
  width: 1em;
  height: 1em;
  margin: auto;
  fill: none;
  stroke-width: 3;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
  color: var(--c-primary);
  display: inline-block;
}

.icon-checkbox path {
  transition: stroke-dashoffset var(--t-fast) var(--e-in);
  stroke-dasharray: 30px, 31px;
  stroke-dashoffset: 31px;
}

.checkbox__textwrapper {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  color: #444;
  white-space: nowrap;
  transition: color .2s;
}

.checkbox__trigger:checked+.checkbox__symbol {
  background-color: var(--c-primary-10);
}

.checkbox__trigger:checked+.checkbox__symbol::after {
  animation: ripple-engine 1.5s var(--e-out);
}

.checkbox__trigger:checked+.checkbox__symbol .icon-checkbox path {
  transition: stroke-dashoffset var(--t-base) var(--e-out);
  stroke-dashoffset: 0px;
}

.checkbox__trigger:checked~.checkbox__textwrapper {
  color: var(--c-primary);
  font-weight: 600;
}

.checkbox__trigger:focus+.checkbox__symbol {
  box-shadow: 0 0 0 0.25em var(--c-primary-20);
}

@keyframes ripple-engine {
  from {
    transform: scale(0);
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: scale(20);
  }
}

/* Boutons Liste / Carte */
.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  color: #555;
  background: var(--white);
  cursor: pointer;
  transition: all .15s;
}

.toggle-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.toggle-btn.active,
.toggle-btn:hover {
  background: #e9e5dc;
  border-color: #e9e5dc;

}

/* Bouton Alerte */
.btnAlerte {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}

.btnAlerte svg {
  width: 15px;
  height: 15px;
}

.btnAlerte:hover {
  background: var(--navy-dk);
  color: var(--white);
}

/* Moteur de recherche */
#engine {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 24px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

#engineTypes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

#budget {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.4rem;
}

.budgetLabel {
  font-weight: 600;
}

.rangeWrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Range slider — charte bordeaux/doré */
.range {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
  width: 180px;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: transform .15s;
}

.range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  cursor: pointer;
}

.range::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: var(--border);
}

#maxPrice {
  font-weight: 700;
  min-width: 80px;
}

/* Grille d'annonces — Barnes */
#annoncesSection {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}

#gridAnnonces {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 62px;
}

@media (max-width: 768px) {
  #gridAnnonces {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #annoncesSection {
    padding: 20px 16px;
  }
}

/* Card grille */
.annonce {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
  transition: box-shadow .3s ease;
}

.annonce:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .11);
}

.annonce-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.annonce-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f2f2f2;
  box-shadow: -2px 3px 10px 7px rgba(228, 228, 228, 0.9);
}

.annonce-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;

}

.annonce-link:hover .annonce-photo img {
  transform: scale(1.03);
}

.annonce-etiquette {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 1;
}

.annonce-body {
  padding: 20px 10px 12px;
  border-top: 1px solid #ede9e3;
}

.annonce-titre {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.25;
}

.annonce-lieu {
  margin-top: 4px;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.annonce-specs {
  margin: 0 0 12px;
  font-size: 1.4rem;
  color: #555;
  display: flex;
  gap: 20px;
  align-items: center;
}

.annonce-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.annonce-spec svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}

.annonce-prix {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

/* ================================================================
   PAGE CARTE — liste latérale style Seloger
   ================================================================ */
#mapLayout {
  display: flex;
  height: calc(80vh - 24px);
  margin-bottom: 24px;
}

#mapList {
  width: 40%;
  flex-shrink: 0;
  overflow-y: auto;
  border-right: 1px solid var(--border);
  box-sizing: border-box;
  height: 100%;
  padding: 0 24px 24px 24px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}

#mapContainer {
  flex: 1;
  height: calc(80vh - 24px);
}

/* Card grille — photo + bandeau détail toujours visible */

.mapCard-photo {
  position: relative;
  width: 100%;
  height: 220px;
  max-height: 220px;
  min-height: 220px;
  overflow: hidden;
  background: var(--sand);
  flex-shrink: 0;
}

.mapCard:hover,
.mapCard.highlighted {
  box-shadow: 0 4px 16px rgba(0, 0, 83, .12);
  border-color: var(--navy);
}

.mapCard-photo {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--sand);
  flex-shrink: 0;
}

.mapCard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.mapCard:hover .mapCard-photo img {
  transform: scale(1.04);
}

.mapCard-etiquette {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

.mapCard-etiquette--sold {
  background: var(--text);
}

.mapCard {
  flex-shrink: 0;
  min-height: 320px;
}

.mapCard-body {
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mapCard-row {
  gap: 6px;
  /* Espacement vertical réduit entre les lignes */
}

.mapCard-prix {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}

.mapCard-titre {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text);
}

.mapCard-specs {
  margin: 2px 0 0;
  font-size: 1.3rem;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mapCard-spec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mapCard-spec svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--gold);
}

.mapCard-lieu {
  margin: 0;
  font-size: 1.2rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mapCard-lieu svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  color: var(--gold);
}

.mapCard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mapCard-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
}

.mapCard-trans {
  font-size: 1.1rem;
  color: #bbb;
  font-style: italic;
}

.mapCard-nogeo {
  font-size: 1rem;
  color: #ccc;
  font-style: italic;
}

/* Bouton flottant Liste (mobile) */
.btn-liste-flottant {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  white-space: nowrap;
}

@media (max-width: 1260px) {
  #mapList {
    display: none;
  }

  #mapContainer {
    width: 100%;
    flex: 1;
  }

  .btn-liste-flottant {
    display: block;
  }
}

/* Marqueurs Leaflet */
.price-marker {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.price-marker.active {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}

/* Popup carte */
.price-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  border: none;
}

.price-popup .leaflet-popup-tip-container {
  margin-top: -1px;
}

.price-popup .leaflet-popup-tip {
  box-shadow: none;
}

.price-popup .leaflet-popup-content {
  margin: 0;
  width: 260px !important;
  height: 260px !important;
  padding: 1rem;
}

.price-popup .leaflet-popup-close-button {
  top: 14px !important;
  right: 14px !important;
  width: 28px !important;
  height: 28px !important;
  background: rgba(255, 255, 255, .92) !important;
  border-radius: 50% !important;
  color: #333 !important;
  font-size: 16px !important;
  line-height: 28px !important;
  text-align: center;
  padding: 0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.popup-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity .15s;
}

.popup-card:hover {
  opacity: .93;
}

.popup-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.popup-no-img {
  background: #ede9e3;
  height: 160px;
}

.popup-info {
  padding: 12px 14px 14px;
  background: var(--white);
}

.popup-type {
  margin: 0 0 2px !important;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}

.popup-ville {
  margin: 0 0 8px !important;
  font-size: 1.2rem;
  color: #999;
}

.popup-prix {
  margin: 0 !important;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}

/* hidden */
.hidden {
  display: none !important;
}

/* ================================================================
   FICHE BIEN — FIL D'ARIANE
   ================================================================ */

#alerteSection {
  padding: 2rem;
  background: url("../images/pages/alert.jpg") no-repeat center center;
  background-size: cover;
}

#alerteWrap {
  width: 500px;
  height: 600px;
  margin: auto;
  padding: 2rem 2rem;
  border-radius: 6px;
  background: var(--white);
}

.close {
  top: 2rem;
  right: 2rem;
}

/* ================================================================
   FICHE BIEN — FIL D'ARIANE
   ================================================================ */

#breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
}

#breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #888;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

#breadcrumb li::after {
  content: '›';
  color: #ccc;
  font-size: 14px;
}

#breadcrumb li:last-child::after {
  content: none;
}

#breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color .15s;
}

#breadcrumb a:hover {
  color: var(--navy);
}

#breadcrumb li[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* Flèche retour dans le fil d'ariane */
.breadcrumbBack {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  flex-shrink: 0;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.breadcrumbBack:hover {
  border-color: var(--navy);
  background: #f5f5f5;
}

.backArrow {
  display: block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

#breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ================================================================
   FICHE BIEN — BANDEAU PHOTOS
   ================================================================ */

#photoBandeau {
  max-width: 1500px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

/* Grille photos */
#photoGrid {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 600px;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

/* Image principale — occupe les 2 lignes */
.photoMain {
  grid-column: 1;
  grid-row: 1 / 3;
}

.photoSec1 {
  grid-column: 2;
  grid-row: 1;
}

.photoSec2 {
  grid-column: 3;
  grid-row: 1;
}

.photoSec3 {
  grid-column: 2;
  grid-row: 2;
}

.photoSec4 {
  grid-column: 3;
  grid-row: 2;
}

/* Cellule générique */
.photoCell {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  cursor: pointer;
}

.photoCell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}

.photoCell:hover img {
  transform: scale(1.04);
}

/* Filigrane */
.photoWatermark {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 33%;
  background: linear-gradient(to top, rgba(0, 0, 0, .35) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 10px 14px;
  pointer-events: none;
}

.photoWatermark span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

/* Étiquette statut */
.photoStatut {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

/* Bouton "X photos" */
#photoShowAll {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 5;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  border: none;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  border-radius: 3px;
  transition: background .15s;
}

#photoShowAll:hover {
  background: var(--white);
}

/* Bandeau agence sans photos */
#photoBandeauAgence {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 4px;
}

#bandeauAgenceImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---- Responsive grille photos ---- */

/* < 1536px : 1 grande + 2 petites empilées */
@media (max-width: 1536px) {
  #photoGrid {
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 600px;
  }

  .photoSec1 {
    grid-column: 2;
    grid-row: 1;
  }

  .photoSec2 {
    grid-column: 2;
    grid-row: 2;
  }

  .photoSec3,
  .photoSec4 {
    display: none;
  }
}

/* < 1200px : grande seule, ratio 3/2 pleine largeur */
@media (max-width: 1200px) {
  #photoBandeau {
    padding: 0;
  }

  #photoGrid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 0;
  }

  .photoSec1,
  .photoSec2,
  .photoSec3,
  .photoSec4 {
    display: none;
  }

  .photoMain {
    grid-row: 1;
  }
}

@media (max-width: 768px) {
  #breadcrumb {
    padding: 10px 16px;
  }
}

/* ================================================================
   FICHE BIEN — LIGHTBOX
   ================================================================ */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* bloque tout scroll interne */
}

#lbMain {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 0;
  /* indispensable pour que flex:1 ne déborde pas */
  padding: 48px 80px 16px;
  box-sizing: border-box;
  overflow: hidden;
}

#lbImg {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  /* 180px = hauteur bande miniatures + nav + counter */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
}

#lbCounter {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  letter-spacing: .06em;
}

/* Boutons nav lightbox */
#lbClose,
#lbPrev,
#lbNext {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: opacity .15s;
  z-index: 10;
  line-height: 1;
}

#lbClose:hover,
#lbPrev:hover,
#lbNext:hover {
  opacity: .6;
}

#lbClose {
  top: 16px;
  right: 20px;
  font-size: 24px;
}

#lbPrev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
  padding: 0 16px;
}

#lbNext {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
  padding: 0 16px;
}

/* Bande miniatures */
#lbThumbs {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  overflow-x: auto;
  max-width: 100%;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .2) transparent;
  flex-shrink: 0;
  width: 100%;
}

.lbThumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  overflow: hidden;
  cursor: pointer;
  opacity: .45;
  transition: opacity .2s;
  border: 2px solid transparent;
  border-radius: 2px;
}

.lbThumb:hover {
  opacity: .75;
}

.lbThumb.active {
  opacity: 1;
  border-color: var(--white);
}

.lbThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  #lbMain {
    padding: 48px 48px 0;
  }

  #lbPrev {
    font-size: 36px;
    padding: 0 8px;
  }

  #lbNext {
    font-size: 36px;
    padding: 0 8px;
  }

  .lbThumb {
    width: 54px;
    height: 40px;
  }
}

/* ================================================================
   FICHE BIEN
   ================================================================ */

#cardTitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

/* --- Section 1 : layout deux colonnes --- */
#ficheSection1 {
  padding: 40px 24px 0;
  max-width: 1200px;
  margin: 0 auto;
}

#ficheBody {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* --- Onglets --- */
#ficheTabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid #eee;
}

.ficheTab {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}

.ficheTab:hover {
  color: var(--navy);
}

.ficheTab.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.ficheTabContent {
  display: none;
}

.ficheTabContent.active {
  display: block;
}

/* --- Lignes caractéristiques --- */
.ficheRow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.ficheRow:last-child {
  border-bottom: none;
}

.ficheRow span:last-child {
  margin-left: auto;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.ficheRow--bold {
  font-weight: 600;
  color: var(--navy);
}

.ficheRow--sub {
  padding-left: 24px;
  color: var(--muted);
}

.ficheSubNote {
  font-size: 11px;
  color: #aaa;
  font-style: normal;
}

/* --- Icônes --- */
.ficheIcon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .6;
}

.ficheIcon--surf {
  background-image: url('/assets/images/icons/surf.svg');
}

.ficheIcon--door {
  background-image: url('/assets/images/icons/door.svg');
}

.ficheIcon--bed {
  background-image: url('/assets/images/icons/bed.svg');
}

.ficheIcon--balcony {
  background-image: url('/assets/images/icons/balcony.svg');
}

.ficheIcon--terrace {
  background-image: url('/assets/images/icons/terrace.svg');
}

.ficheIcon--kitchen {
  background-image: url('/assets/images/icons/kitchen.svg');
}

.ficheIcon--sdb {
  background-image: url('/assets/images/icons/sdb.svg');
}

.ficheIcon--sde {
  background-image: url('/assets/images/icons/sde.svg');
}

.ficheIcon--wc {
  background-image: url('/assets/images/icons/wc.svg');
}

.ficheIcon--parking {
  background-image: url('/assets/images/icons/parking.svg');
}

.ficheIcon--box {
  background-image: url('/assets/images/icons/box.svg');
}

.ficheIcon--pool {
  background-image: url('/assets/images/icons/pool.svg');
}

.ficheIcon--elevator {
  background-image: url('/assets/images/icons/elevator.svg');
}

.ficheIcon--stairs {
  background-image: url('/assets/images/icons/stairs.svg');
}

.ficheIcon--furniture {
  background-image: url('/assets/images/icons/furniture.svg');
}

.ficheIcon--heating {
  background-image: url('/assets/images/icons/heating.svg');
}

.ficheIcon--room {
  background-image: url('/assets/images/icons/room.svg');
}

/* Carte Localiser */
#tabLocaliser #cardmap {
  width: 100%;
  height: 360px;
  border-radius: 4px;
  overflow: hidden;
}

/* --- Colonne droite --- */
.ficheRightTitle {
  font-weight: 600;
  margin: 0 0 16px;
}

#ficheDesc {

  margin-bottom: 20px;
  text-align: justify;
}

.ficheDispo {
  font-weight: 600;
  margin-bottom: 16px;
}

.ficheGeorisques {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.5;
}

.ficheGeorisques a {
  color: #888;
}

/* Prix / honoraires */
#fichePrix {
  background: #f9f8f6;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 20px 24px;
}

.fichePrixRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.fichePrixRow:last-child {
  border-bottom: none;
}

.fichePrixRow strong {
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
}

.fichePrixNote {
  font-size: 12px;
  color: #888;
  margin: 8px 0 0;
  line-height: 1.5;
}

/* --- Section 2 : DPE + Copropriété --- */
#ficheSection2 {
  padding: 40px 24px 48px;
  max-width: 1200px;
  margin: 40px auto 0;
  border-top: 1px solid #eee;
}

#ficheBody2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.ficheSection2Title {
  font-weight: 600;
  margin: 0 0 20px;
}

/* ================================================================
   DPE — diagramme barres horizontales + panneau détaillé
   ================================================================ */

.dpeSubTitle {
  font-weight: 600;
  color: #333;
  margin: 16px 0 8px;
}

.dpeBar {
  display: flex;
  gap: 4px;
}

.dpeBarItem {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  border-radius: 4px;
  opacity: .45;
  transition: opacity .2s, transform .2s;
}

.dpeBarItem--active {
  opacity: 1;
  transform: scaleY(1.15);
}

.dpeBarPointer {
  display: flex;
  gap: 4px;
  min-height: 40px;
  align-items: flex-start;
  margin-top: 2px;
}

.dpeBarCell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dpeArrow {
  color: #333;
  line-height: 1;
}

.dpeVal {
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.dpeUnit {
  color: #999;
  font-size: 10px;
}

.ficheDpeRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ficheDpeDetail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 7px 16px;
  background: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border-radius: 3px;
  transition: background .15s, color .15s;
}

.ficheDpeDetail:hover {
  background: var(--navy);
  color: var(--white);
}

.ficheDpeNote {
  color: var(--muted);
  margin: 8px 0 0;
}

/* Panneau DPE — échelles détaillées */
.dpePanelTitle {
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0 4px;
}

.dpePanelSub {
  font-size: 11px;
  color: #999;
  margin: 0 0 8px;
  font-style: italic;
}

.dpePanelNote {
  color: var(--muted);
  margin-top: 8px;
}

/* Conteneur — position relative pour l'encadré absolu */
.dpeScale {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.dpeScaleRow {
  display: flex;
  align-items: center;
}

.dpeScaleBar {
  height: 32px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-radius: 20px;
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  max-width: 250px;
  transition: height .15s;
}

.dpeScaleBar--active {
  height: 38px;
  opacity: 1;
  position: relative;
  overflow: visible;
}

.dpeScaleBar--active::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--trait-width, 0px));
  top: 50%;
  transform: translateY(-50%);
  width: var(--trait-width, 0px);
  height: 2px;
  background: var(--dpe-color, #999);
  z-index: 1;
}

.dpeScaleTag {
  font-size: 10px;
  font-weight: 400;
  margin-left: 8px;
  opacity: .9;
}

/* Encadré absolu — ne perturbe pas le flux des barres */
.dpeScaleDetail {
  position: absolute;
  right: 1rem;
  width: 220px;
  display: flex;
  flex-direction: column;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  gap: 3px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  z-index: 10;
  /* top calculé en JS via data-index */
}

.dpeScaleDetail strong {
  color: var(--navy);
}

/* DPE preview */
.ficheDpeRow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.ficheDpePreview {
  display: flex;
  gap: 16px;
  margin: 16px 0;
}

.ficheDpeLetter {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border-radius: 6px;
  text-align: center;
}

.ficheDpeLabel {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 8px;
}

.ficheDpeVal {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.ficheDpeNum {
  font-size: 10px;
  margin-top: 6px;
  opacity: .8;
}

.ficheDpeLetter--A {
  background: #00b050;
  color: var(--white);
}

.ficheDpeLetter--B {
  background: #92d050;
  color: var(--white);
}

.ficheDpeLetter--C {
  background: #ffff00;
  color: #333;
}

.ficheDpeLetter--D {
  background: #ffc000;
  color: var(--white);
}

.ficheDpeLetter--E {
  background: #ff8000;
  color: var(--white);
}

.ficheDpeLetter--F {
  background: #ff0000;
  color: var(--white);
}

.ficheDpeLetter--G {
  background: #c00000;
  color: var(--white);
}

.ficheDpeDetail {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  background: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border-radius: 3px;
  transition: background .15s, color .15s;
}

.ficheDpeDetail:hover {
  background: var(--navy);
  color: var(--white);
}

.ficheDpeNote {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* Panneau DPE */
.dpePanelIntro {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 20px 0 12px;
}

.dpePanelNote {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

/* Copropriété */
.ficheCoproRow {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.ficheCoproRow:last-child {
  border-bottom: none;
}

.ficheCoproRow--split {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ficheCoproRow--split span:last-child {
  font-weight: 600;
  color: var(--navy);
}

.ficheCoproRow--alert {
  color: #c0392b;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {

  #ficheBody,
  #ficheBody2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #ficheSection2 {
    border-top: none;
  }
}

/* ================================================================
   OVERLAY ET PANNEAUX LATÉRAUX GÉNÉRIQUES
   ================================================================ */

#panelOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1500;
}

#panelOverlay.open {
  display: block;
}

.sidePanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 560px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 1501;
  padding: 32px 28px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
}

.sidePanel.open {
  transform: translateX(0);
}

.panelHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.panelTitle {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: .01em;
  text-transform: none;
  font-family: 'Poppins', sans-serif;
}

.panelClose {
  background: none;
  border: none;
  font-size: 18px;
  color: #aaa;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .15s;
}

.panelClose:hover {
  color: var(--navy);
}

/* ================================================================
   PANNEAU CONTACT FICHE BIEN
   ================================================================ */

.btnContact {
  margin: auto;
  padding: 12px 28px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: opacity .15s;
  white-space: nowrap;
}

.btnContact:hover {
  opacity: .85;
}

#contactPanelRef {
  font-size: 12px;
  color: #aaa;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

/* ── Champs formulaire contact ────────────────────────────────── */

.contactField {
  margin-bottom: 18px;
}

.contactField label {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--text);
  margin-bottom: 6px;
}

.contactField input,
.contactField textarea,
.contactField select {
  width: 100%;
  padding: 10px 14px;
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-sizing: border-box;
  background: #fcfbfa;
  transition: border-color .15s;
}

.contactField input:focus,
.contactField textarea:focus,
.contactField select:focus {
  outline: none;
  border-color: var(--navy);
}

.contactField textarea {
  min-height: 110px;
  resize: vertical;
}

.rgpd {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 4px 0 0;
}

.rgpd a {
  color: var(--navy);
}

/* ── Bouton envoi ─────────────────────────────────────────────── */

#contactFicheSubmit,
#contactPageSubmit,
#homeContactSubmit {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 13px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
  cursor: pointer;
  border-radius: 6px;
  margin-top: 2rem;
  transition: background .15s;
}

#contactFicheSubmit:hover,
#contactPageSubmit:hover,
#homeContactSubmit:hover {
  background: var(--navy-dk);
}

#contactFicheSubmit:disabled,
#contactPageSubmit:disabled {
  opacity: .5;
  cursor: default;
}

#contactFicheConfirm {
  padding: 24px 0;
  text-align: center;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.6;
}

.btnContactSticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 768px) {
  .btnContact {
    display: none;
  }

  .btnContactSticky {
    display: block;
  }

  .sidePanel {
    width: 100%;
  }
}

/*================================================================
   PAGE ESPACE CLIENTS /espace-clients
================================================================*/

#espaceClientsPage {}

/* ── Zone titre — fond uni, pas d'image ──────────────────────── */

#espaceClientsHeader {
  padding: 20px 24px 40px;
  text-align: center;
}

#espaceClientsHeaderWrap {
  max-width: 680px;
  margin: 0 auto;
}

#espaceClientsBadge,
#annoncesPageBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4eeea;
  border: 1px solid #e2d0c6;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

#espaceClientsTitle {
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.15;
}

#espaceClientsSub {
  font-size: 1.7rem;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.68;
}

/* ── Zone image — pleine largeur ─────────────────────────────── */

/* Fichier : /assets/images/pages/espace-clients-bg.jpeg
   Format  : 1920×1080 minimum, tons neutres */
#espaceClientsImageZone {
  position: relative;
  padding: 56px 24px 72px;
  overflow: hidden;
}

#espaceClientsImageZone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/pages/espace-clients-bg.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(.85);
  transform: scale(1.05);
  z-index: 0;
}

#espaceClientsImageZone::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240, 236, 228, .72);
  z-index: 0;
}

/* ── Grille 3 cartes ─────────────────────────────────────────── */

#espaceClientsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  max-width: 1100px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  #espaceClientsGrid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.ecCard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}

.ecCard:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, .09);
  transform: translateY(-3px);
}

.ecCard--featured {
  background: var(--navy);
  border-color: var(--navy);
}

.ecCard__ico {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ecCard__ico svg {
  width: 28px;
  height: 28px;
}

.ecCard:not(.ecCard--featured) .ecCard__ico {
  background: #f4eeea;
  color: var(--navy);
}

.ecCard--featured .ecCard__ico {
  background: rgba(255, 255, 255, .15);
  color: var(--gold-tint-2);
}

.ecCard__label {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ecCard:not(.ecCard--featured) .ecCard__label {
  color: var(--gold);
}

.ecCard--featured .ecCard__label {
  color: var(--gold-tint-2);
  opacity: .8;
}

.ecCard__title {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 12px;
}

.ecCard:not(.ecCard--featured) .ecCard__title {
  color: var(--navy);
}

.ecCard--featured .ecCard__title {
  color: var(--white);
}

.ecCard__desc {
  font-size: 1.4rem;
  line-height: 1.65;
  margin: 0 0 20px;
}

.ecCard:not(.ecCard--featured) .ecCard__desc {
  color: var(--muted);
}

.ecCard--featured .ecCard__desc {
  color: rgba(255, 255, 255, .72);
}

.ecCard__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.ecCard__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  font-size: 1.4rem;
  line-height: 1.5;
}

.ecCard:not(.ecCard--featured) .ecCard__list li {
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.ecCard--featured .ecCard__list li {
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ecCard__list li:last-child {
  border-bottom: none;
}

.ecCard__list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-top: 8px;
}

.ecCard:not(.ecCard--featured) .ecCard__list li::before {
  background: var(--gold);
}

.ecCard--featured .ecCard__list li::before {
  background: var(--gold-tint-2);
}

.ecCard__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all .2s;
  margin-top: auto;
  justify-content: center;
}

.ecCard__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ecCard:not(.ecCard--featured) .ecCard__btn {
  background: var(--navy);
  color: var(--white);
}

.ecCard:not(.ecCard--featured) .ecCard__btn:hover {
  background: var(--navy-dk);
}

.ecCard--featured .ecCard__btn {
  background: var(--white);
  color: var(--navy);
}

.ecCard--featured .ecCard__btn:hover {
  background: var(--gold-tint-2);
}

/* ── Encart identifiants ─────────────────────────────────────── */

#espaceClientsNote {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-size: 1.4rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#espaceClientsNote__ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}

#espaceClientsNote strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

#espaceClientsNote a {
  color: var(--navy);
  font-weight: 500;
}

#espaceClientsNote a:hover {
  text-decoration: underline !important;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 600px) {
  #espaceClientsHeader {
    padding: 32px 16px 28px;
  }

  #espaceClientsImageZone {
    padding: 36px 16px 48px;
  }

  .ecCard {
    padding: 28px 22px;
  }
}

/*=========================================
   PAGE CONTACT
================================================================*/

#contactPage {}

/* ── En-tête ─────────────────────────────────────────────────── */

#contactHero {
  border-bottom: 1px solid var(--border);
  padding: 30px 24px 44px;
  text-align: center;
}

#contactHeroWrap {
  max-width: 680px;
  margin: 0 auto;
}

#contactHeroLabel {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

#contactHeroTitle {
  font-size: clamp(3rem, 4vw, 4.4rem);
  font-weight: 300;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.15;
}

#contactHeroSub {
  font-size: 1.6rem;
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

/* ── Sections agences ────────────────────────────────────────── */

.contactSection {
  padding: 56px 24px;
  border-bottom: 1px solid var(--border);
}

.contactSection:last-of-type {
  border-bottom: none;
}

#contactAgencePrincipale {
  background: var(--white);
  padding-top: 0;
}

#contactAgencePartenaire {
  background: var(--white);
}

.contactSectionWrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Bandeau photo agence principale ─────────────────────────── */

#contactAgenceBandeau {
  position: relative;
  overflow: hidden;
  height: min(45vh, 35vw);
  min-height: 220px;
  background: url('/assets/images/pages/agence-contact-hero-2.jpg') no-repeat;
  background-size: cover;
  background-position: left top;
  margin-bottom: 0;
}

#contactAgenceBandeauTexte {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 36px;
}

#contactAgenceBandeauTexte .contactAgenceName {
  color: var(--white);
  margin: 0 0 4px;
}

#contactAgenceBandeauTexte .contactAgenceAdresse {
  color: rgba(255, 255, 255, .82);
  font-size: 1.4rem;
  font-style: normal;
}

/* Ancienne photo inline — masquée */
#contactAgencePhoto {
  display: none;
}

/* ── Grille horaires + encart extranet ───────────────────────── */

#contactInfosGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 48px auto 24px;
  padding: 0 24px;
}

@media (max-width: 700px) {
  #contactInfosGrid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0;
  }
}

/* Horaires */
.contactHoraires__title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.contactHoraires__table {
  border-collapse: collapse;
  width: 100%;
  font-size: 1.4rem;
}

.contactHoraires__table td {
  padding: 5px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.contactHoraires__table td:first-child {
  font-weight: 500;
  padding-right: 24px;
  width: 110px;
}

.contactHoraires__closed td {
  color: var(--muted);
}

.contactHoraires__note {
  font-size: 1.2rem;
  color: var(--muted);
  font-style: italic;
  margin: 8px 0 0;
}

/* Encart extranet */
#contactExtranetWrap {
  background: var(--fb);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 28px 24px;
}

#contactExtranetTitle {
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.25;
}

#contactExtranetIntro {
  font-size: 1.4rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 16px;
}

#contactExtranetList {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

#contactExtranetList li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.4rem;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}

#contactExtranetList li:last-child {
  border-bottom: none;
}

#contactExtranetList li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}

#contactExtranetNote {
  font-size: 1.3rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 20px;
}

#contactExtranetBtn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background .15s;
}

#contactExtranetBtn:hover {
  background: var(--navy-dk);
}

/* ── 3 cartes services ───────────────────────────────────────── */

#contactServicesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 700px) {
  #contactServicesGrid {
    grid-template-columns: 1fr;
  }
}

.contactService {
  background: var(--fb);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.contactService__ico {
  width: 44px;
  height: 44px;
  background: #f4eeea;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 8px;
}

.contactService__ico svg {
  width: 22px;
  height: 22px;
}

.contactService__label {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

.contactService__title {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

.contactService__tel {
  font-size: 2rem;
  font-weight: 300;
  color: var(--navy);
  text-decoration: none;
  display: block;
  margin: 4px 0;
  transition: color .15s;
}

.contactService__tel:hover {
  color: var(--gold);
}

.contactService__mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.contactService__mail:hover {
  background: var(--navy);
  color: var(--white);
}

.contactService__mail svg {
  width: 15px;
  height: 15px;
}

/* ── Carte Google Maps ───────────────────────────────────────── */

.contactMap {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  background: var(--sand);
}

.contactMap--full {
  height: 300px;
  margin-top: 32px;
}

.contactMap iframe {
  display: block;
}

/* ── Agence partenaire ───────────────────────────────────────── */

.contactPartenaireBadge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contactAgenceName {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.2;
}

.contactAgenceAdresse {
  font-style: normal;
  font-size: 1.5rem;
  color: var(--muted);
  line-height: 1.65;
}

.contactPartenaireServicesList {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 20px;
}

.contactPartenaireServicesList span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
}

.contactPartenaireContacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* ── Panel contact — confirmation ────────────────────────────── */

/* ── Confirmation globale ─────────────────────────────────────── */
#globalConfirm {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#globalConfirmOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

#globalConfirmBox {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 48px 40px;
  max-width: 420px;
  width: calc(100% - 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
}

#globalConfirmIco svg {
  width: 48px;
  height: 48px;
}

#globalConfirmBox.confirm--ok #globalConfirmIco {
  color: #2e7d32;
}

#globalConfirmBox.confirm--err #globalConfirmIco {
  color: #c0392b;
}

#globalConfirmTitle {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
}

#globalConfirmBox.confirm--err #globalConfirmTitle {
  color: #c0392b;
}

#globalConfirmMsg {
  margin: 0;
  font-size: 1.5rem;
  color: var(--muted);
  line-height: 1.65;
}

#globalConfirmClose {
  margin-top: 8px;
  padding: 10px 32px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

#globalConfirmClose:hover {
  background: var(--navy-dk);
}



/* ================================================================
   FOOTER
   ================================================================ */

#siteFooter {
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
}

/* ── Zone principale ─────────────────────────────────────────── */

#footerMain {
  padding: 64px 24px 38px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#footerInner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.footerCol--brand {
  flex-shrink: 0;
}

#footerColsGroup {
  display: flex;
  flex-wrap: nowrap;
  gap: 44px;
}

#footerColsGroup .footerCol {
  flex: 0 0 auto;
}

@media (max-width: 960px) {
  #footerInner {
    flex-direction: column;
    gap: 32px;
  }

  #footerColsGroup {
    flex-wrap: wrap;
    gap: 32px 40px;
  }
}

@media (max-width: 520px) {
  #footerColsGroup {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 28px;
  }

  #footerMain {
    padding: 44px 20px 36px;
  }
}

/* ── Colonne signature ───────────────────────────────────────── */

#footerLogo {
  display: block;
  font-size: 5.6rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}

/* ── Titres colonnes ─────────────────────────────────────────── */

.footerColTitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-tint-1);
  margin: 0 0 18px;
}

/* ── Liens ───────────────────────────────────────────────────── */

.footerLinks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footerLinks li {
  padding: 4px 0;
}

.footerLinks a,
.footerLinks span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .15s;
  display: inline-block;
  padding: 3px 0;
}

.footerLinks a:hover {
  color: var(--gold);
}

/* ── Colonne contact ─────────────────────────────────────────── */

.footerAgence__adresse {
  font-style: normal;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
  margin-bottom: 10px;
}

.footerAgence__tel,
.footerAgence__mail {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color .15s;
  line-height: 1.7;
  word-break: break-word;
}

.footerAgence__tel:hover,
.footerAgence__mail:hover {
  color: var(--gold);
}

#footerSocials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

#footerSocials a {
  color: var(--white);
  display: flex;
}

#footerSocials svg {
  width: 19px;
  height: 19px;
}

#footerSocials a:hover {
  color: var(--gold);
}

/* ── Barre légale ────────────────────────────────────────────── */

#footerBar {
  padding: 16px 24px;
  background: var(--navy-dk);
}

#footerBarInner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

#footerCopyright {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .5);
  margin: 0;
  flex-shrink: 0;
}

#footerLegalLinks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

#footerLegalLinks a,
#footerLegalLinks span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
}

#footerLegalLinks a:hover {
  color: var(--gold-tint-1);
  text-decoration: underline;
}

@media (max-width: 700px) {
  #footerBarInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ================================================================
   HOME
   ================================================================ */

/* ── Placeholder image générique (en attente des vraies photos) ── */

.imgPlaceholder {
  position: relative;
  background: linear-gradient(135deg, var(--navy-tint), var(--gold-tint-2));
  overflow: hidden;
}

.imgPlaceholder::after {
  content: attr(data-placeholder);
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  background: rgba(255, 255, 255, .75);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── Hero ────────────────────────────────────────────────────── */

#homeHero {
  position: relative;
  height: 84vh;
  min-height: 500px;
  max-height: 780px;
  display: flex;
  align-items: flex-end;
}

#homeHeroImg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(50% - 20px);
}

#homeHeroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, .7), rgba(20, 20, 22, 0) 55%);
  pointer-events: none;
}

#homeHeroContent {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 48px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

#homeHeroTitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 1.2;
  color: var(--white);
  margin: 0 auto;
  max-width: 760px;
}

@media (max-width: 768px) {
  #homeHero {
    height: 56vh;
    min-height: 340px;
  }

  #homeHeroTitle {
    font-size: 2.8rem;
  }
}

/* ── Intro ───────────────────────────────────────────────────── */

#homeIntro {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  text-align: center;
}

#homeIntroLead {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 32px;
}

#homeIntroLogos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

#homeIntroLogoNavy {
  font-family: 'Holiday', cursive;
  font-size: 6rem;
  line-height: .85;
  color: var(--navy);
}

#homeIntroLogoNavy small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 4px;
}

#homeIntroLogoGold {
  height: 78px;
  width: auto;
}

#homeIntroSub {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ── Pourquoi nous faire confiance ───────────────────────────── */

#homeTrust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 24px;
  align-items: center;
}

#homeTrustImg {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
}

#homeTrustLabel {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}

#homeTrustSignature {
  font-family: 'Holiday', cursive;
  font-size: 3.2rem;
  color: var(--navy);
  margin-top: 12px;
}

@media (max-width: 860px) {
  #homeTrust {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #homeTrustImg {
    aspect-ratio: 16 / 10;
  }
}

/* ── Cartes chiffres — flip ──────────────────────────────────── */

#homeStats {
  max-width: 1280px;
  margin: 56px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.statCard {
  perspective: 1200px;
  aspect-ratio: 1 / 0.85;
  font-family: 'Poppins', sans-serif;
  border-radius: 10px;
}

.statCard:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.statCard__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.4, .2, .2, 1);
  transform-style: preserve-3d;
}

.statCard:hover .statCard__inner,
.statCard[data-flipped="true"] .statCard__inner,
.statCard:focus-within .statCard__inner {
  transform: rotateY(180deg);
}

.statCard__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;
  cursor: pointer;
}

.statCard__face--front {
  background: var(--navy);
  color: var(--white);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.statCard__face--back {
  background: var(--gold);
  color: var(--navy);
  transform: rotateY(180deg);
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.statCard__num {
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.statCard__label {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 12ch;
  opacity: .85;
}

.statCard__backLabel {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  max-width: 10ch;
}

.statCard__backArrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 2rem;
}

@media (max-width: 860px) {
  #homeStats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  #homeStats {
    grid-template-columns: 1fr;
  }
}

/* ── CTA estimation ──────────────────────────────────────────── */

#homeEstimCta {
  text-align: center;
  max-width: 700px;
  margin: 64px auto 64px;
  padding: 0 24px;
}

#homeEstimCtaTitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--navy);
  margin: 0 0 24px;
}

#homeEstimCtaBtns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btnPrimary,
.btnGold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s;
}

.btnPrimary {
  background: var(--navy);
  color: var(--white);
}

.btnPrimary:hover {
  background: var(--navy-dk);
}

.btnGold {
  background: var(--gold);
  color: var(--navy);
}

.btnGold:hover {
  background: var(--gold-2);
}

/* ── Nos Services — photo pleine largeur → 3/4 + bullets au survol ── */

#homeServices {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.homeService {
  position: relative;
  display: flex;
  height: 500px;
}

.homeService__photoWrap {
  position: relative;
  flex: 1 1 100%;
  overflow: hidden;
  transition: flex-basis .5s ease;
}

.homeService:hover .homeService__photoWrap {
  flex-basis: 75%;
}

.homeService__photoLink {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.homeService__photoImg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
}

.homeService:hover .homeService__photoImg::before {
  background: linear-gradient(to top, rgba(0, 0, 83, .78), rgba(0, 0, 83, .2) 55%);
}

.homeService__title {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 4rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--white);
  pointer-events: none;
}

.homeService__bullets {
  flex: 0 0 0%;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background: var(--white);
  padding: 0;
  box-sizing: border-box;
  opacity: 0;
  transition: flex-basis .5s ease, opacity .3s ease .1s, padding .5s ease;
}

.homeService:hover .homeService__bullets {
  flex-basis: 25%;
  width: auto;
  opacity: 1;
  padding: 32px;
  white-space: normal;
}

.homeService__bullets ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.homeService__bullets li {
  margin-bottom: 12px;
}

.homeService__bullets li:last-child {
  margin-bottom: 0;
}

.homeService__bullets li a {
  position: relative;
  display: block;
  padding-left: 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  text-decoration: none;
}

.homeService__bullets li a:hover {
  text-decoration: underline;
}

.homeService__bullets li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
}

.homeService__ctaLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background .15s;
}

.homeService__ctaLink:hover {
  background: var(--navy-dk);
  text-decoration: none;
}

@media (max-width: 860px) {
  .homeService {
    flex-direction: column;
    height: auto;
  }

  .homeService__photoWrap {
    flex-basis: auto !important;
    height: 220px;
  }

  .homeService__bullets {
    flex-basis: auto !important;
    width: auto !important;
    opacity: 1 !important;
    padding: 24px !important;
    white-space: normal !important;
  }
}

/* ── Contact ─────────────────────────────────────────────────── */

#homeContact {
  max-width: 1100px;
  margin: 64px auto;
  padding: 0 24px;
}

#homeContactIntro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

#homeContactTitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy);
  margin: 0 0 16px;
}

#homeContactSub {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

#homeContactGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

#homeContactNameRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#homeContactTelRow {
  display: flex;
  gap: 8px;
}

#homeContactTelPrefix {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--muted);
  background: #fcfbfa;
  border: 1px solid var(--border);
  border-radius: 6px;
}

#homeContactTelRow input {
  flex: 1;
}

.contactMap {
  min-height: 340px;
  border-radius: 10px;
  overflow: hidden;
}

.contactMap iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
}

#homeContactCoords {
  text-align: center;
  margin-top: 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 860px) {
  #homeContactGrid {
    grid-template-columns: 1fr;
  }

  #homeContactNameRow {
    grid-template-columns: 1fr;
  }
}

/* ── Photo de clôture ────────────────────────────────────────── */

#homeClosing,
#gestionClosing,
#estimationClosing {
  height: 480px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
  background-image: url('/assets/images/pages/footer-pages.jpg');
  background-size: cover;
  background-position: center;
}

#gestionClosing {
  background-image: url('/assets/images/pages/gestion-closing.jpg');
  background-size: cover;
  background-position: center;
}

#estimationClosing {
  background-image: url('/assets/images/pages/estim-close-2.jpg');
  background-size: cover;
  background-position: center;
}




/* ================================================================
   ACCORDÉON — générique, réutilisé sur plusieurs pages
   ================================================================ */

.accGroup {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accItem {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}

.accItem__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 20px;
  margin: 0;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s, color .2s;
}

.accItem.open .accItem__trigger {
  background: var(--navy);
  color: var(--white);
}

.accItem__chevron {
  flex-shrink: 0;
  width: 26px;
  /* était 18px */
  height: 26px;
  /* était 18px */
  transition: transform .25s ease;
  color: var(--navy);
  /* était var(--gold-2) */
}

.accItem.open .accItem__chevron {
  color: var(--white);
  transform: rotate(180deg);
}

.accItem__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.accItem.open .accItem__panel {
  max-height: 600px;
  background: var(--navy-tint);
}

.accItem__panelInner {
  padding: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.65;
  color: var(--text);
}

.accItem__panelInner ul {
  margin: 0;
  padding-left: 20px;
}

.accItem__panelInner li {
  margin-bottom: 6px;
}

/* ================================================================
   COMPOSANTS PARTAGÉS ENTRE PAGES ÉDITORIALES
   ================================================================ */

.pageSection {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.sectionLabel {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}

.sectionLabel--center {
  text-align: center;
}

.sectionTitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--navy);
  margin: 0 0 20px;
}

.sectionTitle--center {
  text-align: center;
}

.sectionText {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
}

/* ================================================================
   ESTIMER
   ================================================================ */

#estimerHero {
  display: flex;
  flex-direction: column;
}

#estimerHeroImgWrap {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
}

#estimerHeroImg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/images/pages/header-estim-4.jpg');
  background-size: cover;
  background-position: center;
}

#estimerHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 40, .7), rgba(20, 20, 40, 0) 55%);
}

#estimerHeroTitle {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  color: var(--white);
  margin: 0 auto;
  padding: 32px;
  max-width: 900px;
}

#estimerHeroBelow {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 8px;
  width: 100%;
  box-sizing: border-box;
}

#estimerHeroSub {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 16px;
}

#estimerHeroText {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 640px;
}

#estimerHeroBtns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  #estimerHeroImgWrap {
    height: 300px;
  }

  #estimerHeroTitle {
    font-size: 2.4rem;
    padding: 24px;
  }
}

#estimerTrust {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

#estimerTrustImg {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  position: sticky;
  top: 100px;
  background-image: url('/assets/images/pages/estim-skyview.jpg');
  background-size: cover;
  background-position: center;
}

@media (max-width: 860px) {
  #estimerTrust {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #estimerTrustImg {
    aspect-ratio: 16 / 10;
    position: static;
  }
}

#estimerOptionsGrid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.optionCard {
  background: var(--navy-tint);
  border-radius: 10px;
  padding: 32px 36px;
  scroll-margin-top: 120px;
}

.optionCard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.optionCard__eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.optionCard__badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--navy);
}

.optionCard__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.optionCard__text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 16px;
  max-width: 720px;
}

.optionCard__list {
  list-style: disc;
  margin: 0 0 24px;
  padding-left: 20px;
}

.optionCard__list li {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 6px;
}

.optionCard__note {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--muted);
  margin: 12px 0 0;
}

#estimerProcess {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

#estimerProcessImg {
  aspect-ratio: 1/1;
  border-radius: 10px;
  inset: 0;
  background: url(../images/pages/estim-8.jpg) no-repeat center center;
  background-size: cover;
}

@media (max-width: 860px) {
  #estimerProcess {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #estimerProcessImg {
    aspect-ratio: 16 / 10;
  }
}

#estimerProcess .accGroup {
  max-width: 760px;
}

#estimerPromise {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

#estimerPromiseList {
  list-style: none;
  margin: 0;
  padding: 0;
}

#estimerPromiseList li {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 14px;
}

#estimerPromiseList strong {
  color: var(--navy);
}

#estimerPromiseImg {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: url(../images/pages/estim-avis.jpeg) no-repeat center center;
  background-size: cover;
}

@media (max-width: 860px) {
  #estimerPromise {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #estimerPromiseImg {
    aspect-ratio: 16 / 10;
  }
}

#estimerClosingCta {
  background: var(--navy-tint);
  padding: 56px 24px;
}

#estimerClosingCtaInner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

#estimerClosingCtaTitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--navy);
  margin: 0 0 24px;
}

#estimerClosingCtaBtns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

#estimerClosingCtaMicro {
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--muted);
}

/* ================================================================
   COMPOSANTS PARTAGÉS — SUITE (bande CTA de clôture, teinte de section)
   ================================================================ */

.pageSectionTinted {
  background: var(--navy-tint);
  padding: 64px 0;
}

.pageSectionInner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.closingCta {
  background: var(--navy-tint);
  padding: 56px 24px;
}

.closingCta--dark {
  background: var(--navy);
}

.closingCta--dark .closingCta__title {
  color: var(--white);
}

.closingCta--dark .closingCta__note,
.closingCta--dark .closingCta__micro {
  color: rgba(255, 255, 255, .75);
}

.btnWhite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  background: var(--white);
  color: var(--navy);
  transition: background .15s;
}

.btnWhite:hover {
  background: var(--navy-tint);
}

.closingCta__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.closingCta__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--navy);
  margin: 0 0 16px;
  scroll-margin-top: 120px;
}

.closingCta__note {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.closingCta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.closingCta__micro {
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--muted);
}

/* ================================================================
   GESTION LOCATIVE
   ================================================================ */

#gestionHero {
  display: flex;
  flex-direction: column;
}

#gestionHeroImgWrap {
  position: relative;
  height: 460px;
  display: flex;
  align-items: flex-end;
}

#gestionHeroImg {
  position: absolute;
  inset: 0;
  background: url(../images/pages/header-gestion-2.jpg) no-repeat center center;
  background-size: cover;
}

#gestionHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, .7), rgba(20, 20, 22, 0) 55%);
}

#gestionHeroTitle {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 4rem;
  color: var(--white);
  margin: 0 auto;
  padding: 32px;
  max-width: 10000px;
  text-align: center;
}

#gestionHeroBelow {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

#gestionHeroSub {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 28px;
}

#gestionHeroStats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.statBox {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 28px 32px;
  width: 280px;
  min-height: 200px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.statBox__num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.1;
}

.statBox__label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  opacity: .85;
  margin-top: 4px;
}

#gestionHeroCta {
  margin-bottom: 14px;
}

#gestionHeroNote {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--muted);
}

#gestionCompareGrid,
.compareGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}

.compareCard {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 30px;
}

.compareCard__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  /* était 1.8rem */
  color: var(--navy);
  text-align: center;
  /* nouveau */
  margin: 0 0 18px;
}

.compareCard__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compareCard__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  line-height: 2.5;
  color: var(--text);
  margin-bottom: 12px;
}

.compareCard__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 6px;
}

.compareCard__note {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--text);
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {

  #gestionCompareGrid,
  .compareGrid {
    grid-template-columns: 1fr;
  }
}

.sectionText--underline {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 32px;
}

#gestionSavoirFaireList,
.savoirFaireList {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 820px;
}

.savoirFaireItem__label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-2);
  margin-bottom: 3px;
}

.savoirFaireItem__body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.photoAccordionRow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.photoAccordionRow--reverse {
  grid-template-columns: 1.2fr 0.8fr;
}

.photoAccordionRow--reverse .photoAccordionRow__content #photoWarranties__img {
  order: 1;
}

.photoAccordionRow--reverse #photoSteps__img {
  order: 2;
}

#photoSteps__img,
#photoWarranties__img {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  position: sticky;
  top: 100px;
}

#photoSteps__img {
  background: url(../images/pages/gestion-2.jpg) no-repeat center center;
  background-size: cover;
}

#photoWarranties__img {
  background: url(../images/pages/gestion-6.jpg) no-repeat center center;
  background-size: cover;
}

@media (max-width: 860px) {

  .photoAccordionRow,
  .photoAccordionRow--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .photoAccordionRow--reverse .photoAccordionRow__content,
  .photoAccordionRow--reverse #photoSteps__img #photoWarranties__img {
    order: unset;
  }

  #photoSteps__img #photoWarranties__img {
    aspect-ratio: 16 / 10;
    position: static;
  }
}

/* ================================================================
   LOUER — hero + fusion grille/carte
   ================================================================ */

#louerHero {
  position: relative;
  height: 460px;
  display: flex;
  align-items: end;
  justify-content: center;
}

#louerHeroImg {
  position: absolute;
  inset: 0;
  background: url(../images/pages/header-annonces-6.jpg) no-repeat center center;
  background-size: cover;
}



#louerHeroTitle {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 4rem;
  color: var(--white);
  text-align: center;
  margin: 0 auto 3rem auto;
  padding: 0 24px;
}

#adsHead {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}

#adsIntro {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 24px;
}

.btn-liste-flottant {
  display: none;
}

@media (max-width: 900px) {
  #mapLayout {
    flex-direction: column;
    height: auto;
  }

  #mapList {
    width: 100%;
    height: auto;
    max-height: 70vh;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  #mapContainer {
    height: 60vh;
  }

  .btn-liste-flottant {
    display: block;
    position: sticky;
    bottom: 16px;
    margin: 0 auto;
    width: fit-content;
    background: var(--navy);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    padding: 10px 24px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 83, .3);
    z-index: 10;
  }
}

@media (max-width: 560px) {
  #mapList {
    grid-template-columns: 1fr;
  }
}

/* ── Filtres Louer — 5 dropdowns (coquille visuelle) ──────────── */

#louerFilters {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.louerFilter {
  position: relative;
}

.louerFilter__trigger {
  height: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}

.louerFilter__trigger svg {
  width: 14px;
  height: 14px;
  color: var(--gold-2);
}

.louerFilter__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-top: 12px;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 83, .12);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 5000;
}

.louerFilter__panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.louerFilter__placeholder {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--muted);
  font-style: italic;
}

.louerFilter__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}

.louerFilter__group .engineBox {
  white-space: nowrap;
}

@media (max-width: 700px) {
  #louerFilters {
    gap: 16px 20px;
  }
}

/* ================================================================
   FICHE BIEN
   ================================================================ */

#card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

/* ── Fil d'Ariane ────────────────────────────────────────────── */

#ficheBreadcrumb {
  margin-bottom: 16px;
}

#ficheBreadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

#ficheBreadcrumb a:hover {
  color: var(--navy);
}

#ficheBreadcrumb svg {
  width: 16px;
  height: 16px;
}

/* ── Titre + partager ────────────────────────────────────────── */

#ficheTopBar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

#ficheTitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy);
  margin: 0;
}

#ficheShareBtn {
  flex-shrink: 0;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

#ficheShareBtn:hover {
  background: var(--navy-tint);
}

#ficheShareBtn svg {
  width: 16px;
  height: 16px;
}

/* ── Galerie — façon Airbnb (1 grande + 4 vignettes) ───────────── */

#ficheGallery {
  margin-bottom: 32px;
}

#ficheGalleryGrid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
}

.ficheGalleryCell {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  background: var(--sand);
  overflow: hidden;
}

.ficheGalleryCell:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.ficheGalleryCell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.ficheGalleryCell:hover img {
  transform: scale(1.03);
}

.ficheGalleryMore {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.ficheGalleryMore svg {
  width: 16px;
  height: 16px;
}

.ficheGalleryGrid--empty {
  display: block;
  height: 420px;
}

.ficheGalleryGrid--empty .ficheGalleryCell {
  width: 100%;
  height: 100%;
  cursor: default;
}

.ficheGalleryEtat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  z-index: 2;
}

@media (max-width: 760px) {
  #ficheGalleryGrid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .ficheGalleryCell:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .ficheGalleryCell:not(:first-child) {
    display: none;
  }
}

/* ── Lightbox ────────────────────────────────────────────────── */

#ficheLightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 20, .94);
  display: none;
  align-items: center;
  justify-content: center;
}

#ficheLightbox.open {
  display: flex;
}

#ficheLightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
}

#lightboxClose {
  position: absolute;
  top: 20px;
  right: 24px;
  height: auto;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

#lightboxPrev,
#lightboxNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
}

#lightboxPrev {
  left: 20px;
}

#lightboxNext {
  right: 20px;
}

#lightboxPrev svg,
#lightboxNext svg {
  width: 22px;
  height: 22px;
}

#lightboxCounter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  margin: 0;
}

@media (max-width: 700px) {
  #ficheGalleryThumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Titre + prix ────────────────────────────────────────────── */

#ficheHead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 32px;
  margin-bottom: 32px;
}

#fichePriceBox {
  background: var(--navy-tint);
  border-radius: 8px;
  padding: 20px 24px;
}

#fichePriceMain {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 8px;
}

#fichePriceUnit {
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--muted);
}

.fichePriceLine {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
  margin: 0 0 4px;
}

#ficheCaracteristiques {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

.ficheCarac {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
}

.ficheCarac__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold-2);
}

/* ── Description ─────────────────────────────────────────────── */

#ficheDescSection {
  margin-bottom: 32px;
}

/* ── Mentions obligatoires + DPE/GES ─────────────────────────── */

#ficheMentionsSection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 40px;
}

.ficheMentions__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.ficheMentions__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.5;
}

.ficheMentions__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold-2);
}

.ficheDpe__label {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
}

.dpeLetters {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-bottom: 20px;
}

.dpeLetters__item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  border: 2px solid transparent;
}

.dpeLetters__item.active {
  border-color: var(--navy);
}

@media (max-width: 700px) {
  #ficheMentionsSection {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── Bouton contact flottant ─────────────────────────────────── */

#ficheStickyContact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 14px 22px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 83, .3);
  cursor: pointer;
  transition: background .15s, transform .15s;
}

#ficheStickyContact:hover {
  background: var(--navy-dk);
  transform: translateY(-2px);
}

#ficheStickyContact svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 700px) {
  #ficheStickyContact {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
  }
}

/* ── Photo de clôture ────────────────────────────────────────── */

#ficheClosing {
  height: 320px;
  margin-top: 8px;
}

/* ================================================================
   SYNDIC
   ================================================================ */

#syndicHero {
  display: flex;
  flex-direction: column;
}

#syndicHeroImgWrap {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
}

#syndicHeroImg {
  position: absolute;
  inset: 0;
  background: url(../images/pages/header-syndic-3.jpg) no-repeat center center;
  background-size: cover;
}

#syndicHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 40, .7), rgba(20, 20, 40, 0) 55%);
}

#syndicHeroTitle {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--white);
  margin: 0 auto;
  padding: 32px;
  max-width: 820px;
}

#syndicHeroBelow {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
}

#syndicHeroSub {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 28px;
}

#syndicHeroCtaRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

#syndicHeroPhone {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  text-decoration: none;
}

#syndicHeroPhone:hover {
  text-decoration: underline;
}

#syndicHeroNote {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 700px) {
  #syndicHeroImgWrap {
    height: 300px;
  }

  #syndicHeroTitle {
    font-size: 2.2rem;
    padding: 24px;
  }
}

/* ── Charte ──────────────────────────────────────────────────── */

#syndicCharteList {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 820px;
}

#syndicCharteList li {
  position: relative;
  padding-left: 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}

#syndicCharteList li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
}

/* ── Encart déductibilité ────────────────────────────────────── */

#syndicDeductibilite {
  background: var(--navy-tint);
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 20px;
}

#syndicDeductibilite p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

#syndicDeductibilite strong {
  color: var(--navy);
}

/* ── Chiffres clés Syndic ────────────────────────────────────── */

#syndicStats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px 24px;
}

/* ── Panneau audit — révélé au clic ──────────────────────────── */

#syndicAuditPanel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  margin-top: 0;
}

#syndicAuditPanel.open {
  max-height: 1200px;
  margin-top: 32px;
}

/* ================================================================
   L'AGENCE
   (nouveau — reprend les patterns Estimer/Syndic pour cohérence)
   ================================================================ */

#agenceHero {
  display: flex;
  flex-direction: column;
}

#agenceHeroImgWrap {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
}

#agenceHeroImg {
  position: absolute;
  inset: 0;
}

#agenceHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 83, .7), rgba(0, 0, 83, 0) 55%);
}

#agenceHeroTitle {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--white);
  margin: 0;
  padding: 32px;
  max-width: 820px;
}

#agenceHeroBelow {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
}

#agenceHeroSub {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 28px;
}

#agenceHeroCtaRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  #agenceHeroImgWrap {
    height: 300px;
  }

  #agenceHeroTitle {
    font-size: 2.2rem;
    padding: 24px;
  }
}

/* ── Notre histoire — intro 2 colonnes puis prose pleine largeur ── */

#agenceHistoire .pageSectionInner {
  max-width: 1280px;
}

#agenceHistoireIntro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 8px;
}

#agenceHistoireIntro .imgPlaceholder {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
}

#agenceHistoireRest {
  max-width: 900px;
  margin-top: 8px;
}

#agenceHistoireRest .sectionText {
  margin-bottom: 20px;
}

#agenceHistoireRest a,
#agenceHistoireIntro a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  #agenceHistoireIntro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #agenceHistoireIntro .imgPlaceholder {
    aspect-ratio: 16 / 10;
  }
}

/* ── Notre manifeste — citation centrée sur fond teinté ── */

#agenceManifeste .pageSectionInner {
  max-width: 780px;
  text-align: center;
}

#agenceManifesteText {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1.55;
  color: var(--navy);
}

#agenceManifesteText p {
  margin: 0 0 28px;
}

#agenceManifesteSignature {
  display: block;
  text-align: right;
  font-size: 3rem;
  color: var(--gold);
  margin-top: 12px;
}

@media (max-width: 700px) {
  #agenceManifesteText {
    font-size: 1.5rem;
  }
}

/* ── Nos valeurs — empilées, une par ligne ── */

#agenceValeursList {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 900px;
}

.valeurItem__title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.valeurItem__title span {
  color: var(--gold-2);
}

.valeurItem__body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* ── Équipe Gestion & Syndic — bandeau navy pleine largeur ── */

#equipe {
  padding: 3rem;
  background: var(--navy);
  color: var(--white);
}

#agenceEquipe {
  background: var(--navy);
  padding: 64px 24px;
}

#agenceEquipeH2 {
  color: var(--white);
}

#agenceEquipe .pageSectionInner {
  max-width: 1100px;
  text-align: center;
}

#agenceEquipe .sectionLabel,
#agenceEquipe .sectionTitle {
  text-align: center;
}

#agenceEquipe .sectionTitle {
  color: var(--white);
}

#agenceEquipeIntro {
  max-width: 820px;
  margin: 0 auto 48px;
}

#agenceEquipeIntro p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 18px;
  text-align: left;
}

#agenceEquipeGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.teamCard__photo {
  aspect-ratio: 1 / 1.05;
  border-radius: 10px;
  margin-bottom: 20px;
}

.teamCard__name {
  display: block;
  font-size: 3.4rem;
  color: var(--gold);
  margin-bottom: 4px;
  line-height: 1;
}

.teamCard__role {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 0 14px;
}

.teamCard__role a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.teamCard__quote {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

#agencePoles {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 32px;
}

#agencePoles .sectionLabel {
  color: var(--gold-2);
}

#agencePolesList {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0;
}

@media (max-width: 700px) {
  #agenceEquipeGrid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Équipe Transactions — Colin Immobilier ── */

#agenceTransactions {
  text-align: center;
}

#agenceTransactions .pageSectionInner {
  max-width: 900px;
}

#agenceTransactionsLogo {
  display: block;
  font-size: 5rem;
  line-height: .9;
  color: var(--gold);
  margin-bottom: 4px;
}

#agenceTransactionsLogoSub {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: .12em;
  color: var(--gold-2);
  margin-bottom: 24px;
}

#agenceTransactions .sectionTitle {
  text-align: center;
}

#agenceTransactionsText {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text);
  text-align: left;
  margin: 0 0 40px;
}

#agenceTransactionsText a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#agenceTransactionsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.transTeam__photo {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  margin-bottom: 16px;
}

.transTeam__name {
  display: block;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}

#agenceTransactionsCtas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  #agenceTransactionsGrid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ================================================================
   CONTACT
   (nouveau — brouillon, hors dépôt)
   ================================================================ */

#contactHero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
}

#contactHeroImg {
  position: absolute;
  inset: 0;
}

#contactHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 83, .7), rgba(0, 0, 83, 0) 55%);
}

#contactHeroTitle2 {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--white);
  margin: 0;
  padding: 32px;
  max-width: 900px;
}

@media (max-width: 700px) {
  #contactHero {
    height: 300px;
  }

  #contactHeroTitle2 {
    font-size: 2.2rem;
    padding: 24px;
  }
}

/* ── Icônes ligne génériques (gold) ─────────────────────────── */

.lineIcon {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Section 1 — cartes d'orientation ───────────────────────── */

#contactOrientList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.orientCard {
  background: var(--navy-tint);
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.orientCard__icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
}

.orientCard__body {
  flex: 1 1 auto;
}

.orientCard__title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 4px;
}

.orientCard__text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.orientCard__text a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.orientCard__btn {
  flex: 0 0 auto;
  width: 260px;
}

.orientCard__btn .btnPrimary {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

@media (max-width: 780px) {
  .orientCard {
    flex-wrap: wrap;
    padding: 24px;
  }

  .orientCard__btn {
    width: 100%;
  }

  .orientCard__btn .btnPrimary {
    width: 100%;
    justify-content: center;
  }
}

/* ── Section 2 — formulaire ──────────────────────────────────── */

#contactFormSection .pageSectionInner {
  max-width: 760px;
  text-align: center;
}

#contactFormSub {
  max-width: 640px;
  margin: 0 auto 40px;
}

#contactForm {
  text-align: left;
}

.formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.formField {
  margin-bottom: 20px;
}

.formField label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.formField input[type="text"],
.formField input[type="email"],
.formField input[type="tel"],
.formField select,
.formField textarea {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
  padding: 13px 16px;
  border: 1.5px solid #d9deea;
  border-radius: 8px;
  background: var(--white);
  transition: border-color .15s;
}

.formField input:focus,
.formField select:focus,
.formField textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.formField textarea {
  resize: vertical;
  min-height: 120px;
}

.formField select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2300005A' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.formHint {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.5;
  margin: -8px 0 24px;
}

/* Sélecteur pays (iti — intl-tel-input) */
.iti {
  width: 100%;
}

.iti input[type="tel"] {
  width: 100%;
}

#contactFormSubmit {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
}

/* ── Section 3 — coordonnées directes ────────────────────────── */

#contactDirectGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  text-align: left;
  max-width: 1080px;
  margin: 0 auto;
}

.directBlock__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.directBlock__heading .lineIcon {
  stroke-width: 1.8;
}

.directBlock__iconWrap {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.directBlock__heading h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--navy);
  margin: 0;
}

.directBlock p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 16px;
}

.directBlock__phoneNumber {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.directBlock__emailGroup {
  margin-bottom: 20px;
}

.directBlock__emailGroup strong {
  display: block;
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.directBlock__emailGroup a {
  color: var(--text);
  text-decoration: none;
}

.directBlock__emailGroup a:hover {
  text-decoration: underline;
}

@media (max-width: 780px) {
  #contactDirectGrid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Section 5 — carte & accès ───────────────────────────────── */

#contactAcces .pageSectionInner {
  max-width: 1080px;
}

#contactAccesAddr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin: -8px 0 32px;
}

#contactAccesAddr .lineIcon {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
}

#contactAccesGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 56px;
  margin-bottom: 32px;
}

.accesItem__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.accesItem__iconWrap {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.accesItem__heading strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--navy);
}

.accesItem p,
.accesItem ul {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 0 34px;
  padding: 0;
}

.accesItem ul {
  list-style: disc;
  padding-left: 18px;
}

#contactMapWrap {
  border-radius: 10px;
  overflow: hidden;
  height: 380px;
}

#contactMapWrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 780px) {
  #contactAccesGrid {
    grid-template-columns: 1fr;
  }
}

/* ── Section 6 — espaces clients ─────────────────────────────── */

#contactEspacesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.espaceCard {
  background: var(--navy-tint);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.espaceCard__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.espaceCard__title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--navy);
  margin-bottom: 12px;
}

.espaceCard__text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 20px;
  flex: 1 1 auto;
}

.espaceCard .btnPrimary {
  width: 100%;
  justify-content: center;
}

@media (max-width: 780px) {
  #contactEspacesGrid {
    grid-template-columns: 1fr;
  }
}