/*
Theme Name: MAK2COM
Theme URI: https://mak2com.fr
Author: MAK2COM
Author URI: https://mak2com.fr
Description: Theme custom pour Experts & Viagers - Agence immobiliere specialisee en viager
Version: 1.4.62
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mak2com
*/

.wp-site-blocks {
  overflow-x: clip;
}

.wp-site-blocks > main.wp-block-group:has(.ev-archive-biens),
.wp-site-blocks > main.wp-block-group:has(.ev-archive-biens) > .ev-archive-biens:first-child,
.wp-site-blocks > .ev-archive-biens {
  margin-block-start: 0;
  margin-top: 0;
}

/* =============================================================================
   FICHE BIEN - UI Kit 2026
   ============================================================================= */

.ev-single-bien {
  --ev-brown: var(--wp--preset--color--brown);
  --ev-magenta: var(--wp--preset--color--magenta);
  --ev-yellow: var(--wp--preset--color--yellow);
  --ev-paper: #f8f5f2;
  background: var(--ev-paper);
  color: var(--ev-brown);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  overflow-x: clip;
}

.ev-property-hero {
  height: 470px;
  margin: 0;
  position: relative;
}

.ev-property-hero__media {
  background: none;
  border: 0;
  cursor: zoom-in;
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

.ev-property-hero__image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.ev-property-hero__badges {
  align-items: center;
  bottom: 35px;
  display: flex;
  gap: 0;
  left: calc(50% - 584px);
  position: absolute;
  z-index: 3;
}

.ev-photo-badge,
.ev-type-badge {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 29px;
  line-height: 1;
}

.ev-photo-badge {
  background: #fff;
  border: 0;
  color: #111;
  cursor: pointer;
  gap: 6px;
  padding: 0 10px;
}

.ev-photo-badge:hover,
.ev-property-hero__media:hover + .ev-property-hero__badges .ev-photo-badge {
  background: var(--ev-yellow);
  color: #fff;
}

.ev-type-badge {
  background: rgba(75, 61, 48, 0.78);
  color: #fff;
  padding: 0 12px;
}

.ev-icon {
  display: block;
  flex: 0 0 auto;
  height: 1em;
  object-fit: contain;
  width: 1em;
}

.ev-photo-badge .ev-icon {
  filter: brightness(0) invert(1);
  height: 14px;
  width: 14px;
}

.ev-gallery-lightbox {
  align-items: center;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 180ms ease;
  z-index: 9999;
}

.ev-gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ev-gallery-lightbox__backdrop {
  background: rgba(0, 0, 0, 0.86);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.ev-gallery-lightbox__panel {
  box-sizing: border-box;
  height: 100%;
  padding: 48px 84px 56px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.ev-gallery-lightbox__stage {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.ev-gallery-lightbox__slide {
  align-items: center;
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.ev-gallery-lightbox__slide.is-active {
  display: flex;
}

.ev-gallery-lightbox__slide img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.ev-gallery-lightbox__close,
.ev-gallery-lightbox__nav {
  align-items: center;
  background: #fff;
  border: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  color: #111;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-weight: 500;
  justify-content: center;
  padding: 0;
  position: absolute;
  z-index: 5;
}

.ev-gallery-lightbox__close {
  font-size: 34px;
  height: 48px;
  line-height: 1;
  right: 24px;
  text-indent: 0;
  top: 24px;
  width: 48px;
}

.ev-gallery-lightbox__nav {
  font-size: 48px;
  height: 64px;
  line-height: 1;
  text-indent: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
}

.ev-gallery-lightbox__nav--prev {
  left: 24px;
}

.ev-gallery-lightbox__nav--next {
  right: 24px;
}

.ev-gallery-lightbox__nav[disabled] {
  cursor: default;
  opacity: 0.35;
}

.ev-gallery-lightbox__footer {
  bottom: 20px;
  color: #fff;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 16px;
  font-weight: 700;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  z-index: 2;
}

body.ev-gallery-lightbox-open {
  overflow: hidden;
}

/* =============================================================================
   Solutions viageres - vertical carousel
   ============================================================================= */

.mak2com-solutions {
  background: #fff4de;
  box-sizing: border-box;
  color: var(--wp--preset--color--brown);
  padding: 74px 36px 78px;
}

.mak2com-solutions__inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 440px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1266px;
}

.mak2com-solutions__left {
  display: grid;
  gap: 28px;
  grid-template-rows: 44px auto 44px;
}

.mak2com-solutions__cards {
  display: grid;
  gap: 31px;
}

.mak2com-solutions__card,
.mak2com-solutions__nav {
  border: 0;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--roc-grotesk);
}

.mak2com-solutions__card {
  background: #fff;
  color: #b8aea4;
  min-height: 204px;
  padding: 38px 24px 28px;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.mak2com-solutions__card.is-active {
  background: var(--wp--preset--color--yellow);
  color: #fff;
}

.mak2com-solutions__card-heading {
  align-items: center;
  display: flex;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: .95;
  margin: 0 0 17px;
}

.mak2com-solutions__icon {
  color: #675341;
  display: none;
  flex: 0 0 45px;
  height: 45px;
  margin-right: 7px;
  width: 45px;
}

.mak2com-solutions__icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.mak2com-solutions__card.is-active .mak2com-solutions__icon {
  display: block;
}

.mak2com-solutions__card-text {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.22;
  max-width: 290px;
}

.mak2com-solutions__learn {
  align-items: center;
  color: #111;
  display: none;
  font-size: 11px;
  font-weight: 800;
  gap: 8px;
  line-height: 1;
  margin-top: 24px;
  text-transform: uppercase;
}

.mak2com-solutions__learn span {
  align-items: center;
  border: 1px solid #111;
  border-radius: 999px;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.mak2com-solutions__card.is-active .mak2com-solutions__learn {
  display: inline-flex;
}

.mak2com-solutions__nav {
  align-items: center;
  background: var(--wp--preset--color--yellow);
  color: #fff;
  display: inline-flex;
  font-size: 20px;
  height: 44px;
  justify-content: center;
  justify-self: center;
  padding: 0;
  width: 44px;
}

.mak2com-solutions__nav[disabled] {
  cursor: default;
  opacity: .45;
}

.mak2com-solutions__right {
  background: #fff;
  min-height: 676px;
  position: relative;
}

.mak2com-solutions__panel {
  box-sizing: border-box;
  display: none;
  min-height: 676px;
  padding: 36px 44px 43px 62px;
}

.mak2com-solutions__panel.is-active {
  display: block;
}

.mak2com-solutions__top {
  align-items: flex-start;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 205px;
}

.mak2com-solutions__panel-icon {
  display: block;
  height: 46px;
  margin-bottom: -7px;
  width: 66px;
}

.mak2com-solutions__panel-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.mak2com-solutions__panel h2 {
  color: var(--wp--preset--color--yellow);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: .95;
  margin: 0 0 28px;
}

.mak2com-solutions__panel p {
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  max-width: 430px;
}

.mak2com-solutions__tag {
  background: #675341;
  color: #fff;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 16px;
  line-height: 1;
  margin-top: 35px;
  padding: 13px 25px;
  white-space: nowrap;
}

.mak2com-solutions__bottom {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(260px, 390px) minmax(230px, 1fr);
}

.mak2com-solutions__bottom img {
  aspect-ratio: 390 / 256;
  display: block;
  height: 256px;
  object-fit: cover;
  width: 100%;
}

.mak2com-solutions__advantages {
  padding-top: 4px;
}

.mak2com-solutions__advantages p {
  border-bottom: 1px solid var(--wp--preset--color--yellow);
  color: var(--wp--preset--color--brown);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 34px;
  max-width: 234px;
  min-height: 32px;
  padding-bottom: 14px;
  text-transform: uppercase;
}

.mak2com-solutions__cta {
  align-items: stretch;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  margin-top: 11px;
  text-decoration: none;
  text-transform: uppercase;
}

.mak2com-solutions__cta span:first-child {
  align-items: center;
  background: var(--wp--preset--color--magenta);
  color: #fff;
  display: inline-flex;
  padding: 0 28px;
}

.mak2com-solutions__cta span:last-child {
  align-items: center;
  border: 1px solid rgba(161, 13, 89, .35);
  color: var(--wp--preset--color--magenta);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

@media (max-width: 980px) {
  .mak2com-solutions {
    padding: 38px 13px 22px;
  }

  .mak2com-solutions__inner {
    display: block;
    max-width: 323px;
  }

  .mak2com-solutions__left {
    display: block;
    margin-bottom: 10px;
    position: relative;
  }

  .mak2com-solutions__cards {
    display: block;
    padding: 0 29px;
  }

  .mak2com-solutions__card {
    display: none;
    min-height: 158px;
    padding: 19px 20px 16px;
  }

  .mak2com-solutions__card.is-active {
    display: block;
  }

  .mak2com-solutions__card-heading {
    font-size: 28px;
    margin-bottom: 11px;
  }

  .mak2com-solutions__icon {
    flex-basis: 41px;
    height: 41px;
    margin-right: 8px;
    width: 41px;
  }

  .mak2com-solutions__card-text {
    font-size: 13px;
    max-width: 220px;
  }

  .mak2com-solutions__learn {
    font-size: 10px;
    margin-top: 18px;
  }

  .mak2com-solutions__learn span {
    height: 23px;
    width: 23px;
  }

  .mak2com-solutions__nav {
    position: absolute;
    top: 54px;
    z-index: 2;
  }

  .mak2com-solutions__nav--prev {
    left: 0;
  }

  .mak2com-solutions__nav--next {
    right: 0;
  }

  .mak2com-solutions__right {
    min-height: 682px;
  }

  .mak2com-solutions__panel {
    min-height: 682px;
    padding: 0 0 18px;
  }

  .mak2com-solutions__top {
    display: block;
    margin-bottom: 0;
  }

  .mak2com-solutions__top > div {
    display: contents;
  }

  .mak2com-solutions__panel-icon,
  .mak2com-solutions__panel h2,
  .mak2com-solutions__tag {
    display: none;
  }

  .mak2com-solutions__panel p {
    font-size: 13px;
    line-height: 1.15;
    max-width: none;
    padding: 17px 9px 0;
  }

  .mak2com-solutions__bottom {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mak2com-solutions__bottom img {
    aspect-ratio: 323 / 198;
    height: auto;
    order: -1;
  }

  .mak2com-solutions__advantages {
    margin-top: 229px;
    padding: 0 29px;
    width: 100%;
  }

  .mak2com-solutions__advantages p {
    font-size: 10px;
    margin-bottom: 27px;
    max-width: none;
    min-height: 19px;
    padding-bottom: 10px;
  }

  .mak2com-solutions__cta {
    margin-top: 20px;
  }
}

.ev-side-panel {
  position: absolute;
  right: calc(50% - 584px);
  top: 350px;
  width: 478px;
  z-index: 4;
}

.ev-summary-card {
  background: #fff;
  box-sizing: border-box;
  min-height: 400px;
  padding: 42px 32px 34px;
  position: relative;
  width: 100%;
}

.ev-share-button {
  align-items: center;
  background: var(--ev-yellow);
  border: 0;
  color: #fff;
  display: flex;
  height: 43px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 94px;
  top: -21px;
  width: 43px;
}

.ev-share-button .ev-icon {
  filter: brightness(0) invert(1);
  height: 19px;
  width: 19px;
}

.ev-share-modal {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.18s ease;
  z-index: 1000;
}

.ev-share-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ev-share-modal__backdrop {
  background: rgba(30, 24, 20, 0.34);
  inset: 0;
  position: absolute;
}

.ev-share-modal__panel {
  background: #fff;
  box-shadow: 0 18px 45px rgba(28, 21, 16, 0.18);
  box-sizing: border-box;
  color: #223047;
  left: var(--ev-share-left, calc(50% - 114px));
  max-width: 228px;
  padding: 20px 16px 18px;
  position: absolute;
  top: var(--ev-share-top, 96px);
  width: 100%;
  z-index: 1;
}

.ev-share-modal__close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #223047;
  cursor: pointer;
  display: flex;
  font-size: 29px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 11px;
  top: 10px;
  width: 34px;
}

.ev-share-modal h2 {
  color: #223047;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 38px 17px 0;
}

.ev-share-modal__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ev-share-modal__item {
  align-items: center;
  background: transparent;
  border: 0;
  color: #223047;
  cursor: pointer;
  display: flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 15px;
  font-weight: 400;
  gap: 12px;
  letter-spacing: 0;
  line-height: 1.25;
  min-height: 40px;
  padding: 5px 0;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.ev-share-modal__item:hover,
.ev-share-modal__item:focus-visible {
  color: var(--ev-magenta);
}

.ev-share-modal__item span:first-child {
  align-items: center;
  color: currentColor;
  display: flex;
  flex: 0 0 22px;
  justify-content: center;
}

.ev-share-modal__item .ev-icon {
  height: 22px;
  width: 22px;
}

body.ev-share-modal-open {
  overflow: hidden;
}

.ev-summary-card__title {
  color: var(--ev-brown);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.ev-summary-tags {
  align-items: stretch;
  background: var(--ev-magenta);
  color: #fff;
  display: flex;
  min-height: 58px;
  width: 100%;
}

.ev-summary-tag {
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
  display: inline-flex;
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  padding: 0 13px;
  white-space: nowrap;
}

.ev-summary-tag:first-child {
  border-left: 0;
}

.ev-summary-tag--type {
  justify-content: flex-start;
  min-width: 145px;
}

.ev-summary-tag .ev-icon,
.ev-seller-tag .ev-icon {
  filter: brightness(0) invert(1);
  height: 29px;
  margin-right: 10px;
  width: 29px;
}

.ev-seller-tag {
  align-items: center;
  background: var(--ev-yellow);
  color: #fff;
  display: inline-flex;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  margin: 22px 0 28px;
  min-height: 58px;
  padding: 0 22px;
}

.ev-acquisition {
  border-top: 1px solid rgba(75, 61, 48, 0.22);
  padding-top: 20px;
}

.ev-acquisition h2 {
  color: var(--ev-brown);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
}

.ev-acquisition__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ev-acquisition__item,
.ev-acquisition__horizon {
  background: #fff3dc;
  min-height: 52px;
  padding: 10px 14px;
}

.ev-acquisition__item span,
.ev-acquisition__horizon span {
  color: rgba(75, 61, 48, 0.62);
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
}

.ev-acquisition__item strong,
.ev-acquisition__horizon strong {
  color: var(--ev-brown);
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.ev-acquisition__horizon {
  margin-top: 10px;
}

.ev-acquisition__horizon strong {
  font-size: 22px;
}

.ev-summary-card__actions {
  align-items: stretch;
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.ev-summary-card__actions a {
  align-items: center;
  border: 1px solid var(--ev-magenta);
  color: var(--ev-magenta);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 32px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.ev-summary-card__actions a:first-child {
  background: var(--ev-magenta);
  color: #fff;
}

.ev-summary-card__actions a:last-child {
  font-size: 20px;
  min-width: 34px;
  padding: 0;
}

.ev-property-body {
  margin: 0 auto;
  max-width: 1168px;
  min-height: 690px;
  padding: 32px 0 90px;
}

.ev-property-content {
  max-width: 590px;
}

.ev-section {
  margin-bottom: 56px;
}

.ev-section h2 {
  color: var(--ev-brown);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.ev-section__rule {
  background: var(--ev-yellow);
  height: 1px;
  margin: 10px 0 28px;
  position: relative;
  width: 100%;
}

.ev-section__rule::before {
  background: var(--ev-yellow);
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  top: -6px;
  width: 14px;
}

.ev-description {
  color: var(--ev-brown);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.32;
  margin: 0;
}

.ev-description p {
  margin: 0 0 22px;
}

.ev-highlights {
  display: grid;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ev-highlights li {
  align-items: center;
  color: var(--ev-magenta);
  display: grid;
  font-size: 24px;
  font-weight: 700;
  gap: 28px;
  grid-template-columns: 15px 1fr;
  line-height: 1.05;
  min-height: 50px;
}

.ev-highlight__bullet {
  background: var(--ev-magenta);
  border-radius: 50%;
  display: block;
  height: 15px;
  width: 15px;
}

.ev-details-section {
  margin-top: 38px;
}

.ev-details-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.ev-details-grid div {
  background: rgba(255, 243, 220, 0.75);
  padding: 10px 13px;
}

.ev-details-grid dt,
.ev-details-grid dd {
  margin: 0;
}

.ev-details-grid dt {
  color: rgba(75, 61, 48, 0.62);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.ev-details-grid dd {
  color: var(--ev-brown);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 5px;
}

.ev-agent-card {
  background: var(--ev-yellow);
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.ev-agent-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  width: 100%;
  z-index: 0;
}

.ev-agent-card::before {
  background: var(--ev-yellow);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%, 100% 50%);
  content: "";
  height: 101%;
  left: 45px;
  position: absolute;
  top: 0;
  width: 106px;
  z-index: 1;
}

.ev-agent-card__body {
  color: #fff;
  padding: 26px 30px 24px;
  position: relative;
  z-index: 2;
}

.ev-agent-card h3 {
  color: var(--ev-magenta);
  font-size: 40px;
  font-weight: 500;
  line-height: 0.95;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.ev-agent-card p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 22px;
  max-width: 325px;
  position: relative;
  z-index: 1;
}

.ev-agent-card a {
  align-items: center;
  color: var(--ev-brown);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.03em;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  z-index: 1;
}

.ev-agent-card a span {
  align-items: center;
  border: 2px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.ev-share-button:hover,
.ev-summary-card__actions a:hover,
.ev-agent-card a:hover {
  opacity: 0.78;
}

@media (max-width: 1240px) {
  .ev-property-hero__badges {
    left: 48px;
  }

  .ev-summary-card {
    right: auto;
  }

  .ev-side-panel {
    right: 48px;
  }

  .ev-property-body {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 781px) {
  .ev-property-hero {
    height: auto;
    padding-bottom: 0;
  }

  .ev-property-hero__image {
    height: 212px;
  }

  .ev-property-hero__badges {
    bottom: 10px;
    left: 12px;
  }

  .ev-photo-badge,
  .ev-type-badge {
    font-size: 15px;
    height: 34px;
  }

  .ev-photo-badge {
    padding: 0 12px;
  }

  .ev-type-badge {
    padding: 0 14px;
  }

  .ev-side-panel {
    margin: 26px 26px 0;
    position: relative;
    right: auto;
    top: auto;
    width: auto;
  }

  .ev-summary-card {
    min-height: 0;
    padding: 34px 22px 32px;
    position: relative;
  }

  .ev-share-button {
    right: 45px;
    top: -21px;
  }

  .ev-summary-card__title {
    font-size: 25px;
    line-height: 1.05;
    margin-bottom: 34px;
  }

  .ev-summary-tags {
    display: inline-flex;
    min-height: 58px;
    width: auto;
  }

  .ev-summary-tag {
    font-size: 13px;
    padding: 0 10px;
  }

  .ev-summary-tag--type {
    min-width: 124px;
  }

  .ev-summary-tag .ev-icon,
  .ev-seller-tag .ev-icon {
    height: 26px;
    margin-right: 9px;
    width: 26px;
  }

  .ev-seller-tag {
    font-size: 14px;
    margin: 18px 0 24px;
    min-height: 53px;
    padding: 0 16px;
  }

  .ev-acquisition {
    padding-top: 22px;
  }

  .ev-acquisition h2 {
    font-size: 23px;
    margin-bottom: 22px;
  }

  .ev-acquisition__grid {
    gap: 8px;
  }

  .ev-acquisition__item,
  .ev-acquisition__horizon {
    min-height: 52px;
    padding: 9px 12px;
  }

  .ev-acquisition__item strong,
  .ev-acquisition__horizon strong {
    font-size: 18px;
  }

  .ev-acquisition__horizon strong {
    font-size: 20px;
  }

  .ev-property-body {
    max-width: none;
    min-height: 0;
    padding: 34px 20px 0;
  }

  .ev-property-content {
    max-width: none;
  }

  .ev-section {
    margin-bottom: 58px;
  }

  .ev-section h2 {
    font-size: 26px;
    line-height: 1.05;
  }

  .ev-section__rule {
    margin: 11px 0 32px;
  }

  .ev-description {
    font-size: 18px;
    line-height: 1.32;
  }

  .ev-description p {
    margin-bottom: 26px;
  }

  .ev-highlights {
    gap: 30px;
  }

  .ev-highlights li {
    font-size: 19px;
    gap: 18px;
    grid-template-columns: 15px 1fr;
  }

  .ev-details-grid {
    grid-template-columns: 1fr;
  }

  .ev-agent-section {
    margin-bottom: 0;
  }

  .ev-agent-card {
    grid-template-columns: 96px 1fr;
    margin-left: -20px;
    margin-right: -20px;
    min-height: 220px;
  }

  .ev-agent-card__body {
    padding: 30px 18px 26px;
  }

  .ev-agent-card::before {
    display: none;
  }

  .ev-agent-card h3 {
    font-size: 27px;
    margin-bottom: 24px;
  }

  .ev-agent-card p {
    font-size: 15px;
    line-height: 1.17;
    margin-bottom: 28px;
  }

  .ev-agent-card a {
    font-size: 13px;
  }

  .ev-agent-card a span {
    height: 48px;
    width: 48px;
  }
}

/* =============================================================================
   SECTION BIENS EN VIAGER - UI Kit homepage
   ============================================================================= */

#biens {
  background: #f8f5f2 !important;
}

#biens > .wp-block-group:first-child {
  margin-bottom: 40px !important;
}

#biens > .wp-block-group:first-child p.has-magenta-background-color {
  display: table !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 5px 21px !important;
  font-family: var(--wp--preset--font-family--roc-grotesk) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#biens > .wp-block-group:first-child .wp-block-heading {
  color: var(--wp--preset--color--brown) !important;
  font-family: var(--wp--preset--font-family--roc-grotesk) !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
  margin-top: 18px !important;
}

#biens .ev-home-grid {
  align-items: stretch;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-left: auto;
  margin-right: auto;
  max-width: 1274px;
  padding-left: 24px;
  padding-right: 24px;
}

#biens .ev-grid__col {
  display: block;
  min-width: 0;
}

#biens .ev-home-card {
  background: #f8f5f2;
  border: 1px solid var(--wp--preset--color--brown);
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--wp--preset--color--brown);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 554px;
  overflow: hidden;
  padding: 19px 19px 15px;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

#biens .ev-home-card:hover,
#biens .ev-home-card:focus-within {
  background: var(--wp--preset--color--yellow);
  border-color: var(--wp--preset--color--yellow);
  color: #fff;
}

#biens .ev-home-card__city {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: .03em;
  line-height: 1;
  margin: 0 0 12px;
  min-height: 22px;
  text-transform: uppercase;
}

#biens .ev-home-card__image-link {
  display: block;
  margin: 0 0 17px;
}

#biens .ev-home-card__img {
  aspect-ratio: 290 / 238;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

#biens .ev-home-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 !important;
}

#biens .ev-home-card__title {
  color: inherit !important;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 14px;
}

#biens .ev-home-card__title a {
  color: inherit;
  text-decoration: none;
}

#biens .ev-home-card__grid {
  border: 1px solid currentColor;
  color: inherit;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  width: 100%;
}

#biens .ev-home-card__metric {
  align-items: center;
  background: transparent !important;
  border-bottom: 0;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  box-sizing: border-box;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 47px;
  padding: 3px 8px;
  text-align: center;
}

#biens .ev-home-card__metric:nth-child(2n) {
  border-right: 0;
}

