/* ============================================================================
   STYLE.CSS — Ceprogim Colin / Colin Immobilier
   ----------------------------------------------------------------------------
   Restructuration complète (sept. 2026) :
   - réorganisation par sections : variables → base → header/footer →
     composants partagés → pages
   - suppression du code mort (sélecteurs jamais référencés dans les
     templates/JS — voir rapport de refonte)
   - fusion des règles dupliquées, correction des bugs de cascade
   Les valeurs rendues sont volontairement IDENTIQUES à la feuille
   d'origine, sauf les points listés « CORRECTION » dans le rapport.
   ========================================================================== */

/* ================================================================
   1. VARIABLES
   ================================================================ */
:root {
  /* Marque — primaires (guide de marque Kandem)
     Bleu marine : Ceprogim Colin (gestion)
     Jaune moutarde : Colin Immobilier (transaction) */
  --navy: #000053;
  --navy-dk: #000038;
  /* hover / actif */
  --navy-2: #000080;
  --navy-3: #0000b2;
  --navy-tint: #e3e7fa;
  /* fond clair bleuté */

  --gold: #fdc500;
  --gold-2: #efbc1b;
  /* texte doré sur fond clair */
  --gold-tint-1: #ffe39b;
  --gold-tint-2: #ffefbf;

  /* Texte */
  --text: #000053;
  --muted: #000053;
  --white: #fff;

  /* Fonds */
  --sand: #faf9f5;
  --fb: #fdfcf7;
  --beige: #f1eeec;
  --burgundy-lt: #f5f1ee;

  /* UI */
  --border: #e5e7ef;

  /* Checkbox ripple */
  --c-primary: #000053;
  --c-primary-20: rgba(0, 0, 83, .20);
  --c-primary-10: rgba(0, 0, 83, .10);
  --t-base: .4s;
  --t-fast: .2s;
  --e-in: ease-in;
  --e-out: cubic-bezier(.11, .29, .18, .98);
}

/* ================================================================
   2. BASE & RESET
   ================================================================ */
* {
  box-sizing: border-box !important;
}

html {
  -webkit-font-smoothing: antialiased;
  font-size: 62.5%;
  /* 1rem = 10px */
  min-height: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

html:focus-within {
  scroll-behavior: smooth;
}

body,
html,
p,
figure {
  margin: 0;
  padding: 0;
}

body,
html {
  overflow-x: hidden;
}

body {
  scroll-behavior: smooth;
  font-family: 'Poppins', BlinkMacSystemFont, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.7rem;
  line-height: 1.75;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

a:link,
a:visited,
a:hover,
a:active {
  outline: none;
}

a img {
  border: none;
}

p {
  margin: .75em 0 0;
}

strong {
  font-weight: 600;
}

img {
  height: auto;
  vertical-align: middle;
  border: none;
}

/* Boutons : base minimale — héritent de la police/couleur de la page.
   CORRECTION : l'ancien `font: 400 1.7rem/35px Arial` forçait Arial
   et une hauteur de 35px sur tous les boutons et labels. */
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

/* ================================================================
   3. TYPOGRAPHIE SIGNATURE
   Usage restreint : mots-clés, accroches, titres courts (guide p.22)
   ================================================================ */
@font-face {
  font-family: 'Holiday';
  src: url('/assets/fonts/Holiday.woff') format('woff'),
    url('/assets/fonts/Holiday.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.txt-signature {
  font-family: 'Holiday', cursive;
  font-weight: 400;
  letter-spacing: 0;
}

/* ================================================================
   4. UTILITAIRES
   ================================================================ */
.white {
  color: var(--white) !important;
}

.block {
  display: block;
}

.inbl {
  display: inline-block;
  vertical-align: top;
}

.rel {
  position: relative;
}

.abs {
  position: absolute;
}

.close {
  top: 2rem;
  right: 2rem;
}

.ma1 {
  margin: 10px;
}

.ma2 {
  margin: 20px;
}

.ma3 {
  margin: 30px;
}

.pa05 {
  padding: 5px;
}

.pa1 {
  padding: 10px;
}

.pa2 {
  padding: 20px;
}

.pa3 {
  padding: 30px;
}

.mt0 {
  margin-top: 0;
}

.mt1 {
  margin-top: 10px;
}

.mt2 {
  margin-top: 20px;
}

.mt3 {
  margin-top: 30px;
}

.mr0 {
  margin-right: 0;
}

.mr1 {
  margin-right: 10px;
}

.mr2 {
  margin-right: 20px;
}

.mr3 {
  margin-right: 30px;
}

.mb0 {
  margin-bottom: 0;
}

.mb1 {
  margin-bottom: 10px;
}

.mb2 {
  margin-bottom: 20px;
}

.mb3 {
  margin-bottom: 30px;
}

.ml0 {
  margin-left: 0;
}

.ml1 {
  margin-left: 10px;
}

.ml2 {
  margin-left: 20px;
}

.ml3 {
  margin-left: 30px;
}

.pt0 {
  padding-top: 0;
}

.pt1 {
  padding-top: 10px;
}

.pt2 {
  padding-top: 20px;
}

.pt3 {
  padding-top: 30px;
}

.pr0 {
  padding-right: 0;
}

.pr1 {
  padding-right: 10px;
}

.pr2 {
  padding-right: 20px;
}

.pr3 {
  padding-right: 30px;
}

.pb0 {
  padding-bottom: 0;
}

.pb1 {
  padding-bottom: 10px;
}

.pb2 {
  padding-bottom: 20px;
}

.pb3 {
  padding-bottom: 30px;
}

.pl0 {
  padding-left: 0;
}

.pl1 {
  padding-left: 10px;
}

.pl2 {
  padding-left: 20px;
}

.pl3 {
  padding-left: 30px;
}

.fw6 {
  font-weight: 600;
}

.fs15 {
  font-size: 1.5rem;
}

/* ================================================================
   5. EN-TÊTE DE SITE
   ================================================================ */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

/* ── Barre du haut : logos, recherche, signature, actions ── */
#headerTopBar {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 20px 24px;
  position: relative;
}

#headerBrands {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#headerBrands img {
  width: 64px;
  height: 64px;
  display: block;
}

#siteLogo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -35%);
  /* la police Holiday a peu de descendantes : le centrage géométrique
     classique (-50%) place le glyphe visuellement trop haut */
  font-size: 5.4rem;
  color: var(--navy);
  text-decoration: none;
  line-height: 1;
  transition: color .2s;
}

#headerActions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-shrink: 0;
}

#monEspaceWrap {
  position: relative;
}

#monEspaceBtn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
}

#monEspaceBtn:hover {
  opacity: .7;
}

#monEspaceBtn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

#monEspaceChevron {
  width: 14px !important;
  height: 14px !important;
  transition: transform .15s;
}

#monEspaceBtn[aria-expanded="true"] #monEspaceChevron {
  transform: rotate(180deg);
}

#monEspaceDropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 83, .12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 20;
}

#monEspaceDropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#monEspaceDropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

#monEspaceDropdown a:hover {
  background: var(--navy-tint);
}

#headerSocials {
  display: flex;
  align-items: center;
  gap: 12px;
}

#headerSocials a {
  color: var(--navy);
  display: flex;
}

#headerSocials svg {
  width: 19px;
  height: 19px;
}

#headerSocials a:hover {
  opacity: .7;
}

/* ── Dropdown de recherche (ancré sous l'icône loupe) ── */
#headerSearchWrap {
  position: relative;
}

#headerSearchBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: .03em;
  padding: 8px 4px;
}

#headerSearchBtn svg {
  width: 18px;
  height: 18px;
}

#headerSearchBtn:hover {
  opacity: .7;
}

#searchDropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 340px;
  max-width: 90vw;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 83, .12);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 20;
}

#searchDropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#searchDropdown label {
  display: block;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}

#searchDropdownRow {
  display: flex;
  gap: 8px;
}

#searchDropdownRow input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 1.4rem;
  color: var(--text);
}

#searchDropdownRow input:focus {
  outline: none;
  border-color: var(--navy);
}

#searchDropdownRow button {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s;
}

#searchDropdownRow button:hover {
  background: var(--navy-dk);
}

#searchDropdownRow button svg {
  width: 18px;
  height: 18px;
}

#searchDropdownVenteNote {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 1.3rem;
  color: var(--muted);
}

#searchDropdownVenteNote a {
  display: inline-block;
  margin-top: 4px;
  color: var(--gold-2);
  font-weight: 600;
  text-decoration: none;
}

#searchDropdownVenteNote a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  #searchDropdown {
    left: auto;
    right: 0;
  }
}

/* ── Barre de nav : items + sous-menus, météo, contact ── */
#headerNavBar {
  border-top: 1px solid var(--navy);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-height: 300px;
  opacity: 1;
  transition: max-height .3s ease, opacity .25s ease;
}

