/*
Theme Name: LMG
Theme URI: http://intside.com/themes/lng/
Author: Intside
Author URI: http://intside.com/
Description: LMG · Construction, immobilier et gestion locative au Bénin. Thème Bootship (Bootstrap 5, ACF).
Version: 0.1
Text Domain: lng
*/

/*
 * LMG · Construction · Immobilier
 * Frontend stylesheet
 * Intside
 */

/**
 * Table of Contents:
 *
 * 1.0 - Variables & Reset
 * 2.0 - Typography
 * 3.0 - Buttons
 * 4.0 - Header
 * 5.0 - Sections & Patterns
 * 6.0 - Photos
 * 7.0 - Cards (services, biens, réalisations)
 * 8.0 - Compare (avant / après)
 * 9.0 - Steps
 * 10.0 - FAQ
 * 11.0 - CTA Signature
 * 12.0 - Footer
 * 13.0 - WhatsApp
 * 14.0 - Intro & Animations
 * 15.0 - Accueil
 * 16.0 - Page Head (pages intérieures)
 * 17.0 - Forms
 * 18.0 - Gestion locative
 * 19.0 - Construction
 * 20.0 - À propos
 * 21.0 - Locations
 * 22.0 - Fiche bien
 * 23.0 - Réalisations
 * 24.0 - Fiche réalisation
 * 25.0 - Contact
 * 26.0 - FAQ
 * 27.0 - Déposer une demande
 * 28.0 - Parcours de demande (location, devis)
 * 29.0 - Pages légales
 * 30.0 - Page 404
 * 31.0 - Media Queries
 * ----------------------------------------------------------------------------
 */


/* ==========================================================================
   1.0 - Variables & Reset
   ========================================================================== */

:root {
  /* Marque */
  --orange: #ED6110;
  --orange-hover: #C94F0B;
  --night: #0F172A;
  --night-hover: #1E293B;
  --night-deep: #0B1120;
  --earth: #9F390E;
  --sand: #D49443;
  --sand-dark: #B4762A;
  --sand-light: #F6C88C;
  --water: #265A6D;
  --water-hover: #1C4655;
  --plant: #4D621B;
  --whatsapp: #25A65A;
  --whatsapp-dark: #1E8E4C;
  --whatsapp-text: #127C3C;
  --whatsapp-dot: #1FA855;
  --whatsapp-light: #8FD6A8;

  /* Surfaces */
  --bg-body: #FAF6EF;
  --bg-alt: #F3EDE2;
  --bg-card: #FFFFFF;

  /* Texte */
  --text-main: #0F172A;
  --text-body: #3B4453;
  --text-muted: #647488;
  --text-on-dark: #B8C0CE;
  --text-footer: #8B98AB;
  --text-footer-muted: #5B6880;

  /* Bordures */
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --border-dash: rgba(15, 23, 42, 0.2);

  /* Polices */
  --font-heading: "Bricolage Grotesque", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  /* Rayons */
  --radius: 0.625rem;
  --radius-md: 0.875rem;
  --radius-card: 1rem;
  --radius-lg: 1.125rem;
  --radius-pill: 999px;

  /* Ombres */
  --shadow-hover: 0 0.875rem 1.875rem rgba(15, 23, 42, 0.1);
  --shadow-hover-lg: 0 1rem 2.125rem rgba(15, 23, 42, 0.12);

  /* Header */
  --header-height: 5.3125rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: normal;
  color: var(--text-main);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.18s;
}

a:hover {
  color: var(--orange-hover);
}

input,
select,
textarea,
button {
  font-family: var(--font-body);
}


/* ==========================================================================
   2.0 - Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
.h4,
.h5 {
  font-family: var(--font-heading);
  color: inherit;
}

.h4,
.h5,
.h6 {
  line-height: normal;
}

.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--earth);
}

.section-title {
  margin: 0 0 0.875rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
}

.section-lead {
  max-width: 31.25rem;
  margin: 0 0 1.875rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
}

/* Eyebrow précédé d'une icône de charte */
/* Icône dans le flux du texte (sans Flex) : ligne de 16 px = hauteur de l'icône */
.eyebrow-icon {
  margin-bottom: 1.125rem;
  line-height: 1rem;
}

.eyebrow-icon img {
  width: auto;
  height: 1rem;
  margin-right: 0.625rem;
  vertical-align: top;
}

.dot-accent {
  color: var(--orange);
}

/* Couleurs de la charte */
.text-earth { color: var(--earth) !important; }
.text-sand { color: var(--sand) !important; }
.text-water { color: var(--water) !important; }
.text-plant { color: var(--plant) !important; }
.text-orange { color: var(--orange) !important; }
.text-sand-dark { color: var(--sand-dark) !important; }


/* ==========================================================================
   3.0 - Buttons
   ========================================================================== */

.btn {
  --bs-btn-padding-x: 1.625rem;
  --bs-btn-padding-y: 0.875rem;
  --bs-btn-font-size: 0.9375rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: var(--radius);
  --bs-btn-border-width: 1.5px;
  --bs-btn-line-height: normal;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(237, 97, 16, 0.3);
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: 0.6875rem;
  --bs-btn-font-size: 0.875rem;
}

.btn-sm:hover {
  transform: translateY(-1px);
}

.btn-primary {
  --bs-btn-color: #FFFFFF;
  --bs-btn-bg: var(--orange);
  --bs-btn-border-color: var(--orange);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: var(--orange-hover);
  --bs-btn-hover-border-color: var(--orange-hover);
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: var(--orange-hover);
  --bs-btn-active-border-color: var(--orange-hover);
}

.btn-dark {
  --bs-btn-color: var(--bg-body);
  --bs-btn-bg: var(--night);
  --bs-btn-border-color: var(--night);
  --bs-btn-hover-color: var(--bg-body);
  --bs-btn-hover-bg: var(--night-hover);
  --bs-btn-hover-border-color: var(--night-hover);
  --bs-btn-active-color: var(--bg-body);
  --bs-btn-active-bg: var(--night-hover);
  --bs-btn-active-border-color: var(--night-hover);
}

.btn-water {
  --bs-btn-color: #FFFFFF;
  --bs-btn-bg: var(--water);
  --bs-btn-border-color: var(--water);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: var(--water-hover);
  --bs-btn-hover-border-color: var(--water-hover);
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: var(--water-hover);
  --bs-btn-active-border-color: var(--water-hover);
}

.btn-outline-dark {
  --bs-btn-color: var(--night);
  --bs-btn-border-color: var(--night);
  --bs-btn-hover-color: var(--orange);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--orange);
  --bs-btn-active-color: var(--orange);
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: var(--orange);
}

.btn .lucide {
  width: 1rem;
  height: 1rem;
  margin-left: 0.375rem;
  vertical-align: -0.125rem;
}

/* Lien fléché */
.link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.link-underline {
  padding-bottom: 0.125rem;
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--night);
  border-bottom: 2px solid var(--orange);
}


/* Boutons isolés : pleine largeur sous md (home, locations) */
.step-list + .btn,
.construction-tags + .btn,
.real-more .btn,
.loc-help .btn {
  width: 100%;
}


/* ==========================================================================
   4.0 - Header (navbar Bootstrap)
   ========================================================================== */

/* Navbar fixe comme CK : sticky-top dans le HTML, position fixe ici, le menu mobile s'ouvre par-dessus la page */
.navbar-expand-xl {
  position: fixed !important;
  top: 0 !important;
  width: 100%;
  z-index: 1030;
  background-color: rgba(250, 246, 239, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.3s;
}

.navbar-expand-xl ~ main {
  padding-top: var(--header-height);
}

.navbar-expand-xl.is-scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* WP: Admin bar offset (comme CK) : navbar fixe et en-tête du parcours sous la barre d'admin */
body.admin-bar [data-header] {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar [data-header] {
    top: 46px !important;
  }
}

/* WP: sous 600 px la barre d'admin défile avec la page, on la garde fixe pour ne pas laisser de vide au-dessus de la navbar */
@media screen and (max-width: 600px) {
  body.admin-bar #wpadminbar {
    position: fixed;
  }
}

.navbar-brand {
  margin: 0;
  padding: 0;
}

.navbar-brand img {
  display: block;
  width: auto;
  height: 3.25rem;
}

/* Burger */
.navbar-toggler {
  padding: 0.625rem;
  border: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.navbar-toggler span {
  display: block;
  width: 1.5rem;
  height: 2.5px;
  background-color: var(--night);
  border-radius: 2px;
}

.navbar-toggler span + span {
  margin-top: 5px;
}

.navbar-toggler span:last-child {
  width: 1rem;
  background-color: var(--orange);
}

.navbar-nav .menu-item {
  padding: 0.5rem 0;
}

.navbar-nav .menu-item a {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--night);
}

.navbar-nav .menu-item a:hover,
.navbar-nav .current-menu-item > a,
.navbar-nav .menu-item a[aria-current="page"] {
  color: var(--orange);
}

/* Langue + bouton */
.lang-switch {
  display: inline-block;
  padding: 0.625rem 0.8125rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--night);
  vertical-align: middle;
  border: 1.5px solid rgba(15, 23, 42, 0.25);
  border-radius: var(--radius);
  transition: color 0.18s, border-color 0.18s;
}

.lang-switch:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.nav-cta .btn {
  margin-left: 0.75rem;
  vertical-align: middle;
}


/* ==========================================================================
   5.0 - Sections & Patterns
   ========================================================================== */

.section {
  padding: 5.5rem 0 5rem;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-white {
  background-color: var(--bg-card);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}


/* Section sombre avec motif */
.section-dark {
  position: relative;
  color: #FFFFFF;
  background-color: var(--night);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/pattern.png");
  background-size: 27.5rem;
  filter: invert(1);
  opacity: 0.04;
  pointer-events: none;
}

.section-dark > * {
  position: relative;
}

.section-dark .section-lead {
  color: var(--text-on-dark);
}

/* Frise motif de la charte */
.pattern-strip {
  height: 0.4375rem;
  background-image: url("assets/images/pattern-earth.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.pattern-water { background-image: url("assets/images/pattern-water.png"); }
.pattern-air { background-image: url("assets/images/pattern-air.png"); }
.pattern-energy { background-image: url("assets/images/pattern-energy.png"); }

/* Liseré dents de scie */
.zigzag {
  height: 0.375rem;
  background-image: linear-gradient(135deg, var(--zigzag, var(--earth)) 25%, transparent 25%), linear-gradient(225deg, var(--zigzag, var(--earth)) 25%, transparent 25%);
  background-repeat: repeat-x;
  background-size: 1rem 0.375rem;
}

/* Pastilles */
.badge-pill {
  display: inline-block;
  padding: 0.3125rem 0.6875rem;
  font-size: 0.71875rem;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
  background-color: var(--plant);
  border-radius: var(--radius-pill);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  background-color: rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-pill);
}

.status {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--plant);
  background-color: rgba(77, 98, 27, 0.08);
  border-radius: var(--radius-pill);
}

.status-progress {
  color: var(--sand-dark);
  background-color: rgba(212, 148, 67, 0.14);
}

/* Filtres */

.filters {
  margin-bottom: -0.5rem;
}

.filters > * {
  display: inline-block;
  margin: 0 0.25rem 0.5rem 0;
  vertical-align: top;
}

.filter-chip {
  padding: 0.4375rem 0.875rem;
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--night);
  background: none;
  border: 1px solid var(--border-dash);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background-color 0.18s;
}

.filter-chip:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.filter-chip.is-active {
  color: #FFFFFF;
  background-color: var(--night);
  border-color: var(--night);
}


/* ==========================================================================
   6.0 - Photos
   ========================================================================== */

.photo {
  position: relative;
  overflow: hidden;
}

.photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder d'image (image-slot vide de la maquette) : fond léger, icône image, texte.
   Même markup en WordPress quand aucune image n'est choisie.
   <div class="placeholder-img" aria-hidden="true"><span class="placeholder-img-label">Photo : …</span></div> */
.placeholder-img {
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.04);
}

.placeholder-img-label {
  position: absolute;
  top: 50%;
  right: calc(0.75rem + 5%);
  left: calc(0.75rem + 5%);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  color: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%);
}

.placeholder-img-label::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto 0.375rem;
  background-color: currentColor;
  opacity: 0.45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Placeholder à la place d'une image dans un cadre .photo */
.placeholder-img-fill {
  position: absolute;
  inset: 0;
}

.placeholder-img[hidden] {
  display: none;
}

/* Fond sombre : même placeholder en clair */
.section-dark .placeholder-img,
.reals-featured .placeholder-img {
  background-color: rgba(255, 255, 255, 0.06);
}

.section-dark .placeholder-img-label,
.reals-featured .placeholder-img-label {
  color: rgba(255, 255, 255, 0.6);
}

/* Avant / après : chaque texte au centre de sa moitié */
.compare-before .placeholder-img-label {
  right: calc(50% + 0.75rem);
}

.compare > .photo:not(.compare-before) .placeholder-img-label {
  left: calc(50% + 0.75rem);
}

/* Lien d'aperçu du placeholder (HTML seulement, pas en WordPress) */
.placeholder-toggle {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  z-index: 3;
  padding: 0.3125rem 0.75rem;
  font-size: 0.71875rem;
  font-weight: 600;
  white-space: nowrap;
  color: #FFFFFF;
  background-color: rgba(15, 23, 42, 0.72);
  border: 0;
  border-radius: var(--radius-pill);
  transform: translateX(-50%);
  cursor: pointer;
}

.placeholder-toggle:hover {
  background-color: var(--orange);
}

/* Comparateur : en haut à droite (le centre est pris par la ligne et la poignée) */
.placeholder-toggle-top {
  top: 0.75rem;
  right: 0.75rem;
  bottom: auto;
  left: auto;
  transform: none;
}

/* Traitement chaud des photos */
.photo-warm > img {
  filter: saturate(1.1) sepia(0.12) contrast(1.02);
}

.photo-warm-soft > img {
  filter: saturate(1.08) sepia(0.1);
}

/* Arche (haut arrondi) */
.photo-arch {
  border-radius: 8.75rem 8.75rem 0.75rem 0.75rem;
}

.photo-arch-lg {
  border-radius: 11.875rem 11.875rem 0.875rem 0.875rem;
}


/* ==========================================================================
   7.0 - Cards (services, biens, réalisations)
   ========================================================================== */

/* Service */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.625rem 1.5rem 0;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: box-shadow 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
}

.service-card-icon {
  width: 2.25rem;
  height: 1.625rem;
  object-fit: contain;
}

.service-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.service-card-text {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-body);
}

.service-card .link-arrow:hover {
  color: var(--orange);
}

.service-card .pattern-strip {
  margin: 0.875rem -1.5rem 0;
}