#biens .ev-home-card__metric:nth-child(-n+2) {
  border-top: 0;
}

#biens .ev-home-card__metric--simple {
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  flex-direction: row;
}

#biens .ev-home-card__metric--simple sup {
  font-size: .5em;
  line-height: 0;
  margin-left: 1px;
  position: static;
  vertical-align: super;
}

#biens .ev-home-card__area-exp {
  display: inline-block;
  transform: translateY(-.08em);
}

#biens .ev-home-card__metric small {
  color: inherit;
  display: block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 4px;
  opacity: .9;
  text-transform: none;
}

#biens .ev-home-card__metric strong {
  color: inherit;
  display: block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

#biens .ev-home-card__metric strong span {
  font-size: 12px;
  font-weight: 400;
  margin-left: 1px;
}

#biens .ev-home-card__button-wrap {
  margin-top: 20px;
}

#biens .ev-home-card__button {
  align-items: stretch;
  background: transparent !important;
  border: 1px solid var(--wp--preset--color--yellow);
  border-radius: 0;
  box-shadow: none;
  color: var(--wp--preset--color--yellow);
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  min-height: 36px;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
}

#biens .ev-home-card__button span:first-child {
  align-items: center;
  background: var(--wp--preset--color--yellow);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  padding: 0 17px;
}

#biens .ev-home-card__button span:last-child {
  align-items: center;
  background: #fff;
  color: var(--wp--preset--color--yellow);
  display: inline-flex;
  font-size: 15px;
  justify-content: center;
  width: 33px;
}

#biens .ev-home-card:hover .ev-home-card__button,
#biens .ev-home-card:focus-within .ev-home-card__button {
  border-color: var(--wp--preset--color--magenta);
}

#biens .ev-home-card:hover .ev-home-card__button span:first-child,
#biens .ev-home-card:focus-within .ev-home-card__button span:first-child {
  background: var(--wp--preset--color--magenta);
}

#biens .ev-home-card:hover .ev-home-card__button span:last-child,
#biens .ev-home-card:focus-within .ev-home-card__button span:last-child {
  color: var(--wp--preset--color--magenta);
}

#biens > .wp-block-buttons .wp-block-button__link {
  align-items: stretch;
  background: var(--wp--preset--color--magenta) !important;
  border: 1px solid var(--wp--preset--color--magenta);
  border-radius: 0;
  color: #fff !important;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 14px;
  font-weight: 700;
  min-height: 37px;
  padding: 0 0 0 22px;
  line-height: 36px;
  text-transform: uppercase;
}

#biens > .wp-block-buttons .wp-block-button__link::before {
  content: none;
}

#biens > .wp-block-buttons .wp-block-button__link::after {
  align-items: center;
  background: #fff;
  color: var(--wp--preset--color--magenta);
  content: "+";
  display: inline-flex;
  font-size: 17px;
  justify-content: center;
  margin-left: 22px;
  width: 35px;
}

@media (max-width: 980px) {
  #biens .ev-home-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  #biens .ev-home-card {
    min-height: 0;
  }
}

.mak2com-topbar .wp-block-social-links .wp-social-link {
  border-radius: 0;
}

/* =============================================================================
   SECTION AVANTAGES DU VIAGER - UI Kit
   ============================================================================= */

.mak2com-viager-advantages {
  --mak2com-advantages-bg: #f8f5f2;
  --mak2com-advantages-text: #4b3d30;
  --mak2com-advantages-accent: #f49e00;
  --mak2com-advantages-badge: #a10d59;
  background: var(--mak2com-advantages-bg);
  color: var(--mak2com-advantages-text);
  padding: 58px 24px 80px;
}

.mak2com-viager-advantages__inner {
  margin: 0 auto;
  max-width: 1274px;
}

.mak2com-viager-advantages__header {
  margin-bottom: 70px;
}

.mak2com-viager-advantages__badge {
  background: var(--mak2com-advantages-badge);
  color: #fff;
  display: table;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 14px 16px;
  padding: 4px 14px 5px;
  text-transform: uppercase;
}