body.page-home #headerNavBar {
  border-top-color: transparent;
  max-height: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

body.page-home #siteHeader:hover #headerNavBar,
body.page-home #siteHeader.navRevealed #headerNavBar {
  border-top-color: var(--navy);
  max-height: 300px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
}

#mainNav {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainNav>li {
  position: static;
}

#mainNav>li>a {
  display: block;
  padding: 14px 16px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}

#mainNav>li>a:hover,
#mainNav>li:hover>a {
  border-bottom-color: var(--gold);
}

#mainNav>li>a[aria-current="page"] {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

.subNav {
  list-style: none;
  margin: 0;
  width: 0;
  /* aucune largeur réservée au repos */
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-height .2s ease, opacity .15s ease;
}

#mainNav>li.has-children:hover .subNav,
#mainNav>li.has-children:focus-within .subNav {
  width: auto;
  /* largeur naturelle à l'ouverture */
  max-height: 90px;
  opacity: 1;
  padding: 10px 0 0 16px;
}

.subNav li a {
  display: block;
  padding: 6px 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.subNav li a.isExternal {
  color: var(--gold-2);
}

.subNav li a:hover {
  text-decoration: underline;
}

#headerNavRight {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  flex-shrink: 0;
}

#headerWeather {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-2);
}

#headerWeather svg {
  width: 20px;
  height: 20px;
}

#headerContact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

#headerContact svg {
  width: 20px;
  height: 20px;
  position: relative;
  top: 3px;
}

#headerContact:hover {
  opacity: .7;
}

/* ── Header transparent superposé au hero (page d'accueil) ── */
body.page-home #siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  transition: background .25s ease, border-color .25s ease;
}

body.page-home #siteHeader.navRevealed,
body.page-home #siteHeader:hover {
  background: var(--white);
  border-bottom-color: var(--border);
}

@media (min-width: 769px) {

  body.page-home #siteHeader:not(.navRevealed):not(:hover) #siteLogo,
  body.page-home #siteHeader:not(.navRevealed):not(:hover) #headerSearchBtn,
  body.page-home #siteHeader:not(.navRevealed):not(:hover) #monEspaceBtn,
  body.page-home #siteHeader:not(.navRevealed):not(:hover) #headerSocials a {
    color: var(--white);
    transition: color .25s ease;
  }

  body.page-home #siteHeader:not(.navRevealed):not(:hover) #hamburger span {
    background: var(--white);
  }
}

/* ── Hamburger ── */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

#hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

#hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

#hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Breakpoints header ── */
@media (max-width: 1100px) {
  #headerNavBar {
    display: none;
  }

  #headerSearchBtn span,
  #monEspaceBtn span,
  #monEspaceChevron {
    display: none;
  }

  #hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  #headerTopBar {
    padding: 16px 16px 12px;
    gap: 12px;
  }

  #siteLogo {
    font-size: 3.2rem;
    transform: translate(-50%, -42%);
  }

  #headerBrands img {
    width: 38px;
    height: 38px;
  }

  #headerSocials {
    display: none;
  }

  /* Sous 768px le hero n'est jamais assez haut pour justifier la
     superposition — header blanc classique dans le flux. */
  body.page-home #siteHeader {
    position: sticky;
    background: var(--white);
    border-bottom-color: var(--border);
  }

  body.page-home #siteHeader #siteLogo,
  body.page-home #siteHeader #headerSearchBtn,
  body.page-home #siteHeader #monEspaceBtn,
  body.page-home #siteHeader #headerSocials a {
    color: var(--navy);
  }

  body.page-home #siteHeader #hamburger span {
    background: var(--navy);
  }
}

@media (max-width: 380px) {
  #headerBrands img {
    width: 32px;
    height: 32px;
  }
}

/* ================================================================
   6. MENU MOBILE (overlay + panneau latéral)
   ================================================================ */
#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;
}

#mobilePanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
}

#mobilePanel.open {
  transform: translateX(0);
}

#mobilePanelClose {
  display: block;
  margin-left: auto;
  margin-bottom: 32px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 8px;
}

#mobilePanelClose:hover {
  opacity: .6;
}

#mobileNav {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Un seul trait, entre les rubriques de premier niveau */
#mobileNav>li {
  border-bottom: 1px solid var(--border);
}

#mobileNav>li:last-child {
  border-bottom: none;
}

/* Liens de premier niveau */
#mobileNav>li>a {
  display: block;
  padding: 16px 4px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: padding-left .15s, color .15s;
}

#mobileNav>li>a:hover {
  padding-left: 10px;
}

#mobileNav a[aria-current="page"] {
  color: var(--gold-2);
}

/* Titres de rubrique (non cliquables) : même style que les .sectionLabel du site */
.mobileNavTitle {
  display: block;
  padding: 20px 4px 6px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-2);
  cursor: default;
}

/* Sous-menus : liens en retrait, filet navy clair à gauche, sans traits */
.subNavMobile {
  list-style: none;
  margin: 0 0 14px 4px;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--navy-tint);
}

.subNavMobile li {
  border: none;
}

.subNavMobile li a {
  display: block;
  padding: 8px 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

.subNavMobile li a:hover {
  color: var(--gold-2);
}

@media (max-width: 380px) {
  #mobilePanel {
    width: 100%;
  }
}

/* ================================================================
   7. FOOTER
   ================================================================ */
#siteFooter {
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
}

#footerMain {
  padding: 64px 24px 38px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#footerInner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.footerCol--brand {
  flex-shrink: 0;
}

#footerColsGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

#footerColsGroup .footerCol {
  flex: 0 0 160px;
  width: 160px;
}

#footerColsGroup .footerCol:last-child {
  flex: 0 0 300px;
  width: 300px;
}

@media (max-width: 1300px) {
  #footerInner {
    gap: 40px;
  }

  #footerColsGroup {
    gap: 28px 36px;
  }
}

@media (max-width: 960px) {
  #footerInner {
    flex-direction: column;
    gap: 32px;
  }

  #footerColsGroup {
    flex-wrap: wrap;
    gap: 32px 40px;
  }
}

@media (max-width: 520px) {
  #footerColsGroup {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 28px;
  }

  #footerColsGroup .footerCol,
  #footerColsGroup .footerCol:last-child {
    width: auto;
    flex-basis: auto;
  }

  #footerMain {
    padding: 44px 20px 36px;
  }
}

#footerLogo {
  display: block;
  font-size: 5.6rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}

.footerColTitle {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-tint-1);
  margin: 0 0 18px;
}

.footerLinks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footerLinks li {
  padding: 4px 0;
}

.footerLinks a,
.footerLinks span {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .15s;
  display: inline-block;
  padding: 3px 0;
}

.footerLinks a:hover {
  color: var(--gold);
}

.footerAgence__adresse {
  font-style: normal;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
  margin-bottom: 10px;
}

.footerAgence__tel,
.footerAgence__mail {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color .15s;
  line-height: 1.7;
  word-break: break-word;
}

.footerAgence__tel:hover,
.footerAgence__mail:hover {
  color: var(--gold);
}

#footerSocials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

#footerSocials a {
  color: var(--white);
  display: flex;
}

#footerSocials svg {
  width: 19px;
  height: 19px;
}

#footerSocials a:hover {
  color: var(--gold);
}

#footerBar {
  padding: 16px 24px;
  background: var(--navy-dk);
}

#footerBarInner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

#footerCopyright {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .5);
  margin: 0;
  flex-shrink: 0;
}

#footerLegalLinks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

#footerLegalLinks a,
#footerLegalLinks span {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
}

#footerLegalLinks a:hover {
  color: var(--gold-tint-1);
  text-decoration: underline;
}

@media (max-width: 700px) {
  #footerBarInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ================================================================
   8. COMPOSANTS PARTAGÉS
   ================================================================ */

/* ── Sections éditoriales ── */
.pageSection {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.pageSectionTinted {
  background: var(--navy-tint);
  padding: 64px 0;
}

.pageSectionInner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.sectionLabel {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}

.sectionLabel--center {
  text-align: center;
}

.sectionTitle {
  font-weight: 700;
  font-size: 3rem;
  color: var(--navy);
  margin: 0 0 20px;
}

.sectionTitle--center {
  text-align: center;
}

.sectionText {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
}

/* ── Boutons ── */
.btnPrimary,
.btnGold,
.btnWhite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1.5rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s;
}

.btnPrimary {
  background: var(--navy);
  color: var(--white);
}

.btnPrimary:hover {
  background: var(--navy-dk);
}

.btnGold {
  background: var(--gold);
  color: var(--navy);
}

.btnGold:hover {
  background: var(--gold-2);
}

.btnWhite {
  background: var(--white);
  color: var(--navy);
}

.btnWhite:hover {
  background: var(--navy-tint);
}

/* ── Bande CTA de clôture ── */
.closingCta {
  background: var(--navy-tint);
  padding: 56px 24px;
}

.closingCta--dark {
  background: var(--navy);
}

.closingCta--dark .closingCta__title {
  color: var(--white);
}

.closingCta--dark .closingCta__note,
.closingCta--dark .closingCta__micro {
  color: rgba(255, 255, 255, .75);
}

.closingCta__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.closingCta__title {
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--navy);
  margin: 0 0 16px;
  scroll-margin-top: 120px;
}

