* {
  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: 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: #fff;
  color: #383f4e;
}

:root {
  --white: #fff;
  --cream: #e0dab6;
  --yellow: #c2a95d;
  --burgundy: #ede6d5;
  --red: #6b1b24;
  --beige: #faf9f5;
  --fb: #fdfcf7;
  --f9: #f9f9f9;
}

.white {
  color: var(--white) !important;
}

.cream {
  color: var(--cream) !important;
}

.beige {
  color: var(--beige) !important;
}

.red {
  color: var(--red) !important;
}

.bkg-white {
  background: var(--white) !important;
}

.bkg-red {
  background: var(--red) !important;
}

.bkg-fb {
  background: var(--fb) !important;
}

.bkg-f9 {
  background: var(--f9) !important;
}

.bkg-beige {
  background: var(--beige) !important;
}

.polar {
  background: rgba(0, 0, 0, 0.5);
}

img {
  height: auto;
  vertical-align: middle;
  border: none;
}

a {
  text-decoration: none !important;
  color: var(--blue);
}

a:hover {
  text-decoration: none !important;
}

a:link,
a:visited,
a:hover,
a:active {
  outline: none;
}

a img {
  border: none;
}

ul {
  padding-left: 10px;
}

li {
  list-style: none;
}

ul.disc li {
  list-style-type: disc;
  margin-bottom: 6px;
}

.block {
  display: block;
}

.inbl {
  display: inline-block;
  vertical-align: top;
}

.inline {
  display: inline;
}

.none {
  display: none !important;
}

.rel {
  position: relative;
}

.abs {
  position: absolute;
}

strong {
  font-weight: 500;
}

.center {
  margin: auto;
}

.mLa {
  margin-left: auto;
}

.mRa {
  margin-right: auto;
}

.pointer:hover {
  cursor: pointer;
}

.link:hover {
  cursor: pointer;
  text-decoration: underline !important;
}

.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;
}

.w100 {
  width: 100%;
}

.h100 {
  height: 100%;
}

.narrow {
  position: relative;
  z-index: 100;
}

.ma0 {
  margin: 0;
}

.pa0 {
  padding: 0;
}

.ma1 {
  margin: 10px;
}

.ma2 {
  margin: 20px;
}

.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;
}

.mr1 {
  margin-right: 10px;
}

.mr2 {
  margin-right: 20px;
}

.mr3 {
  margin-right: 30px;
}

.mb0 {
  margin-bottom: 0 !important;
}

.mb1 {
  margin-bottom: 10px;
}

.mb2 {
  margin-bottom: 20px;
}

.mb3 {
  margin-bottom: 30px;
}

.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;
}

.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;
}

.pl1 {
  padding-left: 10px;
}

.pl2 {
  padding-left: 20px;
}

.pl3 {
  padding-left: 30px;
}

.tC {
  text-align: center;
}

.just {
  text-align: justify;
}

.under {
  text-decoration: underline !important;
}

.fw3 {
  font-weight: 300;
}

.fw4 {
  font-weight: 400;
}

.fw5 {
  font-weight: 500;
}

.fw6 {
  font-weight: 600;
}

.fw7 {
  font-weight: 700;
}

.ital {
  font-style: italic;
}

.fs12 {
  font-size: 1.2rem;
}

.fs13 {
  font-size: 1.3rem !important;
}

.fs14,
sup {
  font-size: 1.4rem !important;
}

.fs16 {
  font-size: 1.6rem;
}

.fs18 {
  font-size: 1.8rem;
}

.fs2 {
  font-size: 2rem;
}

.fs25 {
  font-size: 2.5rem;
}

.fs3 {
  font-size: 3rem;
}

.fs4 {
  font-size: 4rem;
}

.ico18 {
  width: 18px;
  height: 18px;
}

.ico24 {
  width: 24px;
  height: 24px;
}

.ico48 {
  width: 48px;
  height: 48px;
}

.shadow1 {
  box-shadow: 0 5px 5px 0 #d3e1e9;
}

.shadow2 {
  box-shadow: 0 4px 6px 0 rgba(0, 20, 20, 0.1);
}


input[type="text"],
input[type="email"],
input[type="tel"] {
  height: 3rem;
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border: 1px solid rgb(188, 190, 191);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
}

input[type="tel"] {
  width: 200px;
}

textarea {
  padding: 1rem;
  min-height: 160px;
  border: 1px solid rgb(188, 190, 191);
}

form button {
  display: block;
  margin: 2rem auto 1rem auto;
  width: 140px;
  height: 35px;
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */

#siteHeader {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

#headerInner {
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  position: relative;
}

/* ── Logo ────────────────────────────────────────────────────── */

#siteLogo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  z-index: 1;
}

#siteLogo img {
  height: 64px;
  width: auto;
  display: block;
}

/* ── Nav principale — centrée absolument ─────────────────────── */

nav[aria-label="Navigation principale"] {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#mainNav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainNav li a {
  display: block;
  padding: 8px 14px;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: #444;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

#mainNav li a:hover {
  color: #6b1b24;
  border-bottom-color: #6b1b24;
}

#mainNav li a[aria-current="page"] {
  color: #6b1b24;
  font-weight: 600;
  border-bottom-color: #6b1b24;
}

/* ── Actions droite ──────────────────────────────────────────── */

#headerActions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  z-index: 1;
}

#monEspace {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #444;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s;
}

#monEspace:hover {
  color: #6b1b24;
}

#monEspace svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── 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: #1a1a2e;
  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 ─────────────────────────────────────────────── */

/* Tablette : nav masquée, hamburger visible, logo gauche, actions droite */
@media (max-width: 1100px) {
  nav[aria-label="Navigation principale"] {
    display: none;
  }

  #hamburger {
    display: flex;
  }
}

/* Mobile < 768px : logo centré, icône seule, hamburger à droite */
@media (max-width: 768px) {
  #headerInner {
    height: 68px;
    padding: 0 16px;
    justify-content: space-between;
  }

  /* Logo centré via position absolute */
  #siteLogo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  #siteLogo img {
    height: 52px;
  }

  /* Actions à droite — icône seule pour espace clients */
  #headerActions {
    margin-left: 0;
  }

  #monEspace span {
    display: none;
  }

  #monEspace svg {
    width: 24px;
    height: 24px;
  }

  /* Spacer gauche pour équilibrer visuellement */
  #headerInner::before {
    content: '';
    width: 40px;
    /* même largeur que le hamburger */
    flex-shrink: 0;
  }
}

@media (max-width: 380px) {
  #siteLogo img {
    height: 44px;
  }

  #headerInner {
    padding: 0 12px;
  }
}

/* ── 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: #fff;
  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: #1a1a2e;
  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: #1a1a2e;
  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 #6b1b24;
  padding-left: 12px;
  color: #6b1b24;
}

@media (max-width: 380px) {
  #mobilePanel {
    width: 100%;
  }
}

/* ================================================================
   CONTENT  GENERAL
   ================================================================ */

main {
  min-height: calc(100vh - 200px);
}

h1,
h2 {
  font-family: "Jost", sans-serif;
}

h1 {
  margin-top: 0;
  font-weight: 300;
  text-align: center;
}

h2 {
  font-weight: 500;
}

.badgeDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ================================================================
   BANDEAU COOKIES RGPD
   ================================================================ */

#cookieBanner {
  display: none;
  /* affiché par JS si pas de choix mémorisé */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1a1a2e;
  color: #fff;
  padding: 16px 32px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, .2);
}

#cookieText {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
}

#cookieText a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#cookieActions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

#cookieRefuse,
#cookieAccept {
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity .15s;
}

#cookieRefuse {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
}

#cookieAccept {
  background: #fff;
  border: 1.5px solid #fff;
  color: #1a1a2e;
}

#cookieRefuse:hover,
#cookieAccept:hover {
  opacity: .8;
}

@media (max-width: 600px) {
  #cookieBanner {
    padding: 16px 20px;
  }

  #cookieActions {
    width: 100%;
    justify-content: flex-end;
  }
}

/*================================================================
PAGE D'ACCUEIL
================================================================*/
#homePage {
  --h-red: #6b1b24;
  --h-gold: #c2a95d;
  --h-cream: #e0dab6;
  --h-sand: #faf9f5;
  --h-fb: #fdfcf7;
  --h-border: #e2ddd6;
  --h-text: #383f4e;
  --h-muted: #666;
  --h-white: #fff;
}

/* ── Hero triptyque ──────────────────────────────────────────── */

#homeHero {
  margin: 32px auto 0 auto;
}

.tryptique {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 90%;
  max-height: 70vh;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.tryptique img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* Tablette — 2 colonnes */
@media (max-width: 1024px) and (min-width: 601px) {
  .tryptique {
    grid-template-columns: repeat(2, 1fr);
    max-height: none;
  }

  .tryptique img:nth-child(3) {
    display: none;
  }

  .tryptique img {
    aspect-ratio: 4/3;
    height: auto;
  }
}

/* Mobile — 1 colonne */
@media (max-width: 600px) {
  .tryptique {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0 16px;
    max-height: none;
  }

  .tryptique img:nth-child(2),
  .tryptique img:nth-child(3) {
    display: none;
  }

  .tryptique img {
    aspect-ratio: 16/9;
    height: auto;
  }
}

/* ── Accroche + Moteur de recherche ──────────────────────────── */

#homeSearch {
  background: var(--h-white);
  padding: 36px 24px 32px;
  border-bottom: 1px solid var(--h-border);
}

#homeSearchWrap {
  max-width: 680px;
  margin: 0 auto;
}

#homeAccroche {
  text-align: center;
  margin-bottom: 6rem;
}

#homeHeroTagline {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--h-gold);
  margin: 0 0 8px;
}