.mak2com-viager-advantages__title {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: clamp(40px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 0 16px;
}

.mak2com-viager-advantages__grid {
  border-bottom: 1px solid var(--mak2com-advantages-accent);
  border-top: 1px solid var(--mak2com-advantages-accent);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mak2com-viager-advantages__item {
  border-left: 1px solid rgba(244, 158, 0, .32);
  box-sizing: border-box;
  color: var(--mak2com-advantages-text);
  min-height: 176px;
  opacity: .72;
  padding: 34px 32px 30px;
}

.mak2com-viager-advantages__item:first-child {
  border-left: 0;
}

.mak2com-viager-advantages__item:hover,
.mak2com-viager-advantages__item:focus-within {
  color: var(--mak2com-advantages-text);
  opacity: 1;
}

.mak2com-viager-advantages__item h3 {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: .94;
  margin: 0 0 24px;
  max-width: 190px;
}

.mak2com-viager-advantages__item:hover h3,
.mak2com-viager-advantages__item:focus-within h3 {
  font-weight: 900;
}

.mak2com-viager-advantages__icon {
  color: #b7afa8;
  height: 46px;
  margin: 0;
  width: 54px;
}

.mak2com-viager-advantages__item:hover .mak2com-viager-advantages__icon,
.mak2com-viager-advantages__item:focus-within .mak2com-viager-advantages__icon {
  color: var(--mak2com-advantages-badge);
}

.mak2com-viager-advantages__icon svg,
.mak2com-viager-advantages__icon img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

/* =============================================================================
   SECTION COMPARATIF SOLUTIONS - UI Kit
   ============================================================================= */

.mak2com-solutions-comparison {
  --mak2com-comparison-bg: #f8f5f2;
  --mak2com-comparison-text: #4b3d30;
  --mak2com-comparison-accent: #f49e00;
  --mak2com-comparison-badge: #a10d59;
  --mak2com-comparison-line: #80766d;
  --mak2com-comparison-icon: #a10d59;
  background: var(--mak2com-comparison-bg);
  color: var(--mak2com-comparison-text);
  padding: 28px 24px 74px;
}

.mak2com-solutions-comparison__inner {
  margin: 0 auto;
  max-width: 1160px;
}

.mak2com-solutions-comparison__header {
  margin: 0 auto 88px;
  max-width: none;
  text-align: center;
}

.mak2com-solutions-comparison__badge {
  background: var(--mak2com-comparison-badge);
  color: #fff;
  display: inline-block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 auto 16px;
  padding: 4px 10px;
  text-transform: uppercase;
}

.mak2com-solutions-comparison__title {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

.mak2com-solutions-comparison__desktop table {
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  table-layout: fixed;
  width: 100%;
}

.mak2com-solutions-comparison__desktop thead,
.mak2com-solutions-comparison__desktop tbody,
.mak2com-solutions-comparison__desktop tr {
  border: 0 !important;
}

.mak2com-solutions-comparison__desktop .wp-block-table {
  margin: 0;
}

.mak2com-solutions-comparison__desktop th,
.mak2com-solutions-comparison__desktop td {
  border: 0 !important;
  height: 78px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.mak2com-solutions-comparison__desktop thead th {
  background: rgba(255, 255, 255, .25);
  color: inherit;
  font-size: 13px;
  font-weight: 400;
  height: 54px;
  line-height: 1.08;
}

.mak2com-solutions-comparison__desktop thead th:first-child {
  background: transparent;
  width: 210px;
}

.mak2com-solutions-comparison__desktop thead th:not(:first-child),
.mak2com-solutions-comparison__desktop tbody td {
  border-left: 1px solid var(--mak2com-comparison-line) !important;
}

.mak2com-solutions-comparison__desktop tbody th,
.mak2com-solutions-comparison__desktop tbody td {
  border-top: 1px solid var(--mak2com-comparison-line) !important;
}

.mak2com-solutions-comparison__desktop tbody th {
  color: inherit;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
  padding: 0 28px;
  text-align: left;
}

.mak2com-solutions-comparison__desktop tbody tr th,
.mak2com-solutions-comparison__desktop tbody tr td {
  transition: background-color .18s ease;
}

.mak2com-solutions-comparison__desktop tbody tr:not(:hover) th,
.mak2com-solutions-comparison__desktop tbody tr:not(:hover) td {
  background: rgba(255, 255, 255, .25);
}

.mak2com-solutions-comparison__desktop tbody tr:hover th,
.mak2com-solutions-comparison__desktop tbody tr:hover td {
  background: var(--mak2com-comparison-accent) !important;
}

.mak2com-solutions-comparison__desktop tbody tr:last-child th,
.mak2com-solutions-comparison__desktop tbody tr:last-child td {
  border-bottom: 0;
}

.mak2com-solutions-comparison__mark {
  color: var(--mak2com-comparison-icon);
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
}

.mak2com-solutions-comparison__mobile {
  display: none;
}

/* =============================================================================
   SECTION FAQ - UI Kit
   ============================================================================= */

.mak2com-faq {
  --mak2com-faq-bg: #f8f5f2;
  --mak2com-faq-text: #4b3d30;
  --mak2com-faq-accent: #a10d59;
  --mak2com-faq-image-width: 78px;
  background: var(--mak2com-faq-bg);
  color: var(--mak2com-faq-text);
  padding: 66px 24px 124px;
}

.mak2com-faq__inner {
  margin: 0 auto;
  max-width: 1050px;
}

.mak2com-faq__header {
  align-items: flex-start;
  display: flex;
  gap: 36px;
  margin-bottom: 48px;
}

.mak2com-faq__copy {
  flex: 0 1 410px;
}

.mak2com-faq__badge {
  background: var(--mak2com-faq-accent);
  color: #fff;
  display: table;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  margin: 0 0 8px;
  padding: 4px 10px 5px;
  text-transform: uppercase;
}

.mak2com-faq__copy h2 {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: .98;
  margin: 0 0 18px;
}

.mak2com-faq__intro {
  color: inherit;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 13px;
  line-height: 1.16;
  margin: 0;
  max-width: 310px;
}

.mak2com-faq__illustration {
  flex: 0 0 auto;
  margin-top: -36px;
  width: var(--mak2com-faq-image-width);
}

.mak2com-faq__illustration svg,
.mak2com-faq__illustration img {
  display: block;
  height: auto;
  width: 100%;
}

.mak2com-faq__items {
  display: grid;
  gap: 15px;
}

.mak2com-faq__item {
  border: 1px solid var(--mak2com-faq-accent);
  color: var(--mak2com-faq-accent);
  font-family: var(--wp--preset--font-family--roc-grotesk);
}

.mak2com-faq__item[open] {
  background: var(--mak2com-faq-accent);
  color: #fff;
}

.mak2com-faq__item summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  list-style: none;
  min-height: 60px;
  padding: 0 24px;
}

.mak2com-faq__item summary::-webkit-details-marker {
  display: none;
}

.mak2com-faq__item summary,
.mak2com-faq__item summary span {
  color: inherit;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: uppercase;
}

.mak2com-faq__item summary::after,
.mak2com-faq__item summary b {
  flex: 0 0 auto;
  height: 24px;
  position: relative;
  width: 24px;
}

.mak2com-faq__item summary::after {
  content: "";
  display: block;
}

.mak2com-faq__item summary:has(b)::after {
  display: none;
}

.mak2com-faq__item summary::before {
  content: none;
}

.mak2com-faq__item summary::after,
.mak2com-faq__item summary b::before,
.mak2com-faq__item summary b::after {
  color: inherit;
}

.mak2com-faq__item summary::after {
  background:
    linear-gradient(currentColor, currentColor) center / 22px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 22px no-repeat;
}

.mak2com-faq__item summary b::before,
.mak2com-faq__item summary b::after {
  background: currentColor;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mak2com-faq__item summary b::before {
  height: 2px;
  width: 22px;
}

.mak2com-faq__item summary b::after {
  height: 22px;
  width: 2px;
}

.mak2com-faq__item[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 22px 2px no-repeat;
}

.mak2com-faq__item[open] summary b::after {
  display: none;
}

.mak2com-faq__answer {
  color: inherit;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 19px;
  line-height: 1.08;
  margin: 0;
  max-width: 760px;
  padding: 24px 24px 33px;
}

.mak2com-faq__answer p {
  margin: 0;
}

/* =============================================================================
   SECTION EDITORIALE IMAGE - UI Kit
   ============================================================================= */

.mak2com-editorial-image {
  --mak2com-editorial-bg: #ffffff;
  --mak2com-editorial-text: #4b3d30;
  --mak2com-editorial-image-size: 360px;
  --mak2com-editorial-content-width: 610px;
  --mak2com-editorial-shape-color: #a10d59;
  --mak2com-editorial-shape-opacity: .92;
  --mak2com-editorial-shape-width: 190px;
  --mak2com-editorial-shape-x: 78%;
  --mak2com-editorial-shape-y: 69%;
  --mak2com-editorial-shape-rotation: 0deg;
  background: var(--mak2com-editorial-bg);
  color: var(--mak2com-editorial-text);
  padding: 48px 24px 48px;
}

.mak2com-editorial-image__inner {
  align-items: center;
  display: grid;
  gap: 76px;
  grid-template-columns: minmax(0, var(--mak2com-editorial-content-width)) minmax(280px, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.mak2com-editorial-image__content h2 {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 34px;
}

.mak2com-editorial-image__text {
  color: #000;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 16px;
  line-height: 1.42;
  max-width: 580px;
}

.mak2com-editorial-image__text p {
  margin: 0 0 25px;
}

.mak2com-editorial-image__text p:last-child {
  margin-bottom: 0;
}

.mak2com-editorial-image__visual {
  aspect-ratio: 1 / 1;
  justify-self: center;
  max-width: var(--mak2com-editorial-image-size);
  position: relative;
  width: 100%;
}

.mak2com-editorial-image__photo {
  border-radius: 50%;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.mak2com-editorial-image__photo figure {
  height: 100%;
  margin: 0;
}

.mak2com-editorial-image__photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mak2com-editorial-image__shape {
  color: var(--mak2com-editorial-shape-color);
  margin: 0;
  opacity: var(--mak2com-editorial-shape-opacity);
  position: absolute;
  left: var(--mak2com-editorial-shape-x);
  top: var(--mak2com-editorial-shape-y);
  transform: translate(-50%, -50%) rotate(var(--mak2com-editorial-shape-rotation));
  width: var(--mak2com-editorial-shape-width);
  z-index: 2;
}

.mak2com-editorial-image__shape svg,
.mak2com-editorial-image__shape img {
  display: block;
  height: auto;
  width: 100%;
}

/* =============================================================================
   SECTION ACCOMPAGNEMENT ETAPES - UI Kit
   ============================================================================= */

.mak2com-project-steps {
  --mak2com-steps-bg: #f8f5f2;
  --mak2com-steps-text: #4b3d30;
  --mak2com-steps-accent: #a10d59;
  --mak2com-steps-secondary: #f49e00;
  background: var(--mak2com-steps-bg);
  color: var(--mak2com-steps-text);
  padding: 38px 24px 70px;
}

.mak2com-project-steps__inner {
  margin: 0 auto;
  max-width: 790px;
}

.mak2com-project-steps__header {
  margin: 0 auto 78px;
  max-width: 450px;
  text-align: center;
}

.mak2com-project-steps__header p {
  background: var(--mak2com-steps-secondary);
  color: #fff;
  display: table;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  margin: 0 auto 14px;
  padding: 4px 14px 5px;
  text-transform: uppercase;
}

.mak2com-project-steps__header h2 {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0;
}

.mak2com-project-steps__list {
  display: grid;
  gap: 0;
}

.mak2com-project-steps__step {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  grid-template-columns: 78px 240px minmax(0, 1fr);
  min-height: 142px;
  opacity: .18;
  padding: 0;
  position: relative;
  text-align: left;
  transition: opacity .18s ease;
}

.mak2com-project-steps__step.is-active {
  opacity: 1;
}

.mak2com-project-steps__step::before {
  background: currentColor;
  content: "";
  height: calc(100% - 52px);
  left: 27px;
  opacity: .55;
  position: absolute;
  top: calc(50% + 26px);
  width: 1px;
}

.mak2com-project-steps__step:last-child::before {
  display: none;
}

.mak2com-project-steps__step.is-active::before {
  background: var(--mak2com-steps-accent);
  opacity: 1;
}

.mak2com-project-steps__number {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(75, 61, 48, .14);
  box-sizing: border-box;
  color: inherit;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 28px;
  font-weight: 700;
  height: 52px;
  justify-content: center;
  position: relative;
  width: 52px;
  z-index: 2;
}

.mak2com-project-steps__step.is-active .mak2com-project-steps__number {
  background: var(--mak2com-steps-accent);
  border-color: var(--mak2com-steps-accent);
  color: #fff;
}

.mak2com-project-steps__step-title {
  color: inherit;
  display: block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 25px;
  font-weight: 900;
  line-height: .9;
  margin: 0;
  max-width: 210px;
  padding-top: 0;
}

.mak2com-project-steps__step-text {
  color: inherit;
  display: block;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 14px;
  line-height: 1.36;
  margin: 0;
  max-width: 360px;
  padding-top: 0;
}

.mak2com-project-steps__mobile-body {
  display: none;
}

.mak2com-project-steps__cta {
  align-items: stretch;
  background: var(--mak2com-steps-accent);
  color: #fff;
  display: flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 12px;
  line-height: 1;
  margin: 50px auto 0;
  max-width: max-content;
  min-height: 39px;
  text-decoration: none;
  text-transform: uppercase;
}

.wp-block-button.mak2com-project-steps__cta {
  background: transparent;
}

.wp-block-button.mak2com-project-steps__cta .wp-block-button__link {
  align-items: stretch;
  background: var(--mak2com-steps-accent);
  border: 0;
  border-radius: 0;
  color: #fff;
  display: flex;
  font: inherit;
  line-height: inherit;
  min-height: 39px;
  padding: 0;
  text-decoration: none;
  text-transform: inherit;
}

.mak2com-project-steps__cta span:first-child {
  align-items: center;
  display: inline-flex;
  padding: 0 19px;
}

.mak2com-project-steps__cta span:last-child {
  align-items: center;
  background: #fff;
  border: 1px solid var(--mak2com-steps-accent);
  border-left: 0;
  color: var(--mak2com-steps-accent);
  display: inline-flex;
  font-size: 16px;
  justify-content: center;
  width: 39px;
}

/* =============================================================================
   SECTION CARTES VALEURS - UI Kit
   ============================================================================= */

.mak2com-values-cards {
  --mak2com-values-bg: #f8f5f2;
  --mak2com-values-text: #4b3d30;
  --mak2com-values-badge: #a10d59;
  --mak2com-values-card: #fff2d9;
  --mak2com-values-card-text: #4b3d30;
  --mak2com-values-hover: #4b3d30;
  --mak2com-values-hover-text: #ffffff;
  --mak2com-values-accent: #f49e00;
  background: var(--mak2com-values-bg);
  color: var(--mak2com-values-text);
  padding: 25px 24px 70px;
}

.mak2com-values-cards__inner {
  margin: 0 auto;
  max-width: 1070px;
}

.mak2com-values-cards__header {
  margin: 0 0 60px;
}

.mak2com-values-cards__header p {
  background: var(--mak2com-values-badge);
  color: #fff;
  display: table;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 15px;
  padding: 4px 13px 5px;
  text-transform: uppercase;
}

.mak2com-values-cards__header h2 {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.mak2com-values-cards__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mak2com-values-cards__card {
  border-radius: 0;
  min-height: 290px;
  padding: 36px 29px 30px;
  transition: background-color .18s ease, color .18s ease, border-radius .18s ease;
}

.mak2com-values-cards__card:not(.has-background) {
  background-color: var(--mak2com-values-card-bg, var(--mak2com-values-card));
}

.mak2com-values-cards__card:not(.has-text-color) {
  color: var(--mak2com-values-card-text-normal, var(--mak2com-values-card-text));
}

.mak2com-values-cards__card[style*="--mak2com-values-card-text-normal"] h3,
.mak2com-values-cards__card[style*="--mak2com-values-card-text-normal"] .mak2com-values-cards__text,
.mak2com-values-cards__card[style*="--mak2com-values-card-text-normal"] .mak2com-values-cards__text p {
  color: var(--mak2com-values-card-text-normal) !important;
}

.mak2com-values-cards__card:hover {
  background-color: var(--mak2com-values-card-hover, var(--mak2com-values-hover)) !important;
  border-radius: 8px;
  color: var(--mak2com-values-card-hover-text, var(--mak2com-values-hover-text)) !important;
}

.mak2com-values-cards__card:hover h3,
.mak2com-values-cards__card:hover .mak2com-values-cards__text,
.mak2com-values-cards__card:hover .mak2com-values-cards__text p {
  color: var(--mak2com-values-card-hover-text, var(--mak2com-values-hover-text)) !important;
}

.mak2com-values-cards__icon {
  color: currentColor;
  height: 74px;
  margin-bottom: 72px;
  position: relative;
  width: 74px;
}

.mak2com-values-cards__icon svg,
.mak2com-values-cards__icon img {
  display: block;
  height: 100%;
  object-fit: contain;
  transition: opacity .18s ease;
  width: 100%;
}

.mak2com-values-cards__card[data-values-hover-icon] .mak2com-values-cards__icon::after {
  background-image: var(--mak2com-values-card-hover-icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity .18s ease;
}

.mak2com-values-cards__card[data-values-hover-icon]:hover .mak2com-values-cards__icon img,
.mak2com-values-cards__card[data-values-hover-icon]:hover .mak2com-values-cards__icon svg {
  opacity: 0;
}

.mak2com-values-cards__card[data-values-hover-icon]:hover .mak2com-values-cards__icon::after {
  opacity: 1;
}

.mak2com-values-cards__card h3 {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 15px;
}

.mak2com-values-cards__text {
  color: inherit;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 14px;
  line-height: 1.22;
  margin: 0;
}

.mak2com-values-cards__text p {
  margin: 0;
}

.mak2com-values-cards--editor {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.mak2com-values-cards--editor .mak2com-values-cards__header p,
.mak2com-values-cards--editor .mak2com-values-cards__header h2,
.mak2com-values-cards--editor .mak2com-values-cards__card h3,
.mak2com-values-cards--editor .mak2com-values-cards__text {
  min-height: 1em;
}

.mak2com-values-cards--editor .mak2com-values-cards__card {
  cursor: text;
}

@media (max-width: 781px) {
  .mak2com-solutions-comparison {
    padding: 16px 20px 42px;
  }

  .mak2com-solutions-comparison__inner {
    max-width: 150px;
  }

  .mak2com-solutions-comparison__header {
    margin-bottom: 14px;
  }

  .mak2com-solutions-comparison__badge {
    font-size: 8px;
    margin-bottom: 6px;
    padding: 3px 8px;
  }

  .mak2com-solutions-comparison__title {
    font-size: 23px;
    line-height: .92;
  }

  .mak2com-solutions-comparison__desktop {
    display: none;
  }

  .mak2com-solutions-comparison__mobile {
    display: block;
  }

  .mak2com-solutions-comparison__card {
    background: rgba(255, 255, 255, .28);
    color: inherit;
    font-family: var(--wp--preset--font-family--roc-grotesk);
    margin: 0 0 18px;
  }

  .mak2com-solutions-comparison__card h3 {
    background: var(--mak2com-comparison-accent);
    color: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    padding: 16px 8px;
    text-align: center;
  }

  .mak2com-solutions-comparison__card-row {
    border-top: 1px solid rgba(128, 118, 109, .45);
    min-height: 70px;
    padding: 12px 8px 8px;
    text-align: center;
  }

  .mak2com-solutions-comparison__card-row p {
    color: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: .92;
    margin: 0 0 6px;
  }

  .mak2com-solutions-comparison__card-row .mak2com-solutions-comparison__mark {
    font-size: 31px;
  }

  .mak2com-faq {
    padding: 30px 20px 55px;
  }

  .mak2com-faq__inner {
    max-width: 266px;
  }

  .mak2com-faq__header {
    gap: 16px;
    margin-bottom: 28px;
    position: relative;
  }

  .mak2com-faq__copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .mak2com-faq__badge {
    font-size: 11px;
    margin-bottom: 8px;
    padding: 3px 8px 4px;
  }

  .mak2com-faq__copy h2 {
    font-size: 36px;
    line-height: .96;
    margin-bottom: 24px;
  }

  .mak2com-faq__intro {
    font-size: 11px;
    line-height: 1.18;
    max-width: 210px;
  }

  .mak2com-faq__illustration {
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 2px;
    width: 62px;
  }

  .mak2com-faq__items {
    gap: 12px;
  }

  .mak2com-faq__item summary {
    min-height: 54px;
    padding: 0 13px;
  }

  .mak2com-faq__item summary span {
    font-size: 13px;
    line-height: 1.22;
  }

  .mak2com-faq__item summary b {
    height: 19px;
    width: 19px;
  }

  .mak2com-faq__item summary b::before {
    width: 15px;
  }

  .mak2com-faq__item summary b::after {
    height: 15px;
  }

  .mak2com-faq__answer {
    font-size: 16px;
    line-height: 1.16;
    padding: 20px 13px 35px;
  }

  .mak2com-editorial-image {
    padding: 38px 49px 28px;
  }

  .mak2com-editorial-image__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 270px;
  }

  .mak2com-editorial-image__content h2 {
    font-size: 27px;
    line-height: 1.24;
    margin-bottom: 24px;
  }

  .mak2com-editorial-image__text {
    font-size: 13px;
    line-height: 1.44;
  }

  .mak2com-editorial-image__text p {
    margin-bottom: 18px;
  }

  .mak2com-editorial-image__visual {
    max-width: min(100%, var(--mak2com-editorial-image-size));
    order: 2;
  }

  .mak2com-editorial-image__shape {
    width: calc(var(--mak2com-editorial-shape-width) * .72);
  }

  .mak2com-project-steps {
    padding: 79px 24px 64px;
  }

  .mak2com-project-steps__inner {
    max-width: 266px;
  }

  .mak2com-project-steps__header {
    margin-bottom: 48px;
  }

  .mak2com-project-steps__header p {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .mak2com-project-steps__header h2 {
    font-size: 30px;
    line-height: 1.22;
  }

  .mak2com-project-steps__list {
    align-items: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto 33px;
    max-width: 266px;
  }

  .mak2com-project-steps__step {
    display: flex;
    min-height: 36px;
    opacity: 1;
  }

  .mak2com-project-steps__step::before {
    height: 1px;
    left: 36px;
    top: 18px;
    width: calc(100% - 22px);
  }

  .mak2com-project-steps__number {
    font-size: 18px;
    height: 36px;
    width: 36px;
  }

  .mak2com-project-steps__step-title,
  .mak2com-project-steps__step-text {
    display: none;
  }

  .mak2com-project-steps__mobile-body {
    color: inherit;
    display: block;
  }

  .mak2com-project-steps__mobile-body h3 {
    color: inherit;
    font-family: var(--wp--preset--font-family--roc-grotesk);
    font-size: 27px;
    font-weight: 900;
    line-height: .9;
    margin: 0 0 27px;
  }

  .mak2com-project-steps__mobile-body p {
    color: inherit;
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 20px;
  }

  .mak2com-project-steps__mobile-nav {
    display: flex;
    gap: 15px;
    margin-top: 28px;
  }

  .mak2com-project-steps__mobile-nav button {
    align-items: center;
    background: var(--mak2com-steps-secondary);
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    height: 37px;
    justify-content: center;
    width: 37px;
  }

  .mak2com-project-steps__mobile-nav button:first-child {
    opacity: .55;
  }

  .mak2com-project-steps__cta {
    margin-top: 58px;
    width: 266px;
  }

  .mak2com-project-steps__cta span:first-child {
    flex: 1;
    justify-content: center;
  }

  .mak2com-values-cards {
    padding: 42px 43px 50px;
  }

  .mak2com-values-cards__inner {
    max-width: 208px;
  }

  .mak2com-values-cards__header {
    margin-bottom: 36px;
    text-align: center;
  }

  .mak2com-values-cards__header p {
    font-size: 13px;
    margin-left: auto;
    margin-right: auto;
  }

  .mak2com-values-cards__header h2 {
    font-size: 26px;
    line-height: 1.05;
  }

  .mak2com-values-cards__grid {
    display: grid;
    gap: 19px;
    grid-template-columns: 1fr;
  }

  .mak2com-values-cards__card {
    border-radius: 8px;
    min-height: 202px;
    padding: 23px 12px 20px;
  }

  .mak2com-values-cards__icon {
    height: 55px;
    margin-bottom: 49px;
    width: 55px;
  }

  .mak2com-values-cards__card h3 {
    font-size: 20px;
    margin-bottom: 9px;
  }

  .mak2com-values-cards__text {
    font-size: 11px;
    line-height: 1.22;
  }
}

@media (max-width: 781px) {
  .mak2com-viager-advantages {
    padding: 16px 0 68px;
  }

  .mak2com-viager-advantages__inner {
    max-width: 257px;
  }

  .mak2com-viager-advantages__header {
    margin-bottom: 56px;
  }

  .mak2com-viager-advantages__badge {
    font-size: 15px;
    margin-left: 0;
    padding: 4px 12px 5px;
  }

  .mak2com-viager-advantages__title {
    font-size: 37px;
    line-height: 1.05;
    margin-left: 0;
  }

  .mak2com-viager-advantages__grid {
    border-bottom: 0;
    display: block;
  }

  .mak2com-viager-advantages__item {
    border-left: 0;
    border-top: 1px solid var(--mak2com-advantages-accent);
    min-height: 152px;
    padding: 28px 22px 24px;
  }

  .mak2com-viager-advantages__item h3 {
    font-size: 23px;
    line-height: .94;
    margin-bottom: 24px;
    max-width: 175px;
  }

  .mak2com-viager-advantages__icon {
    height: 42px;
    width: 50px;
  }
}

.mak2com-header {
  z-index: 30;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

.mak2com-header a,
.mak2com-footer a,
.mak2com-topbar a,
header a,
footer a {
  color: inherit;
}

.mak2com-header a:hover,
.mak2com-footer a:hover,
.mak2com-topbar a:hover,
header a:hover,
footer a:hover {
  color: inherit;
}

.mak2com-mobile-menu-cta,
.mak2com-mobile-menu-socials {
  display: none !important;
}

@media (max-width: 781px) {
  .mak2com-topbar {
    display: block;
    text-align: center;
  }

  .mak2com-topbar > .wp-block-group {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .mak2com-topbar > .wp-block-group > .wp-block-group {
    gap: 4px;
    justify-content: center !important;
  }

  .mak2com-topbar .wp-block-social-links {
    display: none;
  }

  .mak2com-topbar p:first-child {
    font-size: 0 !important;
  }

  .mak2com-topbar p:first-child::after {
    content: "Telephone :";
    font-size: 12px;
  }

  .mak2com-header {
    overflow: visible;
    position: sticky;
    top: 0;
  }

  .mak2com-header > .wp-block-group {
    align-items: center;
    min-height: 80px;
    padding: 16px 48px !important;
  }

  .mak2com-header .wp-block-site-logo img {
    height: auto;
    max-width: 188px;
  }

  .mak2com-header .wp-block-navigation {
    position: static;
  }

  .mak2com-header .wp-block-navigation__responsive-container-open {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--wp--preset--color--magenta);
    display: inline-flex;
    font-family: var(--wp--preset--font-family--roc-grotesk);
    font-size: 17px;
    font-weight: 900;
    gap: 8px;
    letter-spacing: 0;
    line-height: 1;
    padding: 8px 0;
    text-transform: uppercase;
  }

  .mak2com-header .wp-block-navigation__responsive-container-open svg {
    display: none;
  }

  .mak2com-header .wp-block-navigation__responsive-container-open::before {
    content: "MENU";
  }

  .mak2com-header .wp-block-navigation__responsive-container-open::after {
    content: "";
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 16px 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 6px / 16px 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 12px / 16px 2px no-repeat;
    display: inline-block;
    height: 14px;
    width: 16px;
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::before {
    content: "FERMER";
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::after {
    background:
      linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat;
    transform: rotate(45deg);
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open {
    position: relative;
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open span::after,
  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::after {
    box-shadow: none;
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::after {
    position: relative;
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::before {
    margin-right: 2px;
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open {
    --mak2com-close-line: currentColor;
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::after {
    background:
      linear-gradient(var(--mak2com-close-line), var(--mak2com-close-line)) center / 16px 2px no-repeat,
      linear-gradient(var(--mak2com-close-line), var(--mak2com-close-line)) center / 16px 2px no-repeat;
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::after {
    transform: rotate(45deg);
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::after {
    box-shadow: 0 0 0 0 currentColor;
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::after {
    clip-path: none;
  }

  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::after {
    filter: drop-shadow(0 0 0 currentColor);
  }

  .mak2com-header .wp-block-navigation__responsive-container:not(.is-menu-open):not(.has-modal-open) {
    display: none !important;
  }

  .mak2com-header .wp-block-navigation__responsive-container,
  .mak2com-header .wp-block-navigation__responsive-container.has-modal-open,
  .mak2com-header .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--wp--preset--color--cream) !important;
    bottom: auto;
    box-shadow: 0 16px 28px rgba(75, 61, 48, 0.14);
    box-sizing: border-box;
    display: block;
    height: auto;
    left: 0;
    min-height: 0;
    padding: 0 25px;
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    z-index: 60;
  }

  .mak2com-header .wp-block-navigation__responsive-dialog,
  .mak2com-header .wp-block-navigation__responsive-container-content {
    margin: 0;
    padding: 0;
  }

  .mak2com-header .wp-block-navigation__responsive-dialog {
    border-top: 1px solid rgba(75, 61, 48, 0.9);
    padding-top: 0;
    margin-top: 0 !important;
  }

  .mak2com-header .wp-block-navigation__responsive-container-content {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .mak2com-header .wp-block-navigation__container {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    width: 100%;
  }

  .mak2com-header .wp-block-navigation-item {
    width: 100%;
    margin: 1rem 0;
  }

  .mak2com-header .wp-block-navigation-item__content {
    box-sizing: border-box;
    color: var(--wp--preset--color--brown);
    display: block;
    font-family: var(--wp--preset--font-family--roc-grotesk);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.05;
    padding: 0 0 34px;
    text-transform: uppercase;
    width: 100%;
  }

  .mak2com-header .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
    color: var(--wp--preset--color--magenta);
  }

  .mak2com-header .wp-block-navigation__responsive-container-close {
    display: none;
  }

  .mak2com-header .mak2com-mobile-menu-cta {
    display: block !important;
    margin: 25px 0;
  }

  .mak2com-header .mak2com-mobile-menu-cta .wp-block-button__link {
    min-width: 218px;
    padding: 18px 28px !important;
    text-align: center;
  }

  .mak2com-header .mak2com-mobile-menu-socials {
    align-items: center;
    color: var(--wp--preset--color--brown);
    display: flex !important;
    font-family: var(--wp--preset--font-family--roc-grotesk);
    font-size: 16px;
    gap: 12px;
  }

  .mak2com-header .mak2com-mobile-menu-social-links {
    display: flex;
    gap: 10px;
  }

  .mak2com-header .mak2com-mobile-menu-social-links .wp-social-link {
    background: var(--wp--preset--color--brown) !important;
    color: var(--wp--preset--color--cream) !important;
    height: 21px;
    width: 21px;
  }

  .mak2com-header .mak2com-mobile-menu-social-links .wp-social-link svg {
    display: none;
  }
}

@media (max-width: 781px) {
  .mak2com-header.is-mobile-menu-open .wp-block-navigation__responsive-container-open::after {
    background: none;
    content: "\00d7";
    display: inline-block;
    font-size: 25px;
    font-weight: 400;
    height: auto;
    line-height: 0.8;
    transform: none;
    width: auto;
  }

  .mak2com-header .mak2com-mobile-menu-cta.wp-block-buttons {
    display: flex !important;
    align-items: flex-start;
    width: 100%;
  }

  .mak2com-header .mak2com-mobile-menu-cta .wp-block-button {
    display: block;
  }
}

header nav a {
  color: var(--wp--preset--color--brown);
}

header a.bg-yellow,
header a.bg-yellow:hover {
  color: var(--wp--preset--color--white);
}

.mak2com-hero-cover .wp-block-cover__background,
main > .wp-block-cover.alignfull:first-child .wp-block-cover__background {
  opacity: 0.38 !important;
}

.mak2com-hero-cover .wp-block-cover__gradient-background,
main > .wp-block-cover.alignfull:first-child .wp-block-cover__gradient-background {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(52, 39, 28, 0.68) 100%);
}

.mak2com-hero-columns {
  align-items: flex-end;
  justify-content: space-between;
}

main > .wp-block-cover.alignfull:first-child .wp-block-columns {
  align-items: flex-end;
  justify-content: space-between;
  padding-left: var(--wp--preset--spacing--80) !important;
  padding-right: var(--wp--preset--spacing--80) !important;
}

.mak2com-hero-main {
  max-width: 760px;
}

.mak2com-hero-toggle-col {
  display: flex;
  justify-content: flex-end;
}

main > .wp-block-cover.alignfull:first-child .wp-block-column:last-child {
  display: flex;
  justify-content: flex-end;
}

.mak2com-pill-toggle {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  display: flex;
  gap: 0.2rem;
  margin-left: auto;
  min-width: 430px;
  padding: 0.3rem;
  white-space: nowrap;
}

.mak2com-pill-toggle__active {
  background: var(--wp--preset--color--yellow);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin: 0;
  padding: 0.9rem 1.45rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.mak2com-pill-toggle__inactive {
  color: var(--wp--preset--color--brown);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin: 0;
  padding: 0.9rem 1.45rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.is-style-mak2com-cta .wp-block-button__link {
  align-items: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 12px 20px;
  text-transform: uppercase;
}

.is-style-mak2com-cta-outline .wp-block-button__link {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wp--preset--color--yellow);
  border-radius: 0;
  color: var(--wp--preset--color--brown);
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 12px 20px;
  text-transform: uppercase;
}

.is-style-mak2com-card {
  border: 2px solid var(--wp--preset--color--brown);
  overflow: hidden;
}

.is-style-mak2com-panel {
  border: 1px solid rgba(75, 61, 48, 0.22);
  padding: clamp(1rem, 1vw + 0.85rem, 1.75rem);
}

.mak2com-property-meta {
  align-items: center;
  color: var(--wp--preset--color--brown);
  display: flex;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.875rem;
  gap: 0.75rem;
}

.mak2com-property-grid {
  border: 1px solid rgba(75, 61, 48, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1rem;
}

.mak2com-property-grid > div {
  border-right: 1px solid rgba(75, 61, 48, 0.12);
  padding: 0.75rem 1rem;
}

.mak2com-property-grid > div:nth-child(2n) {
  border-right: 0;
}

.mak2com-property-grid > div:nth-child(n + 3) {
  background: rgba(244, 158, 0, 0.12);
  border-top: 1px solid rgba(75, 61, 48, 0.12);
}

.mak2com-property-grid small {
  display: block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mak2com-property-grid strong {
  display: block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 16px;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* =============================================================================
   HERO INTERNE - pages internes
   ============================================================================= */

.mak2com-internal-hero {
  overflow: hidden;
  padding: clamp(4rem, 6vw, 5rem) var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
  position: relative;
}

.mak2com-internal-hero__inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1164px;
  position: relative;
  z-index: 1;
}

.mak2com-internal-hero__header {
  align-items: flex-start;
  display: grid;
  gap: var(--wp--preset--spacing--60);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin-bottom: var(--wp--preset--spacing--40);
}

.mak2com-internal-hero__title {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: clamp(48px, 4.4vw, 68px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.mak2com-internal-hero__subtitle {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.28;
  margin: 0;
  max-width: 430px;
  text-align: center;
}

.mak2com-internal-hero__media {
  margin: 0;
  position: relative;
}

.mak2com-internal-hero__image,
.mak2com-internal-hero__placeholder {
  display: block;
  height: var(--mak2com-internal-hero-image-height);
  width: 100%;
}

.mak2com-internal-hero__image {
  object-fit: cover;
}

.mak2com-internal-hero__placeholder {
  background:
    linear-gradient(135deg, rgba(75, 61, 48, 0.08), rgba(75, 61, 48, 0.02)),
    var(--wp--preset--color--cream);
  border: 1px dashed rgba(75, 61, 48, 0.22);
}

.mak2com-internal-hero__deco {
  display: block;
  height: auto;
  pointer-events: none;
  position: absolute;
  transform-origin: center center;
  width: var(--mak2com-internal-hero-deco-width);
  z-index: 2;
}

.mak2com-internal-hero__link {
  color: inherit;
  display: inline-block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-top: 1rem;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mak2com-internal-hero--editor {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.mak2com-internal-hero--editor .mak2com-internal-hero__title,
.mak2com-internal-hero--editor .mak2com-internal-hero__subtitle,
.mak2com-internal-hero--editor .mak2com-internal-hero__link {
  min-height: 1em;
}

.mak2com-internal-hero--editor .mak2com-internal-hero__media-actions,
.mak2com-internal-hero--editor .mak2com-internal-hero__deco-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  left: 16px;
  position: absolute;
  top: 16px;
  z-index: 5;
}

.mak2com-internal-hero--editor .mak2com-internal-hero__deco-actions {
  top: 58px;
}

.mak2com-newsletter-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  max-width: 420px;
}

.mak2com-newsletter-input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.mak2com-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.mak2com-newsletter-consent {
  align-items: flex-start;
  display: flex;
  gap: 0.625rem;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.75rem;
  line-height: 1.45;
}

.mak2com-newsletter-submit {
  align-items: center;
  background: var(--wp--preset--color--yellow);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 9px;
  font-weight: 700;
  gap: 0.5rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  width: fit-content;
}

.mak2com-newsletter-submit-icon {
  align-items: center;
  background: #fff;
  color: var(--wp--preset--color--brown);
  display: inline-flex;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}

.mak2com-rse-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  max-width: 250px;
  padding: 0.875rem;
}

.mak2com-rse-badge hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0.5rem 0;
}

.mak2com-rse-badge-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.mak2com-rse-badge-label {
  font-size: 0.75rem;
  margin: 0;
}

.mak2com-rse-badge-source {
  color: #fff;
  font-size: 0.75rem;
  text-decoration: underline;
}

.mak2com-rse-badge-score {
  background: var(--wp--preset--color--yellow);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.6rem;
}

.mak2com-rse-badge-item {
  font-size: 0.8125rem;
  margin: 0;
}

.mak2com-filter-chip {
  background: #fff;
  border: 1px solid rgba(75, 61, 48, 0.24);
  color: var(--wp--preset--color--brown);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 0.45rem 0.85rem;
}

.mak2com-ui-badge {
  display: inline-block !important;
  width: fit-content !important;
}

.mak2com-ui-badge.wp-block-paragraph {
  margin-right: auto;
}

p.has-magenta-background-color.has-roc-grotesk-font-family,
p.has-yellow-background-color.has-roc-grotesk-font-family {
  display: inline-block !important;
  margin-right: auto;
  max-width: max-content;
  width: fit-content !important;
}

#qui-sommes-nous .wp-block-columns {
  align-items: flex-start !important;
}

/* ── Contexte de positionnement pour les sections nommées ─────────── */
.mak2com-agence-section,
.mak2com-adn-section,
.mak2com-viager-section,
.mak2com-biens-section,
.mak2com-temoignages-section,
.mak2com-cta-section,
#biens {
  overflow: visible;
  position: relative;
}

/* Tout group avec un fond décoratif devient un contexte de positionnement */
.wp-block-group:has(> .mak2com-group-bg) {
  overflow: visible;
  position: relative;
}

/* Le contenu reste au-dessus du fond décoratif */
.mak2com-agence-section > *:not(.mak2com-group-bg):not(.mak2com-agence-deco),
.mak2com-adn-section    > *:not(.mak2com-group-bg),
.mak2com-viager-section > *:not(.mak2com-group-bg),
.mak2com-biens-section  > *:not(.mak2com-group-bg),
.mak2com-temoignages-section > *:not(.mak2com-group-bg),
.mak2com-cta-section    > *:not(.mak2com-group-bg) {
  position: relative;
  z-index: 1;
}

/* ── Fond décoratif sur core/group (filtre render_block) ───────────── */
.mak2com-group-bg {
  display: block;
  height: auto;
  pointer-events: none;
  position: absolute;
  transform-origin: center center;
  z-index: 0;
}

/* ── Ancien bloc agence-deco (compat rétro — ne plus utiliser) ─────── */
.mak2com-agence-deco {
  pointer-events: none;
  position: absolute;
  z-index: 0;
}
.mak2com-agence-deco svg {
  display: block;
  height: 100%;
  width: 100%;
}

#qui-sommes-nous .wp-block-column:first-child .wp-block-heading {
  margin-bottom: var(--wp--preset--spacing--40);
  max-width: 650px;
}

#qui-sommes-nous .wp-block-column:first-child .has-montserrat-font-family {
  max-width: 565px;
}

#qui-sommes-nous .wp-block-column:last-child .wp-block-image {
  margin-bottom: 0;
  margin-top: 34px;
}

#qui-sommes-nous .wp-block-column:last-child img {
  aspect-ratio: 395 / 471;
  display: block;
  margin-left: auto;
  max-width: 395px;
  object-fit: cover;
  width: 100%;
}

/* =============================================================================
   Avis clients - carousel home
   ============================================================================= */

.mak2com-testimonials {
  background: #fff;
  color: #111;
  padding: 32px 0 24px;
}

.mak2com-testimonials__frame {
  border: 2px solid #111;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1181px;
  min-height: 400px;
  padding: 15px 29px 13px 36px;
}

.mak2com-testimonials__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 442px minmax(0, 1fr);
}

.mak2com-testimonials__intro {
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding-top: 11px;
}

.mak2com-testimonials__eyebrow {
  background: var(--wp--preset--color--magenta);
  color: #fff;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 15px;
  font-weight: 500;
  height: 24px;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 14px;
  padding: 4px 13px 5px;
  text-transform: uppercase;
  width: fit-content;
}

.mak2com-testimonials__title {
  color: var(--wp--preset--color--brown);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 34px;
}

.mak2com-testimonials__text {
  color: #111;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.34;
  margin: 0;
  max-width: 445px;
}

.mak2com-testimonials__nav {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-bottom: 0;
  padding-left: 330px;
}

.mak2com-testimonials__button {
  align-items: center;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 18px;
  height: 45px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  width: 45px;
}

.mak2com-testimonials__button:hover {
  transform: translateY(-1px);
}

.mak2com-testimonials__button--prev,
.mak2com-testimonials__button--next {
  background: var(--wp--preset--color--yellow);
}

.mak2com-testimonials__button.swiper-button-disabled,
.mak2com-testimonials__button[disabled] {
  background: #fbd98b;
  cursor: default;
  opacity: 1;
  transform: none;
}

.mak2com-testimonials__carousel {
  margin: 0;
  width: 100%;
}

.mak2com-testimonials__slide {
  background: var(--wp--preset--color--beige);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 287px minmax(0, 1fr);
  min-height: 370px;
  padding: 22px 31px 24px 29px;
}

.mak2com-testimonials__photo-wrap {
  height: 323px;
  overflow: hidden;
  width: 287px;
}

.mak2com-testimonials__photo {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.mak2com-testimonials__card {
  display: flex;
  flex-direction: column;
  min-height: 323px;
  padding-left: 27px;
}

.mak2com-testimonials__quote {
  color: #111;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  height: 23px;
  line-height: 0.85;
  margin: 0 0 7px;
}

.mak2com-testimonials__headline {
  color: #111;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.82;
  margin: 0 0 21px;
  max-width: 290px;
}

.mak2com-testimonials__content {
  color: #111;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.32;
  margin: 0;
  max-width: 300px;
}

.mak2com-testimonials__meta {
  border-top: 1px solid rgba(17, 17, 17, 0.45);
  margin-top: auto;
  padding-top: 11px;
}

.mak2com-testimonials__name {
  color: #111;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 4px;
}

.mak2com-testimonials__details {
  align-items: flex-end;
  color: #111;
  display: flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 15px;
  font-weight: 400;
  justify-content: space-between;
  line-height: 1.2;
}

.mak2com-testimonials__counter {
  margin-left: 20px;
}

@media (max-width: 1180px) {
  .mak2com-testimonials {
    padding-left: 24px;
    padding-right: 24px;
  }

  .mak2com-testimonials__frame {
    max-width: 100%;
  }

  .mak2com-testimonials__grid {
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  }

  .mak2com-testimonials__nav {
    padding-left: 0;
  }

  .mak2com-testimonials__slide {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
  }

  .mak2com-testimonials__photo-wrap {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .mak2com-testimonials__frame {
    padding: 24px;
  }

  .mak2com-testimonials__grid,
  .mak2com-testimonials__slide {
    grid-template-columns: 1fr;
  }

  .mak2com-testimonials__intro {
    min-height: auto;
  }

  .mak2com-testimonials__nav {
    margin: 24px 0;
  }

  .mak2com-testimonials__photo-wrap {
    height: auto;
    width: 100%;
  }

  .mak2com-testimonials__photo {
    aspect-ratio: 287 / 323;
  }

  .mak2com-testimonials__card {
    min-height: 0;
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 560px) {
  .mak2com-testimonials {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mak2com-testimonials__frame {
    padding: 18px;
  }

  .mak2com-testimonials__title {
    font-size: 29px;
  }

  .mak2com-testimonials__text {
    font-size: 18px;
  }

  .mak2com-testimonials__slide {
    padding: 18px;
  }
}

#qui-sommes-nous .has-magenta-background-color {
  background-color: var(--wp--preset--color--yellow) !important;
}

:is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color) {
  --mak2com-adn-cut: 108px;
  margin-bottom: 0;
  overflow: visible;
  padding-bottom: 10rem !important;
  position: relative;
  z-index: 4;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--mak2com-adn-cut)));
}

:is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color)::before {
  background: transparent;
  bottom: auto;
  content: "";
  height: 0;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  clip-path: none;
  z-index: 4;
}

:is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color) + .wp-block-group {
  margin-top: -108px !important;
  padding-top: calc(var(--wp--preset--spacing--80) + 108px) !important;
  position: relative;
  z-index: 1;
}

@media (max-width: 781px) {
  :is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color) {
    --mak2com-adn-cut: 56px;
    padding-bottom: calc(var(--wp--preset--spacing--70) + 26px) !important;
  }

  :is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color)::after {
    transform: rotate(8.2deg);
  }

  :is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color) + .wp-block-group {
    margin-top: -56px !important;
    padding-top: calc(var(--wp--preset--spacing--80) + 56px) !important;
  }
}

:is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color)
  .wp-block-column:last-child
  > .wp-block-columns {
  gap: 0 !important;
}

:is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color)
  .wp-block-column:last-child
  > .wp-block-columns
  > .wp-block-column {
  padding-left: 2rem;
  padding-right: 1.35rem;
}

:is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color)
  .wp-block-column:last-child
  > .wp-block-columns
  > .wp-block-column
  + .wp-block-column {
  border-left: 1px solid rgba(244, 158, 0, 0.75);
}

:is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color)
  .wp-block-column:last-child
  > .wp-block-columns
  > .wp-block-column
  > p:first-child {
  color: var(--wp--preset--color--yellow) !important;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 20px !important;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.75rem;
}

:is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color)
  .wp-block-column:last-child
  > .wp-block-columns
  > .wp-block-column
  h3 {
  letter-spacing: -0.4px;
  margin-top: 0;
}

:is(.mak2com-adn-section, #qui-sommes-nous + .wp-block-group.has-beige-background-color)
  .wp-block-column:last-child
  > .wp-block-columns
  > .wp-block-column
  .has-montserrat-font-family {
  font-size: 16px;
  letter-spacing: -0.2px;
  line-height: 1.35;
}

.mak2com-filter-chip--count {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-width: 2.25rem;
}

.mak2com-filter-chip--active {
  background: var(--wp--preset--color--magenta);
  border-color: var(--wp--preset--color--magenta);
  color: #fff;
}

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

.mak2com-checklist li {
  border-top: 1px solid rgba(244, 158, 0, 0.5);
  color: var(--wp--preset--color--brown);
  font-family: var(--wp--preset--font-family--montserrat);
  margin: 0;
  padding: 0.9rem 0 0.9rem 2rem;
  position: relative;
}

.mak2com-checklist li::before {
  color: var(--wp--preset--color--yellow);
  content: "\25A0";
  font-size: 0.68rem;
  left: 0.45rem;
  position: absolute;
  top: 1.05rem;
}

.mak2com-edito-intro-text {
  color: var(--wp--preset--color--brown);
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin: 0;
}

.mak2com-edito-intro-visual {
  position: relative;
}

.mak2com-edito-intro-visual .wp-block-image {
  margin: 0;
  position: relative;
  z-index: 1;
}

.mak2com-edito-intro-visual img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: min(435px, 100%);
}

.mak2com-edito-avantages .mak2com-advantages-grid {
  border-bottom: 1px solid rgba(244, 158, 0, 0.35);
  border-top: 1px solid rgba(244, 158, 0, 0.35);
}

.mak2com-advantages-grid > .wp-block-column {
  border-right: 1px solid rgba(244, 158, 0, 0.35);
  min-height: 188px;
  padding: 2rem 1.2rem 1.1rem;
}

.mak2com-advantages-grid > .wp-block-column:last-child {
  border-right: 0;
}

.mak2com-advantages-grid .wp-block-heading {
  letter-spacing: -1.4px;
  margin-bottom: 1.25rem;
}

.mak2com-adv-icon {
  align-items: center;
  border: 1px solid rgba(75, 61, 48, 0.35);
  border-radius: 999px;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.mak2com-adv-icon::before {
  color: var(--wp--preset--color--magenta);
  content: "\20AC";
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.mak2com-adv-icon--home::before {
  color: var(--wp--preset--color--brown-light);
  content: "\2302";
  font-size: 1rem;
}

.mak2com-recap-tab {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  min-height: 218px;
  padding: 1.55rem 1.4rem;
}

.mak2com-recap-tab--active {
  background: var(--wp--preset--color--yellow);
}

.mak2com-recap-tab h3,
.mak2com-recap-tab p {
  letter-spacing: -0.4px;
  margin: 0;
}

.mak2com-recap-tab h3 {
  letter-spacing: -2.4px;
}

.mak2com-recap-tab:not(.mak2com-recap-tab--active) {
  opacity: 0.5;
}

.mak2com-recap-more {
  align-items: center;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 11px;
  font-weight: 700;
  gap: 0.45rem;
  letter-spacing: 0.04em;
  margin-top: auto;
  text-transform: uppercase;
}

.mak2com-recap-more__icon {
  align-items: center;
  border: 1px solid var(--wp--preset--color--brown);
  border-radius: 999px;
  display: inline-flex;
  height: 1.25rem;
  justify-content: center;
  width: 1.25rem;
}

.mak2com-recap-kicker {
  color: var(--wp--preset--color--brown-light);
  display: inline-flex;
  font-size: 25px;
  line-height: 1;
  margin: 0 0 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.mak2com-recap-kicker::before {
  color: rgba(103, 83, 65, 0.35);
  content: "\2302";
  font-size: 1rem;
  left: 0.15rem;
  position: absolute;
  top: 0.2rem;
}

.mak2com-recap-line {
  border-top: 1px solid rgba(244, 158, 0, 0.45);
  color: var(--wp--preset--color--brown-light);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 0;
  padding: 1rem 0;
}

.mak2com-recap-highlight {
  display: inline-block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 18px;
  margin: 0 0 1.2rem auto;
  padding: 0.45rem 1.2rem;
}

.mak2com-recap-points .wp-block-buttons {
  margin-top: 1.25rem;
}

.mak2com-edito-recap {
  padding: 30px 32px;
}

.mak2com-recap-slides {
  display: grid;
  gap: 0 26px;
  grid-template-columns: 375px minmax(0, 645px);
  margin: 0 auto;
  max-width: 1046px;
}

.mak2com-recap-slide {
  display: contents;
}

.mak2com-recap-tab {
  background: rgba(255, 255, 255, .78);
  box-sizing: border-box;
  color: var(--wp--preset--color--brown);
  cursor: pointer;
  grid-column: 1;
  margin: 0 0 24px;
  min-height: 176px;
  opacity: .48;
  padding: 24px 26px;
  transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}

.mak2com-edito-recap.is-recap-ready .mak2com-recap-slide:not(.is-tab-visible) .mak2com-recap-tab {
  display: none;
}

.mak2com-recap-slide.is-active .mak2com-recap-tab {
  background: var(--wp--preset--color--yellow);
  color: #fff;
  opacity: 1;
}

.mak2com-recap-tab-title {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0 0 16px;
}

.mak2com-recap-tab-icon {
  display: none;
  flex: 0 0 34px;
  margin: 0;
  width: 34px;
}

.mak2com-recap-slide.is-active .mak2com-recap-tab-icon {
  display: block;
}

.mak2com-recap-tab-icon img {
  display: block;
  height: auto;
  max-height: 34px;
  object-fit: contain;
  width: 100%;
}

.mak2com-recap-tab h3 {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.mak2com-recap-slide.is-active .mak2com-recap-tab h3 {
  font-weight: 700;
}

.mak2com-recap-tab-text {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 14px;
  line-height: 1.18;
  margin: 0;
  max-width: 330px;
}

.mak2com-recap-more {
  align-items: center;
  color: #111;
  display: none;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 11px;
  font-weight: 900;
  gap: 7px;
  line-height: 1;
  margin: 20px 0 0;
  text-transform: uppercase;
}

.mak2com-recap-slide.is-active .mak2com-recap-more {
  display: inline-flex;
}

.mak2com-recap-more__icon {
  align-items: center;
  border: 1px solid #111;
  border-radius: 999px;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.mak2com-recap-panel {
  box-sizing: border-box;
  display: none;
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: 576px;
  padding: 24px 24px 38px 60px;
}

.mak2com-recap-slide.is-active .mak2com-recap-panel {
  display: block;
}

.mak2com-recap-panel__top-row,
.mak2com-recap-panel__bottom-row {
  display: flex;
  gap: 22px;
  justify-content: space-between;
}

.mak2com-recap-panel__top-row {
  align-items: flex-start;
}

.mak2com-recap-panel__bottom-row {
  align-items: flex-start;
  margin-top: 72px;
}

.mak2com-recap-panel__top-row > .wp-block-column {
  flex: 0 0 330px;
  max-width: 330px;
}

.mak2com-recap-panel__top {
  align-items: flex-start;
  margin-bottom: 22px;
}

.mak2com-recap-kicker {
  align-items: center;
  color: var(--wp--preset--color--brown);
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 22px;
  gap: 10px;
  line-height: 1;
  margin: 0 0 22px;
}

.mak2com-recap-kicker::before {
  color: rgba(103, 83, 65, .35);
  content: "\2302";
  font-size: 13px;
}

.mak2com-recap-panel-title {
  color: var(--wp--preset--color--yellow);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 22px;
}

.mak2com-recap-panel-text {
  color: var(--wp--preset--color--brown-light);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
  max-width: 330px;
}

.mak2com-recap-highlight {
  background: var(--wp--preset--color--brown);
  color: #fff;
  display: inline-block;
  flex: 0 0 auto;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 16px;
  line-height: 1;
  margin: 0 0 16px;
  padding: 14px 22px;
}

.mak2com-recap-points .mak2com-recap-highlight {
  display: table;
  margin-left: auto;
}

.mak2com-recap-panel__top-row > .mak2com-recap-highlight {
  display: inline-block;
  margin-left: 0;
}

.mak2com-recap-line {
  border-top: 1px solid rgba(244, 158, 0, .7);
  color: var(--wp--preset--color--brown-light);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
  padding: 18px 0;
}

.mak2com-recap-image {
  flex: 0 0 330px;
  margin: 0;
  max-width: none;
}

.mak2com-recap-image img {
  display: block;
  height: auto;
  max-height: none;
  object-fit: cover;
  width: 100%;
}

.mak2com-recap-cta {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0;
  margin-top: 20px;
  width: 206px;
}

.mak2com-recap-cta .wp-block-button {
  margin: 0;
}

.mak2com-recap-cta .wp-block-button__link {
  box-sizing: border-box;
  border-radius: 0;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  min-height: 36px;
  padding: 13px 22px;
  text-transform: uppercase;
  white-space: nowrap;
}

.mak2com-recap-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--wp--preset--color--magenta);
  color: #fff;
  min-width: 0;
  padding-left: 14px;
  padding-right: 14px;
  width: 164px;
}

.mak2com-recap-cta .wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff;
  border: 1px solid rgba(161, 13, 89, .45);
  color: var(--wp--preset--color--magenta);
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  width: 42px;
}

.mak2com-recap-nav {
  margin: 0 auto;
  max-width: 1046px;
  padding-left: 0;
  width: 100%;
}

.mak2com-recap-nav--top {
  margin-bottom: 10px;
}

.mak2com-recap-nav--bottom {
  margin-top: 8px;
}

.mak2com-recap-nav__button {
  margin-left: 0;
  width: 375px;
}

.mak2com-recap-nav__button .wp-block-button__link {
  align-items: center;
  background: var(--wp--preset--color--yellow);
  border-radius: 0;
  color: #fff;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin-left: calc(50% - 22px);
  padding: 0;
  width: 44px;
}

.mak2com-recap-nav__button.is-disabled .wp-block-button__link {
  opacity: .45;
  pointer-events: none;
}

@media (min-width: 782px) {
  .mak2com-recap-panel {
    display: none;
  }

  .mak2com-recap-slide.is-active .mak2com-recap-panel {
    display: flex;
    flex-direction: column;
  }

  .mak2com-recap-points {
    flex: 0 0 205px;
    max-width: 205px;
    padding-top: 0;
    width: auto !important;
  }

  .mak2com-recap-image {
    max-width: none;
  }

  .mak2com-recap-image img {
    aspect-ratio: 330 / 218;
    height: auto;
  }
}

.editor-styles-wrapper .mak2com-recap-slide:focus-within .mak2com-recap-tab,
.editor-styles-wrapper .mak2com-recap-slide.has-child-selected .mak2com-recap-tab,
.editor-styles-wrapper .mak2com-recap-slide.is-selected .mak2com-recap-tab {
  background: var(--wp--preset--color--yellow);
  color: #fff;
  opacity: 1;
}

.editor-styles-wrapper .mak2com-recap-slide:focus-within .mak2com-recap-tab-icon,
.editor-styles-wrapper .mak2com-recap-slide.has-child-selected .mak2com-recap-tab-icon,
.editor-styles-wrapper .mak2com-recap-slide.is-selected .mak2com-recap-tab-icon {
  display: block;
}

.editor-styles-wrapper .mak2com-recap-slide:focus-within .mak2com-recap-more,
.editor-styles-wrapper .mak2com-recap-slide.has-child-selected .mak2com-recap-more,
.editor-styles-wrapper .mak2com-recap-slide.is-selected .mak2com-recap-more {
  display: inline-flex;
}

@media (min-width: 782px) {
  .editor-styles-wrapper .mak2com-edito-recap:has(.mak2com-recap-slide:focus-within) .mak2com-recap-slide.is-active:not(:focus-within) .mak2com-recap-panel,
  .editor-styles-wrapper .mak2com-edito-recap:has(.mak2com-recap-slide.has-child-selected) .mak2com-recap-slide.is-active:not(.has-child-selected) .mak2com-recap-panel,
  .editor-styles-wrapper .mak2com-edito-recap:has(.mak2com-recap-slide.is-selected) .mak2com-recap-slide.is-active:not(.is-selected) .mak2com-recap-panel {
    display: none;
  }

  .editor-styles-wrapper .mak2com-recap-slide:focus-within .mak2com-recap-panel,
  .editor-styles-wrapper .mak2com-recap-slide.has-child-selected .mak2com-recap-panel,
  .editor-styles-wrapper .mak2com-recap-slide.is-selected .mak2com-recap-panel {
    display: grid;
  }
}

.mak2com-edito-invest-title {
  letter-spacing: -1.4px;
}

.mak2com-edito-invest-subtitle {
  font-weight: 300;
}

.mak2com-edito-invest .wp-block-image {
  margin: 0;
}

.mak2com-edito-invest .wp-block-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: min(478px, 100%);
}

.mak2com-edito-invest-text {
  color: var(--wp--preset--color--brown-light);
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin: 0;
}

.mak2com-fiche-cover {
  margin: 0;
}

.mak2com-fiche-cover img {
  aspect-ratio: 1430 / 490;
  object-fit: cover;
  width: 100%;
}

.mak2com-fiche-subtitle {
  letter-spacing: -1.4px;
  margin-bottom: 1.2rem;
  margin-top: 0;
  padding-top: 1.05rem;
  position: relative;
}

.mak2com-fiche-subtitle::before {
  background: var(--wp--preset--color--yellow);
  content: "";
  height: 17px;
  left: 0;
  position: absolute;
  top: 0;
  width: 17px;
}

.mak2com-fiche-subtitle::after {
  background: rgba(244, 158, 0, 0.45);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 20px;
}

.mak2com-fiche-text {
  color: var(--wp--preset--color--brown);
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin-top: 0;
}

.mak2com-fiche-summary {
  box-shadow: 0 0 0 1px rgba(75, 61, 48, 0.14);
  margin-top: -8rem;
  position: relative;
}

.mak2com-fiche-summary::before {
  background: var(--wp--preset--color--yellow);
  content: "";
  height: 41px;
  position: absolute;
  right: 6rem;
  top: -21px;
  width: 41px;
}

.mak2com-agent-card {
  background: var(--wp--preset--color--yellow);
  overflow: hidden;
  position: relative;
}

.mak2com-agent-card .wp-block-image {
  height: 100%;
  margin: 0;
}

.mak2com-agent-card .wp-block-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mak2com-agent-card .wp-block-column:last-child {
  padding: 1.4rem 1.5rem 1.2rem;
}

.mak2com-agent-card .wp-block-heading {
  letter-spacing: -2.4px;
  margin: 0 0 0.6rem;
}

.mak2com-agent-card p {
  font-size: 18px;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.mak2com-contact-section .wp-block-columns {
  align-items: stretch;
}

.mak2com-contact-lead {
  font-size: 26px;
  letter-spacing: -1.4px;
  line-height: 1.35;
  margin-top: 0.75rem;
  max-width: 475px;
}

.mak2com-contact-panel {
  min-height: 724px;
}

.mak2com-contact-panel .wp-block-heading {
  letter-spacing: -1.4px;
  margin-bottom: 0.85rem;
}

.mak2com-contact-panel .wp-block-separator {
  margin-bottom: 2rem;
  margin-top: 0;
}

.mak2com-contact-form {
  display: grid;
  gap: 1.2rem;
}

.mak2com-contact-grid {
  display: grid;
  gap: 1.05rem 2.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mak2com-contact-grid label {
  display: grid;
  gap: 0.45rem;
}

.mak2com-contact-grid label span,
.mak2com-contact-consent {
  color: var(--wp--preset--color--brown);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 20px;
  letter-spacing: -1.4px;
}

.mak2com-contact-grid input,
.mak2com-contact-grid textarea {
  background: #fff;
  border: 0;
  color: var(--wp--preset--color--brown);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 0.94rem;
  padding: 0.6rem 0.8rem;
}

.mak2com-contact-message {
  grid-column: 1 / -1;
}

.mak2com-contact-grid input {
  height: 42px;
}

.mak2com-contact-grid textarea {
  min-height: 180px;
}

.mak2com-contact-consent {
  align-items: flex-start;
  display: flex;
  font-size: 14px;
  gap: 0.55rem;
  letter-spacing: 0;
  line-height: 1.45;
}

/* =============================================
   VIAGER CARROUSEL
   ============================================= */

.mak2com-viager-carousel {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  justify-content: center;
}

/* --- Onglets --- */
.mak2com-viager-tabs {
  display: flex;
  gap: 2rem;
}

.mak2com-viager-tab {
  background: none;
  border: none;
  color: var(--wp--preset--color--yellow);
  cursor: pointer;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0em;
  opacity: 0.55;
  padding: 0;
  transition: opacity 0.2s, font-weight 0.2s;
}

.mak2com-viager-tab.is-active {
  font-weight: 800;
  opacity: 1;
}

.mak2com-viager-tab:hover {
  opacity: 0.85;
}

/* --- Piste / slides --- */
.mak2com-viager-track-wrap {
  overflow: hidden;
  position: relative;
}

.mak2com-viager-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.mak2com-viager-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 1rem;
}

/* Carte avec coin coupé en haut à droite */
.mak2com-viager-slide__inner {
  border: 2px solid var(--wp--preset--color--yellow);
  padding: 2.2rem 2.2rem 2rem;
  position: relative;
}

/* Triangle magenta qui masque le coin */
.mak2com-viager-slide__inner::before {
  background: var(--wp--preset--color--magenta);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  content: '';
  height: 102px;
  position: absolute;
  right: -3px;
  top: -2px;
  width: 114px;
}

/* Ligne diagonale jaune du coin coupé */
.mak2com-viager-slide__inner::after {
  background: var(--wp--preset--color--yellow);
  content: '';
  height: 2px;
  position: absolute;
  right: -1px;
  top: 99px;
  transform: rotate(42deg);
  transform-origin: right top;
  width: 150px;
}

.mak2com-viager-slide__icon {
  margin-bottom: 1.25rem;
}

.mak2com-viager-slide__icon svg {
  display: block;
}

.mak2com-viager-slide__icon path {
  fill: #c4c4c4;
  transition: fill 0.25s ease;
}

.mak2com-viager-carousel[data-step="1"] .mak2com-viager-slide__icon path:nth-child(1),
.mak2com-viager-carousel[data-step="2"] .mak2com-viager-slide__icon path:nth-child(-n+2),
.mak2com-viager-carousel[data-step="3"] .mak2com-viager-slide__icon path {
  fill: var(--wp--preset--color--yellow);
}

.mak2com-viager-slide__title {
  color: var(--wp--preset--color--yellow);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.mak2com-viager-slide__text {
  color: #fff;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
  max-width: 480px;
}

.mak2com-viager-slide__cta {
  align-items: center;
  background: #fff;
  color: var(--wp--preset--color--brown);
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 9px;
  font-weight: 700;
  gap: 0.75rem;
  letter-spacing: 0.05em;
  padding: 11px 18px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.mak2com-viager-slide__cta:hover {
  background: var(--wp--preset--color--yellow);
  color: #fff;
}

.mak2com-viager-slide__cta-arrow {
  align-items: center;
  background: var(--wp--preset--color--yellow);
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  height: 1.6rem;
  justify-content: center;
  transition: background 0.2s;
  width: 1.6rem;
}

.mak2com-viager-slide__cta:hover .mak2com-viager-slide__cta-arrow {
  background: #fff;
  color: var(--wp--preset--color--yellow);
}

/* --- Navigation --- */
.mak2com-viager-nav {
  display: flex;
  width: fit-content;
  gap: 1.75rem;
  margin-top: -2rem;
  margin-left: 3rem;
  background-color: var(--wp--preset--color--magenta) !important;
  z-index: 10;
}

.mak2com-viager-nav__btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  width: 2.75rem;
}

.mak2com-viager-nav__btn::before {
  content: "←";
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.mak2com-viager-nav__next::before {
  content: "→";
}

.mak2com-viager-nav__btn.is-active {
  background: var(--wp--preset--color--yellow);
  border-color: var(--wp--preset--color--yellow);
  color: #fff;
}

.mak2com-viager-nav__btn:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
}

/* --- Responsive --- */
@media (max-width: 781px) {
  .mak2com-viager-tabs {
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }

  .mak2com-viager-tab {
    font-size: 0.875rem;
  }

  .mak2com-viager-slide__inner {
    padding: 1.5rem 1.25rem;
  }
}

/* =============================================
   HERO SECTION — BEM structure
   ============================================= */

.mak2com-hero {
  display: block;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.mak2com-hero__bg {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 50% 25%; /* fallback — valeur inline depuis le bloc */
  position: absolute;
  transition: opacity 0.55s ease;
  width: 100%;
}

.mak2com-hero__overlay {
  background: rgba(0, 0, 0, 0.32);
  inset: 0;
  position: absolute;
  transition: opacity 0.55s ease;
  z-index: 1;
}

.mak2com-hero__gradient {
  background: linear-gradient(180deg, transparent 45%, rgba(52, 39, 28, 0.78) 100%);
  inset: 0;
  position: absolute;
  z-index: 2;
}

.mak2com-hero__content {
  bottom: 0;
  left: 0;
  padding-bottom: clamp(2rem, 5vh, 4rem);
  position: absolute;
  right: 0;
  z-index: 3;
}

.mak2com-hero__inner {
  align-items: flex-end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding-left: clamp(1.5rem, 5vw, 5rem);
  padding-right: clamp(1.5rem, 5vw, 5rem);
}

.mak2com-hero__text {
  max-width: 760px;
  position: relative; /* pour l'état B en position absolute */
}

/* Conteneurs d'état A et B */
.mak2com-hero__state {
  transition: opacity 0.45s ease;
}

/* L'état B se superpose à l'état A sans impacter la hauteur */
.mak2com-hero__state--b {
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.mak2com-hero__title {
  color: #fff;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: clamp(1.75rem, 3.5vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.03;
  margin: 0 0 1rem;
}

.mak2com-hero__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  line-height: 1.5;
  margin: 0 0 1.75rem;
  max-width: 540px;
}

/* Button */
.mak2com-btn {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 9px;
  font-weight: 700;
  gap: 0.85rem;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 12px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s;
}

.mak2com-btn--primary {
  background: var(--wp--preset--color--yellow);
  color: #fff;
}

.mak2com-btn--primary:hover {
  background: var(--wp--preset--color--brown);
  color: #fff;
}

.mak2com-btn__arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  display: inline-flex;
  height: 1.6rem;
  justify-content: center;
  width: 1.6rem;
}

/* Toggle pill */
.mak2com-hero__toggle {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  display: flex;
  flex-shrink: 0;
  gap: 0.2rem;
  padding: 0.3rem;
  white-space: nowrap;
}

/* Boutons toggle (bloc dynamique) */
.mak2com-hero__toggle-btn {
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--wp--preset--color--brown);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  padding: 0.9rem 0.85rem;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.mak2com-hero__toggle-btn--a[aria-pressed="true"] {
  background: var(--wp--preset--color--yellow);
  color: #fff;
}
.mak2com-hero__toggle-btn--b[aria-pressed="true"] {
  background: var(--wp--preset--color--brown);
  color: var(--wp--preset--color--yellow);
}

/* Gestion des états A / B — crossfade smooth */
.mak2com-hero[data-state="a"] .mak2com-hero__el--b {
  opacity: 0;
  pointer-events: none;
}
.mak2com-hero[data-state="b"] .mak2com-hero__el--a {
  opacity: 0;
  pointer-events: none;
}
/* L'état B actif redevient cliquable */
.mak2com-hero[data-state="b"] .mak2com-hero__state--b {
  pointer-events: auto;
}

/* Compat ancien markup (span statiques) */
.mak2com-hero__toggle-active {
  background: var(--wp--preset--color--yellow);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  padding: 0.9rem 1.45rem;
  text-transform: uppercase;
}

.mak2com-hero__toggle-inactive {
  color: var(--wp--preset--color--brown);
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  padding: 0.9rem 1.45rem;
  text-transform: uppercase;
}

/* =============================================
   HERO — Responsive
   ============================================= */

@media (max-width: 781px) {
  .mak2com-internal-hero {
    padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
  }

  .mak2com-internal-hero__header {
    display: block;
    margin-bottom: var(--wp--preset--spacing--60);
  }

  .mak2com-internal-hero__title {
    font-size: 48px;
    line-height: 0.98;
    margin-bottom: var(--wp--preset--spacing--30);
    max-width: 460px;
  }

  .mak2com-internal-hero__subtitle {
    font-size: 24px;
    line-height: 1.5;
    max-width: 430px;
    text-align: left;
  }

  .mak2com-internal-hero__image,
  .mak2com-internal-hero__placeholder {
    height: var(--mak2com-internal-hero-image-height-mobile);
  }

  .mak2com-internal-hero__deco {
    width: var(--mak2com-internal-hero-deco-width-mobile);
  }

  .mak2com-internal-hero__link {
    font-size: 20px;
    margin-top: 0.75rem;
  }

  .mak2com-hero__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .mak2com-hero__toggle {
    width: fit-content;
  }

  .mak2com-hero__toggle-active,
  .mak2com-hero__toggle-inactive {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 781px) {
  .mak2com-hero-columns {
    padding-left: var(--wp--preset--spacing--40) !important;
    padding-right: var(--wp--preset--spacing--40) !important;
  }

  main > .wp-block-cover.alignfull:first-child .wp-block-columns {
    padding-left: var(--wp--preset--spacing--40) !important;
    padding-right: var(--wp--preset--spacing--40) !important;
  }

  .mak2com-hero-toggle-col {
    justify-content: flex-start;
  }

  main > .wp-block-cover.alignfull:first-child .wp-block-column:last-child {
    justify-content: flex-start;
  }

  .mak2com-pill-toggle {
    min-width: 0;
    width: 100%;
  }

  .mak2com-pill-toggle__active,
  .mak2com-pill-toggle__inactive {
    text-align: center;
    width: 50%;
  }

  .mak2com-footer .wp-block-columns {
    gap: 2rem;
  }

  .mak2com-contact-grid {
    grid-template-columns: 1fr;
  }

  .mak2com-fiche-summary {
    margin-top: 0;
  }

  .mak2com-fiche-summary::before {
    display: none;
  }

  .mak2com-fiche-subtitle::after {
    right: auto;
    width: 60%;
  }

  .mak2com-contact-panel {
    min-height: auto;
  }

  .mak2com-contact-grid label span {
    font-size: 16px;
  }

  .mak2com-contact-lead {
    font-size: 20px;
  }

  .mak2com-advantages-grid > .wp-block-column {
    border-right: 0;
    border-top: 1px solid rgba(244, 158, 0, 0.35);
    min-height: 0;
  }

  #qui-sommes-nous .wp-block-column:first-child > .wp-block-group::after {
    display: none;
  }

  /* Header responsive */
  .mak2com-topbar {
    display: none;
  }

  .mak2com-header .wp-block-group {
    padding-left: var(--wp--preset--spacing--40) !important;
    padding-right: var(--wp--preset--spacing--40) !important;
  }

  .mak2com-header .wp-block-buttons {
    display: none;
  }

  /* Viager section - stack columns */
  .mak2com-viager-section .wp-block-columns {
    flex-direction: column;
    padding-left: var(--wp--preset--spacing--40) !important;
    padding-right: var(--wp--preset--spacing--40) !important;
  }

  .mak2com-viager-section .wp-block-column {
    flex-basis: 100% !important;
  }

  /* ADN section */
  .mak2com-adn-columns {
    padding-left: var(--wp--preset--spacing--40) !important;
    padding-right: var(--wp--preset--spacing--40) !important;
  }

  /* Agence section */
  .mak2com-agence-columns {
    padding-left: var(--wp--preset--spacing--40) !important;
    padding-right: var(--wp--preset--spacing--40) !important;
  }

  .mak2com-agence-photo-col {
    display: none;
  }

  /* Property cards */
  .mak2com-property-grid {
    font-size: 0.85rem;
  }

  /* CTA section images */
  .mak2com-cta-section .wp-block-image {
    max-width: 45%;
  }
}


/* =============================================================================
   SINGLE EV_BIEN — Fiche bien immobilier
   Reprend le design UI Kit #14 (mak2com-fiche-detail).
   Classes propres préfixées "ev-" en complément des classes UI Kit existantes.
   ============================================================================= */

/* ── Wrapper principal ───────────────────────────────────────────────────────── */
.ev-single-bien {
  width: 100%;
}

/* ── Image héro (surcharge mak2com-fiche-cover pour le PHP template) ─────────── */
.mak2com-fiche-cover {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.mak2com-fiche-cover img {
  width: 100%;
  aspect-ratio: 1430 / 490;
  object-fit: cover;
  display: block;
}

/* Badge exclusivité sur la cover */
.ev-exclusivite-badge {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  background: var(--wp--preset--color--yellow);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
}

/* ── Corps de la fiche (layout colonnes) ─────────────────────────────────────── */
.mak2com-fiche-detail {
  padding: var(--wp--preset--spacing--60);
  max-width: 1430px;
  margin: 0 auto;
}

.ev-fiche-columns {
  display: flex;
  gap: var(--wp--preset--spacing--60);
  align-items: flex-start;
}

.ev-col-main {
  flex: 1 1 63%;
  min-width: 0;
}

.ev-col-sidebar {
  flex: 0 0 37%;
  min-width: 0;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────────── */
.ev-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  color: var(--wp--preset--color--brown);
  margin-bottom: var(--wp--preset--spacing--30);
  flex-wrap: wrap;
}
.ev-breadcrumb a {
  color: var(--wp--preset--color--magenta);
  text-decoration: none;
}
.ev-breadcrumb a:hover { text-decoration: underline; }
.ev-breadcrumb span[aria-hidden] { opacity: .5; }

/* ── Description ─────────────────────────────────────────────────────────────── */
.ev-description {
  margin-bottom: var(--wp--preset--spacing--40);
  line-height: 1.65;
}

/* ── Grille caractéristiques (dl/dt/dd) ──────────────────────────────────────── */
.ev-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(75, 61, 48, 0.12);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--wp--preset--spacing--50);
}
.ev-specs-grid dt,
.ev-specs-grid dd {
  margin: 0;
  padding: .6rem .9rem;
  font-size: 14px;
  border-bottom: 1px solid rgba(75, 61, 48, 0.08);
}
.ev-specs-grid dt {
  color: var(--wp--preset--color--brown);
  opacity: .7;
  font-weight: 500;
  border-right: 1px solid rgba(75, 61, 48, 0.08);
}
.ev-specs-grid dd {
  color: var(--wp--preset--color--brown);
  font-weight: 600;
}
.ev-specs-grid dt:last-of-type,
.ev-specs-grid dd:last-of-type {
  border-bottom: 0;
}

/* ── Galerie photos ──────────────────────────────────────────────────────────── */
.ev-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: var(--wp--preset--spacing--50);
}
.ev-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
}
.ev-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ev-gallery__item:hover img { transform: scale(1.04); }

/* ── Visite virtuelle ────────────────────────────────────────────────────────── */
.ev-visite-virtuelle {
  margin-bottom: var(--wp--preset--spacing--40);
}

/* ── Récapitulatif sticky (colonne droite) ───────────────────────────────────── */
.ev-summary-sticky {
  position: sticky;
  top: 120px;
  padding: var(--wp--preset--spacing--40);
}

.ev-summary-type {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: .4rem;
}

.ev-summary-city {
  font-size: clamp(28px, 3vw, 45px);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -1px;
}

.ev-summary-cp {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  opacity: .6;
  margin-left: .4rem;
  vertical-align: middle;
}

.ev-summary-venale {
  font-size: 14px;
  color: var(--wp--preset--color--brown);
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(75, 61, 48, 0.1);
}

/* ── Carte intégrée ──────────────────────────────────────────────────────────── */
.ev-map-wrap {
  margin-top: var(--wp--preset--spacing--40);
  border-radius: 6px;
  overflow: hidden;
}
.ev-map-iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

/* ── Lien card (no underline) ────────────────────────────────────────────────── */
.ev-card__link {
  color: inherit;
  text-decoration: none;
}
.ev-card__title { font-size: 28px; font-weight: 500; line-height: 1.1; }
.ev-card__img   { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }


/* =============================================================================
   ARCHIVE EV_BIEN — Listing + filtres
   ============================================================================= */

.ev-archive-biens {
  width: 100%;
}

.ev-archive-wrap {
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60);
  max-width: 1440px;
  margin: 0 auto;
}

.ev-archive-header { margin-bottom: var(--wp--preset--spacing--50); }

/* Grille 3 colonnes */
.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wp--preset--spacing--40);
}
.ev-grid__col { display: flex; flex-direction: column; }

/* Carte dans la grille */
.ev-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(75,61,48,.08);
  transition: box-shadow .2s;
}
.ev-card:hover { box-shadow: 0 6px 28px rgba(75,61,48,.14); }
.ev-card__body { padding: var(--wp--preset--spacing--30); flex: 1; display: flex; flex-direction: column; }