/* Bien */
/* Pied aligné en bas : d-flex flex-column h-100 (carte), d-flex flex-column flex-grow-1 (corps), d-flex … mt-auto (pied) dans le HTML */
.bien-card {
  padding: 0.875rem;
  background-color: var(--bg-body);
  border-radius: var(--radius-lg);
  transition: transform 0.25s, box-shadow 0.25s;
}

.bien-card:hover {
  box-shadow: var(--shadow-hover-lg);
}

.bien-card-media {
  position: relative;
}

.bien-card-media .photo {
  height: 13.75rem;
}

.bien-card-media .badge-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.bien-card-body {
  padding: 1rem 0.5rem 0.375rem;
}

.bien-card-place {
  margin-bottom: 0.375rem;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth);
}

.bien-card-title {
  margin: 0 0 0.625rem;
  font-size: 1.1875rem;
  font-weight: 700;
}

.bien-card-tags {
  margin-bottom: 0.375rem;
}

.bien-card-tags > * {
  display: inline-block;
  margin: 0 0.25rem 0.5rem 0;
  vertical-align: top;
}

.bien-card-foot {
  gap: 0.625rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-dash);
}

.price {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 800;
}

.price small {
  font-family: var(--font-body);
  font-size: 0.78125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.bien-card-foot .link-arrow {
  font-size: 0.84375rem;
}

/* Réalisation */
/* Pied aligné en bas : d-flex flex-column h-100 (carte), d-flex flex-column flex-grow-1 (corps), mt-auto (pied) dans le HTML */
.real-card {
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  transition: transform 0.25s, box-shadow 0.25s;
}

.real-card:hover {
  box-shadow: var(--shadow-hover);
}

.real-card-construction { --zigzag: var(--earth); }
.real-card-renovation { --zigzag: var(--sand); }

.real-card-media {
  position: relative;
  height: 13.75rem;
}

.real-card-media .photo {
  height: 100%;
}

.real-card-media .badge-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  background-color: var(--zigzag);
  pointer-events: none;
}

.real-card-body {
  padding: 1rem 1.125rem;
}

.real-card-kind {
  margin-bottom: 0.375rem;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.real-card-title {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.real-card-text {
  margin: 0 0 0.75rem;
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--text-body);
}

.real-card-foot {
  padding-top: 0.625rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.15);
}

.real-card-foot .link-arrow {
  font-size: 0.8125rem;
}

.real-more {
  margin-top: 2.25rem;
}

/* Statuts de bien */
.badge-soon {
  font-weight: 700;
  color: #2B1608;
  background-color: var(--sand);
}

.badge-rented {
  background-color: var(--text-muted);
}

/* Bien sans photo */
.is-filtered-out {
  display: none !important;
}


/* ==========================================================================
   8.0 - Compare (avant / après)
   ========================================================================== */

.compare {
  --pos: 50%;
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.compare .photo {
  position: absolute;
  inset: 0;
}

.compare-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background-color: var(--orange);
  transform: translateX(-1.5px);
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 2.125rem;
  text-align: center;
  color: #FFFFFF;
  background-color: var(--orange);
  border: 3px solid var(--bg-body);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.compare-label {
  position: absolute;
  bottom: 0.625rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.compare-label-before {
  left: 0.75rem;
  background-color: rgba(15, 23, 42, 0.75);
}

.compare-label-after {
  right: 0.75rem;
  background-color: var(--orange);
}

.compare-range {
  padding: 0.5rem 1.125rem 0;
}

.compare-range input {
  width: 100%;
  accent-color: var(--orange);
  cursor: ew-resize;
}

.compare-range + .real-card-body {
  padding-top: 0.75rem;
}


/* ==========================================================================
   9.0 - Steps
   ========================================================================== */

/* Liste verticale numérotée (gestion locative) */
.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  position: relative;
  padding: 0 0 1.125rem 2.875rem;
}

.step-list li::before {
  content: "";
  position: absolute;
  top: 1.875rem;
  bottom: 0;
  left: 0.875rem;
  width: 2px;
  background-image: linear-gradient(var(--water) 55%, transparent 55%);
  background-size: 2px 0.5rem;
}

.step-list li:last-child {
  padding-bottom: 0;
}

.step-list + .btn {
  margin-top: 1.875rem;
}

.step-list li:last-child::before {
  display: none;
}

.step-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 1.875rem;
  height: 1.875rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.875rem;
  text-align: center;
  color: #FFFFFF;
  background-color: var(--water);
  border-radius: 50%;
}

.step-title {
  display: block;
  font-size: 0.96875rem;
  font-weight: 600;
}

.step-text {
  display: block;
  font-size: 0.84375rem;
  color: var(--text-muted);
}

/* Frise horizontale (construction) : pointillé sur chaque rangée, porté par chaque étape.
   1re et dernière étape d'une rangée : trait arrêté à 2.75rem du centre (4 % / 96 % de la maquette) */
.process {
  padding-top: 0.875rem;
}

.process li {
  position: relative;
  text-align: center;
}

.process li::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 0;
  left: 0;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(212, 148, 67, 0.6) 60%, transparent 60%);
  background-size: 0.625rem 2px;
}

/* 2 étapes par rangée */
.process li:nth-child(2n + 1)::before {
  left: calc(50% - 2.75rem);
}

.process li:nth-child(2n)::before {
  right: calc(50% - 2.75rem);
}

.process-num {
  position: relative;
  z-index: 1;
  display: block;
  width: 2.125rem;
  height: 2.125rem;
  margin: 0 auto;
  line-height: 1.875rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sand);
  background-color: var(--night);
  border: 2px solid var(--sand);
  border-radius: 50%;
}

.process li:last-child .process-num {
  color: #FFFFFF;
  background-color: var(--orange);
  border-color: var(--orange);
}

.process-label {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
}


/* ==========================================================================
   10.0 - FAQ
   ========================================================================== */

.faq-list {
  margin-top: 2.125rem;
}

.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

/* Question + icône : d-flex align-items-center justify-content-between gap-3 dans le HTML */
.faq-item summary {
  padding: 1.125rem 0.25rem;
  font-size: 0.96875rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: color 0.18s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--orange);
}

.faq-icon {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1rem;
  line-height: 1.5625rem;
  text-align: center;
  font-weight: 400;
  color: var(--night);
  border: 1.5px solid rgba(15, 23, 42, 0.25);
  border-radius: 50%;
  transition: transform 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s;
}

.faq-item[open] .faq-icon {
  color: #FFFFFF;
  background-color: var(--orange);
  border-color: var(--orange);
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 40rem;
  margin: 0;
  padding: 0 0.25rem 1.125rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-body);
}

.faq-more {
  margin-top: 2.125rem;
  text-align: center;
}

.faq-more a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--night);
}

.faq-more a:hover {
  color: var(--orange);
}

.faq-more a span {
  margin-left: 0.5rem;
  color: var(--orange);
}


/* ==========================================================================
   11.0 - CTA Signature
   ========================================================================== */

.signature {
  padding: 6.875rem 0;
  text-align: center;
  background-color: var(--bg-body);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.signature .pattern-strip {
  width: 6.875rem;
  height: 0.5rem;
  margin: 0 auto 1.75rem;
}

.signature-title {
  max-width: 56.25rem;
  margin: 0 auto;
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.signature-actions {
  margin-top: 2.375rem;
  text-align: center;
}

.signature-actions .btn {
  width: 100%;
  margin-bottom: 0.875rem;
}

.signature-contacts {
  margin-top: 1.625rem;
  font-size: 0.875rem;
}

.signature-contacts a {
  font-weight: 600;
  color: var(--night);
}

.signature-contacts a:hover {
  color: var(--orange);
}

.signature-contacts .link-whatsapp {
  color: var(--whatsapp-text);
}


/* ==========================================================================
   12.0 - Footer
   ========================================================================== */

.site-footer {
  background-color: var(--night-deep);
}

.site-footer > .pattern-strip {
  height: 0.75rem;
  opacity: 0.35;
}

.footer-top {
  padding-top: 3.5rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.875rem;
}

.footer-logo img {
  width: auto;
  height: 3.25rem;
}

.footer-text {
  max-width: 18.75rem;
  margin: 0;
  font-size: 0.84375rem;
  line-height: 1.65;
  color: var(--text-footer);
}

.footer-motto {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.125rem;
}

.footer-motto .pattern-strip {
  flex: none;
  width: 2.75rem;
  opacity: 0.6;
}

.footer-motto span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--sand);
}

.footer-title {
  margin: 0 0 0.875rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84375rem;
}

.footer-links li + li {
  margin-top: 0.5625rem;
}

.footer-links a {
  color: var(--text-footer);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-links .link-whatsapp {
  color: var(--whatsapp-light);
}

.footer-cta {
  --bs-btn-padding-x: 1.125rem;
  --bs-btn-padding-y: 0.6875rem;
  --bs-btn-font-size: 0.84375rem;
  --bs-btn-border-width: 0;
  margin-top: 1rem;
}

.footer-bottom {
  padding-bottom: 1.875rem;
  font-size: 0.78125rem;
  color: var(--text-footer-muted);
}

.footer-bottom-line {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
  color: var(--text-footer-muted);
}

.footer-legal {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal li {
  display: inline-block;
}

.footer-legal li + li {
  margin-left: 1rem;
}

.footer-legal a {
  color: var(--text-footer-muted);
}

.footer-legal a:hover {
  color: var(--orange);
}


/* ==========================================================================
   13.0 - WhatsApp
   ========================================================================== */

.wa-widget {
  position: fixed;
  right: 1.375rem;
  bottom: 1.375rem;
  z-index: 1000;
}

.wa-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  color: #FFFFFF;
  background-color: var(--whatsapp);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(30, 142, 76, 0.45);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}

.wa-launcher:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 26px rgba(30, 142, 76, 0.5);
}

.wa-launcher .lucide {
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  transition: opacity 0.2s;
}

.wa-launcher .lucide-x {
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0;
}

.wa-widget.is-open .wa-launcher .lucide-whatsapp {
  opacity: 0;
}

.wa-widget.is-open .wa-launcher .lucide-x {
  opacity: 1;
}

.wa-pill {
  position: absolute;
  right: 4.125rem;
  bottom: 0.5625rem;
  display: none;
  padding: 0.5rem 0.8125rem;
  font-size: 0.78125rem;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--night);
  background-color: #FFFFFF;
  border-radius: 0.75rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
  transition: opacity 0.2s;
}

.wa-pill b {
  color: var(--whatsapp-dark);
}

.wa-pill::after {
  content: "";
  position: absolute;
  right: -0.375rem;
  bottom: 1rem;
  border: 0.375rem solid transparent;
  border-left-color: #FFFFFF;
}

.wa-widget.is-open .wa-pill {
  opacity: 0;
}

.wa-panel {
  position: absolute;
  right: 0;
  bottom: 4.625rem;
  width: 20.625rem;
  max-width: calc(100vw - 2.75rem);
  overflow: hidden;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 1.125rem 3.125rem rgba(15, 23, 42, 0.28);
  opacity: 0;
  transform: translateY(0.75rem) scale(0.98);
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.22s;
}

.wa-widget.is-open .wa-panel {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.wa-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.25rem 1.25rem 1.375rem;
  color: #FFFFFF;
  background-color: var(--whatsapp);
}

.wa-ring {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.wa-ring .lucide {
  width: 1.25rem;
  height: 1.25rem;
}

.wa-panel-title {
  margin: 0 0 0.3125rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.wa-panel-text {
  margin: 0;
  font-size: 0.78125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.wa-note {
  margin: 0;
  padding: 0.875rem 1.25rem 0.375rem;
  font-size: 0.71875rem;
  color: #8A93A0;
}

.wa-agents {
  padding: 0.25rem 0.875rem 1rem;
}

.wa-agent + .wa-agent {
  margin-top: 0.625rem;
}

.wa-agent {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6875rem 0.8125rem;
  color: var(--night);
  background-color: #F4F6F8;
  border-left: 3px solid transparent;
  border-radius: 0.75rem;
  transition: background-color 0.15s, transform 0.15s;
}

.wa-agent-live {
  border-left-color: var(--whatsapp);
}

.wa-agent-live:hover {
  color: var(--night);
  background-color: #EAF6EE;
  transform: translateX(2px);
}

.wa-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--water);
  border-radius: 50%;
}

.wa-agent-off .wa-avatar {
  background-color: var(--earth);
}

.wa-who {
  flex: 1;
  min-width: 0;
}

.wa-name {
  display: block;
  font-size: 0.90625rem;
  font-weight: 600;
}

.wa-role {
  display: block;
  margin-top: 1px;
  font-size: 0.75rem;
  color: #8A93A0;
}

.wa-agent-off .wa-role {
  font-weight: 600;
  color: #E08A2B;
}

.wa-agent > .lucide {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  color: var(--whatsapp);
}

.wa-agent-off > .lucide {
  color: #C2C8D0;
}


/* ==========================================================================
   14.0 - Intro & Animations
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes drawX {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes buildHouse {
  0% { clip-path: polygon(50% 0, 50% 0, 50% 0, 50% 0, 50% 0); opacity: 0; }
  45% { clip-path: polygon(50% 0, 100% 24%, 100% 24%, 0 24%, 0 24%); opacity: 1; }
  100% { clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%); opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes logoWipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes introFade {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* Intro (logo), une fois par session */
.intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  text-align: center;
  background-color: var(--bg-body);
  pointer-events: none;
  animation: introFade 1.9s ease both;
}

.intro[hidden] {
  display: none;
}

.intro img {
  width: min(78vw, 26.25rem);
  height: auto;
  animation: logoWipe 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s both;
}

.intro .pattern-strip {
  width: 9.375rem;
  height: 0.5rem;
  margin: 1.375rem auto 0;
  transform-origin: left;
  animation: drawX 0.6s ease 1.05s both;
}

/* Apparition au chargement */
.load-up {
  animation: fadeUp 0.6s ease both;
}

.delay-1 { animation-delay: 0.16s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.42s; }
.delay-4 { animation-delay: 0.55s; }

.draw-x {
  transform-origin: left;
  animation: drawX 0.7s ease 1.35s both;
}

/* Apparition au scroll (classe ajoutée par JS) */
.js .fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-up.is-visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   15.0 - Accueil
   ========================================================================== */

/* Hero */
.hero {
  padding: 2.5rem 0 4.5rem;
}

.hero-title {
  margin: 0 0 1.375rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-text {
  max-width: 32.5rem;
  margin: 0 0 1.875rem;
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--text-body);
}

.hero-actions {
  margin-bottom: 1.5rem;
}

.hero-actions .btn {
  width: 100%;
  margin-bottom: 0.875rem;
}

.hero-facts {
  margin-bottom: -1.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-strong);
}

.hero-facts > div {
  display: inline-block;
  margin: 0 1.875rem 1.875rem 0;
  vertical-align: top;
}

.hero-fact-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
}

.hero-fact-text {
  display: block;
  font-size: 0.78125rem;
  color: var(--text-muted);
}