#homeHeroTitle {
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  font-weight: 300;
  color: var(--h-red);
  line-height: 1.15;
  margin: 0 0 10px;
}

#homeHeroSub {
  font-size: 1.5rem;
  color: var(--h-muted);
  letter-spacing: .04em;
  margin: 0;
}

#homeSearchTabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.homeSearchTab {
  padding: 8px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  border: 1.5px solid var(--h-border);
  border-radius: 99px;
  background: transparent;
  color: var(--h-muted);
  cursor: pointer;
  transition: all .15s;
}

.homeSearchTab.active,
.homeSearchTab:hover {
  background: var(--h-red);
  border-color: var(--h-red);
  color: var(--h-white);
}

#homeSearchBar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--h-fb);
  border: 1.5px solid var(--h-border);
  border-radius: 8px;
  padding: 14px 16px 14px 20px;
}

#homeSearchTypes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
}

.homeSearchType {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.4rem;
  color: var(--h-text);
  cursor: pointer;
  user-select: none;
}

.homeSearchType input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--h-red);
  cursor: pointer;
}

#homeSearchBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--h-red);
  color: var(--h-white);
  border: none;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}

#homeSearchBtn:hover {
  background: #55151c;
}

#homeSearchBtn svg {
  width: 11px;
  height: 11px;
}

/* ── Bandeaux services ───────────────────────────────────────── */

.homeBandeau {
  padding: 0;
  overflow: hidden;
}

.homeBandeau:nth-of-type(odd) {
  background: var(--h-fb);
}

.homeBandeau:nth-of-type(even) {
  background: var(--h-sand);
}

.homeBandeau__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

/* Inversé : photo à gauche */
/* Inversé : photo à gauche via order */
.homeBandeau--inverse .homeBandeau__photo {
  order: -1;
}

.homeBandeau__texte {
  padding: 72px 56px 72px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.homeBandeau--inverse .homeBandeau__texte {
  padding: 72px 48px 72px 56px;
}

.homeBandeau__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--h-gold);
  margin-bottom: 14px;
}

.homeBandeau__label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b1b24;
  flex-shrink: 0;
}

.homeBandeau__title {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  font-weight: 300;
  color: var(--h-red);
  line-height: 1.2;
  margin: 0 0 20px;
}

.homeBandeau__desc {
  font-size: 1.6rem;
  color: var(--h-muted);
  line-height: 1.72;
  margin: 0 0 24px;
  max-width: 480px;
}

.homeBandeau__liste {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.homeBandeau__liste li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.4rem;
  color: var(--h-text);
  padding: 6px 0;
  border-bottom: 1px solid var(--h-border);
}

.homeBandeau__liste li:last-child {
  border-bottom: none;
}

.homeBandeau__liste li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--h-gold);
  margin-top: 9px;
}

.homeBandeau__lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--h-red);
  border-bottom: 1.5px solid var(--h-gold);
  padding-bottom: 2px;
  width: fit-content;
  transition: gap .2s, color .15s;
}

.homeBandeau__lien:hover {
  gap: 13px;
  color: var(--h-gold);
}

.homeBandeau__lien svg {
  width: 12px;
  height: 12px;
}

.homeBandeau__photo {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.homeBandeau__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s ease;
}

.homeBandeau__photo:hover img {
  transform: scale(1.03);
}

@media (max-width: 860px) {

  .homeBandeau__inner,
  .homeBandeau--inverse .homeBandeau__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .homeBandeau--inverse .homeBandeau__photo {
    order: 0;
  }

  .homeBandeau__photo {
    height: 280px;
  }

  .homeBandeau__texte,
  .homeBandeau--inverse .homeBandeau__texte {
    padding: 40px 20px;
  }
}

/* ── Présentation agence ─────────────────────────────────────── */

#homeAgence {
  background: var(--h-white);
  padding: 88px 24px;
  border-top: 1px solid var(--h-border);
}

#homeAgenceWrap {
  max-width: 1100px;
  margin: 0 auto;
}

#homeAgenceContent {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 72px;
  align-items: start;
}

@media (max-width: 860px) {
  #homeAgenceContent {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

#homeAgenceLabel {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--h-gold);
  margin-bottom: 14px;
}

#homeAgenceTitle {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 300;
  color: var(--h-red);
  line-height: 1.22;
  margin: 0 0 28px;
}

#homeAgenceTitle em {
  font-style: normal;
  color: var(--h-gold);
}

#homeAgenceProse p {
  font-size: 1.6rem;
  color: var(--h-muted);
  line-height: 1.78;
  margin: 0 0 16px;
}

#homeAgenceProse p:last-child {
  margin-bottom: 0;
}

#homeAgenceCta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--h-red);
  border-bottom: 1.5px solid var(--h-gold);
  padding-bottom: 2px;
  transition: gap .2s, color .15s;
}

#homeAgenceCta:hover {
  gap: 12px;
  color: var(--h-gold);
}

#homeAgenceCta svg {
  width: 12px;
  height: 12px;
}

/* Chiffres clés */
#homeAgenceChiffres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: sticky;
  top: 80px;
  background: var(--h-fb);
  border: 1px solid var(--h-border);
  border-radius: 12px;
  overflow: hidden;
}

.homeChiffre {
  padding: 28px 24px;
  border-bottom: 1px solid var(--h-border);
  border-right: 1px solid var(--h-border);
}

.homeChiffre:nth-child(even) {
  border-right: none;
}

.homeChiffre:nth-child(3),
.homeChiffre:nth-child(4) {
  border-bottom: none;
}

.homeChiffre__num {
  font-size: 3.6rem;
  font-weight: 300;
  color: var(--h-red);
  line-height: 1;
}

.homeChiffre__unite {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--h-gold);
  margin-bottom: 6px;
}

.homeChiffre__label {
  font-size: 1.3rem;
  color: var(--h-muted);
  line-height: 1.5;
}

/* ================================================================
   PAGES ANNONCES
   ================================================================ */

#adsHead {
  margin-top: 28px;
  ;
  text-align: center;
}

#annoncesTitle {
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  font-weight: 300;
  color: var(--h-red);
  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 {
  --c-primary: #6b1b24;
  --c-primary-20: rgba(107, 27, 36, 0.20);
  --c-primary-10: rgba(107, 27, 36, 0.10);
  --t-base: 0.4s;
  --t-fast: 0.2s;
  --e-in: ease-in;
  --e-out: cubic-bezier(.11, .29, .18, .98);
  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: #fff;
  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 #ddd;
  border-radius: 6px;
  background: #fff;
  color: #fff;
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
  background: #6b1b23;
  border-color: #e9e5dc;
}

.btnAlerte svg {
  width: 15px;
  height: 15px;
}

.btnAlerte:hover {
  background: #9b9e8f;
  color: #fff;
}

/* 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: #e2ddd6;
  outline: none;
  width: 180px;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #6b1b24;
  border: 2px solid #fff;
  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: #6b1b24;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  cursor: pointer;
}

.range::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: #e2ddd6;
}

#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: #fff;
  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: #fff;
  color: #1a1a2e;
  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: #1a1a2e;
  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: #c2a95d;
}

.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: 460px;
  flex-shrink: 0;
  overflow-y: auto;
  border-right: 1px solid #e8e8e8;
  box-sizing: border-box;
  height: 100%;
  padding: 0 4rem;
  background: #fff;
}

#mapContainer {
  flex: 1;
  height: calc(80vh - 24px);
}

/* Card liste — format vertical */

.mapCard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  margin-bottom: 2rem;
  border-bottom: 2px solid #ede9e3;
  transition: background .15s;
  position: relative;
}

.mapCard::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background .15s;
  z-index: 1;
}

.mapCard:hover,
.mapCard.highlighted {
  background: #faf8f5;
}

/*
.mapCard:hover::before,
.mapCard.highlighted::before {
  background: #c2a95d;
}*/

.mapCard-photo {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #ede9e3;
  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: #6b1b24;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

.mapCard-etiquette--sold {
  background: #383f4e;
}

.mapCard-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mapCard-prix {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #6b1b24;
  letter-spacing: -.01em;
}

.mapCard-titre {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #383f4e;
}

.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: #c2a95d;
}

.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: #c2a95d;
}

.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: #1a1a2e;
  color: #fff;
  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: #fff;
  color: #1a1a2e;
  border: 1.5px solid #1a1a2e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.price-marker.active {
  background: #1a1a2e;
  color: #fff;
  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: #fff;
}

.popup-type {
  margin: 0 0 2px !important;
  font-size: 1.3rem;
  font-weight: 600;
  color: #383f4e;
  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: #6b1b24;
  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: #fff;
}

.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: #1a1a2e;
}

#breadcrumb li[aria-current="page"] {
  color: #1a1a2e;
  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: #1a1a2e;
  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: #1a1a2e;
  color: #fff;
  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: #1a1a2e;
  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: #fff;
}

/* 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: #fff;
  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: #fff;
}

.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: #1a1a2e;
}

.ficheTab.active {
  color: #1a1a2e;
  border-bottom-color: #1a1a2e;
}

.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: #1a1a2e;
  white-space: nowrap;
}

.ficheRow--bold {
  font-weight: 600;
  color: #1a1a2e;
}

.ficheRow--sub {
  padding-left: 24px;
  color: #666;
}

.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: #1a1a2e;
  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 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: #fff;
}

.ficheDpeLetter--B {
  background: #92d050;
  color: #fff;
}

.ficheDpeLetter--C {
  background: #ffff00;
  color: #333;
}

.ficheDpeLetter--D {
  background: #ffc000;
  color: #fff;
}

.ficheDpeLetter--E {
  background: #ff8000;
  color: #fff;
}

.ficheDpeLetter--F {
  background: #ff0000;
  color: #fff;
}

.ficheDpeLetter--G {
  background: #c00000;
  color: #fff;
}

.ficheDpeDetail {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  background: none;
  border: 1.5px solid #1a1a2e;
  color: #1a1a2e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border-radius: 3px;
  transition: background .15s, color .15s;
}

.ficheDpeDetail:hover {
  background: #1a1a2e;
  color: #fff;
}

.ficheDpeNote {
  font-size: 13px;
  color: #666;
  margin: 8px 0 0;
}

/* Panneau DPE */
.dpePanelIntro {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 20px 0 12px;
}