/* ── Pagination ──────────────────────────────────────────────────────────────── */
.ev-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: var(--wp--preset--spacing--60);
  flex-wrap: wrap;
}
.ev-pagination .page-numbers {
  padding: .5rem .9rem;
  border: 1px solid rgba(75,61,48,.2);
  border-radius: 3px;
  color: var(--wp--preset--color--brown);
  text-decoration: none;
  font-size: 14px;
}
.ev-pagination .current {
  background: var(--wp--preset--color--magenta);
  border-color: var(--wp--preset--color--magenta);
  color: #fff;
}

.ev-no-results {
  text-align: center;
  padding: var(--wp--preset--spacing--70) 0;
  color: var(--wp--preset--color--brown);
  opacity: .7;
}

/* Archive biens - hero and filters */
.ev-listing-hero {
  background: #f8f5f2;
  color: var(--wp--preset--color--brown);
  overflow: visible;
  padding: 58px 24px 0;
  position: relative;
}

.ev-listing-hero::before {
  background: var(--wp--preset--color--magenta);
  border-radius: 999px 999px 0 0;
  content: "";
  height: 120px;
  left: 0;
  position: absolute;
  top: 184px;
  transform: translateX(-38%) rotate(-35deg);
  width: 34px;
}

.ev-listing-hero::after {
  background: var(--wp--preset--color--magenta);
  border-radius: 999px;
  content: "";
  height: 40px;
  left: 32px;
  position: absolute;
  top: 178px;
  width: 40px;
}

