/* ==========================================================================
   ATOM Agency – nouvelle charte (refonte Bluetime 2026)
   Chargée après style.css (handle « ima ») sur tout le site.
   Ne pas recompiler le Sass : toutes les surcharges de la refonte vont ici.
   Maquette de référence : https://claude.ai/artifact/QcL1yWK436dBmVdo4bx8pD
   Les tailles sont en px (comme la maquette) : style.css fait varier la taille
   du rem avec la largeur de l'écran au-delà de 1 440 px.
   ========================================================================== */

/* 1. Variables et base
   ========================================================================== */
:root {
  --atom-navy: #1d2a3d;
  --atom-navy-hover: #2c3d57;
  --atom-bordeaux: #78161b;
  --atom-bordeaux-dark: #5e1115;
  --atom-grey: #eceff0;
  --atom-grey-form: #f6f7f8;
  --atom-bluegrey: #507284;
  --atom-line: #dee2e6;
  --atom-input-border: #b8c1c6;
  --atom-on-dark: #d8dee3;
  --atom-on-dark-muted: #aab5be;
  --atom-blush: #e9d3d4;
  --atom-blush-hover: #f0d6d7;
  --atom-star: #f4b400;
  --atom-serif: "Bodoni Moda", Georgia, serif;
  --atom-sans: "Lato", Arial, sans-serif;
  --atom-header-h: 72px;

  /* Bootstrap lit ces variables pour le corps du texte. */
  --bs-body-font-family: var(--atom-sans);
  --bs-body-color: var(--atom-navy);
}

@media (min-width: 992px) {
  :root {
    --atom-header-h: 96px;
  }
}

body {
  font-family: var(--atom-sans);
  color: var(--atom-navy);
}

h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
  font-family: var(--atom-serif);
}

/* 2. Boutons et liens
   ========================================================================== */
.atom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--atom-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.atom-btn--primary {
  background-color: var(--atom-bordeaux);
  color: #fff;
}
.atom-btn--primary:hover,
.atom-btn--primary:focus-visible {
  background-color: var(--atom-bordeaux-dark);
  color: #fff;
}

.atom-btn--light {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}
.atom-btn--light:hover,
.atom-btn--light:focus-visible {
  background-color: #fff;
  color: var(--atom-navy);
}

.atom-btn--outline {
  background-color: transparent;
  border-color: var(--atom-navy);
  color: var(--atom-navy);
}
.atom-btn--outline:hover,
.atom-btn--outline:focus-visible {
  background-color: var(--atom-navy);
  color: #fff;
}

.atom-btn--navy {
  background-color: var(--atom-navy);
  color: #fff;
}
.atom-btn--navy:hover,
.atom-btn--navy:focus-visible {
  background-color: var(--atom-navy-hover);
  color: #fff;
}

.atom-btn:focus-visible,
.atom-arrow:focus-visible,
.atom-card:focus-visible,
.atom-burger:focus-visible,
.atom-call-fab:focus-visible,
.atom-link:focus-visible {
  outline: 2px solid var(--atom-bordeaux);
  outline-offset: 2px;
}
.atom-section--dark .atom-btn:focus-visible,
.atom-hero .atom-btn:focus-visible {
  outline-color: #fff;
}

.atom-link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 700;
  color: var(--atom-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.atom-link:hover {
  color: var(--atom-bordeaux);
}

/* 3. Titres et surtitres
   ========================================================================== */
.atom-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--atom-bordeaux);
}
.atom-eyebrow--light {
  margin-bottom: 18px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--atom-blush);
}

.atom-h2 {
  margin: 0;
  font-family: var(--atom-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}
.atom-h3 {
  margin: 0;
  font-family: var(--atom-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  color: inherit;
}

@media (min-width: 992px) {
  .atom-h2 {
    font-size: 38px;
  }
  .atom-h3 {
    font-size: 32px;
  }
}

/* 4. En-tête
   ========================================================================== */

/* Hauteur et logo : on neutralise le logo en position absolue de style.css. */
.header .container {
  height: var(--atom-header-h);
}
.header .logo-desktop {
  flex-shrink: 0; /* le bloc burger voisin est en w-100 et écrasait le logo */
}
.header .logo-desktop a {
  position: static;
  display: block;
}
.header .logo-desktop img,
.header .small-menu .logo-desktop img {
  position: static;
  top: auto;
  width: auto;
  max-width: none;
  height: 34px;
}
.header .navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Le logo couleur (logo_header) est un carré marine : il lui faut plus de hauteur que le logo blanc horizontal. */
.header .logo-desktop .atom-logo--color {
  height: 48px;
}

@media (min-width: 992px) {
  .header .logo-desktop img {
    height: 44px;
  }
  .header .logo-desktop .atom-logo--color {
    height: 64px;
  }
  .header .small-menu .container {
    height: 64px;
  }
  .header .small-menu .logo-desktop img {
    height: 36px;
  }
  .header .small-menu .logo-desktop .atom-logo--color {
    height: 52px;
  }
}

/* Logo blanc : seulement sur l'en-tête transparent de l'accueil. */
.atom-logo--white {
  display: none;
}

/* Menu principal */
.header .navbar-nav {
  gap: 0;
}
.header .navbar-nav > li > .nav-link {
  padding: 8px 13px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--atom-navy);
}
.header .navbar-nav > li > .nav-link:hover,
.header .navbar-nav > li > .nav-link:focus-visible {
  color: var(--atom-bordeaux);
}

/* Téléphone */
.header .tel a,
.header .tel-icon a {
  color: var(--atom-navy);
  text-decoration: none;
  white-space: nowrap;
}
.header .tel {
  font-size: 14px;
}

/* Bouton « Estimer mon bien » */
.atom-header-cta {
  min-height: 44px;
  padding: 0 20px;
  white-space: nowrap;
}
.atom-header-cta--mobile {
  padding: 0 14px;
  font-size: 13px;
}

/* Burger */
.atom-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(29, 42, 61, 0.35);
  border-radius: 2px;
  background: transparent;
  color: var(--atom-navy);
  cursor: pointer;
}