.dpePanelNote {
  font-size: 13px;
  color: #666;
  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: #1a1a2e;
}

.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: #fff;
  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: #6b1b24;
  letter-spacing: .01em;
  text-transform: none;
  font-family: 'Jost', sans-serif;
}

.panelClose {
  background: none;
  border: none;
  font-size: 18px;
  color: #aaa;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .15s;
}

.panelClose:hover {
  color: #6b1b24;
}

/* ================================================================
   PANNEAU CONTACT FICHE BIEN
   ================================================================ */

.btnContact {
  margin: auto;
  padding: 12px 28px;
  background: #1a1a2e;
  color: #fff;
  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: #383f4e;
  margin-bottom: 6px;
}

.contactField input,
.contactField textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 1.5rem;
  font-family: 'Jost', sans-serif;
  border: 1px solid #e2ddd6;
  border-radius: 6px;
  box-sizing: border-box;
  background: #fcfbfa;
  transition: border-color .15s;
}

.contactField input:focus,
.contactField textarea:focus {
  outline: none;
  border-color: #6b1b24;
}

.contactField textarea {
  min-height: 110px;
  resize: vertical;
}

/* ── Bouton envoi ─────────────────────────────────────────────── */

#contactFicheSubmit,
#contactPageSubmit {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 13px;
  background: #6b1b24;
  color: #fff;
  border: none;
  font-family: 'Jost', 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 {
  background: #55151c;
}

#contactFicheSubmit:disabled,
#contactPageSubmit:disabled {
  opacity: .5;
  cursor: default;
}

#contactFicheConfirm {
  padding: 24px 0;
  text-align: center;
  font-size: 15px;
  color: #1a1a2e;
  line-height: 1.6;
}

.btnContactSticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 16px;
  background: #1a1a2e;
  color: #fff;
  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 ESTIMATION
================================================================*/



/* Zone titre — fond uni */
#estimTitleZone {
  text-align: center;
  padding: 28px 24px 32px;
}

#estimTitleZone h1 {
  font-size: 2.4rem;
  font-weight: 300;
  color: #6b1b24;
  line-height: 1.4;
  margin: 0;
}

#estimTitleZone h1 em {
  font-style: normal;
  font-size: 1.9rem;
  color: #c2a95d;
  display: block;
}

/* Bandeau image — après le titre, avant le formulaire
   Fichier : /assets/images/pages/estimation-banner.jpg
   Format : 1600×900 minimum */
#estimBanner {
  width: 100%;
  height: min(45vh, 45vw);
  background-image: url('/assets/images/pages/estimation-hero.jpg');
  background-size: cover;
  background-position: center;
}

/* Formulaire — remonte sur le bandeau via margin-top négatif */
#estimFormZone {
  display: flex;
  justify-content: center;
  padding: 0 24px 64px;
  margin-top: -300px;
}

#estimWrapper {
  width: 100%;
  max-width: 680px;
}

#estim {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .12);
  overflow: hidden;
}

/* Barre de progression */
#js-progressbar {
  display: block;
  width: 100%;
  height: 6px;
  margin-bottom: 24px;
  border: none;
  border-radius: 6px;
  background: #e8e8e8;
}

#js-progressbar::-webkit-progress-bar {
  background: #e8e8e8;
  border-radius: 6px;
}

#js-progressbar::-webkit-progress-value {
  background: #1a1a2e;
  border-radius: 6px;
}

#js-progressbar::-moz-progress-bar {
  background: #1a1a2e;
  border-radius: 6px;
}

/* Formulaire */
#formEstim {
  overflow: hidden;
}

/* Steps */
.step {
  display: none;
  padding: 32px 40px 80px;
  position: relative;
  min-height: 460px;
  background: #faf8f5;
}

.step.active {
  display: block;
}

.step h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 24px;
}

/* Choix radio avec image */
.estimChoix {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.estimChoix--3 {
  gap: 16px;
}

.estimChoix--4 {
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.radio-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

.radio-image img {
  width: 98px;
  height: 98px;
  padding: 20%;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  object-fit: contain;
  transition: border-color .2s;
}

.radio-image:hover img {
  border-color: #1a1a2e;
}

.radio-image.failed img {
  border-color: #c0392b;
  animation: estimShake .3s ease;
}

@keyframes estimShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

.radio-input {
  display: none;
}

.radio-input:checked+img {
  border: 2.5px solid #1a1a2e;
}

.radio-image p {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  color: #1a1a2e;
}

/* Adresse */
#address {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 12px;
}

#address.failed {
  border-color: #c0392b;
}

/* Carte */
#mapEstim {
  height: 240px;
  border-radius: 4px;
  margin-top: 8px;
}

/* Sliders */
#surfPi {
  display: flex;
  gap: 40px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.sliderGroup {
  flex: 1;
  min-width: 180px;
}

.sliderGroup label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  display: block;
  margin-bottom: 8px;
}

.sliderRow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sliderRow input[type="range"] {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #ddd;
  border-radius: 4px;
  border: none;
  outline: none;
}

.sliderRow input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #1a1a2e;
  border-radius: 50%;
  cursor: pointer;
}

.sliderRow input[type="number"] {
  width: 58px;
  padding: 4px 6px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
}

.sliderRow span {
  font-size: 12px;
  color: #888;
  min-width: 48px;
}

/* Textarea */
#formEstim textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  font-size: 13px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
  margin-top: 20px;
}

/* Champs contact */
.estimField {
  margin-bottom: 16px;
}

.estimField label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1a1a2e;
}

.estimField input {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.estimField input.failed {
  border-color: #c0392b;
}

/* Message d'erreur contextuel */
.estimErrMsg {
  display: none;
  font-size: 1.2rem;
  color: #c0392b;
  margin-top: 6px;
  font-weight: 500;
}

.estimErrMsg.visible {
  display: block;
}

/* Message d'erreur global (radios) */
.estimChoixErr {
  display: none;
  font-size: 1.2rem;
  color: #c0392b;
  margin-top: -12px;
  margin-bottom: 8px;
  font-weight: 500;
  text-align: center;
}

.estimChoixErr.visible {
  display: block;
}

/* Navigation */
.formNav {
  position: absolute;
  bottom: 20px;
  left: 40px;
  width: calc(100% - 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prevBtn,
.nextBtn,
#lastNav {
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 32px;
  cursor: pointer;
  border: 1.5px solid #1a1a2e;
  background: #fff;
  color: #1a1a2e;
  transition: background .15s, color .15s;
}

.prevBtn:hover,
.nextBtn:hover,
#lastNav:hover {
  background: #1a1a2e;
  color: #fff;
}

#lastNav {
  background: #1a1a2e;
  color: #fff;
}

#lastNav:hover {
  opacity: .85;
}

/* RGPD */
.rgpd {
  font-size: 12px;
  color: #999;
  margin: 12px 0 0;
  line-height: 1.5;
}

.rgpd a {
  color: #1a1a2e;
}

.mention {
  font-size: 12px;
  color: #aaa;
  padding: 8px 40px;
}

/* Confirmation */
#estimConfirm {
  padding: 40px;
  text-align: center;
  font-size: 16px;
  color: #1a1a2e;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* Spinner */
.spinner {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.fancy-spinner {
  position: relative;
  width: 60px;
  height: 60px;
}

.fancy-spinner .ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: #1a1a2e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.fancy-spinner .ring:nth-child(2) {
  inset: 8px;
  border-top-color: #999;
  animation-duration: 1.5s;
}

.fancy-spinner .dot {
  position: absolute;
  inset: 22px;
  background: #1a1a2e;
  border-radius: 50%;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  .step {
    padding: 24px 20px 80px;
    min-height: 400px;
  }

  .formNav {
    left: 20px;
    width: calc(100% - 40px);
  }

  #surfPi {
    flex-direction: column;
    gap: 20px;
  }

  #estimation::before,
  #estimation::after {
    height: 40vh;
  }

  #estimWrapper {
    padding-top: 32px;
  }
}

/* ================================================================
   MENTIONS LEGALES
   ================================================================ */

#legalPage {
  max-width: 1200px;
  margin: auto;
}

/* ================================================================
   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: #fff;
  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 #1a1a2e;
  color: #1a1a2e;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border-radius: 3px;
  transition: background .15s, color .15s;
}

.ficheDpeDetail:hover {
  background: #1a1a2e;
  color: #fff;
}

.ficheDpeNote {
  color: #666;
  margin: 8px 0 0;
}

/* Panneau DPE — échelles détaillées */
.dpePanelTitle {
  font-weight: 600;
  color: #1a1a2e;
  margin: 16px 0 4px;
}

.dpePanelSub {
  font-size: 11px;
  color: #999;
  margin: 0 0 8px;
  font-style: italic;
}

.dpePanelNote {
  color: #666;
  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: #fff;
  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: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  z-index: 10;
  /* top calculé en JS via data-index */
}

.dpeScaleDetail strong {
  color: #1a1a2e;
}


/* ================================================================
   PAGE GESTION LOCATIVE
   Palette : --red #6b1b24  --yellow #c2a95d  --cream  --beige
   Base font : 62.5% → 1rem=10px; body 1.7rem; Jost
================================================================ */