.ev-listing-hero__inner {
  margin: 0 auto;
  max-width: 1280px;
}

.ev-listing-hero__copy {
  align-items: flex-start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin: 0 auto 54px;
}

.ev-listing-hero__copy h1 {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: .96;
  margin: 0;
}

.ev-listing-hero__copy p {
  color: inherit;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 14px;
  line-height: 1.36;
  margin: 8px 0 0;
}

.ev-search-panel {
  background: rgba(255, 255, 255, .36);
  box-sizing: border-box;
  margin-left: 0;
  padding: 28px 22px 28px;
  position: relative;
}

.ev-search-panel__row {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: 210px 170px 215px minmax(40px, 1fr) 190px;
}

.ev-search-panel__submit {
  grid-column: 5;
}

.ev-filter-field {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(161, 13, 89, .72);
  box-sizing: border-box;
  color: var(--wp--preset--color--brown);
  display: flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  min-height: 46px;
  min-width: 0;
  width: 100%;
}

.ev-filter-field select,
.ev-filter-field input {
  appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: inherit;
  flex: 1;
  font: inherit;
  font-size: 14px;
  height: 44px;
  min-width: 0;
  outline: 0;
  padding: 0 10px;
}

.ev-filter-field select {
  padding-right: 54px;
}

.ev-filter-field--select {
  position: relative;
}