/* L'espaceur sous l'en-tête fixe disparaît quand la photo passe dessous. */
.atom-has-hero .menu-spacer {
  display: none;
}

/* En-tête transparent sur la photo de l'accueil (tant qu'on n'a pas défilé). */
.atom-has-hero:not(.atom-scrolled) .header .navbar {
  background-color: transparent !important; /* Bootstrap .bg-white est en !important */
  border-bottom-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.atom-has-hero:not(.atom-scrolled) .atom-logo--color {
  display: none;
}
.atom-has-hero:not(.atom-scrolled) .atom-logo--white {
  display: block;
}
.atom-has-hero:not(.atom-scrolled) .header .navbar-nav > li > .nav-link,
.atom-has-hero:not(.atom-scrolled) .header .navbar-nav > .active > a, /* style.css force .active a en marine */
.atom-has-hero:not(.atom-scrolled) .header .tel a,
.atom-has-hero:not(.atom-scrolled) .header .tel-icon a {
  color: #fff !important;
}
.atom-has-hero:not(.atom-scrolled) .header .navbar-nav > li > .nav-link:hover {
  color: var(--atom-blush-hover) !important;
}
.atom-has-hero:not(.atom-scrolled) .header .tel::before,
.atom-has-hero:not(.atom-scrolled) .header .tel::after {
  background-color: rgba(255, 255, 255, 0.4);
}
.atom-has-hero:not(.atom-scrolled) .atom-burger {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* 5. Hero (accueil)
   ========================================================================== */
.atom-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(640px, 100svh);
  overflow: hidden;
  background-color: var(--atom-navy);
  color: #fff;
}

.atom-hero .atom-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.atom-hero__slides .swiper-wrapper {
  height: 100%;
}
.atom-hero__slide {
  height: 100%;
  background-color: var(--atom-navy);
  background-position: center 30%;
  background-repeat: no-repeat;
  background-size: cover;
}

.atom-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(29, 42, 61, 0.55) 0%, rgba(29, 42, 61, 0.78) 55%, rgba(29, 42, 61, 0.92) 100%);
}

.atom-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--atom-header-h) + 48px);
  padding-bottom: 96px;
}

.atom-hero__title {
  max-width: 760px;
  margin: 0;
  font-family: var(--atom-serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.18;
  color: #fff;
}

.atom-hero__intro {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.atom-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.6;
}
.atom-proofs li {
  margin: 0;
}
.atom-proofs svg {
  margin-right: 6px;
  vertical-align: -2px;
}

.atom-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.atom-hero__actions .atom-btn {
  min-height: 50px;
}

/* Pagination du diaporama : traits blancs */
.atom-hero__pagination {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 8px;
  width: auto;
  transform: translateX(-50%);
}
.atom-hero__pagination .swiper-pagination-bullet {
  display: block;
  width: 28px;
  height: 3px;
  margin: 0;
  border-radius: 0;
  background: #fff;
  opacity: 0.4;
  cursor: pointer;
}
.atom-hero__pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (min-width: 576px) {
  .atom-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .atom-hero__actions .atom-btn {
    min-height: 48px;
  }
}

@media (min-width: 768px) {
  .atom-hero__title {
    font-size: 38px;
    line-height: 1.15;
  }
  .atom-hero__intro {
    font-size: 18px;
  }
  .atom-proofs {
    font-size: 15px;
    gap: 10px 28px;
  }
}

@media (min-width: 992px) {
  .atom-hero {
    min-height: 760px;
  }
  .atom-hero__slide {
    background-position: center 40%;
  }
  .atom-hero__scrim {
    background: linear-gradient(90deg, rgba(29, 42, 61, 0.82) 0%, rgba(29, 42, 61, 0.55) 55%, rgba(29, 42, 61, 0.15) 100%);
  }
  .atom-hero__content {
    padding-top: calc(var(--atom-header-h) + 56px);
    padding-bottom: 72px;
  }
  .atom-eyebrow--light {
    font-size: 13px;
  }
  .atom-hero__title {
    font-size: 56px;
    line-height: 1.12;
  }
  .atom-hero__intro {
    margin-top: 24px;
    font-size: 19px;
    line-height: 1.55;
  }
  .atom-proofs {
    margin-top: 28px;
  }
  .atom-hero__actions {
    margin-top: 36px;
  }
}

@media (max-width: 767.98px) {
  .atom-eyebrow--light {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }
}

/* 6. Recherche compacte (accueil)
   On neutralise le bloc blanc décalé de style.css (.properties .search …).
   ========================================================================== */
.atom-search {
  padding: 44px 0;
  background-color: var(--atom-navy);
  color: #fff;
  scroll-margin-top: 64px;
}

.atom-search__title {
  margin: 0 0 22px;
  font-family: var(--atom-serif);
  font-size: 26px;
  line-height: 1.25;
  color: #fff;
}
.atom-search__title em {
  font-style: italic;
}

.atom-search .atom-search-form .container .listing-search-one {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  background-color: transparent;
}
.atom-search .atom-search-form--compact .container {
  height: auto;
}
/* style.css : « .search { margin-top: -7.35rem } » (≥ 1024 px) faisait remonter le formulaire sur le titre,
   et « .listing-search-one { padding: 2rem !important } » ajoutait un cadre. */
.atom-search .search {
  margin-top: 0;
}
.atom-search .atom-search-form .listing-search-one {
  padding: 0 !important;
}

/* Page /biens : seconde ligne du formulaire complet (Meublé + prix min./max.) */
.atom-search--listing {
  padding: 32px 0;
}
.atom-search .listing-search-two {
  margin: 0 !important;
  padding: 18px 0 0 !important;
  background-color: transparent !important;
}
.atom-search .listing-search-two .wrapper {
  align-items: flex-end;
  justify-content: flex-start;
  gap: 16px 32px;
  padding: 0;
}
.atom-search .listing-search-two .options label {
  display: inline-flex;
  align-items: center;
  min-height: 46px; /* même hauteur que les champs de prix */
  gap: 8px;
  font-size: 14px;
  color: #fff;
}
.atom-search .listing-search-two .options input {
  width: 18px;
  height: 18px;
  accent-color: var(--atom-bordeaux);
}
.atom-search .prix .search-titles {
  margin: 0 0 6px;
  font-size: 13px;
}
.atom-search .prix-choices {
  gap: 12px;
}
.atom-search .prix input {
  width: 150px;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--atom-input-border);
  border-radius: 2px;
  background-color: #fff;
  font-family: var(--atom-sans);
  font-size: 15px;
  color: var(--atom-navy);
}
.atom-search .atom-search-form .listing-search-one >* {
  width: auto;
  max-width: none;
  margin: 0 !important; /* .mt-4 de Bootstrap est en !important */
  padding: 0;
  border: 0;
}