#gestionPage,
#gliPage {
  --g-red: #6b1b24;
  --g-burgundy: #f5f1ee;
  --g-gold: #c2a95d;
  --g-cream: #e0dab6;
  --g-sand: #fbfbf9;
  --g-fb: #f1eeec;
  --g-border: #e2ddd6;
  --g-text: #383f4e;
  --g-muted: #666;
  --g-white: #fff;
}

/* ── Hero ─────────────────────────────────────────────────────── */

#gestionHero {
  background: var(--g-white);
  padding: 0;
  overflow: hidden;
  margin: 32px auto 32px auto;
}

#gestionHeroInner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 5fr;
  min-height: 640px;
}

#gestionHeroText {
  padding: 72px 48px 72px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#gestionHeroBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eeebe4;
  border: 1px solid #e2d0c6;
  color: var(--g-red);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  width: fit-content;
}

#gestionHero h1 {
  font-size: clamp(2.4rem, 3.2vw, 3.8rem);
  font-weight: 300;
  color: var(--g-red);
  line-height: 1.18;
  margin: 0 0 20px;
}

#gestionHero h1 em {
  font-style: normal;
  color: var(--g-gold);
}

#gestionHeroSub {
  font-size: 1.6rem;
  color: var(--g-muted);
  line-height: 1.68;
  margin: 0 0 32px;
}

#gestionHeroCtas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

#gestionHeroCtas .g-btn {
  opacity: 0;
}

#gestionHeroCtas .g-btn--gold {
  padding: 14px 32px;
  font-size: 1.5rem;
  background: var(--g-red);
  color: var(--g-white);
  box-shadow: 0 2px 12px rgba(107, 27, 36, .25);
}

#gestionHeroCtas .g-btn--gold:hover {
  background: #55151c;
  opacity: 1;
}

#gestionHeroCtas .g-btn--outline-red {
  padding: 14px 32px;
  font-size: 1.5rem;
  background: transparent;
  color: var(--g-red);
  border: 1.5px solid var(--g-red);
}

#gestionHeroStats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--g-border);
  padding-top: 28px;
}

.gHeroStat {
  padding: 0 20px 0 0;
}

.gHeroStat:nth-child(2) {
  padding-left: 20px;
  border-left: 1px solid var(--g-border);
}

.gHeroStat:nth-child(3) {
  padding-top: 20px;
  border-top: 1px solid var(--g-border);
  margin-top: 20px;
}

.gHeroStat:nth-child(4) {
  padding-top: 20px;
  padding-left: 20px;
  border-top: 1px solid var(--g-border);
  border-left: 1px solid var(--g-border);
  margin-top: 20px;
}

.gHeroStat__num {
  font-size: 3rem;
  font-weight: 400;
  color: var(--g-red);
  line-height: 1;
  margin-bottom: 5px;
}

.gHeroStat__label {
  font-size: 1.3rem;
  color: var(--g-text);
  line-height: 1.45;
}

#gestionHeroPhoto {
  position: relative;
  overflow: hidden;
}

#gestionHeroPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s ease;
}

#gestionHeroPhoto:hover img {
  transform: scale(1.03);
}

@media (max-width: 860px) {
  #gestionHeroInner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  #gestionHeroPhoto {
    height: 300px;
    order: -1;
  }

  #gestionHeroText {
    padding: 40px 20px;
  }
}

/* ── Boutons ──────────────────────────────────────────────────── */

.g-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: 'Jost', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  transition: opacity .2s, transform .15s;
  text-decoration: none !important;
}

.g-btn:hover {
  transform: translateY(-1px);
  opacity: .9;
}

.g-btn--gold {
  background: var(--g-gold);
  color: var(--g-white);
}

.g-btn--ghost {
  background: #7b7775;
  color: #ece3cb;
  border: 1.5px solid rgba(255, 255, 255, .3);
}

.g-btn--red {
  background: var(--g-red);
  color: var(--g-white);
}

.g-btn--red:hover {
  background: #55151c;
  opacity: 1;
}

.g-btn--outline-red {
  background: transparent;
  color: var(--g-red);
  border: 1.5px solid var(--g-red);
}

.g-btn--outline-red:hover {
  background: var(--g-red);
  color: var(--g-white);
  opacity: 1;
}

/* ── Fil d'Ariane ─────────────────────────────────────────────── */

#gestionBreadcrumb {
  background: #eeebe4;
  border-bottom: 1px solid var(--g-border);
  padding: 9px 24px;
  font-size: 1.3rem;
  color: var(--g-muted);
}

#gestionBreadcrumb a {
  color: var(--g-gold);
}

#gestionBreadcrumb a:hover {
  text-decoration: underline !important;
}

#gestionBreadcrumb .sep {
  margin: 0 8px;
  opacity: .4;
}

/* ── Navigation ancrée sticky ─────────────────────────────────── */

#gestionNav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--g-white);
  border-bottom: 1px solid var(--g-border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}

#gestionNavList {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1100px;
}

#gestionNavList::-webkit-scrollbar {
  display: none;
}

#gestionNavList li a {
  display: block;
  padding: 13px 18px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--g-muted);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color .15s, border-color .15s;
}

#gestionNavList li a:hover,
#gestionNavList li a.gNavActive {
  color: var(--g-red);
  border-bottom-color: var(--g-gold);
}

/* ── Sections ─────────────────────────────────────────────────── */

.gSection {
  padding: 72px 24px;
}

.gSection--alt {
  background: var(--g-sand);
}

.gSection--fb {
  background: var(--g-fb);
}

.gSection--bur {
  background: var(--g-burgundy);
}

/* GLI — image de fond pleine section
   Image attendue : /assets/images/pages/gestion-gli-bg.jpg
   Recommandé    : façade immeuble ou vue aérienne Marseille
   Format        : 1920×800 minimum */

.gSection--imgbg {
  position: relative;
  overflow: hidden;
}

.gSection--imgbg::before {
  content: '';
  position: absolute;
  inset: 0;
  /*background: #eeeae8;
  background: #6e6966;*/
  background: url('/assets/images/pages/test-gerance-1.jpg');
  z-index: 0;
}

.gSection--imgbg .gWrap {
  position: relative;
  z-index: 1;
}

.gSection--imgbg .gRenvoiGrid {
  gap: 32px;
}

.gSection--imgbg .gRenvoi {
  background: rgb(119, 117, 116, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: 36px 32px;
}

.gSection--imgbg .gRenvoi__label {
  color: #e3d8bb;
}

.gSection--imgbg .gRenvoi__title {
  color: #fff;
}

.gSection--imgbg .gRenvoi__text {
  color: rgba(255, 255, 255, .7);
}

.gSection--imgbg .gRenvoi__link {
  color: #e3d8bb;
  border-bottom-color: rgba(194, 169, 93, .4);
}

.gSection--imgbg .gRenvoi__link:hover {
  color: #fff;
}

.gWrap {
  max-width: 1200px;
  margin: 0 auto;
}

.gWrap--sm {
  max-width: 820px;
  margin: 0 auto;
}

.gLabel {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g-gold);
  margin-bottom: 10px;
}

.gH2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 300;
  color: var(--g-red);
  line-height: 1.22;
  margin: 0 0 14px;
}

.gLead {
  font-size: 1.7rem;
  color: var(--g-muted);
  max-width: 640px;
  margin: 0 0 44px;
  line-height: 1.7;
}

/* ── Avantages (6 cartes) ─────────────────────────────────────── */

#gAvantagesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 860px) {
  #gAvantagesGrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  #gAvantagesGrid {
    grid-template-columns: 1fr;
  }
}

.gCard {
  background: var(--g-white);
  border: 1px solid var(--g-border);
  border-radius: 8px;
  padding: 26px 22px;
  transition: box-shadow .2s, transform .2s;
}

.gCard:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .09);
  transform: translateY(-2px);
}

.gCard__ico {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: #f4eeea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.gCard__ico svg {
  width: 20px;
  height: 20px;
}

.gCard__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g-red);
  margin-bottom: 8px;
}

.gCard__text {
  font-size: 1.4rem;
  color: var(--g-muted);
  line-height: 1.62;
}

/* ── Mandat ───────────────────────────────────────────────────── */

#gMandatLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 700px) {
  #gMandatLayout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

#gMandatPhoto {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 560px;
  position: relative;
}

#gMandatPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

#gMandatPhoto figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
  color: rgba(255, 255, 255, .8);
  font-size: 1.2rem;
  padding: 32px 18px 14px;
}

@media (max-width: 700px) {
  #gMandatPhoto {
    height: 220px;
  }
}

.gMandatCol__head {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--g-red);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--g-gold);
  display: inline-block;
}

.gChecklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gChecklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--g-border);
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--g-text);
}

.gChecklist li:last-child {
  border-bottom: none;
}

.gCheck {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--g-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.gCheck svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Processus (5 étapes) ─────────────────────────────────────── */

#gStepsRow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

#gStepsRow::before {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(10% + 23px);
  right: calc(10% + 23px);
  height: 1px;
  background: var(--g-border);
}

@media (max-width: 760px) {
  #gStepsRow {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  #gStepsRow::before {
    display: none;
  }
}

@media (max-width: 460px) {
  #gStepsRow {
    grid-template-columns: 1fr;
  }
}

.gStep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.gStep__num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--g-white);
  border: 2px solid var(--g-gold);
  color: var(--g-gold);
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 0 0 5px var(--g-sand);
}

.gStep__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g-red);
  margin-bottom: 6px;
}

.gStep__text {
  font-size: 1.3rem;
  color: var(--g-muted);
  line-height: 1.55;
}

/* ── Cartes de renvoi GLI + Syndic ───────────────────────────── */

.gRenvoiGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 700px) {
  .gRenvoiGrid {
    grid-template-columns: 1fr;
  }
}

.gRenvoi {
  background: var(--g-white);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow .2s, transform .2s;
}