.hero-visual {
  height: 21.25rem;
  clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%);
  animation: buildHouse 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s both;
}

.hero-visual img {
  object-position: center 45%;
}

.hero-strip {
  width: 8.75rem;
  margin-top: 0.875rem;
  overflow: hidden;
}

.hero-strip .pattern-strip {
  height: 0.5625rem;
}

/* Réassurance */
.reassurance {
  padding: 2.125rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.reassurance-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: inline-block;
  margin: 0.3125rem 1rem 0.3125rem 0;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-body);
}

.check-list li:last-child {
  margin-right: 0;
}

.check-list li::before {
  content: "✓";
  margin-right: 0.5rem;
  font-weight: 800;
  color: var(--plant);
}

/* Gestion locative */
.gestion-visual .photo {
  height: 20rem;
}

.gestion-visual .pattern-strip {
  width: 6.875rem;
  margin: 0.875rem auto 0;
}

/* Construction */
.construction-tags {
  margin-bottom: 1.25rem;
}

.construction-tags > * {
  display: inline-block;
  margin: 0 0.375rem 0.625rem 0;
  vertical-align: top;
}

.construction-tags span {
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sand-light);
  border: 1px solid rgba(212, 148, 67, 0.45);
  border-radius: var(--radius-pill);
}

.construction-visual {
  position: relative;
  height: 18.75rem;
}

.construction-visual .photo {
  height: 100%;
  border-radius: var(--radius);
}

.construction-visual::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 0;
  width: 5px;
  height: 3.75rem;
  background-color: var(--orange);
}

.construction-process {
  margin-top: 3.5rem;
}

.section-dark > .pattern-strip {
  height: 0.875rem;
  opacity: 0.5;
}

/* Pourquoi LMG */
.engagements {
  margin-top: 2.25rem;
  border-top: 1px solid var(--border-strong);
}

.engagement {
  height: 100%;
  padding: 1.625rem 0;
  border-bottom: 1px solid var(--border-strong);
}

.engagement-num {
  font-family: var(--font-heading);
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
}

.engagement-title {
  margin: 0.625rem 0 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
}

.engagement-text {
  margin: 0.375rem 0 0;
  font-size: 0.84375rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* FAQ accueil */
.faq-section .section-title {
  font-size: 1.625rem;
}


/* ==========================================================================
   16.0 - Page Head (pages intérieures)
   ========================================================================== */

.page-head {
  padding-top: 2.75rem;
}

.breadcrumb-nav {
  margin-bottom: 0.875rem;
  font-size: 0.78125rem;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--orange);
}

.breadcrumb-nav .sep {
  margin: 0 0.25rem;
  color: #C8CFDA;
}

.breadcrumb-nav [aria-current] {
  font-weight: 600;
  color: var(--night);
}

.page-title {
  margin: 0 0 0.875rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.07;
}

.page-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
}

.page-head .pattern-strip,
.title-strip .pattern-strip {
  height: 0.5rem;
}

.title-strip {
  width: 7.5rem;
  margin-top: 1.375rem;
  overflow: hidden;
}

.title-strip .pattern-strip {
  transform-origin: left;
  animation: drawX 0.7s ease 0.3s both;
}


/* ==========================================================================
   17.0 - Forms
   ========================================================================== */

/*
 * Un seul style pour tous les formulaires : Gravity Forms et formulaires du thème.
 * Wrapper #custom-form + markup Gravity Forms (Bootship wordpress/PATTERNS § 36).
 * En WordPress, le CSS de Gravity Forms est désactivé : tout le style est ici.
 */

/* Grille des champs (largeurs Gravity Forms) */
#custom-form .gform_fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.125rem;
}

#custom-form .gfield {
  grid-column: span 12;
  margin: 0;
}

/* Libellé */
#custom-form .gfield_label {
  display: block;
  margin-bottom: 0.4375rem;
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--text-muted);
}

#custom-form .gfield_required {
  margin-left: 0.25rem;
}

/* Champs (+ .field-control : filtres de la page Locations, hors formulaire) */
#custom-form form input:where(:not([type="checkbox"], [type="radio"], [type="file"], [type="submit"], [type="button"])),
#custom-form form select,
#custom-form form textarea,
#custom-form .datepicker-toggle,
.field-control {
  width: 100%;
  line-height: 1.25;
  padding: 0.8125rem 0.875rem;
  font-size: 0.875rem;
  color: var(--night);
  background-color: var(--bg-body);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.18s;
}

#custom-form form input::placeholder,
#custom-form form textarea::placeholder,
.field-control::placeholder {
  color: #8A93A0;
}

/* Recherche : pas de croix ni de loupe natives */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  display: none;
}

#custom-form form input:focus,
#custom-form form select:focus,
#custom-form form textarea:focus,
#custom-form .datepicker-toggle:focus-visible,
.field-control:focus {
  border-color: var(--orange);
}

#custom-form form select,
select.field-control {
  padding-right: 2.25rem;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 1.1875rem) 50%, calc(100% - 0.875rem) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  cursor: pointer;
}

#custom-form form textarea {
  display: block;
  resize: vertical;
}

/* Erreurs : is-invalid (JS du thème), gfield_error (Gravity Forms) */
#custom-form form :user-invalid,
#custom-form form .is-invalid,
#custom-form .gfield_error input,
#custom-form .gfield_error select,
#custom-form .gfield_error textarea {
  border-color: var(--earth);
}

/* Formulaire en étapes : l'erreur ne s'affiche qu'après « Continuer »
   (Chrome applique :user-invalid à tous les champs après un submit) */
#custom-form .dem-step :user-invalid:not(.is-invalid) {
  border-color: var(--border-strong);
}

#custom-form .dem-step :user-invalid:not(.is-invalid):focus {
  border-color: var(--orange);
}

#custom-form .validation_message {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--earth);
}

#custom-form .gform_validation_errors {
  margin: 0.875rem 0 0;
  padding: 0.6875rem 1rem;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--earth);
  background-color: rgba(159, 57, 14, 0.08);
  border: 1px solid rgba(159, 57, 14, 0.3);
  border-radius: var(--radius);
  animation: fadeIn 0.2s ease both;
}

/* Gravity Forms (WordPress) : éléments que le CSS GF désactivé ne gère plus */
#custom-form .gform_validation_errors h2 {
  margin: 0;
  font: inherit;
  color: inherit;
}

#custom-form .gform_validation_container,
#custom-form .gfield--type-honeypot,
#custom-form .gfield_visibility_hidden,
#custom-form .gform_hidden,
#custom-form .gfield--type-hidden,
#custom-form .gform_ajax_spinner,
#custom-form .gform-loader,
#custom-form .gform_required_legend {
  display: none !important;
}

#custom-form .gform_confirmation_message {
  font-weight: 600;
}

/* Date : bouton + calendrier (comme la maquette) */
#custom-form .ginput_container_date {
  position: relative;
}

#custom-form .datepicker-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  color: #9AA3B2;
  cursor: pointer;
}

#custom-form .datepicker-toggle.is-filled {
  color: var(--night);
}

#custom-form .datepicker-toggle svg {
  flex: none;
  width: 1.0625rem;
  height: 1.0625rem;
  color: var(--text-muted);
}

#custom-form .datepicker-panel {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  z-index: 20;
  width: 19.375rem;
  padding: 0.875rem;
  background-color: var(--bg-card);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 1rem 2.125rem rgba(15, 23, 42, 0.16);
  animation: fadeIn 0.15s ease both;
}

#custom-form .datepicker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

#custom-form .datepicker-nav {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--night);
  background-color: var(--bg-body);
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
}

#custom-form .datepicker-nav:hover {
  color: var(--orange);
  background-color: rgba(237, 97, 16, 0.1);
}

#custom-form .datepicker-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--night);
}

#custom-form .datepicker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.125rem;
}

#custom-form .datepicker-dows {
  margin-bottom: 0.375rem;
}

#custom-form .datepicker-dows span {
  padding: 0.25rem 0;
  font-size: 0.65625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
  color: #9AA3B2;
}

#custom-form .datepicker-day {
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--night);
  background-color: transparent;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
}

#custom-form .datepicker-day.is-selected {
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--orange);
}

#custom-form .datepicker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border);
}

#custom-form .datepicker-clear,
#custom-form .datepicker-today {
  padding: 0;
  font-size: 0.78125rem;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
}

#custom-form .datepicker-clear {
  color: var(--text-muted);
  transition: color 0.18s;
}

#custom-form .datepicker-clear:hover {
  color: var(--orange);
}

#custom-form .datepicker-today {
  color: var(--orange-hover);
}

/* Téléphone : indicatif + numéro */
#custom-form .ginput_container_phone {
  display: flex;
  gap: 0.5rem;
}

#custom-form form .ginput_container_phone select {
  flex: none;
  width: 6.75rem;
}

#custom-form .ginput_container_phone input {
  flex: 1;
  min-width: 0;
}

/* Consentement */
#custom-form .ginput_container_consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

#custom-form .gfield-choice-input[type="checkbox"] {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  appearance: none;
  border: 2px solid rgba(15, 23, 42, 0.3);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s;
}

#custom-form .gfield-choice-input[type="checkbox"]::before {
  content: "✓";
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
}

#custom-form .gfield-choice-input[type="checkbox"]:checked {
  background-color: var(--plant);
  border-color: var(--plant);
}

#custom-form .gfield-choice-input[type="checkbox"]:checked::before {
  color: #FFFFFF;
}

#custom-form .gfield-choice-input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

#custom-form .gfield_consent_label {
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--text-body);
  cursor: pointer;
}

/* Boutons */
#custom-form .gform_button,
#custom-form .gform_next_button,
#custom-form .gform_previous_button {
  display: inline-block;
  padding: 0.875rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  color: #FFFFFF;
  background-color: var(--orange);
  border: 1.5px solid var(--orange);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}

#custom-form .gform_button:hover,
#custom-form .gform_next_button:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
}

#custom-form .gform_previous_button {
  padding: 0.75rem 1.375rem;
  font-size: 0.875rem;
  color: var(--night);
  background-color: transparent;
  border-color: rgba(15, 23, 42, 0.25);
}

#custom-form .gform_previous_button:hover {
  color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}

#custom-form .gform_previous_button[hidden] {
  display: none;
}

/* Pied du formulaire : bouton pleine largeur */
#custom-form .gform_footer {
  margin-top: 1.125rem;
}

#custom-form .gform_footer .gform_button {
  width: 100%;
}

/* Pied d'un formulaire en étapes : Retour / Continuer */
#custom-form .gform-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  margin-top: 1.625rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.15);
}

#custom-form .gform-page-footer .gform_next_button {
  margin-left: auto;
}

/* Bouton Continuer / Envoyer des parcours en étapes : texte 14,5 px, sans bordure (maquettes demande-location et demande-devis) */
#custom-form .gform-page-footer .gform_next_button {
  padding: 0.8125rem 1.625rem;
  font-size: 0.90625rem;
  border: 0;
}

#custom-form .gform-page-footer .gform_next_button:hover {
  transform: translateY(-1px);
}

/* Variante sombre */
#custom-form.form-dark .gfield_label {
  color: var(--text-footer);
}

#custom-form.form-dark form input:where(:not([type="checkbox"], [type="radio"], [type="file"], [type="submit"], [type="button"])),
#custom-form.form-dark form select,
#custom-form.form-dark form textarea,
#custom-form.form-dark .datepicker-toggle {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#custom-form.form-dark form input:focus,
#custom-form.form-dark form select:focus,
#custom-form.form-dark form textarea:focus,
#custom-form.form-dark .datepicker-toggle:focus-visible {
  border-color: var(--orange);
}

#custom-form.form-dark form :user-invalid,
#custom-form.form-dark form .is-invalid {
  border-color: var(--sand);
}

#custom-form.form-dark form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-footer) 50%), linear-gradient(135deg, var(--text-footer) 50%, transparent 50%);
}

#custom-form.form-dark form select option {
  color: var(--night);
}

#custom-form.form-dark .validation_message {
  color: var(--sand-light);
}

/* Espacements propres à chaque formulaire */
#custom-form .gform_fields + .dem-recap {
  margin-top: 1.375rem;
}

#custom-form .dem-recap + .gfield {
  margin-top: 1.125rem;
}

.contact-form-card #custom-form .gform_fields {
  gap: 0.875rem;
}

.contact-form-card #custom-form .gform_button:hover {
  transform: none;
}

#custom-form .gest-form .gform_fields {
  gap: 1rem;
}

#custom-form .gest-form .gform_footer {
  margin-top: 1.25rem;
}


/* Message de confirmation après envoi */
.form-success[hidden] {
  display: none;
}


/* ==========================================================================
   18.0 - Gestion locative
   ========================================================================== */

/* -- Hero -- */
.gest-hero {
  padding-bottom: 4.75rem;
}

.gest-hero .breadcrumb-nav {
  margin-bottom: 1.125rem;
}

.gest-hero-title {
  margin-bottom: 1.25rem;
  font-size: 2.125rem;
  line-height: 1.06;
}

.gest-hero-lead {
  max-width: 31.25rem;
  margin-bottom: 1.875rem;
  font-size: 1.03125rem;
}

/* Mobile : la marge basse du dernier bouton compte dans l'écart */
.gest-hero .hero-actions {
  margin-bottom: 1.25rem;
}

/* Coches : 10 px entre les lignes, 26 px entre les items (maquette) */
.gest-hero-checks {
  margin-bottom: -0.625rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-strong);
}

.gest-hero-checks li {
  margin: 0 1.625rem 0.625rem 0;
  vertical-align: top;
}

.gest-hero-visual .photo {
  height: 21.25rem;
}

.gest-hero-strip {
  width: 7.5rem;
  margin: 0.875rem auto 0;
  overflow: hidden;
}

.gest-hero-strip .pattern-strip {
  height: 0.5rem;
  animation-delay: 0.9s;
}

/* -- Frise sous titre de section -- */

.gest-strip {
  width: 8.125rem;
  overflow: hidden;
}

.gest-strip .pattern-strip {
  height: 0.5rem;
}

/* -- Cartes numérotées -- */

.gest-card {
  height: 100%;
  padding: 1.625rem 1.5rem;
  background-color: var(--bg-body);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius-card);
  transition: box-shadow 0.25s;
}

.gest-card:hover {
  box-shadow: var(--shadow-hover);
}

.gest-card-num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1;
  color: var(--water);
}

.gest-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
  font-weight: 700;
}

.gest-card-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* -- Ce que vous recevez -- */
.gest-recap {
  padding: 2.125rem;
  overflow: hidden;
  border-radius: 1.25rem;
}

.gest-recap::before {
  background-size: 25rem;
}

.gest-recap .eyebrow {
  margin-bottom: 0.875rem;
}

.gest-recap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gest-recap-list li + li {
  margin-top: 0.875rem;
}