.atom-search .search-titles {
  margin: 0 0 6px;
  padding-left: 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.atom-search .search-titles label {
  margin: 0;
  color: inherit;
}

/* Listes déroulantes (Choices.js) */
.atom-search .search .choices {
  margin-bottom: 0;
  border: 1px solid var(--atom-input-border);
  border-radius: 2px;
  background-color: #fff;
  font-size: 15px;
  font-weight: 400;
  color: var(--atom-navy);
}
.atom-search .search .choices__inner {
  min-height: 44px;
  padding: 0 34px 0 14px;
  background-color: #fff;
}
.atom-search .search .choices::after,
.atom-search .search .is-open::after {
  top: 18px !important;
  right: 16px !important;
  border-color: var(--atom-navy) !important;
}
.atom-search .search .choices__list--dropdown {
  z-index: 20;
  color: var(--atom-navy);
}

/* Villes (vanillaSelectBox) */
.atom-search .vsb-main {
  display: block !important;
  width: 100% !important;
}
.atom-search .vsb-main button {
  min-width: 0;
  min-height: 46px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--atom-input-border);
  border-radius: 2px;
  background-color: #fff;
  font-size: 15px;
  color: var(--atom-navy);
}
.atom-search .vsb-menu {
  z-index: 20;
  color: var(--atom-navy);
}

/* Champs simples */
.atom-input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--atom-input-border);
  border-radius: 2px;
  background-color: #fff;
  font-family: var(--atom-sans);
  font-size: 15px;
  color: var(--atom-navy);
}
.atom-input:focus {
  outline: 2px solid var(--atom-bordeaux);
  outline-offset: 0;
}

/* Bouton « Chercher » */
.atom-search .search button[type=submit] {
  width: 100%;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  background-color: var(--atom-bordeaux);
  font-family: var(--atom-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.atom-search .search button[type=submit]:hover,
.atom-search .search button[type=submit]:focus-visible {
  background-color: var(--atom-bordeaux-dark);
}
.atom-search .search button[type=submit]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (min-width: 576px) {
  .atom-search .atom-search-form .container .listing-search-one {
    grid-template-columns: 1fr 1fr;
  }
  .atom-search .atom-search-form .listing-search-one >:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 992px) {
  .atom-search__title {
    font-size: 30px;
  }
  .atom-search .atom-search-form .container .listing-search-one {
    grid-template-columns: 1.1fr 1.2fr 1.4fr 1fr 1fr auto;
    gap: 12px;
    align-items: end !important; /* la rangée porte .align-items-center (Bootstrap, en !important) */
  }
  .atom-search .atom-search-form .listing-search-one >:last-child {
    grid-column: auto;
  }
  .atom-search .search button[type=submit] {
    width: auto;
  }
}

/* 7. Sections
   ========================================================================== */
.atom-section {
  padding: 56px 0;
}
.atom-section--grey {
  background-color: var(--atom-grey);
}
.atom-section--dark {
  background-color: var(--atom-navy);
  color: #fff;
}
.atom-section--dark .atom-h2,
.atom-section--dark .atom-h3 {
  color: #fff;
}

.atom-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 24px;
  margin-bottom: 28px;
}

@media (min-width: 992px) {
  .atom-section {
    padding: 80px 0 72px;
  }
  .atom-section--grey {
    padding: 88px 0;
  }
  .atom-section--dark {
    padding: 72px 0;
  }
  .atom-section__head {
    margin-bottom: 32px;
  }
  .atom-reviews .atom-section__head {
    margin-bottom: 40px;
  }
}

/* Flèches du carrousel */
.atom-arrows {
  display: flex;
  gap: 8px;
}
.atom-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--atom-navy);
  border-radius: 0;
  background-color: #fff;
  color: var(--atom-navy);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
/* style.css place .swiper-showcase-button-* en absolu, ronds, sur les côtés du carrousel */
.atom-arrows .atom-arrow {
  position: static;
  z-index: auto;
  top: auto;
  right: auto;
  left: auto;
  border-radius: 0;
  opacity: 1;
  transform: none;
}
.atom-arrow:hover {
  background-color: var(--atom-grey);
}
.atom-arrow--dark {
  background-color: var(--atom-navy);
  color: #fff;
}
.atom-arrow--dark:hover {
  background-color: var(--atom-navy-hover);
}
.atom-arrows .atom-arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

/* Carrousel des nouveaux biens : cartes de même hauteur */
.swiper-showcase .swiper-slide {
  height: auto;
}

/* 8. Carte de bien (includes/card-estate.php)
   ========================================================================== */
.atom-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--atom-line);
  background-color: #fff;
  color: var(--atom-navy);
  text-decoration: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
a.atom-card:hover {
  border-color: var(--atom-input-border);
  box-shadow: 0 10px 24px rgba(29, 42, 61, 0.12);
  color: var(--atom-navy);
}

.atom-card__img {
  position: relative;
  aspect-ratio: 7 / 5;
  background-color: #d9dfe2;
  background-position: center;
  background-size: cover;
}

.atom-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background-color: var(--atom-bordeaux);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.atom-card__peb {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 64px;
  height: auto;
}

.atom-card__body {
  flex: 1;
  padding: 18px;
}
.atom-card__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--atom-bordeaux);
}
.atom-card__title {
  margin: 6px 0 2px;
  font-weight: 700;
  line-height: 1.4;
}
.atom-card__price {
  margin: 0;
  font-family: var(--atom-serif);
  font-size: 22px;
  line-height: 1.3;
}
.atom-card__details {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--atom-bluegrey);
}