.gRenvoi:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.gRenvoi__label {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g-gold);
  margin-bottom: 10px;
}

.gRenvoi__title {
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--g-red);
  line-height: 1.25;
  margin: 0 0 14px;
}

.gRenvoi__text {
  font-size: 1.6rem;
  color: var(--g-muted);
  line-height: 1.65;
  margin: 0 0 24px;
  flex: 1;
}

.gRenvoi__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--g-red);
  margin-top: auto;
  transition: gap .2s;
}

.gRenvoi__link:hover {
  gap: 11px;
}

.gRenvoi__link svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

/* ── Tableau fiscalité ────────────────────────────────────────── */

#gFiscTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}

#gFiscTable th {
  background: #55151c;
  color: #ede5d0;
  padding: 12px 16px;
  text-align: left;
  font-weight: 500;
  font-size: 1.3rem;
}

#gFiscTable th:first-child {
  border-radius: 4px 0 0 0;
}

#gFiscTable th:last-child {
  border-radius: 0 4px 0 0;
}

#gFiscTable td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--g-border);
  vertical-align: top;
  color: var(--g-muted);
  line-height: 1.55;
}

#gFiscTable tr:nth-child(even) td {
  background: var(--g-sand);
}

#gFiscTable td:first-child {
  font-weight: 600;
  color: var(--g-red);
}

.gBadge {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 99px;
}

.gBadge--oui {
  background: #eeeae8;
  color: #1a5c35;
}

/* ── FAQ — layout 2 colonnes avec image à gauche ─────────────── */

#gFaqLayout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 56px;
  align-items: start;
}

#gFaqPhoto {
  position: sticky;
  top: 100px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

#gFaqPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#gFaqContent .gLabel {
  display: block;
  margin-bottom: 8px;
}

#gFaqContent #gFaqWrap {
  max-width: none;
  margin-top: 24px;
}

@media (max-width: 900px) {
  #gFaqLayout {
    grid-template-columns: 1fr;
  }

  #gFaqPhoto {
    position: static;
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }
}

#gFaqWrap {
  max-width: 820px;
}

.gFaqItem {
  border-bottom: 1px solid var(--g-border);
}

.gFaqItem summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 18px 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g-red);
  list-style: none;
  gap: 16px;
  transition: color .15s;
}

.gFaqItem summary::-webkit-details-marker {
  display: none;
}

.gFaqItem[open] summary {
  color: var(--g-gold);
}

.gFaqArrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--g-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}

.gFaqItem[open] .gFaqArrow {
  background: var(--g-red);
  border-color: var(--g-red);
}

.gFaqArrow svg {
  width: 10px;
  height: 10px;
  transition: transform .25s;
}

.gFaqItem[open] .gFaqArrow svg {
  transform: rotate(45deg);
}

.gFaqItem[open] .gFaqArrow line {
  stroke: var(--g-white);
}

.gFaqBody {
  padding: 0 0 20px;
  font-size: 1.4rem;
  color: var(--g-muted);
  line-height: 1.75;
  max-width: 740px;
}

.gFaqBody strong {
  color: var(--g-text);
  font-weight: 600;
}

/* ── Contenu éditorial — texte + aside ────────────────────────── */

#gEditorial {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  #gEditorial {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

#gEditorialAside {
  position: sticky;
  top: 72px;
}

/* Triptyque éditorial — pleine largeur en tête de section savoir-plus
   3 images paysage côte à côte (intérieur + rue + façade)
   Format recommandé : 1400×560px chacune */
.tryptique--editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
  margin-bottom: 3rem;
  overflow: hidden;
}

.tryptique--editorial img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.tryptique--editorial:hover img {
  transform: scale(1.02);
}

@media (max-width: 860px) {
  .tryptique--editorial {
    grid-template-columns: repeat(2, 1fr);
  }

  .tryptique--editorial img:nth-child(3) {
    display: none;
  }
}

@media (max-width: 520px) {
  .tryptique--editorial {
    grid-template-columns: 1fr;
  }

  .tryptique--editorial img:nth-child(2),
  .tryptique--editorial img:nth-child(3) {
    display: none;
  }
}

/* H2 pleine largeur au-dessus des 2 colonnes */
.gH2--wide {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  margin: 10px 0 32px;
  max-width: none;
}

/* Ancienne petite photo aside — masquée */
#gAsidePhoto {
  display: none;
}

.gAsideCard {
  background: var(--g-sand);
  border: 1px solid var(--g-border);
  border-radius: 8px;
  padding: 24px 20px;
  margin-bottom: 18px;
}

.gAsideCard__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g-red);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--g-border);
}

.gAsideLinkList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gAsideLinkList li {
  padding: 5px 0;
  border-bottom: 1px solid var(--g-border);
}

.gAsideLinkList li:last-child {
  border-bottom: none;
}

.gAsideLinkList a {
  font-size: 1.4rem;
  color: var(--g-gold) !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gAsideLinkList a::before {
  content: '→';
  font-size: 1.3rem;
}

.gAsideLinkList a:hover {
  text-decoration: underline !important;
}

.gAsideTel {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--g-red) !important;
  display: block;
  text-align: center;
  margin-bottom: 4px;
}

.gAsideTelLabel {
  font-size: 1.3rem;
  color: var(--g-muted);
  text-align: center;
  display: block;
  margin-bottom: 14px;
}

/* ── CTA final ────────────────────────────────────────────────── */

#gCtaBand {
  background: #eeebe4;
  border-radius: 16px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

#gCtaBand::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(194, 169, 93, .1);
}

#gCtaBand__title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 300;

  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

#gCtaBand__sub {
  font-size: 1.5rem;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

#gCtaBand__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ── Responsive global ────────────────────────────────────────── */

@media (max-width: 768px) {
  .gSection {
    padding: 52px 20px;
  }

  #gCtaBand {
    padding: 32px 22px;
  }

  #gestionHeroText {
    padding: 36px 20px;
  }

  #gMandatPhoto {
    height: 200px;
  }
}


/* ================================================================
     PAGE GARANTIE LOYERS IMPAYÉS
     Réutilise les variables --g-* et classes .g-btn, .gSection,
     .gWrap, .gH2, .gLabel, .gLead, .gHeroStat, .gFaqItem,
     .gChecklist, .gCheck, .gProse, .gAsideCard, .gAsideLinkList,
     .gAsideTel, #gEditorial, #gEditorialAside, #gCtaBand
     définies dans la section PAGE GESTION LOCATIVE
     ================================================================ */

/* ── Hero GLI — même structure que gestion ───────────────────── */

#gliHero {
  background: var(--g-white);
  padding: 0;
  overflow: hidden;
  margin-bottom: 32px;
}

#gliHeroInner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 5fr;
  min-height: 640px;
}

#gliHeroText {
  padding: 72px 48px 72px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#gliHeroBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4eeea;
  border: 1px solid #e2d0c6;
  color: var(--g-red);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  width: fit-content;
}

#gliHero h1 {
  font-size: clamp(2.4rem, 3.2vw, 3.8rem);
  font-weight: 300;
  color: var(--g-red);
  line-height: 1.18;
  margin: 0 0 20px;
}

#gliHero h1 em {
  font-style: normal;
  color: var(--g-gold);
}

#gliHeroSub {
  font-size: 1.6rem;
  color: var(--g-muted);
  line-height: 1.68;
  margin: 0 0 32px;
}

#gliHeroCtas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

#gliHeroCtas .g-btn {
  opacity: 0;
  /* révélé par GSAP */
}

#gliHeroCtas .g-btn--gold {
  padding: 14px 32px;
  font-size: 1.5rem;
  background: var(--g-red);
  color: var(--g-white);
  box-shadow: 0 2px 12px rgba(107, 27, 36, .25);
}

#gliHeroCtas .g-btn--gold:hover {
  background: #55151c;
  opacity: 1;
}

#gliHeroCtas .g-btn--outline-red {
  padding: 14px 32px;
  font-size: 1.5rem;
}

#gliHeroStats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--g-border);
  padding-top: 28px;
}

#gliHeroPhoto {
  position: relative;
  overflow: hidden;
}

#gliHeroPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s ease;
}

#gliHeroPhoto:hover img {
  transform: scale(1.03);
}

/* ── Breadcrumb + nav sticky ─────────────────────────────────── */

#gliBreadcrumb {
  background: #eeebe4;
  border-bottom: 1px solid var(--g-border);
  padding: 9px 24px;
  font-size: 1.3rem;
  color: var(--g-muted);
}

#gliBreadcrumb a {
  color: var(--g-gold);
}

#gliBreadcrumb a:hover {
  text-decoration: underline !important;
}

#gliBreadcrumb .sep {
  margin: 0 8px;
  opacity: .4;
}

#gliNav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--g-white);
  border-bottom: 1px solid var(--g-border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}

#gliNavList {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1100px;
}

#gliNavList::-webkit-scrollbar {
  display: none;
}

#gliNavList li a {
  display: block;
  padding: 13px 18px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--g-muted);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color .15s, border-color .15s;
}

#gliNavList li a:hover,
#gliNavList li a.gNavActive {
  color: var(--g-red);
  border-bottom-color: var(--g-gold);
}

/* ── Définition — grille prose + aside info ──────────────────── */

.gliDefGrid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 800px) {
  .gliDefGrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.gliDefProse p {
  font-size: 1.5rem;
  color: var(--g-muted);
  line-height: 1.78;
  margin-bottom: 16px;
}

.gliDefProse p:last-child {
  margin-bottom: 0;
}

.gliDefProse strong {
  color: var(--g-text);
  font-weight: 600;
}

.gliInfoBox {
  background: var(--g-white);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  overflow: hidden;
}

.gliInfoBox__title {
  background: var(--g-red);
  color: var(--g-cream);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 20px;
}

.gliInfoBox__item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--g-border);
}