.gest-recap-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.90625rem;
  line-height: 1.55;
  color: #E6EAF0;
}

.gest-recap-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 800;
  color: var(--whatsapp-light);
}

.gest-recap > .pattern-strip {
  width: 8.75rem;
  height: 0.5rem;
  margin-top: 1.5rem;
  opacity: 0.6;
}

.gest-note {
  margin: 1rem 0 0;
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--bg-alt);
  border-radius: var(--radius-card);
}

/* -- Formulaire propriétaire -- */

.gest-form-section::before {
  opacity: 0.035;
}

.gest-form-head {
  margin-bottom: 2.125rem;
  text-align: center;
}

.gest-form-head .section-lead {
  max-width: none;
  margin: 0;
  line-height: 1.6;
}

.gest-form {
  padding: 1.75rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
}

.gest-success {
  padding: 2.125rem;
  text-align: center;
  background-color: rgba(77, 98, 27, 0.15);
  border: 1px solid rgba(139, 169, 74, 0.4);
  border-radius: var(--radius-card);
  outline: none;
  animation: popIn 0.35s ease both;
}

.gest-success img {
  width: auto;
  height: 2.875rem;
  margin-bottom: 0.75rem;
}

.gest-success-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.gest-success-text {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-on-dark);
}


/* ==========================================================================
   19.0 - Construction
   ========================================================================== */

/* -- Hero -- */
.cons-hero {
  padding-top: 4rem;
}

/* Mobile : la marge basse du dernier bouton (0.875rem) compte dans l'écart de 64 px */
.cons-hero-text {
  padding-bottom: 3.125rem;
}

/* Fil d'Ariane sur fond sombre */
.cons-hero .breadcrumb-nav {
  margin-bottom: 1.125rem;
  color: var(--text-footer);
}

.cons-hero .breadcrumb-nav a {
  color: var(--text-footer);
}

.cons-hero .breadcrumb-nav a:hover {
  color: var(--orange);
}

.cons-hero .breadcrumb-nav .sep {
  color: var(--text-body);
}

.cons-hero .breadcrumb-nav [aria-current] {
  color: #FFFFFF;
}

.cons-hero-title {
  margin-bottom: 1.125rem;
  font-size: 2.125rem;
  line-height: 1.06;
  color: #FFFFFF;
}

.cons-hero-strip {
  width: 6.25rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.cons-hero-strip .pattern-strip {
  opacity: 0.85;
  animation-delay: 0.5s;
}

.cons-hero-lead {
  max-width: 31.25rem;
  margin-bottom: 1.875rem;
  font-size: 1.03125rem;
  color: var(--text-on-dark);
}

.cons-hero .hero-actions {
  margin-bottom: 0;
}

.cons-btn-ghost {
  --bs-btn-color: #FFFFFF;
  --bs-btn-border-color: rgba(255, 255, 255, 0.4);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.06);
  --bs-btn-hover-border-color: #FFFFFF;
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.06);
  --bs-btn-active-border-color: #FFFFFF;
}

/* Survol de la maquette : bordure et fond seulement, le bouton ne monte pas */
.cons-btn-ghost:hover {
  transform: none;
}


.cons-hero-visual {
  position: relative;
  width: 100%;
  height: 23.75rem;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  animation: fadeIn 0.8s ease 0.3s both;
}

.cons-hero-visual .photo {
  height: 100%;
}

.cons-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0) 40%);
  pointer-events: none;
}

.cons-hero > .pattern-strip {
  height: 1rem;
}

/* -- Neuf ou rénovation -- */
.cons-offer {
  --offer-color: var(--earth);
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  transition: box-shadow 0.25s;
}

.cons-offer:hover {
  box-shadow: 0 1rem 2.25rem rgba(15, 23, 42, 0.1);
}

.cons-offer-reno {
  --zigzag: var(--sand);
  --offer-color: var(--sand-dark);
}

.cons-offer .zigzag {
  height: 0.5rem;
  background-size: 1.25rem 0.5rem;
}

.cons-offer-body {
  padding: 2rem 1.875rem;
}

/* Icône dans le flux du texte (sans Flex) : ligne de 24 px = hauteur de l'icône */
.cons-offer-kicker {
  margin: 0 0 0.875rem;
  line-height: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--offer-color);
}

.cons-offer-kicker img {
  width: auto;
  height: 1.5rem;
  margin-right: 0.75rem;
  vertical-align: top;
}

.cons-offer-title {
  margin: 0 0 0.75rem;
  font-size: 1.625rem;
  font-weight: 800;
}

.cons-offer-text {
  margin: 0 0 1.25rem;
  font-size: 0.90625rem;
  line-height: 1.65;
  color: var(--text-body);
}

.cons-offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cons-offer-list li + li {
  margin-top: 0.625rem;
}

.cons-offer-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.875rem;
  color: var(--text-body);
}

.cons-offer-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 800;
  color: var(--offer-color);
}

/* -- Méthode -- */
.cons-method-lead {
  max-width: none;
  margin-bottom: 0;
  font-size: 0.96875rem;
}

.cons-step {
  height: 100%;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
}

/* Numéro dans le flux du titre (sans Flex) : ligne de 38 px = hauteur du cercle */
.cons-step-title {
  margin: 0 0 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 2.375rem;
  color: #FFFFFF;
}

.cons-step-num {
  display: inline-block;
  width: 2.375rem;
  height: 2.375rem;
  margin-right: 0.875rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 2.125rem;
  text-align: center;
  vertical-align: top;
  color: var(--sand);
  border: 2px solid var(--sand);
  border-radius: 50%;
}

.cons-step-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-on-dark);
}

.cons-step-final {
  background-color: rgba(237, 97, 16, 0.12);
  border-color: rgba(237, 97, 16, 0.4);
}

.cons-step-final .cons-step-num {
  color: #FFFFFF;
  background-color: var(--orange);
  border-color: var(--orange);
}

.cons-step-final .cons-step-text {
  color: #E6D2C2;
}

/* -- Avant / après -- */
.cons-compare-lead {
  max-width: 30rem;
  margin-bottom: 1.625rem;
}

.cons-compare-lead + .btn {
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 0.8125rem;
  width: 100%;
}

.cons-compare {
  --zigzag: var(--sand);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
}

.cons-compare .zigzag {
  height: 0.4375rem;
  background-size: 1.125rem 0.4375rem;
}

.cons-compare-stage {
  height: 18.75rem;
}

.cons-compare .compare-range {
  padding: 0.25rem 1.125rem 0.875rem;
}

/* Marge native du curseur, comme la maquette */
.cons-compare .compare-range input {
  margin: 0.125rem 0;
}

/* -- FAQ -- */
.cons-faq-cta {
  margin-top: 2.375rem;
  text-align: center;
}

/* Taille de la maquette (14 × 28 sans bordure) avec la bordure de .btn */
.cons-faq-cta .btn {
  --bs-btn-padding-x: 1.6875rem;
  --bs-btn-padding-y: 0.8125rem;
  width: 100%;
}


/* ==========================================================================
   20.0 - À propos
   ========================================================================== */

/* -- Vision (en-tête) -- */
.about-head {
  padding-top: 3rem;
  padding-bottom: 4.75rem;
}

.about-head .breadcrumb-nav {
  margin-bottom: 1.125rem;
}

.about-head .eyebrow {
  margin-bottom: 1rem;
}

.about-title {
  margin: 0 0 1.375rem;
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1.06;
}

.about-lead {
  max-width: 40rem;
  margin: 0 0 0.875rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
}

.about-lead:last-of-type {
  margin-bottom: 0;
}

.about-strip {
  width: 9.375rem;
  margin-top: 1.875rem;
}

.about-head .about-strip .pattern-strip {
  height: 0.5625rem;
  animation-delay: 0.7s;
}

/* -- Trois piliers -- */
/* Padding sur le wrapper : la frise reste collée au bas de la section */
.about-pillars-body {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

.about-pillar {
  height: 100%;
  padding: 1.875rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
}

.about-pillar-icon {
  display: block;
  width: auto;
  height: 1.625rem;
  margin-bottom: 1.125rem;
}

.about-pillar-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
}

.about-pillar-text {
  margin: 0;
  font-size: 0.90625rem;
  line-height: 1.65;
  color: var(--text-on-dark);
}

.about-pillar .pattern-strip {
  width: 5rem;
  margin-top: 1.125rem;
  opacity: 0.7;
}

.about-pillars-strip {
  height: 0.875rem;
  opacity: 0.5;
}

/* -- Méthode -- */
.about-steps {
  margin-top: 1.625rem;
}

/* 20 px entre les étapes (maquette) ; la dernière garde 0 (.step-list li:last-child) */
.about-steps li {
  padding-bottom: 1.25rem;
}

.about-steps li::before {
  background-image: linear-gradient(var(--night) 55%, transparent 55%);
}

.about-steps .step-num {
  background-color: var(--night);
}

.about-steps li:last-child .step-num {
  background-color: var(--orange);
}

.about-steps .step-text {
  line-height: 1.55;
}

.about-visual {
  height: 20rem;
}

.about-visual-strip {
  width: 6.875rem;
  margin: 0.875rem auto 0;
}

/* -- Équipe -- */
/* 40 px avant les portraits (maquette), valeur hors échelle Bootstrap */
.about-team-lead {
  margin: 0 0 2.5rem;
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--text-body);
}


.about-member {
  text-align: center;
}

.about-portrait {
  width: min(100%, 13.75rem);
  height: 15rem;
  margin: 0 auto;
  border-radius: 8.125rem 8.125rem 0.75rem 0.75rem;
}

.about-member-name {
  margin: 0.875rem 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
}

.about-member-role {
  margin: 0.125rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* -- Signature -- */
.about-signature {
  padding: 6.25rem 0;
}

/* Largeur du titre : colonne mx-auto dans le HTML */
.about-signature .pattern-strip {
  margin-bottom: 1.625rem;
}

.about-signature .signature-title {
  max-width: none;
  font-size: 1.875rem;
}

.about-signature .signature-actions {
  margin-top: 2.25rem;
}

/* Boutons : 14 px entre eux, aucune marge sous la ligne */
.about-signature .signature-actions .btn {
  margin: 0;
}

.about-signature .signature-actions .btn + .btn {
  margin-top: 0.875rem;
}


/* ==========================================================================
   21.0 - Locations
   ========================================================================== */

/* -- En-tête -- */
.loc-head {
  padding-top: 2.25rem;
  padding-bottom: 0.75rem;
}

.loc-head .page-title {
  margin-bottom: 0.625rem;
  font-size: 1.875rem;
  line-height: 1.08;
}

.loc-title-strip {
  width: 6.875rem;
  margin-top: 0;
}

.loc-count {
  display: inline-block;
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-body);
  background-color: var(--bg-card);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-pill);
}

.loc-count-dot {
  display: inline-block;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  background-color: var(--plant);
  border-radius: 50%;
}

/* -- Mise en page -- */
.loc-main {
  padding: 1.25rem 0 5.625rem;
}

.loc-aside {
  margin-bottom: 2rem;
}

/* -- Filtres -- */
.loc-filters-toggle {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.875rem 1.125rem;
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--night);
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  cursor: pointer;
}

.loc-filters-sign::before {
  content: "+";
  font-weight: 700;
  color: var(--orange);
}

.loc-filters-toggle[aria-expanded="true"] .loc-filters-sign::before {
  content: "−";
}

.loc-filters-panel {
  display: none;
}

.loc-filters-panel.is-open {
  display: block;
  animation: fadeIn 0.2s ease both;
}

.loc-filters {
  padding: 1.375rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.loc-filters > * + * {
  margin-top: 1.375rem;
}

.loc-filters .field-control {
  padding: 0.75rem 0.875rem;
  line-height: 1.25;
}

.loc-filters .loc-label {
  display: block;
  margin-bottom: 0.625rem;
  padding: 0;
  font-size: 0.71875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth);
}

.loc-fieldset {
  padding: 0;
  border: 0;
}

/* Ville : liste déroulante filtrable */
.loc-ville {
  position: relative;
}

.loc-ville-input {
  padding-right: 2.375rem;
}

.loc-ville-clear {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 1.375rem;
  height: 1.375rem;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.375rem;
  text-align: center;
  color: var(--text-muted);
  background-color: rgba(15, 23, 42, 0.08);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
}

.loc-ville-clear:hover {
  color: #FFFFFF;
  background-color: var(--orange);
}

.loc-ville-clear[hidden],
.loc-ville-list[hidden] {
  display: none;
}

.loc-ville-list {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  left: 0;
  z-index: 20;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 1.875rem rgba(15, 23, 42, 0.14);
  animation: fadeIn 0.15s ease both;
}

.loc-ville-option {
  padding: 0.6875rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.12s;
}

.loc-ville-option:hover,
.loc-ville-option.is-focused {
  background-color: rgba(15, 23, 42, 0.04);
}

.loc-ville-option.is-active {
  font-weight: 700;
  color: var(--orange);
  background-color: rgba(237, 97, 16, 0.06);
}

/* Pièces : pastilles en ligne, la marge basse est compensée par le parent */
.loc-chips {
  margin-bottom: -0.5rem;
}

.loc-chip {
  display: inline-block;
  margin: 0 0.5rem 0.5rem 0;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  vertical-align: top;
  color: var(--text-body);
  background-color: rgba(15, 23, 42, 0.05);
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
}

.loc-chip:hover {
  color: var(--orange);
}

.loc-chip.is-active {
  color: #FFFFFF;
  background-color: var(--night);
}

/* Budget */
.loc-budget-head {
  margin-bottom: 0.625rem;
}

.loc-budget-value {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
}

.loc-range {
  width: 100%;
  margin: 0.125rem 0;
  accent-color: var(--orange);
  cursor: pointer;
}

/* Interrupteur « Disponibles uniquement » */
.loc-switch {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.loc-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.loc-switch-track {
  position: relative;
  flex: none;
  width: 2.625rem;
  height: 1.5rem;
  margin-right: 0.75rem;
  background-color: rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-pill);
  transition: background-color 0.2s;
}

.loc-switch-track::after {
  content: "";
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);
  transition: transform 0.2s;
}

.loc-switch input:checked + .loc-switch-track {
  background-color: var(--plant);
}

.loc-switch input:checked + .loc-switch-track::after {
  transform: translateX(1.125rem);
}

.loc-switch input:focus-visible + .loc-switch-track {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.loc-switch-label {
  font-size: 0.84375rem;
  font-weight: 600;
}

.loc-reset {
  padding: 0.6875rem;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: 1.5px dashed rgba(15, 23, 42, 0.25);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}

.loc-reset:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* Encart « Vous ne trouvez pas ? » */
.loc-help {
  position: relative;
  margin-top: 1rem;
  padding: 1.25rem;
  overflow: hidden;
  background-color: var(--night);
  border-radius: var(--radius-card);
}

.loc-help .pattern-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.5rem;
  opacity: 0.5;
}