.atom-card--closed .atom-card__img {
  filter: grayscale(0.5);
}
.atom-card--closed .atom-card__eyebrow {
  color: var(--atom-bluegrey);
}

/* 9. Présentation
   ========================================================================== */
.atom-about {
  padding: 8px 0 56px;
}
.atom-about__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 460px;
  object-fit: cover;
  object-position: center 35%;
}
.atom-about .atom-h2 {
  margin-bottom: 24px;
}
.atom-about__content,
.atom-about__content.wysiwyg {
  font-size: 16px;
  line-height: 1.75;
}
.atom-about__content p,
.atom-about__content.wysiwyg p {
  margin: 0 0 16px;
}
.atom-about .atom-btn {
  margin-top: 16px;
}

@media (min-width: 992px) {
  .atom-about {
    padding: 24px 0 96px;
  }
  .atom-about__img {
    height: 620px;
    max-height: none;
    aspect-ratio: auto;
  }
}

/* 10. Avis clients
   ========================================================================== */
.atom-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border: 1px solid var(--atom-line);
  background-color: #fff;
}
.atom-rating__note {
  font-family: var(--atom-serif);
  font-size: 40px;
  line-height: 1;
}
.atom-rating__stars {
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--atom-star);
}
.atom-rating__count {
  margin: 4px 0 0;
  font-size: 14px;
}

.atom-review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  margin: 0;
  padding: 24px;
  background-color: #fff;
}
.atom-review blockquote {
  margin: 0;
  font-family: var(--atom-serif);
  font-size: 17px;
  line-height: 1.5;
}
.atom-review figcaption {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--atom-navy);
}

@media (min-width: 992px) {
  .atom-review {
    padding: 30px;
  }
  .atom-review blockquote {
    font-size: 19px;
  }
}

/* 11. Newsletter
   ========================================================================== */
.atom-newsletter__text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--atom-on-dark);
}

/* Formulaire de la newsletter (shortcode ACF), quelle que soit l'extension */
.atom-newsletter label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.atom-newsletter input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),
.atom-newsletter select,
.atom-newsletter textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--atom-input-border);
  border-radius: 2px;
  background-color: #fff;
  font-family: var(--atom-sans);
  font-size: 15px;
  color: var(--atom-navy);
}
.atom-newsletter input[type=submit],
.atom-newsletter button[type=submit] {
  width: auto;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  background-color: var(--atom-bordeaux);
  font-family: var(--atom-sans);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}
.atom-newsletter input[type=submit]:hover,
.atom-newsletter button[type=submit]:hover {
  background-color: var(--atom-bordeaux-dark);
}
.atom-newsletter a {
  color: #fff;
}

/* 12. Appel à l'action + formulaire de contact
   ========================================================================== */
.atom-cta .atom-h2 {
  font-size: 30px;
}
.atom-cta__text {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.65;
}
.atom-cta__phone {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--atom-line);
}
.atom-cta__phone p {
  margin: 0;
  font-size: 14px;
  color: var(--atom-bluegrey);
}
.atom-cta__phone a {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--atom-serif);
  font-size: 26px;
  color: var(--atom-navy);
  text-decoration: none;
}
.atom-cta__phone a:hover {
  color: var(--atom-bordeaux);
}
.atom-cta .col-lg-5 > .atom-btn {
  margin-top: 30px;
}

@media (min-width: 992px) {
  .atom-cta.atom-section {
    padding: 96px 0;
  }
  .atom-cta .atom-h2 {
    font-size: 40px;
  }
  .atom-cta__text {
    margin-top: 22px;
  }
}

/* Encadré du formulaire (CF7 n° 78) */
.atom-form-box {
  padding: 24px;
  background-color: var(--atom-grey-form);
}
.atom-form-box > .atom-h3 {
  margin-bottom: 18px;
  font-size: 26px;
}
@media (min-width: 992px) {
  .atom-form-box {
    padding: 36px;
  }
}

/* Formulaire de contact CF7 n° 78 (accueil + page Contact), balisage dans _bluetime/cf7-78-contact.txt */
.atom-cf7 {
  display: grid;
  gap: 16px;
  color: var(--atom-navy);
}
.atom-cf7 p {
  margin: 0;
}
/* CF7 (autop) regroupe plusieurs champs dans un même <p> : on le rend transparent
   pour que chaque libellé soit un élément de la grille. */
.atom-cf7 > p:not([class]),
.atom-cf7__grid > p,
.atom-cf7__civ > p {
  display: contents;
}
.atom-cf7 br {
  display: none; /* retours à la ligne ajoutés par CF7 (autop) */
}
.atom-cf7 label {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--atom-navy);
}
.atom-cf7 .wpcf7-form-control-wrap {
  display: block;
}
.atom-cf7 input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),
.atom-cf7 select,
.atom-cf7 textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--atom-input-border);
  border-radius: 2px;
  background-color: #fff;
  box-shadow: none;
  font-family: var(--atom-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--atom-navy);
}
.atom-cf7 textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}
.atom-cf7 select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231d2a3d' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
}
.atom-cf7 input:focus,
.atom-cf7 select:focus,
.atom-cf7 textarea:focus {
  outline: 2px solid var(--atom-bordeaux);
  outline-offset: 0;
}

/* Civilité et newsletter */
.atom-cf7__civ {
  margin: 0;
  padding: 0;
  border: 0;
}
.atom-cf7 .wpcf7-list-item {
  margin: 0 22px 0 0;
}
.atom-cf7 .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}
.atom-cf7 input[type=checkbox],
.atom-cf7 input[type=radio] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--atom-navy);
}
.atom-cf7__newsletter .wpcf7-list-item label {
  font-size: 14px;
}