.closingCta__note {
  font-size: 1.3rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.closingCta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.closingCta__micro {
  margin-top: 20px;
  font-size: 1.3rem;
  color: var(--muted);
}

/* ── Photos de clôture (pleine largeur) ── */
#homeClosing,
#gestionClosing,
#estimationClosing,
#syndicClosing,
#agenceClosing {
  height: 580px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
  background-image: url('/assets/images/pages/ceprogim-6.jpg');
  background-size: cover;
  background-position: center;
}

#gestionClosing {
  background-image: url('/assets/images/pages/ceprogim-15.jpg');
}

#syndicClosing {
  background-image: url('/assets/images/pages/syndic-closing-3.jpg');
}

#agenceClosing {
  background-image: url('/assets/images/pages/ceprogim-17.jpg');
}

/* ── Accordéon générique ── */
.accGroup {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accItem {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}

.accItem__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 20px;
  margin: 0;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s, color .2s;
}

.accItem.open .accItem__trigger {
  background: var(--navy);
  color: var(--white);
}

.accItem__chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  transition: transform .25s ease;
  color: var(--navy);
}

.accItem.open .accItem__chevron {
  color: var(--white);
  transform: rotate(180deg);
}

.accItem__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.accItem.open .accItem__panel {
  max-height: 600px;
  background: var(--navy-tint);
}

.accItem__panelInner {
  padding: 20px;
  font-size: 1.5rem;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-line;
}

.accItem__panelInner ul {
  margin: 0;
  padding-left: 20px;
}

.accItem__panelInner li {
  margin-bottom: 6px;
}

/* ── Champs de formulaire (contact, fiche, alerte) ── */
.contactField {
  margin-bottom: 18px;
}

.contactField label {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--text);
  margin-bottom: 6px;
}

.contactField input,
.contactField textarea,
.contactField select {
  width: 100%;
  padding: 10px 14px;
  font-size: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-sizing: border-box;
  background: #fcfbfa;
  transition: border-color .15s;
}

.contactField input:focus,
.contactField textarea:focus,
.contactField select:focus {
  outline: none;
  border-color: var(--navy);
}

.contactField textarea {
  min-height: 110px;
  resize: vertical;
}

.formField {
  margin-bottom: 20px;
}

.formField label {
  display: block;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.formField input[type="text"],
.formField input[type="email"],
.formField input[type="tel"],
.formField select,
.formField textarea {
  width: 100%;
  font-size: 1.4rem;
  color: var(--text);
  padding: 13px 16px;
  border: 1.5px solid #d9deea;
  border-radius: 8px;
  background: #fcfbfa;
  transition: border-color .15s;
}

.formField input:focus,
.formField select:focus,
.formField textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.formField textarea {
  resize: vertical;
  min-height: 120px;
}

.formField select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2300005A' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.formHint {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.5;
  margin: -8px 0 24px;
}

.rgpd {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 4px 0 20px 0;
}

.rgpd a {
  color: var(--navy);
}

.fieldError {
  display: block;
  min-height: 1.6rem;
  margin-top: 6px;
  font-size: 1.25rem;
  color: #e08a1e;
}

.fieldError:empty {
  display: none;
}

[data-form-submit] {
  width: 200px;
  height: 38px;
  font-size: 1.5rem;
  background-color: var(--navy);
  color: var(--white);
  border-radius: 6px;
}

[data-form-submit]:hover {
  cursor: pointer;
  background-color: var(--gold);
}

/* ── Overlay + panneaux latéraux génériques ── */
#panelOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1500;
}

#panelOverlay.open {
  display: block;
}

.sidePanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 560px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 1501;
  padding: 32px 28px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
}

.sidePanel.open {
  transform: translateX(0);
}

.panelHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.panelTitle {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: .01em;
  text-transform: none;
}

.panelClose {
  background: none;
  border: none;
  font-size: 18px;
  color: #aaa;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .15s;
}

.panelClose:hover {
  color: var(--navy);
}

#contactPanelRef {
  font-size: 12px;
  color: #aaa;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

#contactFicheConfirm {
  padding: 24px 0;
  text-align: center;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .sidePanel {
    width: 100%;
  }
}

/* ── Confirmation globale (showConfirm) ── */
#globalConfirm {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#globalConfirmOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 83, .45);
}

#globalConfirmBox {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 420px;
  width: calc(100% - 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 83, .18);
}

#globalConfirmIco {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 4px;
}

#globalConfirmIco svg {
  width: 32px;
  height: 32px;
}

#globalConfirmBox.confirm--ok #globalConfirmIco {
  background: var(--navy-tint, #eef0f7);
  color: var(--navy);
}

#globalConfirmBox.confirm--err #globalConfirmIco {
  background: #fdf0dc;
  color: #e08a1e;
}

#globalConfirmTitle {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy);
}

#globalConfirmBox.confirm--err #globalConfirmTitle {
  color: #e08a1e;
}

#globalConfirmMsg {
  margin: 0;
  font-size: 1.45rem;
  color: var(--muted);
  line-height: 1.65;
}

#globalConfirmClose {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

#globalConfirmClose:hover {
  background: var(--navy-dk);
}

/* ── Bandeau cookies RGPD ── */
#cookieBanner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: var(--navy);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .15);
}

#cookieText {
  flex: 1 1 320px;
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--white);
}

#cookieText a {
  color: var(--gold);
  text-decoration: underline;
}

#cookieActions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#cookieActions button {
  margin: 0;
  height: auto;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--white);
  background: none;
  color: var(--white);
}

#cookieRefuse:hover {
  background: rgba(255, 255, 255, .1);
}

#cookieAccept {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

#cookieAccept:hover {
  opacity: .9;
}

@media (max-width: 600px) {
  #cookieBanner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  #cookieActions {
    justify-content: center;
  }
}

/* ── Checkboxes animées — ripple + stroke animé ── */
.engineBox {
  height: auto;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.checkbox__symbol {
  display: inline-flex;
  margin-right: .6em;
  border: 1.5px solid var(--c-primary);
  position: relative;
  border-radius: .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: .4em;
  left: .4em;
  width: .25em;
  height: .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 .25em var(--c-primary-20);
}

@keyframes ripple-engine {
  from {
    transform: scale(0);
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: scale(20);
  }
}

/* ── Budget / range slider ── */
#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 {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
  width: 180px;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: transform .15s;
}

.range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  cursor: pointer;
}

.range::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: var(--border);
}

#maxPrice {
  font-weight: 700;
  min-width: 80px;
}

/* ── Placeholder image ── */
.imgPlaceholder {
  position: relative;
  background: linear-gradient(135deg, var(--navy-tint), var(--gold-tint-2));
  overflow: hidden;
}

.imgPlaceholder::after {
  content: attr(data-placeholder);
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  background: rgba(255, 255, 255, .75);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── Cartes Google Maps ── */
.contactMap {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  background: var(--sand);
  min-height: 340px;
}

.contactMap iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
}

.sectionTitle {
  line-height: 1.25;
}

@media (max-width: 700px) {
  .pageSection {
    padding: 40px 20px;
  }

  .pageSectionTinted {
    padding: 40px 0;
  }

  .pageSectionInner {
    padding: 0 20px;
  }

  .sectionTitle {
    font-size: 2.4rem;
  }

  .closingCta {
    padding: 40px 20px;
  }
}

/* ================================================================
   9. ACCUEIL
   ================================================================ */

/* ── Hero ── */
#homeHero {
  position: relative;
  height: 84vh;
  min-height: 500px;
  max-height: 780px;
  display: flex;
  align-items: flex-end;
}

#homeHeroImg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(50% - 20px);
  opacity: 0;
  transition: opacity 1s ease;
}

#homeHeroImg.hero-ready {
  opacity: 1;
}

#homeHeroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, .7), rgba(20, 20, 22, 0) 55%);
  pointer-events: none;
}

#homeHeroContent {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 48px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

#homeHeroTitle {
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 1.2;
  color: var(--white);
  margin: 0 auto;
  max-width: 760px;
}

@media (max-width: 768px) {
  #homeHero {
    height: 56vh;
    min-height: 340px;
  }

  #homeHeroTitle {
    font-size: 2.8rem;
  }
}

/* ── Intro ── */
#homeIntro {
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 24px 40px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#homeIntroLead {
  font-size: 2rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 auto 32px;
  text-align: justify;
}

#homeIntroWord {
  display: inline-block;
  transition: opacity .25s ease;
}

#homeIntroLogos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