.loc-help-title {
  margin-bottom: 0.375rem;
  font-family: var(--font-heading);
  font-size: 1.03125rem;
  font-weight: 700;
  color: #FFFFFF;
}

.loc-help-text {
  margin-bottom: 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-on-dark);
}

.loc-help .btn {
  --bs-btn-padding-x: 1.125rem;
  --bs-btn-padding-y: 0.625rem;
  --bs-btn-font-size: 0.84375rem;
}

/* -- Barre d'outils (tri, affichage) -- */
.loc-toolbar {
  margin-bottom: 1.375rem;
}

.loc-sort {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.loc-sort-select {
  margin-left: 0.625rem;
  padding: 0.5625rem 2.125rem 0.5625rem 0.875rem;
  font-size: 0.84375rem;
  font-weight: 600;
  vertical-align: middle;
  color: var(--night);
  background-color: var(--bg-card);
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 1.125rem) 50%, calc(100% - 0.8125rem) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.18s;
}

.loc-sort-select:focus {
  border-color: var(--orange);
}

.loc-views {
  padding: 0.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.loc-view-btn {
  width: 2.375rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
  background: none;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
}

.loc-view-btn:hover {
  color: var(--night);
}

.loc-view-btn.is-active {
  color: #FFFFFF;
  background-color: var(--night);
}

.loc-view-btn .lucide {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0 auto;
}

/* -- Résultats : carte (vue grille) -- */
.loc-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(15, 23, 42, 0.07);
  animation: fadeUp 0.5s ease both;
}

.loc-card .bien-card-media .photo {
  height: 13.125rem;
}

.loc-card .bien-card-title {
  font-size: 1.15625rem;
}

.loc-card-line {
  display: none;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.loc-card .price {
  font-size: 1.125rem;
}

.loc-price-rented {
  color: var(--text-muted);
}

.loc-card .link-arrow {
  font-weight: 600;
  white-space: nowrap;
}

/* -- Résultats : vue liste (classes Bootstrap échangées par le JS) -- */
.loc-content.is-list .loc-card {
  border-radius: var(--radius-card);
  animation-duration: 0.4s;
}

.loc-content.is-list .loc-card:hover {
  box-shadow: 0 0.75rem 1.75rem rgba(15, 23, 42, 0.1);
}

.loc-content.is-list .bien-card-media {
  margin-bottom: 1.25rem;
}

.loc-content.is-list .bien-card-media .photo {
  height: 10rem;
  border-radius: 0.75rem;
}

.loc-content.is-list .bien-card-body {
  padding: 0.25rem 0;
}

.loc-content.is-list .bien-card-place,
.loc-content.is-list .bien-card-title {
  margin-bottom: 0.5rem;
}

.loc-content.is-list .bien-card-title {
  font-size: 1.1875rem;
}

.loc-content.is-list .bien-card-tags {
  display: none;
}

.loc-content.is-list .loc-card-line {
  display: block;
}

.loc-content.is-list .bien-card-foot {
  margin: 1.25rem 0 0;
  padding: 0;
  border: 0;
}

.loc-content.is-list .bien-card-foot .link-arrow {
  padding: 0.5625rem 1rem;
  background-color: rgba(237, 97, 16, 0.09);
  border-radius: var(--radius);
  transition: background-color 0.18s;
}

.loc-content.is-list .bien-card-foot .link-arrow:hover {
  background-color: rgba(237, 97, 16, 0.16);
}

/* -- Pagination -- */
.loc-pagination {
  margin-top: 0.875rem;
  text-align: center;
}

.loc-content.is-list .loc-pagination {
  margin-top: 1.375rem;
}

.loc-pagination[hidden] {
  display: none;
}

.loc-pages {
  display: inline;
}

.loc-page {
  display: inline-block;
  min-width: 2.375rem;
  height: 2.375rem;
  margin: 0 0.25rem;
  padding: 0 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  vertical-align: top;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border-dash);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.loc-page:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.loc-page.is-active {
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--night);
  border-color: var(--night);
}

.loc-page-arrow {
  width: 2.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--night);
}

.loc-page-arrow:disabled {
  color: #C8CFDA;
  border-color: var(--border-dash);
  cursor: not-allowed;
}

/* -- État vide -- */
.loc-empty {
  padding: 4.375rem 1.5rem;
  text-align: center;
  background-color: var(--bg-card);
  border: 1.5px dashed rgba(15, 23, 42, 0.18);
  border-radius: 1.25rem;
  animation: popIn 0.3s ease both;
}

.loc-empty[hidden] {
  display: none;
}

.loc-empty img {
  height: 2.125rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.loc-empty-title {
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.3125rem;
  font-weight: 700;
}

.loc-empty-text {
  max-width: 23.75rem;
  margin: 0 auto 1.375rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.loc-empty-actions .btn {
  width: 100%;
  margin-bottom: 0.75rem;
}


/* ==========================================================================
   22.0 - Fiche bien
   ========================================================================== */

/* -- En-tête -- */
.fiche-head {
  padding: 2rem 0 1.5rem;
}

.fiche-head .breadcrumb-nav {
  margin-bottom: 1.125rem;
}

/* Badge + texte : inline-block, la marge basse sert quand ils passent à la ligne */
.fiche-meta {
  margin-bottom: -0.25rem;
}

.fiche-meta > * {
  display: inline-block;
  margin: 0 0.75rem 0.75rem 0;
  vertical-align: middle;
}

.fiche-meta > :last-child {
  margin-right: 0;
}

.fiche-badge {
  padding: 0.3125rem 0.75rem;
  font-size: 0.75rem;
}

.fiche-meta-text {
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth);
}

.fiche-title {
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  line-height: 1.08;
}

.fiche-title-strip {
  width: 5.625rem;
  margin-top: 0;
}

.fiche-title-strip .pattern-strip {
  height: 0.4375rem;
}

.fiche-action {
  padding: 0.625rem 1rem;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--night);
  background: none;
  border: 1.5px solid var(--border-dash);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background-color 0.18s;
}

.fiche-action:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.fiche-action + .fiche-action {
  margin-left: 0.625rem;
}

.fiche-action .lucide {
  width: 0.9375rem;
  height: 0.9375rem;
  margin-right: 0.5rem;
  vertical-align: -0.1875rem;
}

.fiche-action[aria-pressed="true"] {
  color: var(--orange);
  background-color: rgba(237, 97, 16, 0.07);
  border-color: var(--orange);
}

[data-fiche-share].is-active .lucide {
  display: none;
}

.fiche-action[aria-pressed="true"] .lucide {
  fill: currentColor;
}

/* -- Galerie -- */
.fiche-gallery-section {
  padding-bottom: 1.5rem;
}

.fiche-gallery {
  position: relative;
}

.fiche-stage {
  position: relative;
  height: 18.75rem;
  overflow: hidden;
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
}

.fiche-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.fiche-slide.is-active {
  display: block;
  animation: fadeIn 0.25s ease both;
}

.fiche-fullscreen,
.fiche-counter,
.fiche-nav {
  position: absolute;
  z-index: 2;
}

.fiche-fullscreen {
  top: 0.875rem;
  right: 0.875rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--night);
  background-color: rgba(250, 246, 239, 0.92);
  border: 0;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
  cursor: pointer;
}

.fiche-fullscreen .lucide {
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.375rem;
  vertical-align: -0.125rem;
}

.fiche-counter {
  bottom: 0.875rem;
  left: 1rem;
  margin: 0;
  padding: 0.3125rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: rgba(15, 23, 42, 0.75);
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.fiche-nav {
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--night);
  background-color: rgba(250, 246, 239, 0.92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.15s;
}

.fiche-nav:hover {
  background-color: #FFFFFF;
}

/* Icône centrée : un bouton centre déjà son contenu verticalement */
.fiche-nav .lucide,
.fiche-close .lucide {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0 auto;
}

.fiche-prev {
  left: 0.75rem;
}

.fiche-next {
  right: 0.75rem;
}

/* Bande de vignettes défilante : d-flex dans le HTML */
.fiche-thumbs {
  gap: 0.625rem;
  margin-top: 0.75rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
}

.fiche-thumb {
  width: 5.75rem;
  height: 4.25rem;
  padding: 2px;
  background: none;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.18s;
}

.fiche-thumb:hover {
  border-color: rgba(237, 97, 16, 0.4);
}

.fiche-thumb.is-active {
  border-color: var(--orange);
}

.fiche-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.625rem;
  filter: saturate(1.08) sepia(0.1);
}

.fiche-close {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  z-index: 10;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--night);
  background-color: rgba(250, 246, 239, 0.95);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* Plein écran (lightbox) */
.fiche-gallery.is-open {
  position: fixed;
  inset: 0;
  z-index: 1100;
  padding: 4vh 4vw;
  background-color: rgba(11, 17, 32, 0.96);
  animation: fadeIn 0.2s ease both;
}

/* Photo = hauteur restante sous les vignettes (4.5rem + écart 0.875rem) */
.fiche-gallery.is-open .fiche-stage {
  height: calc(100% - 5.375rem);
  background-color: transparent;
}

.fiche-gallery.is-open .fiche-slide > img {
  object-fit: contain;
}

.fiche-gallery.is-open .fiche-thumbs {
  margin-top: 0.875rem;
}

/* Vignettes centrées (marges auto, à 0 dès que la bande défile) */
.fiche-gallery.is-open .fiche-thumb:first-child {
  margin-left: auto;
}

.fiche-gallery.is-open .fiche-thumb:last-child {
  margin-right: auto;
}

.fiche-gallery.is-open .fiche-fullscreen {
  display: none;
}

.fiche-gallery.is-open .fiche-close {
  display: block;
}

body.fiche-locked {
  overflow: hidden;
}

/* -- Détails -- */
.fiche-details {
  padding: 0.75rem 0 5rem;
}

.fiche-content {
  margin-bottom: 2.75rem;
}

.fiche-tags {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.fiche-tags > li {
  display: inline-block;
  margin: 0 0.375rem 0.625rem 0;
  vertical-align: top;
}

.fiche-tags li {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-pill);
}

.fiche-block {
  margin-bottom: 2.25rem;
}

.fiche-block:last-child {
  margin-bottom: 0;
}

.fiche-block-title {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
}

.fiche-strip {
  width: 4.375rem;
  margin-bottom: 1.125rem;
}

.fiche-tags + .fiche-block .fiche-strip {
  margin-bottom: 1rem;
}

.fiche-text {
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
}

.fiche-text:last-child {
  margin-bottom: 0;
}

/* Caractéristiques : une carte dl par colonne Bootstrap */
.fiche-spec {
  margin: 0;
  padding: 0.875rem 1rem;
  background-color: var(--bg-card);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.75rem;
}

.fiche-spec dt {
  margin-bottom: 0.4375rem;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fiche-spec dd {
  margin: 0;
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Équipements */
.fiche-equip {
  margin: 0 0 -0.625rem;
  padding: 0;
  list-style: none;
}

.fiche-equip > li {
  display: inline-block;
  margin: 0 0.375rem 0.625rem 0;
  vertical-align: top;
}

.fiche-equip li {
  padding: 0.5625rem 1rem;
  font-size: 0.84375rem;
  font-weight: 500;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius-pill);
}

.fiche-equip li span {
  margin-right: 0.5rem;
  font-weight: 800;
  color: var(--plant);
}

/* Localisation : point en position absolue, texte décalé par le padding */
.fiche-place {
  position: relative;
  padding: 1.375rem 1.5rem 1.375rem 3.375rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.fiche-place-dot {
  position: absolute;
  top: 1.625rem;
  left: 1.5rem;
  width: 0.875rem;
  height: 0.875rem;
  background-color: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(237, 97, 16, 0.18);
}

.fiche-place-title {
  margin: 0;
  font-size: 0.96875rem;
  font-weight: 700;
}

.fiche-place-text {
  margin: 0.375rem 0 0;
  font-size: 0.84375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* -- Encart prix -- */
.fiche-price-card {
  padding: 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 0.5rem 1.75rem rgba(15, 23, 42, 0.06);
}

.fiche-price-label {
  margin-bottom: 0.5rem;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fiche-price {
  margin: 0;
  line-height: 1.1;
}

.fiche-price-value {
  font-family: var(--font-heading);
  font-size: 1.9375rem;
  font-weight: 800;
  line-height: 1.1;
}

.fiche-price-suffix {
  margin-left: 0.25rem;
  font-size: 0.84375rem;
  color: var(--text-muted);
}

.fiche-price-note {
  position: relative;
  margin: 1rem 0 1.25rem;
  padding: 0.6875rem 0.8125rem 0.6875rem 1.75rem;
  font-size: 0.78125rem;
  line-height: 1.55;
  color: var(--text-body);
  background-color: var(--bg-body);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius);
}

.fiche-price-note span {
  position: absolute;
  top: 1.0625rem;
  left: 0.8125rem;
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--sand);
  border-radius: 50%;
}

.fiche-cta {
  --bs-btn-border-width: 0;
  width: 100%;
  margin-bottom: 0.625rem;
  padding: 0.875rem;
  font-size: 0.9375rem;
}

.fiche-wa {
  display: block;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--whatsapp-text);
  border: 1.5px solid var(--whatsapp-dot);
  border-radius: var(--radius);
  transition: background-color 0.18s;
}

.fiche-wa:hover {
  color: var(--whatsapp-text);
  background-color: rgba(31, 168, 85, 0.07);
}

.fiche-wa span {
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: 0.0625rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--whatsapp-dot);
  border-radius: 50%;
}

/* Avatar + texte : d-flex dans le HTML */
.fiche-agent {
  margin-top: 1.125rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.15);
}

.fiche-agent-avatar {
  width: 2.375rem;
  height: 2.375rem;
  margin-right: 0.625rem;
  line-height: 2.375rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--night);
  border-radius: 50%;
}

.fiche-agent-name {
  margin: 0;
  font-size: 0.84375rem;
  font-weight: 600;
}

.fiche-agent-tel {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.fiche-agent-tel:hover {
  color: var(--orange);
}

/* Visite */
.fiche-visit {
  margin-top: 1rem;
  padding: 1.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

/* Icône en position absolue, titre décalé par le padding et centré par son interligne */
.fiche-visit-head {
  position: relative;
  margin-bottom: 0.625rem;
  padding-left: 2.6875rem;
}

.fiche-visit-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  color: var(--earth);
  background-color: var(--bg-alt);
  border-radius: 50%;
}

.fiche-visit-icon .lucide {
  width: 0.9375rem;
  height: 0.9375rem;
  vertical-align: -0.125rem;
}

.fiche-visit-title {
  margin: 0;
  line-height: 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.fiche-visit-text {
  margin-bottom: 0.875rem;
  font-size: 0.84375rem;
  line-height: 1.65;
  color: var(--text-body);
}

.fiche-visit-link {
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--earth);
}

.fiche-visit-link:hover {
  color: var(--orange);
}

/* -- Biens similaires -- */
.fiche-similar {
  padding: 4.375rem 0 5rem;
}

.fiche-similar-head {
  margin-bottom: 2rem;
}

.fiche-similar-head .section-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: normal;
}