.atom-cf7__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 576px) {
  .atom-cf7__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.atom-cf7__legal {
  font-size: 13px;
  line-height: 1.5;
  color: var(--atom-bluegrey);
}
/* Lien « politique de confidentialité » : couleur du texte, non gras, souligné (partout) */
.atom-cf7__legal a,
.contact-form .atom-cf7__legal a,
.atom-newsletter .atom-cf7__legal a,
.atom-cf7__legal a:hover,
.atom-cf7__legal a:focus-visible,
.atom-newsletter .atom-cf7__legal a:hover,
.atom-newsletter .atom-cf7__legal a:focus-visible {
  color: inherit;
  font-weight: 400;
  text-decoration: underline;
}

.atom-cf7 input[type=submit] {
  width: auto;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  background-color: var(--atom-navy);
  font-family: var(--atom-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.atom-cf7 input[type=submit]:hover,
.atom-cf7 input[type=submit]:focus-visible {
  background-color: var(--atom-navy-hover);
}
.atom-cf7 input[type=submit]:focus-visible {
  outline: 2px solid var(--atom-bordeaux);
  outline-offset: 2px;
}
.atom-cf7__submit {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Formulaire « Newsletter – nouveaux biens » (fond marine de l'accueil, maquette) */
.atom-cf7--newsletter,
.atom-newsletter .atom-cf7--newsletter label {
  color: #fff;
}
.atom-cf7--newsletter .atom-cf7__submit > p {
  display: contents;
}
.atom-newsletter .atom-cf7--newsletter .wpcf7-submit {
  background-color: var(--atom-bordeaux);
  color: #fff;
}
.atom-newsletter .atom-cf7--newsletter .wpcf7-submit:hover {
  background-color: var(--atom-bordeaux-dark);
}
.atom-cf7--newsletter .atom-cf7__grid {
  gap: 14px;
}
.atom-cf7--newsletter .atom-cf7__full {
  grid-column: 1 / -1;
}
.atom-cf7--newsletter .atom-cf7__submit {
  flex-wrap: wrap;
  gap: 12px 18px;
}
.atom-cf7--newsletter .atom-cf7__legal {
  color: #c3ccd3;
}
.atom-newsletter .wpcf7 form .wpcf7-response-output {
  color: #fff;
}
.atom-newsletter .wpcf7-not-valid-tip {
  color: #f3b6b9;
}

/* Page Contact : style.css habille l'ancien formulaire (.contact-page / .form-section .contact-form …)
   avec des sélecteurs plus forts ; on les neutralise pour le nouveau balisage. */
.contact-form .atom-cf7 label {
  font-size: 13px;
  font-weight: 700;
  color: var(--atom-navy);
}
.contact-form .atom-cf7 textarea {
  height: auto;
  padding: 12px 14px;
  border: 1px solid var(--atom-input-border);
  background-color: #fff;
}
.contact-form .atom-cf7 .wpcf7-list-item {
  display: inline-block;
  margin: 0 22px 0 0;
}
.contact-form .atom-cf7 .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
}
.contact-form .atom-cf7 .wpcf7-list-item label input {
  display: inline-block;
  width: 18px;
}
.contact-form .atom-cf7 .wpcf7-list-item-label {
  position: static;
  font-size: inherit;
  color: inherit;
}
.contact-form .atom-cf7 .wpcf7-list-item-label::before,
.contact-form .atom-cf7 .wpcf7-list-item-label::after {
  display: none;
}
.contact-form .atom-cf7 .wpcf7-submit {
  display: inline-flex;
  width: auto;
  margin-top: 0;
  padding: 0 28px;
  background-color: var(--atom-navy);
  font-family: var(--atom-sans);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.contact-form .atom-cf7 .wpcf7-submit:hover {
  background-color: var(--atom-navy-hover);
}

/* Page Contact : délai de réponse et carte des bureaux (Trello « Si le temps le permet » n° 1) */
.contact-page .atom-contact-delay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--atom-bordeaux);
}
.contact-page .atom-contact-delay::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--atom-bordeaux);
}
.atom-offices {
  margin-top: 72px;
  padding: 72px 0;
  background-color: var(--atom-grey);
}
.atom-offices .atom-h2 {
  margin-bottom: 28px;
}
.atom-offices__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 28px;
  align-items: stretch;
}
.atom-offices__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
}
.atom-office {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 18px;
  border: 1px solid transparent;
  background-color: #fff;
}
.atom-office:has(.is-active) {
  border-color: var(--atom-navy);
}
.atom-office__btn {
  flex: 1 1 180px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--atom-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--atom-navy);
  cursor: pointer;
}
.atom-office__btn.is-active {
  font-weight: 700;
}
.atom-office__btn:focus-visible {
  outline: 2px solid var(--atom-bordeaux);
  outline-offset: 4px;
}
.atom-office__route {
  font-size: 13px;
}
.atom-map {
  position: relative;
  min-height: 380px;
  background-color: #dfe4e6;
}
.atom-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.atom-map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--atom-navy);
}
.atom-map__placeholder p {
  max-width: 34ch;
  margin: 0;
}
@media (max-width: 991.98px) {
  .atom-offices {
    margin-top: 48px;
    padding: 48px 0;
  }
  .atom-offices__grid {
    grid-template-columns: 1fr;
  }
  .atom-map {
    min-height: 300px;
  }
}

/* Messages de validation CF7 */
.atom-cf7 .wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--atom-bordeaux);
}
.atom-cf7 .wpcf7-not-valid {
  border-color: var(--atom-bordeaux) !important;
}
.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 14px;
}

/* 13. Pied de page
   ========================================================================== */
.footer.atom-footer {
  --bs-border-color: rgba(255, 255, 255, 0.2);
  padding: 64px 0 36px;
  background-color: var(--atom-navy);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--atom-on-dark);
}
.footer.atom-footer a {
  color: #fff;
}
.footer.atom-footer a:hover,
.footer.atom-footer a:focus-visible {
  color: var(--atom-blush-hover);
}
.atom-footer .logo-footer img {
  width: auto;
  max-width: 180px;
  height: auto;
}
.atom-footer .infos p,
.atom-footer .address p {
  line-height: 1.7;
}
.atom-footer .footer-facebook:hover {
  border-color: var(--atom-bordeaux);
  background-color: var(--atom-bordeaux);
  color: #fff;
}
.atom-footer .border-top {
  font-size: 12px;
  color: var(--atom-on-dark-muted);
}