#homeIntroLogoGold {
  height: 78px;
  width: auto;
}

#homeIntroLogos p {
  font-size: 1.4rem;
}

#homeIntroSub {
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ── Pourquoi nous faire confiance ── */
#homeTrust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 24px;
  align-items: center;
}

#homeTrust img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  /* facultatif — retire-le si les autres photos du site sont à angles droits */
}

#homeTrustLabel {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}

#homeTrustSignature {
  font-family: 'Holiday', cursive;
  font-size: 3.2rem;
  color: var(--gold);
  margin-top: 36px;
  text-align: center;
}

@media (max-width: 860px) {
  #homeTrust {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #homeTrust img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 60%;
  }
}

/* ── Cartes chiffres — flip ── */
#homeStats {
  max-width: 1280px;
  margin: 56px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.statCard {
  perspective: 1200px;
  aspect-ratio: 1 / .85;
  border-radius: 10px;
}

.statCard:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.statCard__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.4, .2, .2, 1);
  transform-style: preserve-3d;
}

.statCard:hover .statCard__inner,
.statCard[data-flipped="true"] .statCard__inner,
.statCard:focus-within .statCard__inner {
  transform: rotateY(180deg);
}

.statCard__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;
  cursor: pointer;
}

.statCard__face--front {
  background: var(--navy);
  color: var(--white);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.statCard__face--back {
  background: var(--gold);
  color: var(--navy);
  transform: rotateY(180deg);
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.statCard__num {
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.statCard__label {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 13ch;
  opacity: .85;
}

.statCard__backLabel {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  max-width: 10ch;
}

.statCard__backArrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 2rem;
}

#cegc::after {
  content: 'K €';
}

#history::before {
  content: '+';
}

@media (max-width: 860px) {
  #homeStats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  #homeStats {
    grid-template-columns: 1fr;
  }
}

/* ── CTA estimation ── */
#homeEstimCta {
  text-align: center;
  max-width: 700px;
  margin: 64px auto 64px;
  padding: 0 24px;
}

#homeEstimCtaTitle {
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--navy);
  margin: 0 0 24px;
}

#homeEstimCtaBtns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Nos Services — photo pleine largeur → 3/4 + bullets au survol ── */
#homeServices {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.homeService {
  position: relative;
  display: flex;
  height: 500px;
}

.homeService__photoWrap {
  position: relative;
  flex: 1 1 100%;
  overflow: hidden;
  transition: flex-basis .5s ease;
}

.homeService:hover .homeService__photoWrap {
  flex-basis: 75%;
}

.homeService__photoLink {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.homeService__photoImg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
}

.homeService__photoImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, .4) 15%, rgba(20, 20, 22, 0) 60%);
}

.homeService__title {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 32px;
  font-weight: 700;
  font-size: 4rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--white);
  pointer-events: none;
}

.homeService__bullets {
  flex: 0 0 0%;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background: var(--white);
  padding: 0;
  box-sizing: border-box;
  opacity: 0;
  transition: flex-basis .5s ease, opacity .3s ease .1s, padding .5s ease;
}

.homeService:hover .homeService__bullets {
  flex-basis: 25%;
  width: auto;
  opacity: 1;
  padding: 32px;
  white-space: normal;
}

.homeService__bullets ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.homeService__bullets li {
  margin-bottom: 12px;
}

.homeService__bullets li:last-child {
  margin-bottom: 0;
}

.homeService__bullets li a {
  position: relative;
  display: block;
  padding-left: 22px;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  text-decoration: none;
}

.homeService__bullets li a:hover {
  text-decoration: underline;
}

.homeService__bullets li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
}

.homeService__ctaLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background .15s;
}

.homeService__ctaLink:hover {
  background: var(--navy-dk);
  text-decoration: none;
}

@media (max-width: 860px) {
  .homeService {
    flex-direction: column;
    height: auto;
  }

  .homeService__photoWrap {
    flex-basis: auto !important;
    height: 220px;
  }

  .homeService__bullets {
    flex-basis: auto !important;
    width: auto !important;
    opacity: 1 !important;
    padding: 24px !important;
    white-space: normal !important;
  }
}

/* ── Contact (home) ── */
#homeContact {
  max-width: 1100px;
  margin: 64px auto;
  padding: 0 24px;
}

#homeContactIntro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

#homeContactTitle {
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy);
  margin: 0 0 16px;
}

#homeContactSub {
  max-width: 500px;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 auto;
}

#homeContactGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

#homeContactForm,
#homeContactConfirm {
  grid-column: 1;
}

#homeContactMap {
  grid-column: 2;
}

#homeContactNameRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#homeContactTelRow {
  display: flex;
  gap: 8px;
}

#homeContactTelPrefix {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 1.4rem;
  color: var(--muted);
  background: #fcfbfa;
  border: 1px solid var(--border);
  border-radius: 6px;
}

#homeContactTelRow input {
  flex: 1;
}

#homeContactCoords {
  text-align: center;
  margin-top: 32px;
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 860px) {
  #homeContactGrid {
    grid-template-columns: 1fr;
  }

  #homeContactForm,
  #homeContactConfirm,
  #homeContactMap {
    grid-column: 1;
  }

  #homeContactNameRow {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ================================================================
   10. GESTION LOCATIVE
   ================================================================ */
#gestionHero {
  display: flex;
  flex-direction: column;
}

#gestionHeroImgWrap {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
}

#gestionHeroImg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/pages/ceprogim-12.jpg') no-repeat center center;
  background-size: cover;
}

#gestionHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, .7), rgba(20, 20, 22, 0) 55%);
}

#gestionHeroTitle {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 4rem;
  color: var(--white);
  margin: 0 auto;
  padding: 32px;
  text-align: center;
}

@media (max-width: 700px) {
  #gestionHeroImgWrap {
    height: 300px;
  }

  #gestionHeroTitle {
    font-size: 2.4rem;
    padding: 24px;
  }

  #gestionHeroTitle br {
    display: none;
  }
}

#gestionHeroBelow {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

#gestionHeroSub {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 28px;
}

#gestionHeroStats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.statBox {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 28px 32px;
  width: 280px;
  min-height: 200px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.statBox__num {
  display: block;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.1;
}

.statBox__label {
  display: block;
  font-size: 1.3rem;
  opacity: .85;
  margin-top: 4px;
}

#gestionHeroCta {
  margin-bottom: 14px;
}

#gestionHeroNote {
  font-size: 1.2rem;
  color: var(--muted);
}

/* ── Comparatif Gérer seul / Avec Ceprogim ── */
#gestionCompareGrid,
.compareGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}

.compareCard {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 30px;
}

.compareCard__title {
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy);
  text-align: center;
  margin: 0 0 18px;
}

.compareCard__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compareCard__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.4rem;
  line-height: 2.5;
  color: var(--text);
  margin-bottom: 12px;
}

.compareCard__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 6px;
}

.compareCard__note {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--text);
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {

  #gestionCompareGrid,
  .compareGrid {
    grid-template-columns: 1fr;
  }
}

/* ── Savoir-faire ── */
.savoirFaireHead {
  max-width: 800px;
  background: var(--navy-tint);
  padding: 5%;
  margin-bottom: 32px;
}

#gestionSavoirFaireList,
.savoirFaireList {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 820px;
}

.savoirFaireItem__label {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-2);
  margin-bottom: 3px;
}

.savoirFaireItem__body {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ── Photo + accordéon (méthode / garanties) ── */
.photoAccordionRow {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.photoAccordionRow--reverse {
  grid-template-columns: 1.2fr .8fr;
}

.photoAccordionRow--reverse .photoAccordionRow__content #photoWarranties__img {
  order: 1;
}

.photoAccordionRow--reverse #photoSteps__img {
  order: 2;
}

#photoSteps__img,
#photoWarranties__img {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  position: sticky;
  top: 100px;
}

#photoSteps__img {
  background: url('/assets/images/pages/ceprogim-13.jpg') no-repeat center center;
  background-size: cover;
}

#photoWarranties__img {
  background: url('/assets/images/pages/ceprogim-14.jpg') no-repeat center center;
  background-size: cover;
}

@media (max-width: 860px) {

  .photoAccordionRow,
  .photoAccordionRow--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .photoAccordionRow--reverse .photoAccordionRow__content,
  .photoAccordionRow--reverse #photoSteps__img #photoWarranties__img {
    order: unset;
  }

  #photoSteps__img #photoWarranties__img {
    aspect-ratio: 16 / 10;
    position: static;
  }
}

/* ================================================================
   11. SYNDIC
   ================================================================ */
#syndicHero {
  display: flex;
  flex-direction: column;
}

#syndicHeroImgWrap {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
}

#syndicHeroImg {
  position: absolute;
  inset: 0;
  background: url(../images/pages/header-syndic-3.jpg) no-repeat center center;
  background-size: cover;
}

#syndicHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 40, .7), rgba(20, 20, 40, 0) 55%);
}