.gliInfoBox__item:last-child {
  border-bottom: none;
}

.gliInfoBox__term {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g-red);
  margin-bottom: 4px;
}

.gliInfoBox__def {
  font-size: 1.3rem;
  color: var(--g-muted);
  line-height: 1.6;
}

/* ── Couvertures (01 / 02 / 03) ──────────────────────────────── */

.gliCouvertures {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gliCouv {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--g-border);
}

.gliCouv:last-child {
  border-bottom: none;
}

.gliCouv__num {
  font-size: 3.6rem;
  font-weight: 300;
  color: var(--g-gold);
  line-height: 1;
  flex-shrink: 0;
  width: 64px;
  padding-top: 4px;
}

.gliCouv__title {
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--g-red);
  margin-bottom: 10px;
}

.gliCouv__text {
  font-size: 1.5rem;
  color: var(--g-muted);
  line-height: 1.72;
  margin: 0;
}

.gliCouv__text strong {
  color: var(--g-text);
  font-weight: 600;
}

@media (max-width: 600px) {
  .gliCouv {
    flex-direction: column;
    gap: 12px;
  }

  .gliCouv__num {
    width: auto;
    font-size: 2.8rem;
  }
}

/* ── Conditions ──────────────────────────────────────────────── */

.gliCondGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 720px) {
  .gliCondGrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.gliCondTitle {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--g-red);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--g-gold);
  display: inline-block;
}

.gliNote {
  margin-top: 20px;
  background: var(--g-fb);
  border-left: 3px solid var(--g-gold);
  padding: 14px 16px;
  font-size: 1.3rem;
  color: var(--g-muted);
  line-height: 1.65;
  border-radius: 0 6px 6px 0;
}

.gliNote strong {
  color: var(--g-text);
  font-weight: 600;
}

/* ── Fiscalité ───────────────────────────────────────────────── */

.gliFiscLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 800px) {
  .gliFiscLayout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.gliFiscProse p {
  font-size: 1.5rem;
  color: var(--g-muted);
  line-height: 1.78;
  margin-bottom: 16px;
}

.gliFiscProse p:last-child {
  margin-bottom: 0;
}

.gliFiscProse strong {
  color: var(--g-text);
  font-weight: 600;
}

.gliFiscTable-wrap {
  overflow-x: auto;
}

.gliFiscTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}

.gliFiscTable th {
  background: var(--g-red);
  color: var(--g-white);
  padding: 11px 14px;
  text-align: left;
  font-weight: 500;
  font-size: 1.3rem;
}

.gliFiscTable th:first-child {
  border-radius: 4px 0 0 0;
}

.gliFiscTable th:last-child {
  border-radius: 0 4px 0 0;
}

.gliFiscTable td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--g-border);
  color: var(--g-muted);
  line-height: 1.5;
}

.gliFiscTable tr:nth-child(even) td {
  background: var(--g-sand);
}

.gliFiscTable td:first-child {
  color: var(--g-text);
}

.gliFiscTable td:last-child strong {
  color: var(--g-red);
}

.gliTableNote {
  font-size: 1.2rem;
  color: var(--g-muted);
  margin-top: 10px;
  font-style: italic;
}

/* ── Sans GLI : risques / timeline ──────────────────────────── */

.gliRisques {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 40px;
}

.gliRisques::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: var(--g-border);
}

@media (max-width: 860px) {
  .gliRisques {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .gliRisques::before {
    display: none;
  }
}

@media (max-width: 500px) {
  .gliRisques {
    grid-template-columns: 1fr;
  }
}

.gliRisque {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.gliRisque__mois {
  display: inline-block;
  background: var(--g-white);
  border: 2px solid var(--g-red);
  color: var(--g-red);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
  box-shadow: 0 0 0 5px var(--g-white);
}

.gliRisque__titre {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g-red);
  margin-bottom: 8px;
  line-height: 1.3;
}

.gliRisque__texte {
  font-size: 1.3rem;
  color: var(--g-muted);
  line-height: 1.58;
}

.gliRisqueBilan {
  display: flex;
  gap: 32px;
  align-items: center;
  background: var(--g-red);
  border-radius: 12px;
  padding: 28px 32px;
  flex-wrap: wrap;
}

.gliRisqueBilan__chiffre {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--g-cream);
  line-height: 1;
  flex-shrink: 0;
}

.gliRisqueBilan__texte {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
  flex: 1;
}

.gliRisqueBilan__texte strong {
  color: var(--g-white);
  font-weight: 600;
}

/* ── FAQ (hérite des classes .gFaqItem de gestion) ───────────── */

#gliFaqWrap {
  max-width: 820px;
}

/* ── Responsive global page GLI ─────────────────────────────── */

@media (max-width: 860px) {
  #gliHeroInner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  #gliHeroPhoto {
    height: 300px;
    order: -1;
  }

  #gliHeroText {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  #gliHeroText {
    padding: 36px 20px;
  }
}

/*================================================================
   PAGE SYNDIC DE COPROPRIÉTÉ
   Réutilise #gestionPage, #gliPage variables et classes communes
================================================================*/

#syndicPage,
#syndicDevisPage {
  font-family: 'Jost', BlinkMacSystemFont, -apple-system, 'Segoe UI', sans-serif;
}

#syndicPage,
#syndicDevisPage {
  --g-red: #6b1b24;
  --g-gold: #c2a95d;
  --g-cream: #e0dab6;
  --g-sand: #faf9f5;
  --g-fb: #fcfbf7;
  --g-border: #e2ddd6;
  --g-text: #383f4e;
  --g-muted: #666;
  --g-white: #fff;
}

/* ── Hero syndic ─────────────────────────────────────────────── */

#syndicHero {
  background: var(--g-white);
  padding: 0;
  overflow: hidden;
  margin: 32px auto 32px auto;
}

#syndicHeroInner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 5fr;
  min-height: 640px;
}

#syndicHeroText {
  padding: 72px 48px 72px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#syndicHeroBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4eeea;
  border: 1px solid #e2d0c6;
  color: var(--g-red);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  width: fit-content;
}

#syndicHero h1 {
  font-size: clamp(2.4rem, 3.2vw, 3.8rem);
  font-weight: 300;
  color: var(--g-red);
  line-height: 1.18;
  margin: 0 0 20px;
}

#syndicHero h1 em {
  font-style: normal;
  color: var(--g-gold);
}

#syndicHeroSub {
  font-size: 1.6rem;
  color: var(--g-muted);
  line-height: 1.68;
  margin: 0 0 32px;
}

#syndicHeroCtas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

#syndicHeroCtas .g-btn {
  opacity: 0;
  /* révélé par GSAP */
}

#syndicHeroCtas .g-btn--gold {
  padding: 14px 32px;
  font-size: 1.5rem;
  background: var(--g-red);
  color: var(--g-white);
  box-shadow: 0 2px 12px rgba(107, 27, 36, .25);
}

#syndicHeroCtas .g-btn--gold:hover {
  background: #55151c;
  opacity: 1;
}

#syndicHeroCtas .g-btn--outline-red {
  padding: 14px 32px;
  font-size: 1.5rem;
}

#syndicHeroStats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--g-border);
  padding-top: 28px;
}

#syndicHeroPhoto {
  position: relative;
  overflow: hidden;
}

#syndicHeroPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s ease;
}

#syndicHeroPhoto:hover img {
  transform: scale(1.03);
}

/* ── Breadcrumb + Nav sticky ─────────────────────────────────── */

#syndicBreadcrumb {
  background: #eeebe4;
  border-bottom: 1px solid var(--g-border);
  padding: 9px 24px;
  font-size: 1.3rem;
  color: var(--g-muted);
}

#syndicBreadcrumb a {
  color: var(--g-gold);
}

#syndicBreadcrumb a:hover {
  text-decoration: underline !important;
}

#syndicBreadcrumb .sep {
  margin: 0 8px;
  opacity: .4;
}

#syndicNav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--g-white);
  border-bottom: 1px solid var(--g-border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}

#syndicNavList {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1100px;
}

#syndicNavList::-webkit-scrollbar {
  display: none;
}

#syndicNavList li a {
  display: block;
  padding: 13px 18px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--g-muted);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color .15s, border-color .15s;
}

#syndicNavList li a:hover,
#syndicNavList li a.gNavActive {
  color: var(--g-red);
  border-bottom-color: var(--g-gold);
}

/* ── Photo engagements — pleine largeur ──────────────────────── */

#syndicEngPhoto {
  width: 100%;
  height: min(55vh, 560px);
  min-height: 200px;
  overflow: hidden;
  margin: 0 0 12px;
}

#syndicEngPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

/* ── Grille engagements ──────────────────────────────────────── */

#syndicEngGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 860px) {
  #syndicEngGrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  #syndicEngGrid {
    grid-template-columns: 1fr;
  }
}

/* ── Mandat — 3 colonnes ─────────────────────────────────────── */

#syndicMandatGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 960px) {
  #syndicMandatGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.syndicMandatCol__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--g-red);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--g-gold);
}

.syndicMandatCol__head svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Triptyque dans la section mandat ────────────────────────── */

.tryptique--mandat {
  width: 100%;
  max-height: none;
  margin-bottom: 40px;
}

.tryptique--mandat img {
  aspect-ratio: 4 / 3;
  height: auto;
}

@media (max-width: 1024px) and (min-width: 601px) {
  .tryptique--mandat {
    grid-template-columns: repeat(2, 1fr);
  }

  .tryptique--mandat img:nth-child(3) {
    display: none;
  }
}

@media (max-width: 600px) {
  .tryptique--mandat {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0;
  }

  .tryptique--mandat img:nth-child(2),
  .tryptique--mandat img:nth-child(3) {
    display: none;
  }
}