/* Colonnes Bureaux / Contact / Mentions légales IPI (Trello « Si le temps le permet » n° 2) */
.atom-footer .atom-footer__title {
  margin: 0 0 14px;
  font-family: var(--atom-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.atom-footer .address p {
  margin: 0 0 12px;
}
.atom-footer .infos p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--atom-on-dark-muted);
}
.atom-footer .infos .atom-footer__title {
  font-size: 12px;
  color: #fff;
}
.atom-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  color: var(--atom-on-dark-muted);
}
.atom-footer__bottom .copyright p {
  margin: 0;
}
@media (max-width: 767.98px) {
  /* style.css centre le pied de page sur mobile : on aligne les icônes et la bande du bas */
  .atom-footer .address .d-flex {
    justify-content: center;
  }
  .atom-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Menu légal (emplacement « extra-menu ») */
.atom-legal-menu__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}
@media (min-width: 768px) {
  .atom-legal-menu__list {
    justify-content: flex-start;
  }
}

/* Badge Google Reviews (ancienne fiche ICS, à mettre à jour) */
.atom-footer .myGRW {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: transparent;
  color: #fff;
}

/* Place pour le bouton d'appel flottant sur mobile */
@media (max-width: 991.98px) {
  .footer.atom-footer {
    padding-bottom: 110px;
  }
}

/* 14. Bouton d'appel flottant (mobile)
   ========================================================================== */
.atom-call-fab {
  position: fixed;
  right: 18px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 1020; /* sous l'en-tête (1030) et le menu mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--atom-bordeaux);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #fff;
  transition: background-color 0.2s ease;
}
.atom-call-fab:hover,
.atom-call-fab:focus-visible {
  background-color: var(--atom-bordeaux-dark);
  color: #fff;
}

/* 16. Pages intérieures (étape 4)
   ========================================================================== */

/* En-tête commun : page.php, 404.php, search.php */
.atom-page-head {
  padding: 48px 0 36px;
  background-color: var(--atom-grey);
}
.atom-page-head .atom-eyebrow {
  margin-bottom: 8px;
}
.atom-page-head__title {
  max-width: 900px;
  margin: 0;
  font-family: var(--atom-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--atom-navy);
}
.atom-page-body {
  padding: 48px 0 72px;
}
.atom-page-body__lead {
  max-width: 720px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}
.atom-page-body__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.atom-page-body__content {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.75;
}
.atom-page-body__content h2,
.atom-page-body__content h3 {
  margin: 36px 0 14px;
  font-family: var(--atom-serif);
  font-weight: 500;
  line-height: 1.25;
}
.atom-page-body__content h2 {
  font-size: 28px;
}
.atom-page-body__content h3 {
  font-size: 22px;
}
.atom-page-body__content a {
  color: var(--atom-bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.atom-page-body__content ul,
.atom-page-body__content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.atom-page-body__edit {
  margin-top: 32px;
  font-size: 13px;
}

/* Résultats de recherche */
.atom-results {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.atom-results__item {
  padding: 18px 0;
  border-bottom: 1px solid var(--atom-line);
}
.atom-results__link {
  font-family: var(--atom-serif);
  font-size: 22px;
  color: var(--atom-navy);
  text-decoration: none;
}
.atom-results__link:hover {
  color: var(--atom-bordeaux);
}
.atom-results__excerpt {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--atom-bluegrey);
}

@media (min-width: 992px) {
  .atom-page-head {
    padding: 72px 0 48px;
  }
  .atom-page-head__title {
    font-size: 48px;
  }
  .atom-page-body {
    padding: 64px 0 96px;
  }
}

/* Page /biens : en-tête photo avec voile marine, comme le hero de l'accueil */
.listing-cover {
  position: relative;
  min-height: 260px;
  place-items: end stretch;
  color: #fff;
}
.listing-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 42, 61, 0.85) 0%, rgba(29, 42, 61, 0.45) 100%);
}
.listing-cover > .container {
  position: relative;
  z-index: 1;
}
.listing-cover .cover-text {
  max-width: none;
  margin: 0;
  padding: 48px 0 40px;
  text-align: left;
}
.listing-cover .cover-text h1,
.listing-cover .cover-text .h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 0;
  color: #fff;
  text-shadow: none;
}
.listing-cover span,
.listing-cover .cover-text span {
  font-family: var(--atom-sans);
  text-shadow: none;
}

@media (min-width: 992px) {
  .listing-cover {
    min-height: 320px;
  }
  .listing-cover .cover-text h1,
  .listing-cover .cover-text .h1 {
    font-size: 56px;
  }
}

/* Grille des biens */
.atom-listing {
  padding-top: 48px;
  padding-bottom: 80px;
}
.listing .estates-grid {
  gap: 20px;
}
.atom-listing__empty {
  grid-column: 1 / -1;
  font-size: 17px;
}
.atom-listing__empty a {
  color: var(--atom-bordeaux);
}

/* Titres des pages existantes : Bodoni 500 comme l'accueil (style.css utilisait 700 ou « Prate », non chargée) */
.contact-page h1,
.services-section h1,
.etranger-section h1,
#team .team-header h1,
#team .team-membres h2,
#team .team-membres h3,
.single-estate h1,
.single-estate .h1 {
  font-family: var(--atom-serif);
  font-weight: 500;
  letter-spacing: 0;
}
.contact-page h1,
.services-section h1,
.etranger-section h1,
#team .team-header h1,
.single-estate h1 {
  color: var(--atom-navy);
}
.contact-page h2,
.single-estate .address-title {
  font-weight: 500;
  letter-spacing: 0;
}
#team .team-header {
  background-color: var(--atom-grey);
}
/* Coordonnées directes sous chaque personne (page Équipe) */
#team .team-membres p.atom-team-contact {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
}
#team .atom-team-contact a {
  font-weight: 700;
  color: var(--atom-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--atom-bordeaux);
}
#team .atom-team-contact a:hover {
  color: var(--atom-bordeaux);
}
#team .atom-team-contact span {
  margin: 0 6px;
  color: var(--atom-bluegrey);
}
#team .team-membres .minibar {
  background-color: var(--atom-bordeaux);
}
/* « Description » (display-1, 55 px gras) aligné sur les H2 de l'accueil */
.single-estate .description .desc-titre {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}
@media (min-width: 992px) {
  .single-estate .description .desc-titre {
    font-size: 38px;
  }
}
.single-estate .subtitle .price {
  font-family: var(--atom-serif);
  text-transform: none;
}
.single-estate .back-btn {
  color: var(--atom-navy);
  text-decoration: none;
}
.single-estate .back-btn:hover {
  color: var(--atom-bordeaux);
}