.fiche-similar .bien-card:hover {
  transform: translateY(-4px);
}

.fiche-similar .bien-card-media .photo {
  height: 12.5rem;
}

.fiche-similar .bien-card-body {
  padding-top: 0.875rem;
}

.fiche-similar .bien-card-title {
  font-size: 1.125rem;
}

.fiche-similar .price {
  font-size: 1.0625rem;
}

/* Encart sombre « Aucun bien ne vous correspond ? » (centrage vertical : d-flex dans le HTML) */
.fiche-alert {
  position: relative;
  padding: 1.625rem;
  overflow: hidden;
  background-color: var(--night);
  border-radius: var(--radius-lg);
}

.fiche-alert .pattern-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.5rem;
  opacity: 0.5;
}

.fiche-alert-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.fiche-alert-text {
  margin-bottom: 1.125rem;
  font-size: 0.84375rem;
  line-height: 1.6;
  color: var(--text-on-dark);
}

.fiche-alert .btn {
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-border-width: 0;
}

/* -- Barre d'action mobile -- */
.fiche-mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  gap: 0.875rem;
  padding: 0.75rem 5%;
  background-color: rgba(250, 246, 239, 0.97);
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
  animation: fadeUp 0.3s ease both;
}

.fiche-mobile-cta .btn {
  padding: 0.8125rem 1.125rem;
  white-space: nowrap;
}

.fiche-mobile-price {
  margin: 0;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 800;
}

.fiche-mobile-price small {
  font-family: var(--font-body);
  font-size: 0.71875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.fiche-mobile-status {
  margin: 0;
  font-size: 0.71875rem;
  font-weight: 600;
  color: var(--plant);
}

.fiche-page {
  padding-bottom: 4.5rem;
}

/* Le widget WhatsApp passe au-dessus de la barre mobile */
.fiche-page .wa-widget {
  bottom: 5.5rem;
}


/* ==========================================================================
   23.0 - Réalisations
   ========================================================================== */

/* -- En-tête ---------------------------------------------------- */
.reals-head {
  padding-top: 2.25rem;
  padding-bottom: 0.5rem;
}

.reals-head .page-title {
  margin-bottom: 0.625rem;
  font-size: 1.875rem;
  line-height: 1.08;
}

.reals-head .title-strip {
  width: 6.875rem;
  margin-top: 0;
}

.reals-head .filter-chip {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* 8 px entre les filtres (maquette), sans marge après le dernier */
.reals-head .filters > * {
  margin-right: 0;
}

.reals-head .filters > * + * {
  margin-left: 0.5rem;
}

/* -- Liste ------------------------------------------------------ */
.reals-body {
  padding: 2.25rem 0 5.625rem;
}

/* Projet phare */
.reals-featured {
  margin-bottom: 1.5rem;
  overflow: hidden;
  background-color: var(--night);
  border-radius: 1.25rem;
}

.reals-featured-media {
  position: relative;
  height: 100%;
  min-height: 20rem;
}

.reals-featured-media .photo {
  position: absolute;
  inset: 0;
}

.reals-featured-media .badge-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  background-color: var(--earth);
  pointer-events: none;
}

/* Contenu centré verticalement : d-flex flex-column justify-content-center align-items-start h-100 dans le HTML */
.reals-featured-body {
  position: relative;
  padding: 2.375rem 2.25rem;
}

.reals-featured-body .eyebrow {
  margin-bottom: 0.625rem;
  font-size: 0.75rem;
}

.reals-featured-title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
}

.reals-featured-text {
  margin: 0 0 1.25rem;
  font-size: 0.90625rem;
  line-height: 1.65;
  color: var(--text-on-dark);
}

/* Tags : 10 px entre eux, 22 px avant le bouton (maquette) */
.reals-featured .construction-tags {
  margin-bottom: 0.75rem;
}

.reals-featured .construction-tags > * {
  margin: 0 0.625rem 0.625rem 0;
}

.reals-featured .construction-tags span {
  padding: 0.375rem 0.8125rem;
  font-size: 0.78125rem;
}

/* Bouton sans bordure dans la maquette */
.reals-featured .btn {
  --bs-btn-padding-x: 1.375rem;
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-border-width: 0;
}

/* Carte avant / après : 16 px au-dessus du texte, marge native du curseur */
.reals-body .compare-range + .real-card-body {
  padding-top: 1rem;
}

.reals-body .compare-range input {
  margin: 0.125rem 0;
}

.reals-featured-body > .pattern-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.5rem;
  opacity: 0.4;
}

/* -- CTA -------------------------------------------------------- */

.reals-cta {
  margin-top: 3.5rem;
  padding: 2.5rem;
  background-color: var(--bg-alt);
  border-radius: 1.25rem;
}

.reals-cta-title {
  margin: 0 0 0.375rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.reals-cta-text {
  margin: 0;
  font-size: 0.90625rem;
  color: var(--text-body);
}

.reals-cta-actions .btn {
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 0.8125rem;
  --bs-btn-font-size: 0.90625rem;
  width: 100%;
}

.reals-cta-actions .btn + .btn {
  margin-top: 0.75rem;
}


/* ==========================================================================
   24.0 - Fiche réalisation
   ========================================================================== */

/* -- En-tête ---------------------------------------------------- */
/* Titre + bouton retour : col-auto, le bouton passe sous le titre quand il ne tient pas à côté (mb-3 sur chaque colonne) */
.projet-head {
  padding: 2rem 0 0.375rem;
}

.projet-head .breadcrumb-nav {
  margin-bottom: 1.125rem;
}

/* Badges + lieu : inline-block, la marge basse sert quand ils passent à la ligne */
.projet-meta {
  margin-bottom: 0;
}

.projet-meta > * {
  display: inline-block;
  margin: 0 0.625rem 0.625rem 0;
  vertical-align: middle;
}

.projet-meta > :last-child {
  margin-right: 0;
}

.projet-badge {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  background-color: var(--earth);
}

.projet-meta .status {
  padding: 0.3125rem 0.75rem;
  font-size: 0.71875rem;
  background-color: rgba(77, 98, 27, 0.1);
}

.projet-place {
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.projet-title {
  margin: 0;
  font-size: 1.75rem;
}

.projet-back {
  display: inline-block;
  padding: 0.6875rem 1.125rem;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--night);
  border: 1.5px solid var(--border-dash);
  border-radius: var(--radius);
  transition: border-color 0.18s, color 0.18s;
}

.projet-back:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* -- Galerie ---------------------------------------------------- */
.projet-gallery {
  padding-bottom: 1.25rem;
}

.projet-stage {
  position: relative;
  height: 17.5rem;
  overflow: hidden;
  border-radius: 1rem;
}

.projet-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.projet-slide.is-active {
  display: block;
  animation: fadeIn 0.25s ease both;
}

.projet-chip {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 600;
  border: 0;
  border-radius: var(--radius-pill);
}

.projet-chip .lucide {
  width: 0.8125rem;
  height: 0.8125rem;
  margin-right: 0.4375rem;
  vertical-align: -0.125rem;
}

button.projet-chip {
  cursor: pointer;
  transition: background-color 0.18s;
}

.projet-chip-count {
  top: 0.875rem;
  right: 0.875rem;
  padding: 0.375rem 0.8125rem;
  font-size: 0.71875rem;
  color: #FFFFFF;
  background-color: rgba(15, 23, 42, 0.72);
}

.projet-chip-count:hover {
  background-color: rgba(15, 23, 42, 0.9);
}

.projet-counter {
  bottom: 0.875rem;
  left: 1rem;
  padding: 0.3125rem 0.75rem;
  color: #FFFFFF;
  background-color: rgba(15, 23, 42, 0.75);
  pointer-events: none;
}

.projet-chip-full {
  right: 1rem;
  bottom: 0.875rem;
  padding: 0.4375rem 0.875rem;
  color: var(--night);
  background-color: rgba(250, 246, 239, 0.92);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
}

.projet-chip-full:hover {
  background-color: #FFFFFF;
}

/* Flèches */
.projet-nav {
  position: absolute;
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--night);
  background-color: rgba(250, 246, 239, 0.92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.18s;
}

.projet-nav:hover {
  background-color: #FFFFFF;
}

/* Icône centrée : un bouton centre déjà son contenu verticalement */
.projet-nav .lucide,
.projet-lightbox-close .lucide {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0 auto;
}

.projet-nav-prev {
  left: 0.75rem;
}

.projet-nav-next {
  right: 0.75rem;
}

/* Vignettes : bande défilante, d-flex dans le HTML */
.projet-thumbs {
  gap: 0.625rem;
  margin-top: 0.75rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
}

.projet-thumb {
  width: 6rem;
  height: 4.375rem;
  padding: 2px;
  background: none;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.18s, opacity 0.18s;
}

.projet-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.625rem;
  filter: saturate(1.08) sepia(0.1);
}

.projet-thumb.is-active {
  border-color: var(--orange);
}

/* Visionneuse */
.projet-lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 3vh 4vw;
  background-color: rgba(11, 17, 32, 0.96);
  border: 0;
}

.projet-lightbox::backdrop {
  background-color: transparent;
}

.projet-lightbox[open] {
  animation: fadeIn 0.2s ease both;
}

/* Visionneuse : colonne pleine hauteur (d-flex flex-column h-100), photo en flex-grow-1 dans le HTML */
.projet-lightbox-top {
  margin-bottom: 0.875rem;
}

.projet-lightbox-counter {
  font-size: 0.84375rem;
  font-weight: 600;
  color: #E6EAF0;
}

.projet-lightbox-close {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--night);
  background-color: rgba(250, 246, 239, 0.95);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.projet-lightbox-close .lucide {
  width: 1.25rem;
  height: 1.25rem;
}

.projet-lightbox-stage {
  position: relative;
  min-height: 0;
}

.projet-lightbox-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.875rem;
}

.projet-lightbox-stage .projet-nav {
  width: 2.875rem;
  height: 2.875rem;
}

.projet-lightbox-stage .projet-nav-prev {
  left: 0.5rem;
}

.projet-lightbox-stage .projet-nav-next {
  right: 0.5rem;
}

.projet-lightbox-thumbs {
  margin-top: 0.875rem;
  padding-bottom: 0.125rem;
}

/* Vignettes centrées (marges auto, à 0 dès que la bande défile) */
.projet-lightbox-thumbs .projet-thumb:first-child {
  margin-left: auto;
}

.projet-lightbox-thumbs .projet-thumb:last-child {
  margin-right: auto;
}

.projet-lightbox-thumbs .projet-thumb {
  width: 5.25rem;
  height: 3.625rem;
  border-radius: 0.625rem;
  opacity: 0.6;
}

.projet-lightbox-thumbs .projet-thumb img {
  border-radius: 0.5rem;
}

.projet-lightbox-thumbs .projet-thumb.is-active {
  opacity: 1;
}

/* -- Contenu ---------------------------------------------------- */
.projet-body {
  padding: 1.5rem 0 5rem;
}

.projet-content {
  margin-bottom: 2.75rem;
}

.projet-block + .projet-block {
  margin-top: 2.125rem;
}

.projet-block-title {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
}

.projet-strip {
  width: 4.375rem;
  margin-bottom: 1rem;
}

.projet-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
}

.projet-text + .projet-text {
  margin-top: 0.875rem;
}

/* Avant / après */
.projet-compare {
  height: 18.75rem;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.projet-compare-range {
  padding: 0.5rem 0 0;
}

/* Prestations */
.projet-presta {
  margin: 0;
  padding: 0;
  list-style: none;
}

.projet-presta > li {
  display: inline-block;
  margin: 0 0.375rem 0.625rem 0;
  vertical-align: top;
}

.projet-presta li {
  padding: 0.5625rem 1rem;
  font-size: 0.84375rem;
  font-weight: 500;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius-pill);
}

.projet-presta li::before {
  content: "✓";
  margin-right: 0.5rem;
  font-weight: 800;
  color: var(--plant);
}

/* Fiche projet */
.projet-card {
  padding: 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 0.5rem 1.75rem rgba(15, 23, 42, 0.06);
}

.projet-card-title {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: normal;
}

.projet-facts {
  margin: 0;
}

/* Libellé + valeur : d-flex justify-content-between dans le HTML */
.projet-facts > div {
  gap: 0.75rem;
  padding: 0.6875rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.projet-facts > div:last-child {
  border-bottom: 0;
}

.projet-facts dt {
  font-weight: 400;
  color: var(--text-muted);
}

.projet-facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.projet-card-cta {
  --bs-btn-border-width: 0;
  margin-top: 1.25rem;
}

.projet-wa {
  display: block;
  text-align: center;
  margin-top: 0.625rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--whatsapp-text);
  border: 1.5px solid var(--whatsapp-dot);
  border-radius: var(--radius);
  transition: background-color 0.18s;
}

.projet-wa::before {
  content: "";
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: 0.0625rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--whatsapp-dot);
  border-radius: 50%;
}

.projet-wa:hover {
  color: var(--whatsapp-text);
  background-color: rgba(31, 168, 85, 0.07);
}

/* -- Autres réalisations ---------------------------------------- */
.projet-related {
  padding: 4.375rem 0 5rem;
}

.projet-related-head {
  margin-bottom: 2rem;
}

.projet-related .section-title {
  font-size: 1.5rem;
  line-height: normal;
}

.projet-related-card {
  color: var(--night);
  background-color: var(--bg-body);
  border-color: var(--border);
}

.projet-related-card:hover {
  color: var(--night);
  transform: translateY(-4px);
}

.projet-related-card .real-card-media {
  height: 11.875rem;
}

.projet-related-card .real-card-body {
  padding: 0.875rem 1rem;
}

.projet-related-card .real-card-kind {
  margin-bottom: 0.3125rem;
}

.projet-related-card .real-card-title {
  margin: 0;
  font-size: 1.0625rem;
  line-height: normal;
}

/* Défilement bloqué pendant la visionneuse */
.is-locked {
  overflow: hidden;
}


/* ==========================================================================
   25.0 - Contact
   ========================================================================== */

/* -- Mise en page -- */
.contact-main {
  padding: 2.75rem 0 5.625rem;
}

/* -- Cartes de contact -- */
.contact-card {
  display: block;
  padding: 1.375rem;
  color: var(--night);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: box-shadow 0.2s;
}

a.contact-card:hover {
  color: var(--night);
  box-shadow: var(--shadow-hover);
}

.contact-card-label,
.contact-card-value,
.contact-card-note {
  display: block;
}