#syndicHeroTitle {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 3rem;
  color: var(--white);
  margin: 0 auto;
  padding: 32px;
  max-width: 820px;
}

#syndicHeroBelow {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
}

#syndicHeroSub {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 28px;
}

#syndicHeroCtaRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

#syndicHeroPhone {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  text-decoration: none;
}

#syndicHeroPhone:hover {
  text-decoration: underline;
}

#syndicHeroNote {
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 700px) {
  #syndicHeroImgWrap {
    height: 300px;
  }

  #syndicHeroTitle {
    font-size: 2.2rem;
    padding: 24px;
  }
}

/* ── Chiffres clés ── */
#syndicStats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px 24px;
}

/* ── Charte ── */
#syndicCharteList {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 820px;
}

#syndicCharteList li {
  position: relative;
  padding-left: 22px;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}

#syndicCharteList li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
}

/* ── Photos des blocs engagements / garanties ── */
#syndicCommitment,
#syndicGuarantees {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  position: sticky;
  top: 100px;
}

#syndicCommitment {
  background: url('/assets/images/pages/syndic-1.jpg') no-repeat center center;
  background-size: cover;
}

#syndicGuarantees {
  background: url('/assets/images/pages/syndic-2.jpg') no-repeat center center;
  background-size: cover;
}

/* ================================================================
   12. ESTIMER
   ================================================================ */
#estimerHero {
  display: flex;
  flex-direction: column;
}

#estimerHeroImgWrap {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
}

#estimerHeroImg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/images/pages/ceprogim-7.jpg');
  background-size: cover;
  background-position: center;
}

#estimerHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 40, .7), rgba(20, 20, 40, 0) 55%);
}

#estimerHeroTitle {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 3.2rem;
  color: var(--white);
  margin: 0 auto;
  padding: 32px;
  max-width: 900px;
}

#estimerHeroBelow {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 8px;
  width: 100%;
  box-sizing: border-box;
}

#estimerHeroSub {
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 16px;
}

#estimerHeroText {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 640px;
}

#estimerHeroBtns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  #estimerHeroImgWrap {
    height: 300px;
  }

  #estimerHeroTitle {
    font-size: 2.4rem;
    padding: 24px;
  }
}

/* ── Confiance ── */
#estimerTrust {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

#estimerTrustImg {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  position: sticky;
  top: 100px;
  background-image: url('/assets/images/pages/ceprogim-8.jpg');
  background-size: cover;
  background-position: center;
}

@media (max-width: 860px) {
  #estimerTrust {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #estimerTrustImg {
    aspect-ratio: 16 / 10;
    position: static;
  }
}

/* ── Deux options ── */
#estimerOptionsGrid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.optionCard {
  background: var(--navy-tint);
  border-radius: 10px;
  padding: 32px 36px;
  scroll-margin-top: 120px;
}

.optionCard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.optionCard__eyebrow {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.optionCard__badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--navy);
}

.optionCard__title {
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.optionCard__text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 16px;
  max-width: 720px;
}

.optionCard__list {
  list-style: disc;
  margin: 0 0 24px;
  padding-left: 20px;
}

.optionCard__list li {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 6px;
}

.optionCard__note {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 12px 0 0;
}

/* ── Processus ── */
#estimerProcess {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

#estimerProcessImg {
  aspect-ratio: 3.5/4;
  border-radius: 10px;
  background: url('/assets/images/pages/ceprogim-9.jpg') no-repeat center center;
  background-size: cover;
}

#estimerProcess .accGroup {
  max-width: 760px;
}

@media (max-width: 860px) {
  #estimerProcess {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #estimerProcessImg {
    aspect-ratio: 4 / 3;
    background-position: center 15%;
  }
}

/* ── Promesse ── */
#estimerPromise {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

#estimerPromiseList {
  list-style: none;
  margin: 0;
  padding: 0;
}

#estimerPromiseList li {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 14px;
}

#estimerPromiseList strong {
  color: var(--navy);
}

#estimerPromiseImg {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: url(../images/pages/estim-avis.jpeg) no-repeat center center;
  background-size: cover;
}

@media (max-width: 860px) {
  #estimerPromise {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #estimerPromiseImg {
    aspect-ratio: 16 / 10;
  }
}

/* ── CTA de clôture estimer ── */
#estimerClosingCta {
  background: var(--navy-tint);
  padding: 56px 24px;
}

#estimerClosingCtaInner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

#estimerClosingCtaTitle {
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--navy);
  margin: 0 0 24px;
}

#estimerClosingCtaBtns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

#estimerClosingCtaMicro {
  margin-top: 20px;
  font-size: 1.3rem;
  color: var(--muted);
}

/* ================================================================
   13. LOUER — filtres, liste, carte Leaflet, alerte
   ================================================================ */

/* ── Hero ── */
#louerHero {
  position: relative;
  height: 460px;
  display: flex;
  align-items: end;
  justify-content: center;
}

#louerHeroImg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/pages/ceprogim-16.jpg') no-repeat center center;
  background-size: cover;
}

#louerHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, .7), rgba(20, 20, 22, 0) 55%);
}

#louerHeroTitle {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 4rem;
  color: var(--white);
  text-align: center;
  margin: 0 auto 3rem auto;
  padding: 0 24px;
}

@media (max-width: 700px) {
  #louerHero {
    height: 300px;
  }

  #louerHeroTitle {
    font-size: 2.4rem;
    margin-bottom: 2.4rem;
  }
}

/* ── En-tête liste + filtres ── */
/* CORRECTION : les deux définitions contradictoires de #adsHead
   sont fusionnées (la seconde l'emportait sur la marge). */
#adsHead {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
}

#adsIntro {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 24px;
}

#louerFilters {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.louerFilter {
  position: relative;
}

.louerFilter__trigger {
  height: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}

.louerFilter__trigger svg {
  width: 14px;
  height: 14px;
  color: var(--gold-2);
}

.louerFilter__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-top: 12px;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 83, .12);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 5000;
}

.louerFilter__panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.louerFilter__placeholder {
  margin: 0;
  font-size: 1.3rem;
  color: var(--muted);
  font-style: italic;
}

.louerFilter__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}

.louerFilter__group .engineBox {
  white-space: nowrap;
}

.louerFilter__trigger.is-active {
  color: var(--gold-2);
}

.louerFilter__trigger.is-active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-2);
}

.louerReset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.louerReset:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.louerReset svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 700px) {
  #louerFilters {
    gap: 16px 20px;
  }

  .louerFilter {
    position: static;
  }
}

/* Lien « Créer une alerte » sous l'intro */
#louerAlerteLine {
  margin: -8px 0 24px;
  font-size: 1.4rem;
  text-align: center;
}

.louerAlerteBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
}

.louerAlerteBtn svg {
  width: 14px;
  height: 14px;
}

.louerAlerteBtn:hover {
  background: var(--gold);
  color: var(--navy);
}


/* ── Layout liste + carte ── */
#mapLayout {
  display: flex;
  height: calc(80vh - 24px);
  margin-bottom: 24px;
  padding-right: 24px;
  position: relative;
}

#mapList {
  width: 40%;
  flex-shrink: 0;
  overflow-y: auto;
  border-right: 1px solid var(--border);
  box-sizing: border-box;
  height: 100%;
  padding: 0 24px 24px 24px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}

#mapListEmpty {
  grid-column: 1 / -1;
  padding: 40px 16px;
  text-align: center;
  font-size: 1.5rem;
}

#mapListEmpty p {
  margin: 0 0 16px;
}

#mapContainer {
  flex: 1;
  height: calc(80vh - 24px);
  position: relative;
}

#mapZoomHint {
  position: absolute;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 83, .12);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}

#mapContainer:hover #mapZoomHint {
  opacity: 1;
}

#mapContainer.mapActive #mapZoomHint {
  display: none;
}

/* Bouton « Voir la carte » : masqué par défaut, défini AVANT les media queries */
.btn-liste-flottant {
  display: none;
}

/* Bascule Liste / Carte : masquée sur ordinateur */
#louerViewToggle {
  display: none;
}

/* Tablette : liste plus large, une seule colonne */
@media (max-width: 1260px) {
  #mapList {
    width: 45%;
    grid-template-columns: 1fr;
  }
}