.ev-filter-field--select::before {
  background: rgba(161, 13, 89, .14);
  bottom: 0;
  content: "";
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 46px;
}

.ev-filter-field--select::after {
  border-bottom: 2px solid var(--wp--preset--color--magenta);
  border-right: 2px solid var(--wp--preset--color--magenta);
  content: "";
  height: 10px;
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 16px;
  transform: rotate(45deg);
  width: 10px;
}

.ev-filter-field--budget {
  background: transparent;
  border: 0;
  gap: 12px;
}

.ev-filter-field--budget span {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
}

.ev-filter-field--budget input {
  background: #fff;
  border: 1px solid rgba(161, 13, 89, .72);
  color: rgba(75, 61, 48, .72);
}

.ev-filter-field--budget em {
  align-items: center;
  align-self: stretch;
  background: rgba(161, 13, 89, .16);
  border: 1px solid rgba(161, 13, 89, .72);
  border-left: 0;
  display: flex;
  font-style: normal;
  justify-content: center;
  margin-left: -13px;
  width: 42px;
}

.ev-filter-field--search {
  min-width: 0;
}

.ev-search-panel__submit {
  align-items: center;
  background: var(--wp--preset--color--yellow);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 16px;
  font-weight: 800;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 18px 0 22px;
}

.ev-search-panel__submit span:last-child {
  align-items: center;
  background: #fff;
  color: var(--wp--preset--color--yellow);
  display: inline-flex;
  font-size: 22px;
  height: 46px;
  justify-content: center;
  margin-right: -18px;
  margin-left: 18px;
  width: 42px;
}