.contact-card-label {
  margin-bottom: 0.5rem;
  font-size: 0.71875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-label-wa {
  color: var(--whatsapp-text);
}

.contact-card-value {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
}

.contact-dot {
  display: inline-block;
  width: 0.5625rem;
  height: 0.5625rem;
  background-color: var(--whatsapp);
  margin-right: 0.5rem;
  vertical-align: middle;
  border-radius: 50%;
}

.contact-card-note {
  margin-top: 0.125rem;
  font-size: 0.84375rem;
  color: var(--text-muted);
}

/* -- Questions rapides -- */
.contact-faq {
  padding: 1.375rem 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.contact-faq-title {
  margin: 0 0 0.875rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.contact-faq .faq-item {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.contact-faq .faq-item summary {
  padding: 0.8125rem 0;
  font-size: 0.875rem;
}

.contact-faq .faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.3125rem;
}

.contact-faq .faq-answer {
  padding: 0 0 0.875rem;
  font-size: 0.84375rem;
  line-height: 1.6;
}

.contact-faq-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.84375rem;
  font-weight: 600;
}

/* -- Formulaire sombre -- */

.contact-form-card {
  position: relative;
  padding: 1.875rem;
  overflow: hidden;
  color: #FFFFFF;
  background-color: var(--night);
  border-radius: 1.25rem;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/pattern.png");
  background-size: 25rem;
  filter: invert(1);
  opacity: 0.035;
  pointer-events: none;
}

.contact-form-card > * {
  position: relative;
}

.contact-form-title {
  margin: 0 0 0.375rem;
  font-size: 1.375rem;
  font-weight: 800;
}

.contact-form-lead {
  margin: 0 0 1.375rem;
  font-size: 0.84375rem;
  color: var(--text-on-dark);
}

.contact-form-card #custom-form form textarea {
  line-height: normal;
}

.contact-form-card #custom-form .gform_button {
  border-width: 0;
}

/* -- Confirmation -- */

.contact-success {
  padding: 2.5rem;
  text-align: center;
  background-color: rgba(77, 98, 27, 0.12);
  border: 1px solid rgba(139, 169, 74, 0.5);
  border-radius: 1.25rem;
  outline: none;
  animation: popIn 0.35s ease both;
}

.contact-success img {
  height: 2.875rem;
  margin-bottom: 0.75rem;
}

.contact-success-title {
  margin: 0;
  font-size: 1.3125rem;
  font-weight: 700;
}

.contact-success-text {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-body);
}


/* ==========================================================================
   26.0 - FAQ
   ========================================================================== */

/* -- En-tête -- */
.faqp-head {
  text-align: center;
}

.faqp-head .breadcrumb-nav {
  text-align: left;
}

.faqp-head .page-title {
  margin-bottom: 0.75rem;
  font-size: 1.875rem;
  line-height: 1.08;
}

.faqp-lead {
  margin-bottom: 1.625rem;
  font-size: 0.96875rem;
  line-height: normal;
}

/* -- Recherche -- */
.faqp-search {
  position: relative;
}

.faqp-search .lucide {
  position: absolute;
  top: 50%;
  left: 1.125rem;
  width: 1.1875rem;
  height: 1.1875rem;
  color: #9AA3B2;
  pointer-events: none;
  transform: translateY(-50%);
}

.faqp-search-input {
  width: 100%;
  padding: 0.9375rem 1.125rem 0.9375rem 2.875rem;
  font-size: 0.9375rem;
  color: var(--night);
  background-color: var(--bg-card);
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.75rem;
  outline: none;
  box-shadow: 0 0.25rem 1.125rem rgba(15, 23, 42, 0.05);
  transition: border-color 0.18s;
}

.faqp-search-input::placeholder {
  color: #7A8598;
}

.faqp-search-input:focus {
  border-color: var(--orange);
}

/* -- Catégories -- */
.faqp-chips {
  margin-top: 1.125rem;
}

.faqp-chips .filter-chip {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-body);
}

.faqp-chips .filter-chip:hover {
  color: var(--orange);
}

.faqp-chips .filter-chip.is-active {
  color: #FFFFFF;
}

/* -- Liste des questions -- */
.faqp-main {
  padding: 2.25rem 0 5.625rem;
}

.faqp-list {
  padding: 0.5rem 1.625rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 0.5rem 1.875rem rgba(15, 23, 42, 0.04);
}

.faqp-list[hidden],
.faqp-item.faqp-is-unmatched {
  display: none;
}

.faqp-item {
  border-bottom-color: var(--border);
}

.faqp-item summary {
  padding: 1.125rem 0;
  font-size: 0.96875rem;
}

.faqp-q {
  display: block;
}

.faqp-cat {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faqp-item .faq-answer {
  padding: 0 0 1.125rem;
}

/* -- Aucun résultat -- */
.faqp-empty {
  padding: 3.75rem 1.5rem;
  text-align: center;
  background-color: var(--bg-card);
  border: 1.5px dashed rgba(15, 23, 42, 0.18);
  border-radius: 1.25rem;
  animation: popIn 0.3s ease both;
}

.faqp-empty[hidden] {
  display: none;
}

.faqp-empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.faqp-empty-text {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.faqp-empty-actions {
  text-align: center;
}

.faqp-empty-actions .btn {
  width: 100%;
}

.faqp-empty-actions .btn + .btn {
  margin-top: 0.75rem;
}

/* -- Bandeau contact -- */

.faqp-cta {
  position: relative;
  margin-top: 2.25rem;
  padding: 2.25rem;
  overflow: hidden;
  color: #FFFFFF;
  background-color: var(--night);
  border-radius: 1.25rem;
}

.faqp-cta-title {
  margin: 0 0 0.375rem;
  font-size: 1.1875rem;
  font-weight: 800;
}

.faqp-cta-text {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-on-dark);
}

.faqp-cta .btn {
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-font-size: 0.875rem;
  width: 100%;
}

.faqp-cta .btn-primary {
  --bs-btn-padding-x: 1.15625rem;
}

.faqp-cta .btn + .btn {
  margin-top: 0.75rem;
}

.faqp-cta-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.5rem;
  opacity: 0.5;
}

.faqp-btn-wa {
  --bs-btn-color: var(--whatsapp-light);
  --bs-btn-border-color: var(--whatsapp-dot);
  --bs-btn-hover-color: var(--whatsapp-light);
  --bs-btn-hover-bg: rgba(31, 168, 85, 0.12);
  --bs-btn-hover-border-color: var(--whatsapp-dot);
  --bs-btn-active-color: var(--whatsapp-light);
  --bs-btn-active-bg: rgba(31, 168, 85, 0.12);
  --bs-btn-active-border-color: var(--whatsapp-dot);
}


/* ==========================================================================
   27.0 - Déposer une demande
   ========================================================================== */

/* -- En-tête -- */
.dep-section {
  padding: 3.25rem 0 5.625rem;
}

.dep-head {
  margin-bottom: 2.75rem;
  text-align: center;
}

.dep-head .eyebrow {
  margin-bottom: 0.875rem;
}

.dep-title {
  font-size: 1.875rem;
  line-height: 1.08;
}

.dep-strip {
  margin-right: auto;
  margin-left: auto;
}

/* -- Cartes de choix (pied aligné en bas : d-flex dans le HTML) -- */
.dep-card {
  overflow: hidden;
  color: var(--night);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  transition: box-shadow 0.25s;
}

.dep-card:hover {
  color: var(--night);
  box-shadow: 0 1.25rem 2.75rem rgba(15, 23, 42, 0.13);
}

.dep-card-strip {
  height: 0.5rem;
}

.dep-card-body {
  padding: 2rem 1.875rem;
}

.dep-card-icon {
  width: auto;
  height: 1.875rem;
  margin-bottom: 1rem;
}

.dep-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.dep-card-text {
  margin: 0;
  font-size: 0.90625rem;
  line-height: 1.65;
  color: var(--text-body);
}

.dep-card-link {
  margin-top: 1.375rem;
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--orange-hover);
}

/* -- Propriétaires -- */
.dep-owner {
  margin-top: 1.75rem;
  padding: 1.625rem 1.875rem;
  background-color: var(--bg-alt);
  border-radius: var(--radius-lg);
}

.dep-owner-title {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.dep-owner-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-body);
}

.dep-owner .btn {
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 0.8125rem;
  --bs-btn-font-size: 0.90625rem;
  --bs-btn-border-width: 0;
  width: 100%;
}