/* Mobile : liste puis carte, l'une sous l'autre, dans le défilement normal de la page */
@media (max-width: 900px) {
  #mapLayout {
    flex-direction: column;
    height: auto;
    padding-right: 0;
    position: relative;
  }

  #mapList {
    width: 100%;
    height: auto;
    overflow: visible;
    border-right: none;
    padding: 0 20px 24px;
    grid-template-columns: 1fr 1fr;
  }

  #mapContainer {
    flex: none;
    width: 100%;
    height: 70vh;
  }

  /* Vue liste : la carte garde sa taille mais devient invisible */
  #mapLayout.view-list #mapContainer {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none;
  }

  /* Vue carte : la liste disparaît */
  #mapLayout.view-map #mapList {
    display: none;
  }

  #mapLayout.view-map #mapContainer {
    height: calc(100vh - 160px);
  }

  #louerViewToggle {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 8px;
    margin: 0 auto 20px;
    padding: 10px 22px;
    border-radius: 24px;
    background: var(--navy);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 600;
  }

  #louerViewToggle:hover {
    background: var(--navy-dk);
  }

  #louerViewToggle svg {
    width: 18px;
    height: 18px;
  }

  #mapLayout.view-list .iconList,
  #mapLayout.view-map .iconMap {
    display: none;
  }
}

@media (max-width: 560px) {
  #mapList {
    grid-template-columns: 1fr;
  }
}


/* ── Cartes annonce (liste latérale) ── */
/* CORRECTION : .mapCard-photo était défini deux fois, .mapCard-row
   également (le second écrasait le gap du premier). */
.mapCard {
  flex-shrink: 0;
  min-height: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.mapCard:hover,
.mapCard.highlighted {
  box-shadow: 0 4px 16px rgba(0, 0, 83, .12);
  border-color: var(--navy);
}

.mapCard-photo {
  position: relative;
  width: 100%;
  height: 220px;
  min-height: 220px;
  overflow: hidden;
  background: var(--sand);
  flex-shrink: 0;
}

.mapCard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.mapCard:hover .mapCard-photo img {
  transform: scale(1.04);
}

.mapCard-etiquette {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

.mapCard-etiquette--sold {
  background: var(--text);
}

.mapCard-body {
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mapCard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mapCard-prix {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}

.mapCard-titre {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text);
}

.mapCard-lieu {
  margin: 0;
  font-size: 1.2rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mapCard-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
}

.mapCard-nogeo {
  font-size: 1rem;
  color: #ccc;
  font-style: italic;
}

/* ── Marqueurs + popups Leaflet (générés en JS) ── */
.price-marker {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.price-marker.active {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}

.price-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  border: none;
}

.price-popup .leaflet-popup-tip-container {
  margin-top: -1px;
}

.price-popup .leaflet-popup-tip {
  box-shadow: none;
}

.price-popup .leaflet-popup-content {
  margin: 0;
  width: 260px !important;
  height: 260px !important;
  padding: 1rem;
}

.price-popup .leaflet-popup-close-button {
  top: 14px !important;
  right: 14px !important;
  width: 28px !important;
  height: 28px !important;
  background: rgba(255, 255, 255, .92) !important;
  border-radius: 50% !important;
  color: #333 !important;
  font-size: 16px !important;
  line-height: 28px !important;
  text-align: center;
  padding: 0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.popup-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity .15s;
}

.popup-card:hover {
  opacity: .93;
}

.popup-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.popup-no-img {
  background: #ede9e3;
  height: 160px;
}

.popup-info {
  padding: 12px 14px 14px;
  background: var(--white);
}

.popup-type {
  margin: 0 0 2px !important;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}

.popup-ville {
  margin: 0 0 8px !important;
  font-size: 1.2rem;
  color: #999;
}

.popup-prix {
  margin: 0 !important;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}

/* ── Nos engagements locataire ── */
.engagementsGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.engagementCard {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.engagementCard__num {
  display: block;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold-2);
  margin-bottom: 10px;
}

.engagementCard__title {
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.engagementCard__text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 10px;
}

.engagementCard__doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
}

.engagementCard__doc svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .engagementsGrid {
    grid-template-columns: 1fr;
  }
}

/* ── Panneau alerte (partial alerte-section.php) ── */
#alerteIntro {
  margin: 0 0 24px;
  font-size: 1.4rem;
  line-height: 1.6;
}

/* ================================================================
   14. FICHE BIEN
   ================================================================ */
#card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

/* ── Fil d'Ariane ── */
#ficheBreadcrumb {
  margin-bottom: 16px;
}

#ficheBreadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

#ficheBreadcrumb a:hover {
  color: var(--navy);
}

#ficheBreadcrumb svg {
  width: 16px;
  height: 16px;
}

/* ── Titre + partager ── */
#ficheTopBar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

#ficheTitle {
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy);
  margin: 0;
}

#ficheShareWrap {
  position: relative;
  flex-shrink: 0;
}

#ficheShareBtn {
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

#ficheShareBtn:hover {
  background: var(--navy-tint);
}

#ficheShareBtn svg {
  width: 16px;
  height: 16px;
}

#shareDropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 83, .12);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 20;
}

#shareDropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.shareOption {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  border-radius: 6px;
  padding: 9px 10px;
  margin: 0;
  height: auto;
  line-height: 1.3;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.shareOption:hover {
  background: var(--navy-tint);
}

.shareOptionIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.shareOptionIcon img {
  width: 20px;
  height: 20px;
}

.shareOptionIcon svg {
  width: 100%;
  height: auto;
}

/* ── Galerie — façon Airbnb (1 grande + 4 vignettes) ── */
#ficheGallery {
  margin-bottom: 32px;
}

#ficheGalleryGrid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
}

.ficheGalleryCell {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  background: var(--sand);
  overflow: hidden;
}

.ficheGalleryCell:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.ficheGalleryCell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.ficheGalleryCell:hover img {
  transform: scale(1.03);
}

.ficheGalleryMore {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.ficheGalleryMore svg {
  width: 16px;
  height: 16px;
}

.ficheGalleryGrid--empty {
  display: block;
  height: 420px;
}

.ficheGalleryGrid--empty .ficheGalleryCell {
  width: 100%;
  height: 100%;
  cursor: default;
}

.ficheGalleryEtat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  z-index: 2;
}

@media (max-width: 760px) {
  #ficheGalleryGrid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .ficheGalleryCell:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .ficheGalleryCell:not(:first-child) {
    display: none;
  }
}

/* ── Lightbox ── */
#ficheLightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 20, .94);
  display: none;
  align-items: center;
  justify-content: center;
}

#ficheLightbox.open {
  display: flex;
}

#ficheLightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
}

#lightboxClose {
  position: absolute;
  top: 20px;
  right: 24px;
  height: auto;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

#lightboxPrev,
#lightboxNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
}

#lightboxPrev {
  left: 20px;
}

#lightboxNext {
  right: 20px;
}

#lightboxPrev svg,
#lightboxNext svg {
  width: 22px;
  height: 22px;
}

#lightboxCounter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.3rem;
  margin: 0;
}

/* ── Titre + prix ── */
#ficheHead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 32px;
  margin-bottom: 32px;
}

#fichePriceBox {
  background: var(--navy-tint);
  border-radius: 8px;
  padding: 20px 24px;
}

#fichePriceMain {
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 8px;
}

#fichePriceUnit {
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--muted);
}

.fichePriceLine {
  font-size: 1.4rem;
  color: var(--text);
  margin: 0 0 4px;
}

#ficheCaracteristiques {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

.ficheCarac {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  color: var(--text);
}

.ficheCarac__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold-2);
}

/* ── Description ── */
#ficheDescSection {
  margin-bottom: 32px;
}

#ficheDesc {
  margin-bottom: 20px;
  text-align: justify;
}

/* ── Mentions obligatoires + DPE/GES ── */
#ficheMentionsSection {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 40px;
}

.ficheMentions__title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.ficheMentions__titleIcon {
  position: relative;
  top: 6px;
  width: 28px;
  height: 28px;
  margin-right: 6px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
}

.ficheMentions__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.4rem;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.5;
}

.ficheMentions__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold-2);
}

.ficheGeorisques {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.5;
}

.ficheGeorisques a {
  color: #888;
}

@media (max-width: 700px) {
  #ficheMentionsSection {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── DPE / GES — diagramme barres + panneau détaillé ── */
.ficheDpe__label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
}

.dpeSubTitle {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin: 16px 0 8px;
}

.dpeBar {
  display: flex;
  gap: 4px;
}

.dpeBarWrap {
  position: relative;
  margin-bottom: 44px;
}

.dpeBarItem {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  border-radius: 4px;
  opacity: .45;
  transition: opacity .2s, transform .2s;
}

.dpeBarItem--active {
  opacity: 1;
  transform: scaleY(1.15);
}