.ev-search-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ev-search-panel__meta {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 22px;
}

.ev-search-panel__tags a,
.ev-search-panel__tags button {
  background: var(--wp--preset--color--yellow);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 13px;
  line-height: 1;
  padding: 10px 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.ev-search-panel__radius {
  color: var(--wp--preset--color--brown);
  display: grid;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  gap: 8px;
  grid-template-columns: 1fr auto;
  margin-top: 22px;
  max-width: 820px;
}

.ev-search-panel__radius.is-hidden {
  display: none;
}

.ev-search-panel__radius label,
.ev-search-panel__radius output {
  font-size: 14px;
  font-weight: 700;
}

.ev-search-panel__radius input {
  accent-color: var(--wp--preset--color--yellow);
  grid-column: 1 / -1;
  width: 100%;
}

.ev-search-panel__radius div {
  display: flex;
  font-size: 13px;
  grid-column: 1 / -1;
  justify-content: space-between;
  opacity: .75;
}

.ev-search-panel__sort {
  align-items: center;
  color: var(--wp--preset--color--brown);
  display: flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 15px;
  justify-content: flex-end;
  margin-left: auto;
  margin-top: 0;
  white-space: nowrap;
}

.ev-search-panel__sort label {
  align-items: center;
  display: inline-flex;
  gap: 4px;
}

.ev-search-panel__sort select {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  outline: 0;
  padding: 0;
}

.ev-search-panel__sort-arrows {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  line-height: .72;
  margin-left: 10px;
}

.ev-search-panel__sort-arrows span {
  color: var(--wp--preset--color--magenta);
  display: block;
  font-size: 30px;
  font-weight: 300;
  line-height: .72;
}

/* Archive biens - cards aligned with homepage UI Kit */
.ev-archive-biens {
  background: #f8f5f2;
}

.ev-archive-biens .ev-archive-wrap {
  max-width: none;
  padding: 64px 24px 80px;
}

.ev-archive-biens .ev-archive-header {
  margin: 0 auto 36px;
  text-align: center;
}

.ev-archive-biens .ev-archive-header .mak2com-ui-badge {
  display: table;
  margin: 0 auto 18px !important;
  padding: 5px 21px !important;
  font-family: var(--wp--preset--font-family--roc-grotesk) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.ev-archive-biens .ev-archive-header .wp-block-heading {
  color: var(--wp--preset--color--brown) !important;
  font-family: var(--wp--preset--font-family--roc-grotesk) !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
  margin: 0 !important;
}

.ev-archive-biens .ev-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 auto 42px;
  max-width: 1274px;
}

.ev-archive-biens .ev-archive-grid {
  align-items: stretch;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-left: auto;
  margin-right: auto;
  max-width: 1274px;
  padding-left: 0;
  padding-right: 0;
}

.ev-archive-biens .ev-grid__col {
  display: block;
  min-width: 0;
}

.ev-archive-biens .ev-home-card {
  background: #f8f5f2;
  border: 1px solid var(--wp--preset--color--brown);
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--wp--preset--color--brown);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 554px;
  overflow: hidden;
  padding: 19px 19px 15px;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.ev-archive-biens .ev-home-card:hover,
.ev-archive-biens .ev-home-card:focus-within {
  background: var(--wp--preset--color--yellow);
  border-color: var(--wp--preset--color--yellow);
  color: #fff;
}

.ev-archive-biens .ev-home-card__city {
  color: inherit;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: .03em;
  line-height: 1;
  margin: 0 0 12px;
  min-height: 22px;
  text-transform: uppercase;
}

.ev-archive-biens .ev-home-card__image-link {
  display: block;
  margin: 0 0 17px;
}

.ev-archive-biens .ev-home-card__img {
  aspect-ratio: 290 / 238;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.ev-archive-biens .ev-home-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 !important;
}

.ev-archive-biens .ev-home-card__title {
  color: inherit !important;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 14px;
}

.ev-archive-biens .ev-home-card__title a {
  color: inherit;
  text-decoration: none;
}

.ev-archive-biens .ev-home-card__grid {
  border: 1px solid currentColor;
  color: inherit;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  width: 100%;
}

.ev-archive-biens .ev-home-card__metric {
  align-items: center;
  background: transparent !important;
  border-bottom: 0;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  box-sizing: border-box;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 47px;
  padding: 3px 8px;
  text-align: center;
}

.ev-archive-biens .ev-home-card__metric:nth-child(2n) {
  border-right: 0;
}

.ev-archive-biens .ev-home-card__metric:nth-child(-n+2) {
  border-top: 0;
}

.ev-archive-biens .ev-home-card__metric--simple {
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  flex-direction: row;
}

.ev-archive-biens .ev-home-card__metric--simple sup {
  font-size: .5em;
  line-height: 0;
  margin-left: 1px;
  position: static;
  vertical-align: super;
}

.ev-archive-biens .ev-home-card__area-exp {
  display: inline-block;
  transform: translateY(-.08em);
}

.ev-archive-biens .ev-home-card__metric small {
  color: inherit;
  display: block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 4px;
  opacity: .9;
  text-transform: none;
}

.ev-archive-biens .ev-home-card__metric strong {
  color: inherit;
  display: block;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.ev-archive-biens .ev-home-card__metric strong span {
  font-size: 12px;
  font-weight: 400;
  margin-left: 1px;
}

.ev-archive-biens .ev-home-card__button-wrap {
  margin-top: 20px;
}

.ev-archive-biens .ev-home-card__button {
  align-items: stretch;
  background: transparent !important;
  border: 1px solid var(--wp--preset--color--yellow);
  border-radius: 0;
  box-shadow: none;
  color: var(--wp--preset--color--yellow);
  display: inline-flex;
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  min-height: 36px;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.ev-archive-biens .ev-home-card__button span:first-child {
  align-items: center;
  background: var(--wp--preset--color--yellow);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  padding: 0 17px;
}

.ev-archive-biens .ev-home-card__button span:last-child {
  align-items: center;
  background: #fff;
  color: var(--wp--preset--color--yellow);
  display: inline-flex;
  font-size: 15px;
  justify-content: center;
  width: 33px;
}

.ev-archive-biens .ev-home-card:hover .ev-home-card__button,
.ev-archive-biens .ev-home-card:focus-within .ev-home-card__button {
  border-color: var(--wp--preset--color--magenta);
}

.ev-archive-biens .ev-home-card:hover .ev-home-card__button span:first-child,
.ev-archive-biens .ev-home-card:focus-within .ev-home-card__button span:first-child {
  background: var(--wp--preset--color--magenta);
}

.ev-archive-biens .ev-home-card:hover .ev-home-card__button span:last-child,
.ev-archive-biens .ev-home-card:focus-within .ev-home-card__button span:last-child {
  color: var(--wp--preset--color--magenta);
}

@media (max-width: 980px) {
  .ev-listing-hero {
    padding: 34px 20px 0;
  }

  .ev-listing-hero::before {
    height: 94px;
    top: 240px;
  }

  .ev-listing-hero::after {
    height: 34px;
    left: 31px;
    top: 232px;
    width: 34px;
  }

  .ev-listing-hero__copy {
    display: block;
    margin-bottom: 28px;
  }

  .ev-listing-hero__copy h1 {
    font-size: 78px;
    max-width: 520px;
  }

  .ev-listing-hero__copy p {
    font-size: 25px;
    line-height: 1.18;
    margin-top: 28px;
    max-width: 560px;
  }

  .ev-search-panel {
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
    padding: 22px 16px 24px;
  }

  .ev-search-panel__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ev-search-panel__submit {
    grid-column: 1;
  }

  .ev-search-panel__meta {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .ev-filter-field--select,
  .ev-filter-field--budget {
    grid-column: 1 / -1;
  }

  .ev-filter-field,
  .ev-filter-field select,
  .ev-filter-field input {
    min-height: 46px;
  }

  .ev-filter-field select,
  .ev-filter-field input,
  .ev-filter-field--budget span {
    font-size: 17px;
  }

  .ev-filter-field select {
    padding-right: 54px;
  }

  .ev-filter-field--select::before {
    width: 46px;
  }

  .ev-filter-field--select::after {
    height: 10px;
    right: 18px;
    top: 16px;
    width: 10px;
  }

  .ev-filter-field--budget {
    align-items: center;
  }

  .ev-filter-field--budget em {
    min-height: 46px;
    width: 42px;
  }

  .ev-search-panel__submit {
    font-size: 17px;
    grid-column: 1;
    min-height: 46px;
    padding: 0 0 0 16px;
  }

  .ev-search-panel__submit span:first-child {
    display: inline;
  }

  .ev-search-panel__submit span:last-child {
    font-size: 22px;
    height: 46px;
    margin-left: auto;
    margin-right: 0;
    width: 46px;
  }

  .ev-search-panel__tags a,
  .ev-search-panel__tags button {
    font-size: 13px;
    padding: 10px 12px;
  }

  .ev-search-panel__sort {
    justify-content: flex-start;
    font-size: 17px;
    margin-left: 0;
  }

  .ev-search-panel__radius label,
  .ev-search-panel__radius output,
  .ev-search-panel__radius div {
    font-size: 13px;
  }

  .ev-archive-biens .ev-archive-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .ev-archive-biens .ev-home-card {
    min-height: 0;
  }
}


/* =============================================================================
   Responsive — fiche + archive (< 768px)
   ============================================================================= */

/* ── Section CTA Projet ────────────────────────────────────────────────────── */

/* Bouton outline cercle + texte */
.cta-btn-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--wp--preset--spacing--60);
}

.mak2com-cta-section p.has-magenta-background-color.has-roc-grotesk-font-family,
.wp-block-group.has-yellow-background-color:has(.cta-btn-wrap) > .wp-block-group:first-child > p.has-magenta-background-color.has-roc-grotesk-font-family {
  display: table !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cta-circle-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--wp--preset--color--brown);
  font-family: var(--wp--preset--font-family--roc-grotesk);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity .2s;
}
.cta-circle-btn:hover { opacity: .75; }

.cta-circle-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--wp--preset--color--brown);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