/* Anciens boutons (fiche de bien, page Team) alignés sur .atom-btn--primary */
.iw-btn,
#team .team-membres .bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  /* style.css force display:block / inline-block (!important) sur la fiche de bien :
     le centrage vertical passe donc par le padding, pas par flex. */
  padding: 14px 28px;
  border: 0;
  border-radius: 2px;
  background-color: var(--atom-bordeaux);
  font-family: var(--atom-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.iw-btn:hover,
.iw-btn:focus-visible,
#team .team-membres .bouton:hover,
#team .team-membres .bouton:focus-visible {
  background-color: var(--atom-bordeaux-dark);
  color: #fff;
}

/* 17. Blog (étape 5) : page Blog, catégories, article
   ========================================================================== */
.atom-blog__intro {
  max-width: 680px;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
}

/* Filtres par catégorie */
.atom-blog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.atom-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--atom-input-border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--atom-navy);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.atom-chip:hover {
  border-color: var(--atom-navy);
  color: var(--atom-navy);
}
.atom-chip.is-active {
  border-color: var(--atom-navy);
  background-color: var(--atom-navy);
  color: #fff;
}
.atom-chip:focus-visible {
  outline: 2px solid var(--atom-bordeaux);
  outline-offset: 2px;
}

/* Grille de cartes */
.atom-blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .atom-blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .atom-blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.atom-post-card {
  min-width: 0;
}
.atom-post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--atom-line);
  background-color: #fff;
  color: var(--atom-navy);
  text-decoration: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.atom-post-card__link:hover {
  border-color: var(--atom-input-border);
  box-shadow: 0 10px 24px rgba(29, 42, 61, 0.12);
  color: var(--atom-navy);
}
.atom-post-card__link:focus-visible {
  outline: 2px solid var(--atom-bordeaux);
  outline-offset: 2px;
}
.atom-post-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--atom-grey);
}
.atom-post-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atom-post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.atom-post-card__cat {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--atom-bordeaux);
}
.atom-post-card__title {
  margin: 0 0 10px;
  font-family: var(--atom-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--atom-navy);
}
.atom-post-card__excerpt {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--atom-navy);
}
.atom-post-card__meta {
  margin: auto 0 0;
  font-size: 13px;
  color: var(--atom-bluegrey);
}

/* Pagination */
.atom-blog .pagination,
.atom-blog .atom-pagination {
  margin-top: 40px;
}
.atom-blog .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.atom-blog .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--atom-line);
  font-weight: 700;
  color: var(--atom-navy);
  text-decoration: none;
}
.atom-blog .page-numbers.current {
  border-color: var(--atom-navy);
  background-color: var(--atom-navy);
  color: #fff;
}

/* Article */
.atom-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--atom-bluegrey);
}
.atom-breadcrumb a {
  color: var(--atom-bordeaux);
  text-decoration: none;
}
.atom-breadcrumb a:hover {
  text-decoration: underline;
}
.atom-article__chapo {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--atom-navy);
}
.atom-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--atom-bluegrey);
}
.atom-article__cover {
  margin: 40px 0 0;
}
.atom-article__cover img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.atom-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding: 48px 0 72px;
}
.atom-article__main {
  min-width: 0;
  max-width: 760px;
}

/* Sommaire */
.atom-article__toc {
  padding: 20px 22px;
  border-left: 3px solid var(--atom-bordeaux);
  background-color: var(--atom-grey);
}
.atom-article__toc .atom-eyebrow {
  margin-bottom: 10px;
}
.atom-article__toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.atom-article__toc a {
  color: var(--atom-navy);
  text-decoration: none;
}
.atom-article__toc a:hover {
  color: var(--atom-bordeaux);
  text-decoration: underline;
}

@media (min-width: 992px) {
  .atom-article__layout.has-toc {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 56px;
  }
  .atom-article__toc {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

/* Corps de l'article (éditeur WordPress) */
.atom-article__content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--atom-navy);
}
.atom-article__content > * + * {
  margin-top: 0;
}
.atom-article__content p,
.atom-article__content ul,
.atom-article__content ol {
  margin: 0 0 20px;
}
.atom-article__content ul,
.atom-article__content ol {
  padding-left: 24px;
}
.atom-article__content li + li {
  margin-top: 6px;
}
.atom-article__content li::marker {
  color: var(--atom-bordeaux);
}
.atom-article__content h2 {
  margin: 44px 0 14px;
  font-family: var(--atom-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  scroll-margin-top: 110px;
}
.atom-article__content h3 {
  margin: 32px 0 10px;
  font-family: var(--atom-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}
.atom-article__content a {
  color: var(--atom-bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.atom-article__content img {
  max-width: 100%;
  height: auto;
}
.atom-article__content figure,
.atom-article__content .wp-caption {
  max-width: 100%;
  margin: 28px 0;
}
.atom-article__content figcaption,
.atom-article__content .wp-caption-text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--atom-bluegrey);
}
.atom-article__content blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--atom-bordeaux);
  font-family: var(--atom-serif);
  font-size: 21px;
  line-height: 1.5;
}
.atom-article__content .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 768px) {
  .atom-article__content .alignleft {
    float: left;
    max-width: 50%;
    margin: 6px 24px 16px 0;
  }
  .atom-article__content .alignright {
    float: right;
    max-width: 50%;
    margin: 6px 0 16px 24px;
  }
}

/* Encadré « À retenir » */
.atom-article__retenir {
  clear: both;
  margin: 36px 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--atom-bordeaux);
  background-color: #f6efef;
}
.atom-article__retenir ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--atom-navy);
}
.atom-article__retenir li::marker {
  color: var(--atom-bordeaux);
}