.dpeBarPointer {
  position: absolute;
  top: 100%;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.dpeArrow {
  color: #333;
  line-height: 1;
}

.dpeVal {
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.dpeUnit {
  color: #999;
  font-size: 10px;
}

.ficheDpeDetail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding: 9px 20px;
  background: var(--navy);
  border: 1.5px solid var(--navy);
  color: var(--white);
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border-radius: 3px;
  transition: background .15s, color .15s;
}

/* CORRECTION : var(--navy-dark) n'existe pas → --navy-dk */
.ficheDpeDetail:hover {
  background: var(--navy-dk);
}

.ficheDpeNote {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
}

.dpePanelTitle {
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0 4px;
}

.dpePanelSub {
  font-size: 11px;
  color: #999;
  margin: 0 0 8px;
  font-style: italic;
}

.dpePanelNote {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

.dpeScale {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.dpeScaleRow {
  display: flex;
  align-items: center;
}

.dpeScaleBar {
  height: 32px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-radius: 20px;
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  max-width: 250px;
  transition: height .15s;
}

.dpeScaleBar--active {
  height: 38px;
  opacity: 1;
  position: relative;
  overflow: visible;
}

.dpeScaleBar--active::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--trait-width, 0px));
  top: 50%;
  transform: translateY(-50%);
  width: var(--trait-width, 0px);
  height: 2px;
  background: var(--dpe-color, #999);
  z-index: 1;
}

.dpeScaleTag {
  font-size: 10px;
  font-weight: 400;
  margin-left: 8px;
  opacity: .9;
}

.dpeScaleDetail {
  position: absolute;
  right: 1rem;
  width: 220px;
  display: flex;
  flex-direction: column;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  gap: 3px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  z-index: 10;
  /* top calculé en JS via data-index */
}

.dpeScaleDetail strong {
  color: var(--navy);
}

.ficheDpeCols {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.ficheDpeCol {
  flex: 1 1 220px;
  min-width: 220px;
}

#ficheDpeModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .5);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#ficheDpeModal.open {
  display: flex;
}

.dpeModalPanel {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
}

.dpeModalClose {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.dpeCoutBox {
  background: #f4f1ee;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 6px 0 4px;
}

.dpeCoutRange {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

/* ── Bouton contact flottant ── */
#ficheStickyContact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 83, .3);
  cursor: pointer;
  transition: background .15s, transform .15s;
}

#ficheStickyContact:hover {
  background: var(--navy-dk);
  transform: translateY(-2px);
}

#ficheStickyContact svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 700px) {
  #ficheStickyContact {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
  }
}

/* ================================================================
   15. L'AGENCE
   ================================================================ */
#agenceHero {
  display: flex;
  flex-direction: column;
}

#agenceHeroImgWrap {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
}

#agenceHeroImg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/pages/agency-4.jpg') no-repeat center center;
  background-size: cover;
}

#agenceHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, .7), rgba(20, 20, 22, 0) 55%);
}

#agenceHeroTitle {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 3rem;
  color: var(--white);
  margin: 0 auto;
  padding: 32px;
  max-width: 820px;
}

#agenceHeroBelow {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

#agenceHeroSub {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 28px;
}

#agenceHeroCtaRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  #agenceHeroImgWrap {
    height: 300px;
  }

  #agenceHeroTitle {
    font-size: 2.2rem;
    padding: 24px;
  }
}

/* ── Notre histoire ── */
#agenceHistoire .pageSectionInner {
  max-width: 1280px;
}

#agenceHistoireIntro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 8px;
}

#agenceHistoireIntro .imgPlaceholder {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: url('/assets/images/pages/agence-building.jpg') no-repeat center center;
  background-size: cover;
}

#agenceHistoireRest {
  max-width: 900px;
  margin-top: 30px;
}

#agenceHistoireRest .sectionText {
  margin-bottom: 20px;
}

#agenceHistoireRest a,
#agenceHistoireIntro a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  #agenceHistoireIntro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #agenceHistoireIntro .imgPlaceholder {
    aspect-ratio: 16 / 10;
  }
}

/* ── Manifeste ── */
#agenceManifeste .pageSectionInner {
  max-width: 780px;
  text-align: center;
}

#agenceManifesteText {
  font-weight: 700;
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1.55;
  color: var(--navy);
}

#agenceManifesteText p {
  margin: 0 0 28px;
}

#agenceManifesteSignature {
  display: block;
  text-align: right;
  font-size: 3rem;
  color: var(--gold);
  margin-top: 12px;
}

@media (max-width: 700px) {
  #agenceManifesteText {
    font-size: 1.5rem;
  }
}

/* ── Valeurs ── */
#agenceValeursList {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 900px;
}

.valeurItem__title {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.valeurItem__title span {
  color: var(--gold-2);
}

.valeurItem__body {
  font-size: 1.5rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* ── Équipe Gestion & Syndic (bandeau navy) ── */
#equipe {
  max-width: 1280px;
  margin: auto;
  padding: 3rem;
  background: var(--navy);
  color: var(--white);
}

#agenceEquipeH2 {
  color: var(--white);
}

#management.pageSectionInner {
  max-width: 960px;
}

#agenceEquipeIntro {
  max-width: 900px;
  margin: 0 auto 48px;
}

#agenceEquipeIntro p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 18px;
  text-align: left;
}

#agenceEquipeGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.teamCard__photo {
  aspect-ratio: 3/4.5;
  border-radius: 10px;
  margin-bottom: 20px;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
}

.teamCard__name {
  display: block;
  font-size: 3.4rem;
  color: var(--gold);
  line-height: 2;
  text-align: center;
}

.teamCard__role {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin: 30px 0 14px;
}

.teamCard__role a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.teamCard__quote {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

#agencePoles {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 32px;
}

#agencePoles .sectionLabel {
  color: var(--gold-2);
}

#agencePolesList {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  margin: 3rem auto;
  text-align: center;
}

@media (max-width: 700px) {
  #agenceEquipeGrid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Équipe Transactions — Colin Immobilier ── */
#agenceTransactions {
  text-align: center;
}

#agenceTransactions .pageSectionInner {
  max-width: 900px;
}

#agenceTransactionsLogo {
  width: 200px;
  height: 100px;
  background: url('/assets/images/brand/colin-immo-jaune.svg') no-repeat center center;
  background-size: auto 100%;
  margin: 2rem auto 5rem auto;
}

#agenceTransactions .sectionTitle {
  text-align: center;
}

#agenceTransactionsText {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text);
  text-align: left;
  margin: 0 0 40px;
}

#agenceTransactionsText a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#agenceTransactionsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.transTeam__photo {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  margin-bottom: 16px;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
}

.transTeam__name {
  display: block;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1.8;
}

#agenceTransactionsCtas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  #agenceTransactionsGrid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ================================================================
   16. CONTACT
   ================================================================ */
#contactHero {
  position: relative;
  height: 460px;
  display: flex;
  align-items: flex-end;
}

#contactHeroImg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/pages/contact-hero.jpg') no-repeat center center;
  background-size: cover;
}

#contactHeroImg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, .7), rgba(20, 20, 22, 0) 55%);
}

#contactHeroTitle {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 3rem;
  color: var(--white);
  margin: 0 auto;
  padding: 32px;
  max-width: 900px;
}

@media (max-width: 700px) {
  #contactHero {
    height: 300px;
  }

  #contactHeroTitle {
    font-size: 2.2rem;
    padding: 24px;
  }
}

/* ── Cartes d'orientation ── */
#contactOrientList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.orientCard {
  background: var(--navy-tint);
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.orientCard__icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
}

.orientCard__icon img {
  width: 64px;
  height: 64px;
}

.orientCard__body {
  flex: 1 1 auto;
}

.orientCard__title {
  display: block;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 4px;
}

.orientCard__text {
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.orientCard__text a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.orientCard__btn {
  flex: 0 0 auto;
  width: 260px;
}

.orientCard__btn .btnPrimary {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

@media (max-width: 780px) {
  .orientCard {
    flex-wrap: wrap;
    padding: 24px;
  }

  .orientCard__btn {
    width: 100%;
  }

  .orientCard__btn .btnPrimary {
    width: 100%;
    justify-content: center;
  }
}

/* ── Formulaire ── */
#contactFormSection .pageSectionInner {
  max-width: 760px;
  text-align: center;
}

#contactFormSub {
  max-width: 640px;
  margin: 0 auto 40px;
}

#contactForm {
  text-align: left;
}

#contactFormSubmit {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
}

/* ── Coordonnées directes ── */
#contactDirectGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  text-align: left;
  max-width: 1080px;
  margin: 0 auto;
}

.directBlock__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.directBlock__iconWrap {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.directBlock__iconWrap img {
  width: 100%;
  height: 100%;
}

.directBlock__heading h3 {
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--gold);
  margin: 0;
}

.directBlock p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 16px;
}

.directBlock__phoneNumber {
  display: block;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.directBlock__emailGroup {
  margin-bottom: 20px;
}

.directBlock__emailGroup strong {
  display: block;
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.directBlock__emailGroup a {
  color: var(--text);
  text-decoration: none;
}

.directBlock__emailGroup a:hover {
  text-decoration: underline;
}

@media (max-width: 780px) {
  #contactDirectGrid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Carte & accès ── */
#contactAcces .pageSectionInner {
  max-width: 1080px;
}

#contactAcces h2 {
  color: var(--gold);
}

#contactAccesAddr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin: -8px 0 32px;
}

#contactAccesAddr img {
  width: 28px;
  height: 28px;
}

#contactAccesGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 56px;
  margin-bottom: 32px;
}

.accesItem__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.accesItem__iconWrap {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.accesItem__iconWrap img {
  width: 100%;
  height: 100%;
}

.accesItem__heading strong {
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--navy);
}

.accesItem p,
.accesItem ul {
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 0 34px;
  padding: 0;
}

.accesItem ul {
  list-style: disc;
  padding-left: 18px;
}

#contactMapWrap {
  border-radius: 10px;
  overflow: hidden;
  height: 380px;
}

#contactMapWrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 780px) {
  #contactAccesGrid {
    grid-template-columns: 1fr;
  }
}

/* ── Espaces clients ── */
#contactEspacesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.espaceCard {
  background: var(--navy-tint);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.espaceCard__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.espaceCard__icon img {
  width: 100%;
  height: 100%;
}

.espaceCard__title {
  display: block;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--navy);
  margin-bottom: 12px;
}

.espaceCard__text {
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 20px;
  flex: 1 1 auto;
}

.espaceCard .btnPrimary {
  width: 100%;
  justify-content: center;
}

@media (max-width: 780px) {
  #contactEspacesGrid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   17. PAGES LÉGALES (mentions légales / confidentialité)
   ================================================================ */
.legalHero {
  padding-bottom: 32px;
}

.legalLayout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 0;
}

.legalNav {
  position: sticky;
  top: 100px;
}

.legalNav__label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}

.legalNav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--border);
}

.legalNav a {
  display: block;
  padding: 8px 0 8px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 1.35rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s, border-color .15s;
}

.legalNav a:hover {
  color: var(--navy);
}

.legalContent {
  min-width: 0;
}

.legalContent h2 {
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  margin: 48px 0 16px;
  scroll-margin-top: 100px;
}

.legalContent h2:first-child {
  margin-top: 0;
}

.legalContent p,
.legalContent li {
  font-size: 1.45rem;
  line-height: 1.7;
  color: var(--text);
}

.legalContent p {
  margin: 0 0 16px;
}

.legalContent ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legalContent li {
  margin-bottom: 8px;
}

.legalContent a {
  color: var(--navy);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .legalLayout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legalNav {
    position: static;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .legalNav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    border-left: none;
  }

  .legalNav a {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 1.25rem;
  }
}

/* ================================================================
   18. PAGE 404
   ================================================================ */
.notFoundSection {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: var(--sand);
  text-align: center;
}

.notFoundWrap {
  max-width: 560px;
  padding: 0 24px;
}

.notFoundCode {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold);
}

.notFoundTitle {
  margin: 8px 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}

.notFoundText {
  margin: 0 auto 32px;
  max-width: 420px;
  font-size: 1.6rem;
  color: var(--muted);
}

.notFoundActions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.notFoundBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}

.notFoundBtn--primary {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
}

.notFoundBtn--primary:hover {
  background: var(--navy-dk);
  border-color: var(--navy-dk);
}

.notFoundBtn--secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.notFoundBtn--secondary:hover {
  border-color: var(--navy);
}

@media (max-width: 480px) {
  .notFoundActions {
    flex-direction: column;
  }

  .notFoundBtn {
    width: 100%;
  }
}

/* ================================================================
   19. INTRO SPLASH (nuit → jour, une fois par session — home)
   ================================================================ */
html.intro-playing,
html.intro-playing body {
  overflow: hidden;
  height: 100%;
}

#introSplash {
  position: fixed;
  inset: 0;
  z-index: 20000;
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
  transition: opacity 2.2s ease;
}

#introSplash.intro-done {
  opacity: 0;
  pointer-events: none;
}

#introSky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000034 0%, #000053 55%, #001b4d 100%);
}

#introSky::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fdc500 0%, #ffe08a 45%, #cfe9ff 100%);
  opacity: 0;
  transition: opacity 3.5s ease;
  transition-delay: .9s;
}

#introSplash.intro-run #introSky::after {
  opacity: 1;
}

#introSkyline {
  position: absolute;
  left: 20%;
  width: 60%;
  bottom: 8%;
  height: auto;
  opacity: 0;
  transition: opacity 1.5s ease;
  transition-delay: .3s;
}

#introSplash.intro-run #introSkyline {
  opacity: .55;
}

#introSkylinePath {
  fill: none;
  stroke: #000053;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.introGullWrap {
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s ease;
  transition-delay: 1.8s;
}

#introSplash.intro-run .introGullWrap {
  opacity: .5;
}

.introGull {
  display: block;
  width: 100%;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: center;
  animation: introFlap .7s ease-in-out infinite;
}

#introSplash.intro-run #introGull1 {
  animation-name: introFlyPath1;
  animation-duration: 9s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: .3s;
}

#introSplash.intro-run #introGull2 {
  animation-name: introFlyPath2;
  animation-duration: 12s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: 2.2s;
}

#introSplash.intro-run #introGull3 {
  animation-name: introFlyPath3;
  animation-duration: 14s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: 4.6s;
}

@keyframes introFlap {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(.4);
  }
}

@keyframes introFlyPath1 {
  0% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(26vw, -14px);
  }

  40% {
    transform: translate(52vw, -30px);
  }

  60% {
    transform: translate(78vw, -40px);
  }

  80% {
    transform: translate(104vw, -52px);
  }

  100% {
    transform: translate(130vw, -66px);
  }
}

@keyframes introFlyPath2 {
  0% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(26vw, 10px);
  }

  40% {
    transform: translate(52vw, 26px);
  }

  60% {
    transform: translate(78vw, 34px);
  }

  80% {
    transform: translate(104vw, 44px);
  }

  100% {
    transform: translate(130vw, 52px);
  }
}

@keyframes introFlyPath3 {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(32vw, -30px);
  }

  50% {
    transform: translate(64vw, -55px);
  }

  75% {
    transform: translate(96vw, -75px);
  }

  100% {
    transform: translate(130vw, -95px);
  }
}

#introSignature {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40%;
  text-align: center;
  opacity: 0;
  transition: opacity .5s ease;
}

#introSplash.intro-signature #introSignature {
  opacity: 1;
}

#introSignature .txt-signature {
  display: inline-block;
  font-size: 5rem;
  color: var(--navy);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s ease;
}

#introSplash.intro-signature #introSignature .txt-signature {
  clip-path: inset(0 0% 0 0);
}

#introSignature .txt-signature .word-first {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s ease;
}

#introSignature .txt-signature .word-second {
  color: var(--gold);
  margin-left: 1.2rem;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s ease .6s;
}

#introSplash.intro-signature #introSignature .txt-signature .word-first,
#introSplash.intro-signature #introSignature .txt-signature .word-second {
  clip-path: inset(0 0% 0 0);
}

@media (max-width: 600px) {
  #introSignature .txt-signature {
    font-size: 3.2rem;
  }
}

#introLogos {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  transform: translateY(-170px);
}

#introMoon,
#introSun {
  width: 164px;
  height: 164px;
}

#introMoon {
  width: 148px;
  height: 148px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(-10px) scale(.9);
  transition: opacity 1s ease .1s, transform 1s ease .1s, filter 2.5s ease 2.5s;
  filter:
    drop-shadow(0 0 20px rgba(255, 255, 255, .45)) drop-shadow(0 0 48px rgba(255, 255, 255, .2)) drop-shadow(0 2px 6px rgba(0, 0, 40, .15));
}

#introSplash.intro-run #introMoon {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter:
    drop-shadow(0 0 20px rgba(200, 150, 80, .45)) drop-shadow(0 0 48px rgba(200, 150, 80, .2)) drop-shadow(0 2px 6px rgba(120, 60, 0, .25));
}

#introSunClip {
  position: relative;
  z-index: 1;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
  filter: drop-shadow(0 2px 8px rgba(120, 60, 0, .3));
  opacity: 0;
  transform: translateX(-204px);
  transition: opacity .3s ease 1.4s, transform 1.2s ease 1.3s;
}

#introSplash.intro-run #introSunClip {
  opacity: 1;
  transform: translateX(0);
  filter: drop-shadow(0 2px 8px rgba(120, 60, 0, .3));
}

#introSun {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {

  #introMoon,
  #introSunClip {
    width: 100px;
    height: 100px;
  }

  #introSunClip {
    transform: translateX(-132px);
  }

  #introLogos {
    gap: 32px;
  }
}

/* ================================================================
   20. PAGES LEGACY (politique de confidentialité, crédits)
   Vocabulaire de l'ancien site encore utilisé par ces pages.
   ================================================================ */
#main {
  min-height: 80%;
}

.section {
  padding: 30px 0;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 40px;
}

h1,
h2,
h3 {
  min-width: 270px;
  margin: 0 auto;
  font-weight: normal;
}

h2 {
  margin-bottom: 30px;
}

.title {
  border-bottom: 1px solid #9eb3d8;
}