/* ── Extranet ────────────────────────────────────────────────── */

#syndicExtranetLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 800px) {
  #syndicExtranetLayout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.syndicExtranetList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.syndicExtranetList li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--g-border);
  font-size: 1.4rem;
  color: var(--g-text);
}

.syndicExtranetList li:last-child {
  border-bottom: none;
}

.syndicExtranetList li strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g-red);
  margin-bottom: 3px;
}

.syndicExtranetList li span {
  color: var(--g-muted);
  font-size: 1.4rem;
  line-height: 1.6;
}

.syndicExtranet__ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #f4eeea;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--g-red);
}

.syndicExtranet__ico svg {
  width: 16px;
  height: 16px;
}

/* Extranet — screenshot mobile */
#syndicExtranetVisuel {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#syndicExtranetScreen {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
  display: block;
}

/* ── Changer de syndic ───────────────────────────────────────── */

#syndicChangerSteps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 36px;
}

#syndicChangerSteps::before {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(12.5% + 23px);
  right: calc(12.5% + 23px);
  height: 1px;
  background: var(--g-border);
}

@media (max-width: 720px) {
  #syndicChangerSteps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  #syndicChangerSteps::before {
    display: none;
  }
}

@media (max-width: 460px) {
  #syndicChangerSteps {
    grid-template-columns: 1fr;
  }
}

.syndicChangerNote {
  background: var(--g-fb);
  border-left: 3px solid var(--g-gold);
  padding: 14px 18px;
  font-size: 1.4rem;
  color: var(--g-muted);
  line-height: 1.65;
  border-radius: 0 6px 6px 0;
}

.syndicChangerNote strong {
  color: var(--g-text);
  font-weight: 600;
}

/* ── Marseille — deux grilles alignées ───────────────────────── */

.syndicMarseGrid {
  display: grid;
  grid-template-columns: 1fr 48%;
  gap: 0 56px;
  align-items: stretch;
}

.syndicMarseGrid--prose {
  margin-top: 48px;
  padding-top: 20px;
}

.syndicMarseStatsRow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--g-border);
  border-bottom: 1px solid var(--g-border);
}

.syndicMarseStatsRow .syndicMarseStat {
  padding: 20px 12px;
  border-right: 1px solid var(--g-border);
  border-bottom: none;
}

.syndicMarseStatsRow .syndicMarseStat:last-child {
  border-right: none;
}

.syndicMarseStat__num {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--g-red);
  line-height: 1;
  margin-bottom: 6px;
}

.syndicMarseStat__label {
  font-size: 1.3rem;
  color: var(--g-muted);
  line-height: 1.45;
}

#syndicMarsePhoto {
  overflow: hidden;
  border-radius: 6px;
  min-height: 400px;
}

#syndicMarsePhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── FAQ ─────────────────────────────────────────────────────── */

#syndicFaqWrap {
  max-width: 820px;
}

/* ── Section savoir-plus ─────────────────────────────────────── */

/* .tryptique hérite de style.css : width:100%, grid 3 colonnes, gap:0
   La section a padding-inline:24px — on l'annule pour pleine largeur */

#syndicEditoTryptique {
  width: 100%;
  height: min(40vh, 40vw);
  margin: 0 auto 12px auto;
}

@media (max-width: 768px) {
  #syndicEditoTryptique {
    margin-inline: -20px;
    width: calc(100% + 40px);
  }
}

.gSection--no-padding-top {
  padding-top: 40px;
}

/* ── Responsive global syndic ────────────────────────────────── */


@media (max-width: 1000px) {
  #syndicHeroInner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  #syndicHeroPhoto {
    height: 300px;
    order: -1;
  }

  #syndicHeroText {
    padding: 40px 20px;
  }

  .syndicMarseGrid {
    grid-template-columns: 1fr;
  }

  #syndicMarsePhoto {
    height: 60vw;
    max-height: 400px;
    margin-bottom: 32px;
    order: -1;
  }

  .syndicMarseGrid--prose {
    margin-top: 32px;
    padding-top: 28px;
  }

  .syndicMarseStatsRow {
    grid-template-columns: repeat(2, 1fr);
  }

  .syndicMarseStatsRow .syndicMarseStat:nth-child(2) {
    border-right: none;
  }

  .syndicMarseStatsRow .syndicMarseStat:nth-child(3),
  .syndicMarseStatsRow .syndicMarseStat:nth-child(4) {
    border-top: 1px solid var(--g-border);
  }
}

@media (max-width: 768px) {
  #syndicHeroText {
    padding: 36px 20px;
  }
}



/* ================================================================
   PAGE DEVIS SYNDIC /syndic/devis
   ================================================================ */

#syndicDevisPage {
  min-height: calc(100vh - 80px);
  padding: 20px 24px 80px;
}

/* ── Zone titre — fond uni ───────────────────────────────────── */

#syndicDevisHeader {
  padding: 0px 24px 40px 36px;
  border-bottom: 1px solid #e2ddd6;
}

#syndicDevisHeaderWrap {
  max-width: 680px;
  margin: 0 auto;
}

#syndicDevisBreadcrumb {
  font-size: 1.3rem;
  color: #888;
  margin-bottom: 20px;
}

#syndicDevisBreadcrumb a {
  color: #c2a95d;
}

#syndicDevisBreadcrumb a:hover {
  text-decoration: underline !important;
}

#syndicDevisBreadcrumb .sep {
  margin: 0 6px;
  opacity: .4;
}

#syndicDevisBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4eeea;
  border: 1px solid #e2d0c6;
  color: #6b1b24;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

#syndicDevisTitle {
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 300;
  color: #6b1b24;
  margin: 14px 0 14px;
  line-height: 1.18;
}

#syndicDevisIntro {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.68;
  margin: 0;
}

/* ── Zone formulaire — fond d'image flou ─────────────────────── */

#syndicDevisImageZone {
  position: relative;
  padding: 48px 24px 72px;
  overflow: hidden;
  background: rgba(240, 236, 228, .55);
}

#syndicDevisWrap {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

#syndicDevisIntro strong {
  color: var(--g-text);
  font-weight: 600;
}

/* Barre de progression */
#syndicDevisProgress {
  height: 6px;
  background: #e2ddd6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

#syndicDevisProgressBar {
  height: 100%;
  background: var(--g-red);
  border-radius: 6px;
  transition: width .3s ease;
  width: 20%;
}

#syndicDevisStepLabel {
  font-size: 1.3rem;
  color: var(--g-muted);
  margin-bottom: 28px;
}

/* Étapes */
.sdStep {
  display: none;
  background: var(--g-white);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  padding: 32px 36px;
}

.sdStep.active {
  display: block;
}

.sdStep__title {
  font-size: 2rem;
  font-weight: 400;
  color: var(--g-red);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--g-border);
}

/* Champs */
.sdField {
  margin-bottom: 20px;
}

.sdFieldRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 500px) {
  .sdFieldRow {
    grid-template-columns: 1fr;
  }
}

.sdLabel {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--g-text);
  margin-bottom: 6px;
}

.sdRequired {
  color: var(--g-red);
}

.sdOptional {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--g-muted);
}

.sdStep input[type="text"],
.sdStep input[type="email"],
.sdStep input[type="tel"],
.sdStep input[type="number"],
.sdStep input[type="date"],
.sdStep textarea {
  width: 100%;
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  color: var(--g-text);
  background: var(--g-white);
  border: 1px solid var(--g-border);
  border-radius: 6px;
  padding: 10px 14px;
  box-sizing: border-box;
  transition: border-color .15s;
  outline: none;
}

.sdStep input:focus,
.sdStep textarea:focus {
  border-color: var(--g-red);
}

.sdStep textarea {
  resize: vertical;
  min-height: 80px;
}

.sdField--error input,
.sdField--error textarea {
  border-color: #c0392b;
}

.sdHint {
  font-size: 1.2rem;
  color: var(--g-muted);
  margin: 6px 0 0;
  line-height: 1.5;
}

/* Radio custom */
.sdRadioGroup {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.sdRadio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--g-text);
}

.sdRadio input[type="radio"] {
  display: none;
}

.sdRadio__box {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--g-border);
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
  position: relative;
}

.sdRadio input:checked+.sdRadio__box {
  border-color: var(--g-red);
  background: var(--g-red);
}

.sdRadio input:checked+.sdRadio__box::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--g-white);
}

/* RGPD */
.sdRgpd {
  font-size: 1.2rem;
  color: var(--g-muted);
  line-height: 1.55;
  margin-top: 16px;
}

.sdRgpd a {
  color: var(--g-red);
}

/* Navigation */
#syndicDevisNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.sdBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none !important;
}

.sdBtn--primary {
  background: var(--g-red);
  color: var(--g-white);
}

.sdBtn--primary:hover {
  background: #55151c;
}

.sdBtn--primary:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.sdBtn--outline {
  background: transparent;
  color: var(--g-red);
  border: 1.5px solid var(--g-red);
}

.sdBtn--outline:hover {
  background: var(--g-red);
  color: var(--g-white);
}

/* Confirmation */
#syndicDevisConfirm {
  background: var(--g-white);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  padding: 52px 36px;
  text-align: center;
}

#syndicDevisConfirm__ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d8ede0;
  color: #1a5c35;
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

#syndicDevisConfirm h2 {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--g-red);
  margin: 0 0 12px;
}

#syndicDevisConfirm p {
  font-size: 1.5rem;
  color: var(--g-muted);
  line-height: 1.65;
}

@media (max-width: 600px) {
  #syndicDevisPage {
    padding: 32px 16px 60px;
  }

  .sdStep {
    padding: 24px 20px;
  }
}

/* ── Photos de section — syndic ──────────────────────────────── */