/* Rangée décorative 5 éléments */
.cta-deco-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
  gap: 12px;
  max-width: 100%;
}

/* Couple — forme organique arrondie en haut */
.cta-deco-couple {
  flex: 0 0 20%;
  max-width: 320px;
}
.cta-deco-couple img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Cercle vert */
.cta-deco-green {
  flex: 0 0 16%;
  max-width: 250px;
}
.cta-deco-green img {
  width: 100%;
  height: auto;
  display: block;
}

/* Maison magenta */
.cta-deco-house {
  flex: 0 0 17%;
  max-width: 210px;
}
.cta-deco-house svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Formes organiques sombres */
.cta-deco-shapes {
  flex: 0 0 20%;
  max-width: 300px;
}
.cta-deco-shapes svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Photo plage — cercle */
.cta-deco-beach {
  flex: 0 0 16%;
  max-width: 250px;
}
.cta-deco-beach img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {

  /* Fiche single */
  .mak2com-fiche-detail {
    padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
  }
  .ev-fiche-columns {
    flex-direction: column;
    gap: var(--wp--preset--spacing--40);
  }
  .ev-col-main,
  .ev-col-sidebar {
    flex: 1 1 100%;
    width: 100%;
  }
  .ev-summary-sticky {
    position: static;
  }
  .mak2com-fiche-cover img {
    aspect-ratio: 16 / 9;
  }
  .ev-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .ev-specs-grid {
    grid-template-columns: 1fr 1fr;
    font-size: 13px;
  }

  /* Archive listing */
  .ev-archive-wrap {
    padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
  }
  .ev-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Projet — mobile */
  .cta-deco-row { gap: 6px; }
  .cta-deco-house,
  .cta-deco-shapes { display: none; }
  .cta-deco-couple { flex: 0 0 38%; }
  .cta-deco-green  { flex: 0 0 20%; }
  .cta-deco-beach  { flex: 0 0 38%; }
}