/* -- Contact direct -- */
.dep-contact {
  margin: 2.125rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.dep-contact a {
  font-weight: 600;
}

.dep-contact .dep-link-wa {
  color: var(--whatsapp-text);
}

.dep-contact .dep-link-wa:hover {
  color: var(--orange);
}


/* ==========================================================================
   28.0 - Parcours de demande (location, devis)
   ========================================================================== */

/* -- Header simplifié du parcours -- */
.dem-header {
  --bs-navbar-padding-y: 0.75rem;
  flex-wrap: nowrap;
  background-color: rgba(250, 246, 239, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.dem-header .navbar-brand img {
  height: 2.875rem;
}

/* Liens côte à côte (d-flex dans le HTML) : sur mobile ils passent sur deux lignes, le logo garde sa taille (flex-shrink-0) */
.dem-nav {
  gap: 1rem;
}

.dem-nav-link,
.dem-nav-back {
  font-size: 0.84375rem;
  font-weight: 600;
  transition: color 0.18s;
}

.dem-nav-link {
  color: var(--text-muted);
}

.dem-nav-back {
  color: var(--night);
}

.dem-nav-link:hover,
.dem-nav-back:hover {
  color: var(--orange);
}

.dem-header .lang-switch {
  padding: 0.5rem 0.6875rem;
  border-radius: 0.5rem;
}

/* -- Zone principale -- */
.dem-main {
  padding: 2.75rem 0 5.625rem;
}

/* -- Titre d'étape -- */
.dem-head {
  margin-bottom: 1.875rem;
  text-align: center;
}

.dem-head .eyebrow {
  margin-bottom: 0.625rem;
}

.dem-title {
  margin: 0 0 0.5rem;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.1;
}

.dem-title:focus {
  outline: none;
}

.dem-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* -- Progression -- */
.dem-progress {
  margin-bottom: 1.75rem;
}

/* Étapes réparties : d-flex justify-content-between dans le HTML */
.dem-steps {
  gap: 0.75rem;
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
}

.dem-steps li {
  font-size: 0.75rem;
  font-weight: 600;
  color: #A8A091;
  transition: color 0.3s;
}

.dem-steps li.is-done {
  color: var(--plant);
}

.dem-steps li.is-active {
  color: var(--orange);
}

.dem-steps li:last-child {
  text-align: right;
}

.dem-bar {
  height: 0.375rem;
  overflow: hidden;
  background-color: var(--border);
  border-radius: var(--radius-pill);
}

.dem-bar-fill {
  display: block;
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--sand));
  border-radius: var(--radius-pill);
  transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -- Carte du formulaire -- */
.dem-card {
  padding: 1.875rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 0.5rem 1.875rem rgba(15, 23, 42, 0.05);
}

.dem-step:not([hidden]) {
  animation: fadeIn 0.25s ease both;
}

/* -- Choix du type de projet (devis) -- */
/* Deux cartes en row / col-sm-6 ; icône en position absolue, texte décalé par le padding */
.dem-choice {
  margin-bottom: 1.25rem;
}

.dem-choice-card {
  position: relative;
  display: block;
  padding: 1rem 1.125rem 1rem 4rem;
  background-color: var(--bg-body);
  border: 2px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.18s, background-color 0.18s;
}

.dem-choice-card img {
  position: absolute;
  top: 50%;
  left: 1.125rem;
  width: auto;
  height: 1.375rem;
  transform: translateY(-50%);
}

.dem-choice-card:hover {
  border-color: rgba(237, 97, 16, 0.5);
}

.dem-choice-card:has(input:checked) {
  background-color: rgba(237, 97, 16, 0.06);
  border-color: var(--orange);
}

.dem-choice-card:has(input:focus-visible) {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.dem-choice-card.is-invalid {
  border-color: var(--earth);
}

.dem-choice-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
}

.dem-choice-text {
  display: block;
  font-size: 0.78125rem;
  color: var(--text-muted);
}

/* -- Pièce jointe (devis) -- */
/* Icône en position absolue, texte décalé par le padding */
.dem-upload {
  position: relative;
  display: block;
  margin-top: 1rem;
  padding: 1.125rem 1.25rem 1.125rem 3.625rem;
  background-color: var(--bg-body);
  border: 1.5px dashed rgba(15, 23, 42, 0.25);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.dem-upload:hover,
.dem-upload:has(input:focus-visible) {
  border-color: var(--orange);
}

.dem-upload.is-filled {
  background-color: rgba(77, 98, 27, 0.06);
  border-color: var(--plant);
}

.dem-upload-icon {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  color: var(--night);
  transform: translateY(-50%);
}

.dem-upload-icon svg {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
}

.dem-upload-icon .lucide-check,
.dem-upload.is-filled .dem-upload-icon .lucide-upload {
  display: none;
}

.dem-upload.is-filled .dem-upload-icon .lucide-check {
  display: block;
  color: var(--plant);
}

.dem-upload-label {
  display: block;
  font-size: 0.90625rem;
  font-weight: 600;
  word-break: break-word;
}

.dem-upload-hint {
  display: block;
  font-size: 0.78125rem;
  color: var(--text-muted);
}

/* -- Récapitulatif -- */
.dem-recap {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
}

/* Libellé + valeur : d-flex justify-content-between dans le HTML */
.dem-recap-row {
  gap: 0.875rem;
  padding: 0.8125rem 1.125rem;
  font-size: 0.875rem;
}

.dem-recap-row:nth-child(odd) {
  background-color: var(--bg-body);
}

.dem-recap dt {
  font-weight: 400;
  color: var(--text-muted);
}

.dem-recap dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

/* -- Confirmation finale -- */
.dem-success {
  margin-top: 1.25rem;
  padding: 3.5rem 1.875rem;
  text-align: center;
  background-color: var(--bg-card);
  border: 1px solid rgba(139, 169, 74, 0.5);
  border-radius: 1.375rem;
  animation: popIn 0.4s ease both;
}

.dem-success:focus {
  outline: none;
}

.dem-success-logo {
  width: auto;
  height: 3.375rem;
  margin-bottom: 1rem;
}

.dem-success-title {
  margin: 0 0 0.625rem;
  font-size: 1.625rem;
  font-weight: 800;
}

.dem-success-ref {
  max-width: 26.25rem;
  margin: 0 auto 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-body);
}

.dem-success-text {
  max-width: 27.5rem;
  margin: 0 auto 1.625rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.dem-success .pattern-strip {
  width: 8.125rem;
  height: 0.5rem;
  margin: 0 auto 1.625rem;
}

.dem-success-actions {
  text-align: center;
}

.dem-success-actions .btn {
  width: 100%;
  margin-bottom: 0.75rem;
}

/* -- Encart « biens disponibles » (location) -- */
.dem-aside {
  margin-top: 2.125rem;
  padding: 1.375rem 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.dem-aside-title {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.dem-aside-text {
  margin: 0;
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.dem-aside .btn {
  --bs-btn-padding-x: 1.375rem;
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-font-size: 0.875rem;
  width: 100%;
}


/* ==========================================================================
   29.0 - Pages légales
   ========================================================================== */

/* -- En-tête -- */
.legal-page {
  padding-bottom: 5.625rem;
}

.legal-title {
  margin-bottom: 0.625rem;
  font-size: 1.875rem;
  line-height: 1.08;
}

.legal-strip {
  width: 6.875rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.legal-strip .pattern-strip {
  animation-delay: 0.2s;
}

.legal-meta {
  margin: 0 0 2.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* -- Articles -- */
.legal-card {
  padding: 1.625rem 1.75rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  scroll-margin-top: 6.25rem;
}

.legal-card + .legal-card {
  margin-top: 1.125rem;
}

.legal-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.1875rem;
  font-weight: 700;
}

.legal-card-text {
  margin: 0;
  font-size: 0.90625rem;
  line-height: 1.75;
  color: var(--text-body);
}

.legal-card-text a[href^="tel:"] {
  white-space: nowrap;
}

.legal-card-text + .legal-card-text,
.legal-checks + .legal-card-text {
  margin-top: 1.5rem;
}

.legal-checks li {
  position: relative;
  display: block;
  margin: 0;
  padding-left: 1.4375rem;
  font-size: 0.90625rem;
  font-weight: 400;
  line-height: 1.75;
}

.legal-checks li::before {
  position: absolute;
  top: 0;
  left: 0;
  margin-right: 0;
}

.legal-see {
  margin: 1.75rem 0 0;
  font-size: 0.84375rem;
  color: var(--text-muted);
}


/* ==========================================================================
   30.0 - Page 404
   ========================================================================== */

/* -- Mise en page (pleine hauteur et centrage : d-flex dans le HTML) -- */
.err-main {
  padding: 2.5rem 0 4.375rem;
}

/* -- En-tête simplifié -- */
.err-header {
  --bs-navbar-padding-y: 1.125rem;
}

.err-header-actions > * {
  vertical-align: middle;
}

.err-header-actions > * + * {
  margin-left: 0.625rem;
}

.err-pill {
  padding: 0.5625rem 0.9375rem;
  border-radius: var(--radius-pill);
}

.err-wa {
  display: inline-block;
  padding: 0.5625rem 1rem;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--whatsapp-text);
  border: 1.5px solid var(--whatsapp-dot);
  border-radius: var(--radius-pill);
  transition: background-color 0.18s;
}

.err-wa:hover {
  color: var(--whatsapp-text);
  background-color: rgba(31, 168, 85, 0.08);
}

.err-wa-dot {
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: 0.0625rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--whatsapp-dot);
  border-radius: 50%;
}

/* -- Contenu -- */
.err-content {
  text-align: center;
}

.err-code {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 5.625rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--night);
}

.err-strip {
  width: 8.125rem;
  margin: 0.5rem auto 1.625rem;
  overflow: hidden;
}

.err-strip .pattern-strip {
  height: 0.5625rem;
  transform-origin: left;
  animation: drawX 0.8s ease 0.3s both;
}

.err-title {
  margin: 0 0 0.875rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.err-text {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
}

.err-actions {
  margin-bottom: 1.625rem;
  text-align: center;
}

.err-actions .btn {
  width: 100%;
  margin-bottom: 0.875rem;
}

.err-links {
  padding-top: 1.375rem;
  border-top: 1px solid var(--border-strong);
}

.err-links-title {
  margin: 0 0 0.875rem;
  font-family: var(--font-body);
}

.err-chips {
  margin: 0 0 -0.625rem;
  padding: 0;
  list-style: none;
  text-align: center;
}

.err-chips > li {
  display: inline-block;
  margin: 0 0.375rem 0.625rem 0;
  vertical-align: top;
}

.err-chips > li:last-child {
  margin-right: 0;
}

.err-chips a {
  display: inline-block;
  padding: 0.5625rem 1rem;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--night);
  background-color: rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-pill);
  transition: background-color 0.18s, color 0.18s;
}

.err-chips a:hover {
  color: var(--orange);
  background-color: rgba(237, 97, 16, 0.1);
}

/* -- Pied de page simplifié -- */
.err-footer .pattern-strip {
  height: 0.75rem;
  opacity: 0.35;
}

.err-footer-text {
  margin: 0;
  padding: 1.125rem 5%;
  font-size: 0.78125rem;
  text-align: center;
  color: var(--text-footer-muted);
  background-color: var(--night-deep);
}


/* ==========================================================================
   31.0 - Media Queries
   Un seul bloc par breakpoint. Base = mobile et tablette (menu replié) jusqu'à 1199px ;
   mises en page bureau et menu ouvert à partir de 1200px (navbar-expand-xl)
   ========================================================================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  /* Forms */
  #custom-form .gfield--width-half,
  #custom-form .gfield--width-third {
    grid-column: span 6;
  }

  .wa-pill {
    display: block;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Steps : 3 étapes par rangée */
  .process li:nth-child(2n + 1)::before {
    left: 0;
  }

  .process li:nth-child(2n)::before {
    right: 0;
  }

  .process li:nth-child(3n + 1)::before {
    left: calc(50% - 2.75rem);
  }

  .process li:nth-child(3n)::before {
    right: calc(50% - 2.75rem);
  }

  /* Buttons */
  .step-list + .btn,
  .construction-tags + .btn,
  .real-more .btn,
  .loc-help .btn {
    width: auto;
  }

  /* CTA Signature */
  .signature-title {
    font-size: 2.375rem;
  }

  /* Accueil */
  .hero-title {
    font-size: 2.1875rem;
  }

  /* Forms */
  .signature-actions .btn {
    width: auto;
    margin: 0 0.4375rem 0.875rem;
  }

  .hero-actions {
    margin-bottom: 2.375rem;
  }

  .hero-actions .btn {
    width: auto;
    margin: 0 0.875rem 0 0;
  }

  /* Gestion locative */
  .gest-hero .hero-actions {
    margin-bottom: 2.125rem;
  }

  /* Construction */
  .cons-hero-text {
    padding-bottom: 4rem;
  }

  .cons-compare-lead + .btn,
  .cons-faq-cta .btn {
    width: auto;
  }

  /* À propos */
  .about-signature .signature-title {
    font-size: 2.125rem;
  }

  /* 10 px + l'espace entre les deux liens = 14 px (maquette) */
  .about-signature .signature-actions .btn + .btn {
    margin: 0 0 0 0.625rem;
  }

  /* Locations */
  .loc-content.is-list .bien-card-media {
    width: 15rem;
    margin: 0 1.25rem 0 0;
  }

  .loc-content.is-list .bien-card-body {
    padding-right: 0.5rem;
  }

  .loc-content.is-list .bien-card-foot {
    margin: 0 0 0 1.25rem;
  }

  .loc-empty-actions .btn {
    width: auto;
    margin: 0 0.375rem 0.75rem;
  }

  /* Fiche bien */
  .fiche-stage {
    height: 20.1875rem;
  }

  /* Réalisations */
  .reals-cta-actions .btn {
    width: auto;
  }

  .reals-cta-actions .btn + .btn {
    margin: 0 0 0 0.75rem;
  }

  /* Fiche réalisation */
  .projet-stage {
    height: 19.1875rem;
  }

  /* FAQ */
  .faqp-empty-actions .btn {
    width: auto;
  }

  .faqp-empty-actions .btn + .btn {
    margin-top: 0;
    margin-left: 0.75rem;
  }

  .faqp-cta .btn {
    width: auto;
  }

  .faqp-cta .btn + .btn {
    margin-top: 0;
    margin-left: 0.75rem;
  }

  /* Déposer une demande */
  .dep-owner .btn {
    width: auto;
  }

  /* Parcours de demande (location, devis) */
  .dem-aside .btn {
    width: auto;
  }

  .dem-success-actions .btn {
    width: auto;
    margin: 0 0.375rem 0.75rem;
  }

  /* Page 404 */
  .err-code {
    font-size: 7.6875rem;
  }

  .err-actions .btn {
    width: auto;
    margin: 0 0.4375rem 0.875rem;
  }
}

/* X-Large devices (large desktops, 1200px and up) : bureau, menu ouvert */
@media (min-width: 1200px) {
  /* Steps : une seule rangée */
  .process li:nth-child(3n + 1)::before {
    left: 0;
  }

  .process li:nth-child(3n)::before {
    right: 0;
  }

  .process li:first-child::before {
    left: calc(50% - 2.75rem);
  }

  .process li:last-child::before {
    right: calc(50% - 2.75rem);
  }

  /* Typography */
  .section-title {
    font-size: 2.25rem;
  }

  /* CTA Signature */
  .signature-title {
    font-size: 3.75rem;
  }

  /* Accueil */
  .hero-title {
    font-size: 3.375rem;
  }

  .hero-visual {
    height: 27rem;
  }

  .reassurance-title {
    font-size: 1.375rem;
  }

  .gestion-visual .photo {
    height: 25.5rem;
  }

  .faq-section .section-title {
    font-size: 2.125rem;
  }

  /* Page Head (pages intérieures) */
  .page-title {
    font-size: 2.875rem;
  }

  /* Forms */
  .menu-navigation-menu-container {
    margin: 0 auto;
  }

  .navbar-nav .menu-item {
    padding: 0.625rem 0.6875rem;
  }

  .navbar-nav .menu-item a {
    font-size: 0.875rem;
    font-weight: 500;
  }

  .navbar-nav .current-menu-item > a,
  .navbar-nav .menu-item a[aria-current="page"] {
    font-weight: 600;
  }

  .nav-cta {
    white-space: nowrap;
  }

  #custom-form .gfield--width-third {
    grid-column: span 4;
  }

  .reassurance-list {
    text-align: right;
  }

  .engagement {
    padding-right: 1.375rem;
  }

  .engagements .row > div + div .engagement {
    padding-left: 1.375rem;
  }

  .engagements .row > div:last-child .engagement {
    padding-right: 0;
  }

  /* Gestion locative */
  .gest-hero-title {
    font-size: 3rem;
  }

  .gest-hero-visual .photo {
    height: 27rem;
  }

  /* Construction */
  .cons-hero-title {
    font-size: 3rem;
  }

  /* À propos */
  .about-title {
    font-size: 3.3125rem;
  }

  .about-visual {
    height: 25.5rem;
  }

  .about-signature .signature-title {
    font-size: 3.3125rem;
  }

  /* Locations */
  .loc-aside {
    position: sticky;
    top: 6rem;
    margin-bottom: 0;
  }

  .loc-filters-panel {
    display: block;
  }

  .loc-head .page-title {
    font-size: 2.5625rem;
  }

  .loc-content.is-list .bien-card-foot {
    margin: 0 0 0 1.25rem;
  }

  /* Fiche bien */
  .fiche-content {
    margin-bottom: 0;
  }

  .fiche-aside {
    position: sticky;
    top: 6rem;
  }

  .fiche-page {
    padding-bottom: 0;
  }

  .fiche-page .wa-widget {
    bottom: 1.375rem;
  }

  .fiche-title {
    font-size: 2.375rem;
  }

  .fiche-stage {
    height: 31.5rem;
  }

  .fiche-similar-head .section-title {
    font-size: 1.9375rem;
  }

  /* Réalisations */
  .reals-head .page-title {
    font-size: 2.5625rem;
  }

  .reals-featured-title {
    font-size: 1.8125rem;
  }

  .reals-cta-title {
    font-size: 1.625rem;
  }

  /* Fiche réalisation */
  .projet-content {
    margin-bottom: 0;
  }

  .projet-aside {
    position: sticky;
    top: 6rem;
  }

  .projet-title {
    font-size: 2.5625rem;
  }

  .projet-stage {
    height: 30rem;
  }

  .projet-related .section-title {
    font-size: 1.9375rem;
  }

  /* FAQ */
  .faqp-cta-text {
    margin-bottom: 0;
  }

  .faqp-head .page-title {
    font-size: 2.6875rem;
  }

  .faqp-cta-title {
    font-size: 1.5rem;
  }

  /* Déposer une demande */
  .dep-title {
    font-size: 2.6875rem;
  }

  /* Parcours de demande (location, devis) */
  .dem-title {
    font-size: 2.25rem;
  }

  /* Pages légales */
  .legal-title {
    font-size: 2.5625rem;
  }

  /* Page 404 */
  .err-code {
    font-size: 11.25rem;
  }

  .err-title {
    font-size: 2.125rem;
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  /* Typography */
  .section-title {
    font-size: 2.5rem;
  }

  /* CTA Signature */
  .signature-title {
    font-size: 4rem;
  }

  /* Accueil */
  .hero-title {
    font-size: 3.625rem;
  }

  .hero-text {
    font-size: 1.0625rem;
  }

  .hero-visual {
    height: 29.375rem;
  }

  .gestion-visual .photo {
    height: 27.5rem;
  }

  .faq-section .section-title {
    font-size: 2.25rem;
  }

  /* Page Head (pages intérieures) */
  .page-title {
    font-size: 3rem;
  }

  /* Gestion locative */
  .gest-hero-title {
    font-size: 3.25rem;
  }

  .gest-hero-visual .photo {
    height: 28.75rem;
  }

  /* Construction */
  .cons-hero-title {
    font-size: 3.375rem;
  }

  /* À propos */
  .about-title {
    font-size: 3.5rem;
  }

  .about-visual {
    height: 27.5rem;
  }

  .about-signature .signature-title {
    font-size: 3.5rem;
  }

  /* Locations */
  .loc-head .page-title {
    font-size: 2.75rem;
  }

  /* Fiche bien */
  .fiche-title {
    font-size: 2.625rem;
  }

  .fiche-stage {
    height: 32.5rem;
  }

  .fiche-similar-head .section-title {
    font-size: 2.125rem;
  }

  /* Réalisations */
  .reals-head .page-title {
    font-size: 2.75rem;
  }

  .reals-featured-title {
    font-size: 2rem;
  }

  .reals-cta-title {
    font-size: 1.6875rem;
  }

  /* Fiche réalisation */
  .projet-title {
    font-size: 2.75rem;
  }

  .projet-stage {
    height: 31.25rem;
  }

  .projet-related .section-title {
    font-size: 2.125rem;
  }

  /* FAQ */
  .faqp-head .page-title {
    font-size: 2.875rem;
  }

  /* Déposer une demande */
  .dep-title {
    font-size: 2.875rem;
  }

  /* Pages légales */
  .legal-title {
    font-size: 2.625rem;
  }
}

/* Animations réduites */
@media (prefers-reduced-motion: reduce) {
  /* Intro & Animations */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js .fade-up {
    opacity: 1;
    transform: none;
  }
}