.syndicSectionPhoto {
  margin: 0 0 40px;
  border-radius: 10px;
  overflow: hidden;
  height: 520px;
}

.syndicSectionPhoto--short {
  height: 240px;
}

.syndicSectionPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform .6s ease;
}

.syndicSectionPhoto:hover img {
  transform: scale(1.02);
}

/* Photo Marseille dans la colonne stats */
.syndicMarsephoto {
  margin: 0 0 0;
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.syndicMarsephoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .syndicSectionPhoto {
    height: 220px;
    margin-bottom: 28px;
  }

  .syndicSectionPhoto--short {
    height: 180px;
  }

  .syndicMarsephoto {
    height: 160px;
  }
}

/*================================================================
   PAGE ESPACE CLIENTS /espace-clients
================================================================*/

#espaceClientsPage {
  --ec-red: #6b1b24;
  --ec-gold: #c2a95d;
  --ec-cream: #e0dab6;
  --ec-sand: #f6f6f5;
  --ec-border: #e2ddd6;
  --ec-text: #383f4e;
  --ec-muted: #666;
  --ec-white: #fff;
}

/* ── 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(--ec-red);
  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(--ec-red);
  margin: 0 0 16px;
  line-height: 1.15;
}

#espaceClientsSub {
  font-size: 1.7rem;
  color: var(--ec-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(--ec-white);
  border: 1px solid var(--ec-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(--ec-red);
  border-color: var(--ec-red);
}

.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(--ec-red);
}

.ecCard--featured .ecCard__ico {
  background: rgba(255, 255, 255, .15);
  color: var(--ec-cream);
}

.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(--ec-gold);
}

.ecCard--featured .ecCard__label {
  color: var(--ec-cream);
  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(--ec-red);
}

.ecCard--featured .ecCard__title {
  color: var(--ec-white);
}

.ecCard__desc {
  font-size: 1.4rem;
  line-height: 1.65;
  margin: 0 0 20px;
}

.ecCard:not(.ecCard--featured) .ecCard__desc {
  color: var(--ec-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(--ec-text);
  border-bottom: 1px solid var(--ec-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(--ec-gold);
}

.ecCard--featured .ecCard__list li::before {
  background: var(--ec-cream);
}

.ecCard__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: 'Jost', 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(--ec-red);
  color: var(--ec-white);
}

.ecCard:not(.ecCard--featured) .ecCard__btn:hover {
  background: #55151c;
}

.ecCard--featured .ecCard__btn {
  background: var(--ec-white);
  color: var(--ec-red);
}

.ecCard--featured .ecCard__btn:hover {
  background: var(--ec-cream);
}

/* ── Encart identifiants ─────────────────────────────────────── */

#espaceClientsNote {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--ec-white);
  border: 1px solid var(--ec-border);
  border-left: 3px solid var(--ec-gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-size: 1.4rem;
  color: var(--ec-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(--ec-gold);
  margin-top: 1px;
}

#espaceClientsNote strong {
  color: var(--ec-text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

#espaceClientsNote a {
  color: var(--ec-red);
  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 {
  --c-red: #6b1b24;
  --c-gold: #c2a95d;
  --c-sand: #fbf9ef;
  --c-fb: #fdfcf7;
  --c-border: #e2ddd6;
  --c-text: #383f4e;
  --c-muted: #666;
  --c-white: #fff;
}

/* ── En-tête ─────────────────────────────────────────────────── */

#contactHero {
  border-bottom: 1px solid var(--c-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(--c-gold);
  margin-bottom: 12px;
}

#contactHeroTitle {
  font-size: clamp(3rem, 4vw, 4.4rem);
  font-weight: 300;
  color: var(--c-red);
  margin: 0 0 14px;
  line-height: 1.15;
}

#contactHeroSub {
  font-size: 1.6rem;
  color: var(--c-muted);
  line-height: 1.68;
  margin: 0;
}

/* ── Sections agences ────────────────────────────────────────── */

.contactSection {
  padding: 56px 24px;
  border-bottom: 1px solid var(--c-border);
}

.contactSection:last-of-type {
  border-bottom: none;
}

#contactAgencePrincipale {
  background: var(--c-white);
  padding-top: 0;
}

#contactAgencePartenaire {
  background: var(--c-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: #fff;
  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(--c-gold);
  margin-bottom: 12px;
}

.contactHoraires__table {
  border-collapse: collapse;
  width: 100%;
  font-size: 1.4rem;
}

.contactHoraires__table td {
  padding: 5px 0;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}

.contactHoraires__table td:first-child {
  font-weight: 500;
  padding-right: 24px;
  width: 110px;
}

.contactHoraires__closed td {
  color: var(--c-muted);
}

.contactHoraires__note {
  font-size: 1.2rem;
  color: var(--c-muted);
  font-style: italic;
  margin: 8px 0 0;
}

/* Encart extranet */
#contactExtranetWrap {
  background: var(--c-fb);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 28px 28px 24px;
}

#contactExtranetTitle {
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--c-red);
  margin: 0 0 12px;
  line-height: 1.25;
}

#contactExtranetIntro {
  font-size: 1.4rem;
  color: var(--c-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(--c-text);
  padding: 5px 0;
  border-bottom: 1px solid var(--c-border);
}

#contactExtranetList li:last-child {
  border-bottom: none;
}

#contactExtranetList li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
  margin-top: 8px;
}

#contactExtranetNote {
  font-size: 1.3rem;
  color: var(--c-muted);
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 20px;
}

#contactExtranetBtn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: var(--c-red);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background .15s;
}

#contactExtranetBtn:hover {
  background: #55151c;
}

/* ── 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(--c-fb);
  border: 1px solid var(--c-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(--c-red);
  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(--c-gold);
}

.contactService__title {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--c-red);
  margin-bottom: 4px;
}

.contactService__tel {
  font-size: 2rem;
  font-weight: 300;
  color: var(--c-red);
  text-decoration: none;
  display: block;
  margin: 4px 0;
  transition: color .15s;
}

.contactService__tel:hover {
  color: var(--c-gold);
}

.contactService__mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-red);
  background: transparent;
  border: 1.5px solid var(--c-red);
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.contactService__mail:hover {
  background: var(--c-red);
  color: var(--c-white);
}

.contactService__mail svg {
  width: 15px;
  height: 15px;
}

/* ── Carte Google Maps ───────────────────────────────────────── */

.contactMap {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  background: var(--c-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(--c-gold);
  margin-bottom: 6px;
}

.contactAgenceName {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--c-red);
  margin: 0 0 8px;
  line-height: 1.2;
}

.contactAgenceAdresse {
  font-style: normal;
  font-size: 1.5rem;
  color: var(--c-muted);
  line-height: 1.65;
}

.contactPartenaireServicesList {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 20px;
}

.contactPartenaireServicesList span {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-text);
}

.contactPartenaireContacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* ── Panel contact — confirmation ────────────────────────────── */

#contactPageConfirm p {
  font-size: 1.5rem;
  color: #383f4e;
  line-height: 1.65;
  text-align: center;
  padding: 24px 0;
}

/* ================================================================
   FOOTER
   ================================================================ */

#siteFooter {
  background: #b05a3f;
  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: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr 1.5fr;
  gap: 48px;
}

@media (max-width: 960px) {
  #footerInner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
}

@media (max-width: 520px) {
  #footerInner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #footerMain {
    padding: 44px 20px 36px;
  }
}

/* ── Colonne brand ───────────────────────────────────────────── */

#footerLogo img {
  height: 75px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: .85;
}

#footerSlogan {
  font-size: 1.4rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, .65);
}

/* ── Titres colonnes ─────────────────────────────────────────── */

.footerColTitle {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e3d8bb;
  margin: 0 0 18px;
}

/* ── Liens ───────────────────────────────────────────────────── */

.footerLinks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footerLinks li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footerLinks li:last-child {
  border-bottom: none;
}

.footerLinks a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  transition: color .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}

.footerLinks a::before {
  content: '›';
  color: #e8c97a;
  font-size: 1.4rem;
}

.footerLinks a:hover {
  color: #e8c97a;
}

/* ── Agences ─────────────────────────────────────────────────── */

.footerAgence {
  margin-bottom: 24px;
}

.footerAgence--partenaire {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footerAgence__badge {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e3d8bb;
  margin-bottom: 4px;
}

.footerAgence__name {
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 4px;
}

.footerAgence__adresse {
  font-style: normal;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footerAgence__tel {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: color .15s;
  line-height: 1.8;
}

.footerAgence__tel:hover {
  color: #e8c97a;
}

.footerAgence__detail {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 2px;
}

/* ── Médiateur ───────────────────────────────────────────────── */

.footerMediateur {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footerMediateur__title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e3d8bb;
  margin-bottom: 8px;
}

.footerMediateur__text {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin: 0;
}

.footerMediateur__text a {
  color: rgba(255, 255, 255, .55);
  text-decoration: underline;
  transition: color .15s;
}

.footerMediateur__text a:hover {
  color: #e8c97a;
}

/* ── Espace clients ──────────────────────────────────────────── */

.footerEspace {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footerEspaceLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  padding: 9px 16px;
  transition: all .15s;
}

.footerEspaceLink:hover {
  color: #e8c97a;
  border-color: #e8c97a;
}

.footerEspaceLink svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Barre légale ────────────────────────────────────────────── */

#footerBar {
  padding: 16px 24px;
  background: rgba(0, 0, 0, .12);
}

#footerBarInner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

#footerCopyright {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .4);
  margin: 0;
}

#footerCreditLine {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .4);
  margin: 0;
}

#footerCreditLine a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  transition: color .15s;
}

#footerCreditLine a:hover {
  color: #e8c97a;
}

@media (max-width: 520px) {
  #footerBarInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}