/* Appel à l'action de fin */
.atom-article__cta {
  margin: 36px 0 0;
  padding: 28px;
  background-color: var(--atom-navy);
  color: #fff;
}
.atom-article__cta .atom-h3 {
  color: #fff;
}
.atom-article__cta p {
  margin: 0 0 18px;
  color: var(--atom-on-dark);
}
.atom-article__cta .atom-h3 + p {
  margin-top: 10px;
}

/* Partage */
.atom-article__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--atom-line);
  font-size: 14px;
  color: var(--atom-bluegrey);
}
.atom-article__share a {
  font-weight: 700;
  color: var(--atom-navy);
}
.atom-article__share a:hover {
  color: var(--atom-bordeaux);
}

.atom-article__related .atom-h2 {
  margin-bottom: 28px;
}

/* 18. Page Estimation
   ========================================================================== */
.atom-estimation__intro {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--atom-navy);
}
.atom-estimation__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 28px;
}
.atom-estimation__cta span {
  font-size: 14px;
  color: var(--atom-bluegrey);
}

/* Bande de réassurance */
.atom-estimation__proofs {
  background-color: var(--atom-navy);
  color: #fff;
}
.atom-estimation__proofs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 auto;
  padding-top: 18px;
  padding-bottom: 18px;
  list-style: none;
  font-size: 15px;
}
.atom-estimation__proofs li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}
/* Point centré sur la première ligne du texte : (hauteur de ligne 1.5em − point 7 px) / 2 */
.atom-estimation__proofs li::before {
  content: "";
  position: absolute;
  top: calc(0.75em - 3.5px);
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--atom-bordeaux);
  box-shadow: 0 0 0 2px #fff;
}

/* Un prix juste + arguments */
.atom-estimation__why {
  max-width: 820px;
}
.atom-estimation__lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.7;
}
.atom-estimation__lead p {
  margin: 0 0 14px;
}
.atom-estimation__args {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 36px;
}
.atom-estimation__arg {
  padding: 26px;
  border-top: 3px solid var(--atom-bordeaux);
  background-color: var(--atom-grey);
}
.atom-estimation__arg .atom-h3 {
  margin-bottom: 12px;
  font-size: 24px;
}
.atom-estimation__arg p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
@media (min-width: 992px) {
  .atom-estimation__args {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 3 étapes */
.atom-estimation__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.atom-estimation__step {
  padding: 26px;
  background-color: #fff;
}
.atom-estimation__step .atom-h3 {
  margin-bottom: 10px;
  font-size: 23px;
}
.atom-estimation__step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
@media (min-width: 992px) {
  .atom-estimation__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Accompagnement */
.atom-estimation__after {
  max-width: 820px;
}
.atom-estimation__after p {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.7;
}

/* Outil d'estimation (iframe) en attendant le formulaire dédié */
.atom-estimation__tool iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background-color: #fff;
}
.atom-estimation__form-note {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--atom-bluegrey);
}
.atom-estimation #formulaire {
  scroll-margin-top: 80px;
}

/* 19. Espacements haut et bas des pages intérieures (demande d'Amélie, 27/11/2026)
   Même espace entre l'en-tête et le contenu, et entre le contenu et le pied de page,
   sur toutes les pages (sauf l'accueil). Un bandeau coloré (titre, recherche, formulaire)
   peut toucher l'en-tête ou le pied de page : son propre espace intérieur fait alors la même taille.
   ========================================================================== */
:root {
  --atom-page-space: 56px;
}
@media (min-width: 992px) {
  :root {
    --atom-page-space: 80px;
  }
}

/* L'en-tête est fixe : l'espace réservé sous lui (.menu-spacer) doit faire sa hauteur exacte
   (83 px sous 992 px, 107 px au-delà). Avant : 40 px sur mobile → 43 px de contenu cachés sous l'en-tête. */
body:not(.atom-has-hero) .menu-spacer {
  margin-top: 83px;
}
@media (min-width: 992px) {
  body:not(.atom-has-hero) .menu-spacer {
    margin-top: 107px;
  }
}

/* Bloc formulaire (accueil, Estimation) : la gouttière .g-5 (3rem) dépasse la marge du conteneur
   sous 576 px → 17 px de défilement horizontal sur mobile. */
@media (max-width: 575.98px) {
  /* style.css réduit le conteneur à 8 px de marge sur mobile : les gouttières plus larges (g-4, g-5) débordent */
  main .container > .row {
    --bs-gutter-x: 1rem;
  }
}

/* Pages au gabarit commun (pages simples, blog, article, recherche, 404, Estimation) */
.atom-page-body,
.atom-page .atom-section,
.atom-page .atom-cta.atom-section {
  padding-top: var(--atom-page-space);
  padding-bottom: var(--atom-page-space);
}

/* Liste des biens : grille sous le bandeau de recherche */
.listing .atom-listing {
  padding-top: var(--atom-page-space);
  padding-bottom: var(--atom-page-space);
}

/* Services : l'ancien thème décalait la page de 160 px et collait le contenu au pied de page */
main.services-section {
  margin-top: 0;
  padding-top: var(--atom-page-space);
  padding-bottom: var(--atom-page-space);
}

/* Étranger */
main.etranger-section {
  padding-top: var(--atom-page-space);
  padding-bottom: var(--atom-page-space);
}
main.etranger-section > .container,
main.etranger-section .wysiwyg {
  margin-top: 0;
}

/* Équipe : bandeau gris du titre, puis les membres */
#team .team-membres {
  padding-top: var(--atom-page-space);
  padding-bottom: var(--atom-page-space);
}

/* Contact : titre collé à l'en-tête ; la carte des bureaux (bandeau gris) touche le pied de page */
main.contact-page {
  padding-top: var(--atom-page-space);
}
main.contact-page .atom-offices {
  margin-top: var(--atom-page-space);
  padding-top: var(--atom-page-space);
  padding-bottom: var(--atom-page-space);
}

/* Fiche d'un bien */
main.single-estate {
  padding-top: var(--atom-page-space);
  padding-bottom: var(--atom-page-space);
}
main.single-estate .single-title {
  padding-top: 0;
}

/* 15. Accessibilité : mouvements réduits
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .atom-btn,
  .atom-card,
  .atom-arrow,
  .header .navbar,
  .atom-call-fab {
    transition: none;
  }
}
