/***** Fonts *****/

/* manrope-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/manrope-v20-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/manrope-v20-latin-600.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/manrope-v20-latin-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* faustina-300italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Faustina";
  font-style: italic;
  font-weight: 300;
  src: url("../fonts/faustina-v23-latin-300italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* faustina-italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Faustina";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/faustina-v23-latin-italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/***** Global *****/

:root {
  --black: #1e1e1e;
  --lightgrey: #f0f0f0;
  --white: #ffffff;
  --lightbrown: #c8b39f;
  --darkbrown: #a69687;
  --darkred: #855552;
  --darkblue: #33414f;
  --mediumblue: #526c85;
  --greyblue: #99a7b5;
}

.white-color {
  color: var(--white);
}

.black-color {
  color: var(--black);
}

.grey-color {
  color: var(--lightgrey);
}

.lightbrown-color {
  color: var(--lightbrown);
}

.darkbrown-color {
  color: var(--darkbrown);
}

.darkdred-color {
  color: var(--darkred);
}

.darkblue-color {
  color: var(--darkblue);
}

.mediumblue-color {
  color: var(--mediumblue);
}

.greyblue-color {
  color: var(--greyblue);
}

.bg-brown {
  background: var(--lightbrown);
}

.bg-blue {
  background: var(--darkblue);
}

.bg-red {
  background: var(--darkred);
}

.bg-mediumblue {
  background: var(--mediumblue);
}

.bg-greyblue {
  background: var(--greyblue);
}

body {
  font-family: "Manrope";
  font-weight: 400;
  font-size: clamp(1.4rem, 1.343rem + 0.143vi, 1.6rem);
  line-height: calc(14 / 10);
  color: var(--black);
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: calc(13 / 10);
}

h1 {
  font-size: clamp(3rem, 2.486rem + 1.286vi, 4.8rem);
  margin-bottom: clamp(1.6rem, 1.371rem + 0.571vi, 2.4rem);
}

h2 {
  font-size: clamp(3.4rem, 3.457rem + -0.143vi, 3.2rem);
  margin-bottom: clamp(1.6rem, 1.371rem + 0.571vi, 2.4rem);
}

h3 {
  font-size: clamp(1.8rem, 1.686rem + 0.286vi, 2.2rem);
  margin-bottom: clamp(0.8rem, 0.686rem + 0.286vi, 1.2rem);
}

h4 {
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  margin-bottom: clamp(0.8rem, 0.686rem + 0.286vi, 1.2rem);
}

a {
  display: inline-block;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  color: var(--mediumblue);
  text-decoration: none;
}

.subtitle {
  font-family: "Faustina";
  font-style: italic;
  font-weight: normal;
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  margin-bottom: (1.2rem, 1.086rem + 0.286vi, 1.6rem);
}

.acf-content a {
  color: var(--darkblue);
}

.radius-big {
  border-radius: 2.5rem;
}

.radius {
  border-radius: 1.5rem;
}

/***** Helpers *****/

.no-scroll {
  overflow: hidden;
}

/***** Layout *****/

main {
  position: relative;
  overflow: hidden;
  display: grid;
}

.container {
  position: relative;
  display: grid;
  width: 90%;
  margin-inline: auto;
}

main .container,
footer .container {
  padding-block: clamp(4.8rem, 3.935rem + 2.703vi, 8.8rem);
}

.main-footer {
  position: relative;
  z-index: 1;
}

@media (min-width: 48em) {
  /* équivalent 768px */
  .container {
    max-width: 72.8rem;
  }
}

@media (min-width: 62em) {
  /* équivalent 992px */
  .container {
    max-width: 95.2rem;
  }
}

@media (min-width: 75em) {
  /* équivalent 1200px */
  .container {
    max-width: 116rem;
  }
}

@media (min-width: 90em) {
  /* équivalent 1440px */
  .container {
    max-width: 131rem;
  }
}

/***** Components *****/

/** Button component (primary and secondary) **/

.btn,
.primary-menu li:last-child a {
  align-self: self-start;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-style: normal;
  font-weight: 700;
  padding-inline: 1.6rem;
  padding-block: 1.2rem;
  border-radius: 5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-top: clamp(3.2rem, 2.971rem + 0.571vi, 4rem);
  transition: transform 0.3s ease;
}

.primary-menu li:last-child a {
  color: var(--black);
}

.btn:hover,
.primary-menu li:last-child a:hover {
  transform: translateY(-3px);
}

.btn-arrow {
  display: block;
  width: 24px;
  height: 14px;
  overflow: visible;
  flex-shrink: 0;
}

.btn-arrow__shaft {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: d 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-arrow__head {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 14px 6px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover .btn-arrow__shaft,
.primary-menu li:last-child a:hover .btn-arrow__shaft {
  d: path("M0,6 L16,6");
  /* +6px = même valeur que translateX */
}

.btn:hover .btn-arrow__head,
.primary-menu li:last-child a:hover .btn-arrow__head {
  transform: translateX(6px);
}

/** back-to-top **/

#back-top {
  display: none;
  width: clamp(5.6rem, 5.254rem + 1.081vi, 7.2rem);
  height: clamp(5.6rem, 5.254rem + 1.081vi, 7.2rem);
  position: fixed;
  bottom: 1rem;
  right: 2rem;
  z-index: 1000;
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  padding: 1rem;
  transition: 0.3s;
  transform: rotate(-90deg);
}

#back-top::before {
  content: url("../img/back-top.svg");
  position: absolute;
  inset: 0;
}

#back-top:hover::before,
#back-top:focus::before,
#back-top:active::before {
  content: url("../img/arrow_next_slider_hover.svg");
  position: absolute;
  inset: 0;
}

/** Header **/

.header {
  background: transparent;
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 2.4rem;
  background-color: transparent;
  transition:
    background-color 0.5s,
    padding 1s;
}

.logo {
  display: grid;
  align-items: center;
}

.menu-item a,
.link-item a {
  color: var(--black);
  position: relative;
  z-index: 1;
  display: block;
  text-decoration: none;
  transition: 0.5s;
}

.current-menu-item a[aria-current="page"],
.menu-item a:hover,
.menu-item a:focus,
.menu-item a:active,
.link-item a:hover,
.link-item a:focus,
.link-item a:active {
  color: var(--darkred);
}

.primary-menu li:last-child a {
  background: var(--lightbrown);
}

.header.sticky {
  z-index: 2000;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(51, 65, 79, 1);
  box-shadow: 0px 11px 50px 35px rgba(0, 0, 0, 0.1);
}

.header.sticky .container {
  padding-block: 1.6rem;
}

.primary-menu li:last-child {
  padding: 0rem;
  background: transparent;
}

.single-annonces .header {
  background: var(--darkblue);
}

@media (max-width: 61.999em) {
  .logo img {
    width: clamp(20rem, 15.652rem + 10.87vi, 24rem);
  }

  .header.sticky .logo img {
    width: clamp(16rem, 14.857rem + 2.857vi, 20rem);
  }

  .toggle-menu {
    padding: 0;
    border: 0;
    background-color: transparent;
    margin-top: 0.8rem;
  }

  .toggle-menu rect {
    transition: 0.3s;
    fill: var(--white);
  }

  .toggle-menu rect:first-child {
    transform-origin: top left;
  }

  .toggle-menu rect:last-child {
    transform-origin: bottom left;
  }

  .toggle-menu[aria-expanded="true"] rect:nth-child(2) {
    opacity: 0;
  }

  .toggle-menu[aria-expanded="true"] rect:nth-child(1) {
    transform: translateX(0.5rem) rotate(45deg);
  }

  .toggle-menu[aria-expanded="true"] rect:nth-child(3) {
    transform: translateX(0.5rem) rotate(-45deg);
  }

  .menu-item a,
  .link-item a,
  .primary-menu li:last-child a {
    font-size: 1.6rem;
  }

  .primary-menu li:last-child a {
    color: var(--black);
  }

  .main-nav .menu {
    visibility: hidden;
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-content: center;
    row-gap: 4rem;
    padding-inline: 2.4rem;
    padding-top: 12rem;
    background-color: var(--mediumblue);
    opacity: 0;
    transform: translateX(100vw);
    transition: ease-out 0.5s;
  }

  .main-nav .menu:not([hidden]) {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav .primary-menu {
    display: grid;
    row-gap: 1.6rem;
  }

  .main-nav .menu-item {
    width: 100%;
    background: var(--greyblue);
    padding: 9px 12px;
    box-sizing: border-box;
    border-radius: 0.4rem;
  }
}

@media (min-width: 62em) {
  .toggle-menu {
    display: none;
  }

  .header.sticky .logo img {
    width: clamp(14rem, 13.429rem + 1.429vi, 16rem);
  }

  .main-nav .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: clamp(3.2rem, -3.675rem + 6.931vi, 8.8rem);
  }

  .header.sticky .main-nav .menu {
    margin-top: 0rem;
  }

  .primary-menu {
    display: flex;
    align-items: center;
    column-gap: clamp(2.4rem, -2.511rem + 4.95vi, 6.4rem);
  }

  .menu-item a,
  .link-item a {
    font-size: clamp(1.2rem, 0.709rem + 0.495vi, 1.6rem);
    color: var(--white);
  }

  .current-menu-item a[aria-current="page"],
  .menu-item a:hover,
  .menu-item a:focus,
  .menu-item a:active,
  .link-item a:hover,
  .link-item a:focus,
  .link-item a:active {
    color: var(--lightbrown);
  }

  .primary-menu li:last-child a {
    margin-top: 0rem;
  }
}

/** footer **/

.footer-brand,
.footer-contact {
  max-width: 320px;
}

.footer-logo {
  grid-row: 1/2;
  margin-bottom: 3.2rem;
}

.footer-contact-text {
  grid-row: 2/3;
  margin-bottom: 1.6rem;
}

.main-nav-links {
  grid-row: 3/4;
}

.useful-links {
  grid-row: 4/5;
}

.footer-inner {
  display: grid;
  row-gap: 3.2rem;
}

.footer-title {
  font-size: clamp(2rem, 1.943rem + 0.143vi, 2.2rem);
  margin-bottom: 1.6rem;
}

.link-menu {
  display: inline-block;
  flex-direction: column;
  list-style: none;
}

.link-menu .menu-item a {
  color: var(--white);
  margin-bottom: 0.8rem;
}

.link-menu .current-menu-item a[aria-current="page"],
.link-menu .menu-item a:hover,
.link-menu .menu-item a:focus,
.link-menu .menu-item a:active,
.link-menu .link-item a:hover,
.link-menu .link-item a:focus,
.link-menu .link-item a:active {
  color: var(--lightbrown);
}

@media (min-width: 62em) {
  .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 6.4rem;
  }
}

/** Page interieure type **/

/* Hero */

.hero-page {
  position: relative;
}

.hero-page::before,
.annonces-hero::before,
.realisation-hero::after,
.section-approche__inner::after {
  content: "";
  position: absolute;
  left: 0rem;
  bottom: 0rem;
  width: clamp(40rem, 37.143rem + 7.143vi, 50rem);
  height: clamp(31.7rem, 29.414rem + 5.714vi, 39.7rem);
  background-image: url("../img/deco-bottom-blue.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-page .container {
  padding-top: clamp(13.6rem, 13.371rem + 0.571vi, 14.4rem);
}

.hero-page-inner {
  display: grid;
  gap: 3.2rem;
}

.hero-page-media {
  overflow: hidden;
  aspect-ratio: 1.3 / 1;
}

.hero-page-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 62em) {
  .hero-page-inner {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(6.4rem, 4.614rem + 2.326vi, 8.8rem);
    padding-inline: 5%;
  }

  .hero-page-content {
    padding-block: 4rem;
  }

  .hero-page-media {
    aspect-ratio: auto;
  }

  .hero-page-media img {
    width: 100%;
    height: 100%;
  }
}

/** editeur de texte enrichi **/

.surtitle {
  position: relative;
  font-family: "Faustina";
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  line-height: calc(14 / 10);
  color: var(--black);
  display: inline-block;
  padding-left: 1.2rem;
  margin-bottom: clamp(0.8rem, 0.686rem + 0.286vi, 1.2rem);
}

.surtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 2.4rem;
  background: var(--darkred);
  /* ton marron */
}

.wysiwyg-content h3,
.wysiwyg-content h4 {
  margin-top: clamp(2.4rem, 2.171rem + 0.571vi, 3.2rem);
}

.wysiwyg-content h3:first-child,
.wysiwyg-content h4:first-child {
  margin-top: 0;
}

/* reset si précédé par h2 */
.wysiwyg-content h2 + h3 {
  margin-top: 0;
}

/* reset si précédé par une image */
.wysiwyg-content img + h3 {
  margin-top: 0;
}

.wysiwyg-content img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-block: 2.4rem;
}

/* wrapper auto des images */
.wysiwyg-content p:has(img),
.wysiwyg-grid p {
  aspect-ratio: 1.3 / 1;
  overflow: hidden;
  border-radius: 2.5rem;
}

/* reset margin image dans wrapper */
.wysiwyg-content p:has(img) img {
  margin: 0;
}

.wysiwyg-grid {
  display: grid;
  gap: 2.4rem;
  margin-block: clamp(3.2rem, 2.743rem + 1.143vi, 4.8rem);
  grid-template-columns: 1fr;
}

/* responsive */
@media (min-width: 62em) {
  .wysiwyg-grid:has(p:nth-child(2)) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 75em) {
  .section-text-full .container {
    padding-inline: 5%;
  }
}

@media (min-width: 90em) {
  .section-text-full .container {
    padding-inline: 10%;
  }
}

/** Texte et image **/

.section-text-image__inner {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

/* ordre mobile = contenu puis image */
.section-text-image__media {
  order: 2;
}

.section-text-image__content {
  order: 1;
}

/* desktop */
@media (min-width: 62em) {
  .section-text-image__inner {
    flex-direction: row;
    align-items: stretch;
    gap: 6.4rem;
  }

  .section-text-image__content {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(3.2rem, 2.605rem + 0.775vi, 4rem);
    /* optionnel */
  }

  .section-text-image__media {
    width: 45%;
  }

  /* inversion */
  .section-text-image.position-gauche .section-text-image__inner {
    flex-direction: row-reverse;
  }
}

/* image */
.section-text-image__media {
  overflow: hidden;
  border-radius: 2.5rem;
  height: 100%;
}

.section-text-image__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/** Chiffres clés **/

.section-stats__inner {
  position: relative;
  overflow: hidden;
}

.section-stats__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.section-stats__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-stats__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    -90deg,
    rgba(51, 65, 79, 0) 0%,
    rgba(51, 65, 79, 0.8) 61%,
    rgba(51, 65, 79, 1) 100%
  );
}

.section-stats__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.4rem;
  padding: 2.4rem;
  height: 100%;
}

.stat-item {
  display: flex;
  justify-items: start;
  align-items: center;
  gap: 1.2rem;
}

.stat-number {
  font-size: 6.4rem;
  font-weight: 700;
}

.stat-label {
  font-family: "Faustina";
  font-style: italic;
  font-weight: normal;
  font-size: clamp(2rem, 1.886rem + 0.286vi, 2.4rem);
  max-width: 10.4rem;
}

@media (min-width: 62em) {
  .section-stats__content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 4rem;
    height: 100%;
  }

  .section-stats__inner {
    aspect-ratio: 3 / 1;
  }

  .section-stats__overlay {
    background: linear-gradient(
      180deg,
      rgba(51, 65, 79, 0) 0%,
      rgba(51, 65, 79, 0.8) 61%,
      rgba(51, 65, 79, 1) 100%
    );
  }

  .stat-label {
  max-width: 19.4rem;
}

}

@media (min-width: 90em) {
  .section-stats__content {
    width: 96%;
    margin-inline: auto;
  }
}

/** Liste d'encarts avec icônes **/

.section-cards-4__header {
  text-align: center;
  margin-bottom: 4.8rem;
}

.section-cards-4__grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: 1fr;
}

.card {
  padding: 4rem;
  height: 100%;
  box-shadow: 0px 4px 20px rgba(30, 30, 30, 0.1);
}

.card--classic {
  display: grid;
  text-align: center;
}

.card__icon {
  display: grid;
  justify-items: center;
  margin-bottom: 1.6rem;
}

.card__icon img {
  max-width: 6rem;
  max-height: 6rem;
}

.card__title {
  margin-bottom: 0.8rem;
}

.card__text {
  opacity: 0.7;
}

/* ===== CTA ===== */

.card--cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===== RESPONSIVE ===== */

@media (min-width: 48em) {
  .section-cards-4__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 75em) {
  .section-cards-4__header {
    width: 66%;
    margin-inline: auto;
  }

  .section-cards-4__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/** Encarts équipes **/

.section-team__grid {
  margin-block: clamp(2.4rem, 2.171rem + 0.571vi, 3.2rem);
  display: grid;
  gap: 2.4rem;
}

.team-card {
  padding: clamp(2.4rem, 1.943rem + 1.143vi, 4rem);
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.team-card .wysiwyg-content h4:first-child {
  margin-top: clamp(2.4rem, 2.171rem + 0.571vi, 3.2rem);
}

.team-card__top {
  display: grid;
  gap: clamp(2.4rem, 2.171rem + 0.571vi, 3.2rem);
}

.team-card__photo img {
  border-radius: 1.5rem;
  aspect-ratio: 1 / 1.3;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.team-card__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(2.4rem, 2.171rem + 0.571vi, 3.2rem);
}

.tag {
  position: relative;
  color: var(--white);
  padding: 0.6rem 1rem;
  padding-left: 4rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.6rem;
  transition: transform 0.3s ease;
}

.tag.tag-linkedin {
  padding-left: 3.5rem;
  aspect-ratio: 1 / 0.8;
}

.tag::before {
  content: "";
  position: absolute;
  left: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.tag-phone::before {
  background-image: url("../img/Phone.svg");
}

.tag-email::before {
  background-image: url("../img/Envelope.svg");
}

.tag-linkedin::before {
  background-image: url("../img/Linkedin.svg");
}

.tag:hover {
  transform: translateY(-3px);
  background: var(--mediumblue);
}

.team-card__content {
  border-top: 1px solid var(--darkbrown);
}

.team-card__quote {
  text-align: center;
  background: var(--darkbrown);
  padding: 1.6rem;
  font-family: "Faustina";
  font-style: italic;
  font-weight: normal;
  font-size: clamp(1.6rem, 1.543rem + 0.143vi, 1.8rem);
  margin-top: auto;
}

@media (min-width: 62em) {
  .section-team__grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-card__top {
    grid-template-columns: 3fr 4fr;
  }
}

@media (min-width: 90em) {
  .section-team .container {
    width: 80%;
    margin-inline: auto;
  }
}

/** Liste d'encarts avec numéros **/

.section-cards-3__grid {
  display: grid;
  gap: 2.4rem;
}

.card-3 {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
  box-shadow: 0px 4px 20px rgba(30, 30, 30, 0.1);
}

.card-3__number {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Faustina";
  font-style: italic;
  font-size: clamp(2.4rem, 1.714rem + 1.714vi, 4.8rem);
  margin-inline: auto;
  padding: clamp(0.8rem, 0.686rem + 0.286vi, 1.2rem);
}

.card-3 h3 {
  text-align: center;
}

.card-3__cta {
  margin-inline: auto;
}

.card-3__content {
  padding-block: 2.4rem;
  border-top: solid 1px var(--lightgrey);
  border-bottom: solid 1px var(--lightgrey);
}

@media (min-width: 62em) {
  .section-cards-3__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/** FAQ **/

.section-faq {
  background: var(--lightbrown);
}

.section-faq__inner {
  position: relative;
  display: grid;
  gap: 4rem;
  padding: clamp(3.2rem, 0.457rem + 6.857vi, 12.8rem);
  z-index: 5;
}

/* list */
.section-faq__list {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

/* item */
.faq-item {
  border-bottom: 1px solid var(--darkbrown);
}

.faq-item__trigger {
  transition: transform 0.3s ease;
}

.faq-item .wysiwyg-content {
  padding-bottom: 3.2rem;
  padding-left: 0.8rem;
}

/* trigger */
.faq-item__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-item__trigger h3 {
  font-size: clamp(1.8rem, 1.309rem + 0.495vi, 2.2rem);
  max-width: 90%;
}

/* icon + */
.faq-item__icon {
  position: relative;
  width: 12px;
  height: 12px;
  margin-bottom: clamp(1.8rem, 1.309rem + 0.495vi, 2.2rem);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--black);
  transition: 0.3s;
}

.faq-item__icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  height: 100%;
  width: 2px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* open state */
.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
}

/* content */
.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* hover + focus */
.faq-item__trigger:hover h3,
.faq-item__trigger:focus h3 {
  color: var(--darkred);
}

/* accessibilité focus */
.faq-item__trigger:focus-visible {
  outline: 2px solid var(--darkred);
  outline-offset: 4px;
}

/* état ouvert */
.faq-item.is-open h3 {
  color: var(--darkred);
}

/* hover + focus */
.faq-item__trigger:hover .faq-item__icon::before,
.faq-item__trigger:hover .faq-item__icon::after,
.faq-item__trigger:focus .faq-item__icon::before,
.faq-item__trigger:focus .faq-item__icon::after {
  background: var(--mediumblue);
}

/* open */
.faq-item.is-open .faq-item__icon::before {
  background: var(--mediumblue);
}

/* layout */
@media (min-width: 75em) {
  .section-faq {
    background: transparent;
  }

  .section-faq__inner {
    position: relative;
    overflow: hidden;
    /* important */
    display: grid;
    grid-template-columns: 3fr 5fr;
    column-gap: clamp(4.8rem, 2.836rem + 1.98vi, 6.4rem);
    z-index: 5;
  }

  .section-map.bg-brown {
    position: relative;
  }

  .section-faq__inner::before,
  .section-map.bg-brown::before {
    content: "";
    position: absolute;
    left: -2rem;
    bottom: 0rem;
    width: clamp(40rem, 37.714rem + 5.714vi, 48rem);
    height: clamp(35.8rem, 34.571rem + 3.071vi, 40.1rem);
    background-image: url("../img/deco-faq.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    pointer-events: none;
    z-index: -1;
  }

  .section-map.bg-brown::before {
    z-index: 2;
  }
}

.map-popup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  min-width: 220px;
}

.map-popup img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 1.2rem;
}

.map-popup__content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.map-popup__content span {
  font-size: 1.2rem;
  opacity: 0.7;
}

.map-popup__content strong {
  font-size: 1.5rem;
  line-height: 1.3;
}

/** Section lots **/

.section-lots__grid {
  display: grid;
  gap: 2.4rem;
  margin-top: clamp(3.2rem, 2.743rem + 1.143vi, 4.8rem);
}

/* card */
.lot-card {
  padding: 2.4rem;
  box-shadow: 0px 4px 20px rgba(30, 30, 30, 0.1);
}

.lot-card__title {
  text-align: center;
  margin-bottom: 1.6rem;
}

.lot-card__divider {
  height: 1px;
  background: var(--lightgrey);
}

/* stats */
.lot-card__stats {
  font-family: "Faustina";
  font-style: italic;
  font-size: clamp(2rem, 1.886rem + 0.286vi, 2.4rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-block: 2.4rem;
  flex-wrap: wrap;
}

.lot-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--mediumblue);
  padding: 1.2rem 2rem;
  border-radius: 1rem;
}

.lot-stat__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* bottom */
.section-lots__bottom {
  margin-top: clamp(3.2rem, 2.743rem + 1.143vi, 4.8rem);
}

/* CTA */
.section-lots__cta {
  margin-top: 2.4rem;
}

@media (min-width: 62em) {
  .section-lots__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 75em) {
  .section-lots__inner {
    width: 80%;
    margin-inline: auto;
  }
}

/**carousel galerie**/

.section-carousel__inner {
  display: grid;
  gap: 4rem;
  padding: clamp(2.4rem, 0.571rem + 4.571vi, 8.8rem);
}

@media (min-width: 90em) {
  .section-carousel__inner {
    grid-template-columns: 5fr 7fr;
    column-gap: clamp(6.4rem, 3.453rem + 2.97vi, 8.8rem);
    align-items: center;
  }
}

#carousel-main .splide__slide img,
#carousel-main-annonce .splide__slide img {
  width: auto;
  height: 100%;
  object-fit: cover;
  border-radius: 2.5rem;
  aspect-ratio: 1.3 / 1;
}

#carousel-thumbs,
#carousel-thumbs-annonce {
  margin-top: 1.6rem;
}

#carousel-thumbs .splide__slide,
#carousel-thumbs-annonce .splide__slide {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 1.5rem;
}

#carousel-thumbs .splide__slide::after,
#carousel-thumbs-annonce .splide__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.5);
  /* 👈 ton rgba(30,30,30,50%) */
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#carousel-thumbs .splide__slide.is-active::after,
#carousel-thumbs-annonce .splide__slide.is-active::after {
  opacity: 0;
}

#carousel-thumbs .splide__slide:hover::after,
#carousel-thumbs-annonce .splide__slide:hover::after {
  opacity: 0.2;
}

#carousel-thumbs img,
#carousel-thumbs-annonce img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

#carousel-thumbs .splide__arrows,
#carousel-thumbs-annonce .splide__arrows {
  display: none;
}

#carousel-main .splide__pagination.splide__pagination--ltr,
#carousel-main-annonce .splide__pagination.splide__pagination--ltr {
  display: none;
}

@media (max-width: 62em) {
  #carousel-thumbs,
  #carousel-thumbs-annonce {
    padding-bottom: 0.8rem;
  }

  .thumbs-grid #carousel-thumbs .splide__list,
  .thumbs-grid #carousel-thumbs-annonce .splide__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
  }

  .thumbs-grid #carousel-thumbs .splide__slide,
  .thumbs-grid #carousel-thumbs-annonce .splide__slide {
    width: 100%;
    height: 64px;
    transition: opacity 0.3s ease;
  }

  #carousel-main .splide__slide img,
  #carousel-main-annonce .splide__slide img {
    aspect-ratio: 1.4 / 1;
  }
}

/** Gallery photos **/

.section-gallery__grid {
  margin-block: clamp(2.4rem, 2.171rem + 0.571vi, 3.2rem);
  display: grid;
  gap: 2.4rem;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2.5rem;
}

/* hauteur uniforme des cards */
.gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* compteur */
.gallery-more {
  position: absolute;
  font-family: "Faustina";
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2rem, 1.886rem + 0.286vi, 2.4rem);
  bottom: 1.6rem;
  right: 1.6rem;
  background: var(--darkblue);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 1rem;
}

/* hover overlay */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* DESKTOP */
@media (min-width: 62em) {
  .section-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE */
@media (max-width: 62em) {
  .section-gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery-img {
    height: 280px;
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.is-open {
  display: flex;
}

/* overlay */
.gallery-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

/* container centré */
.gallery-lightbox__content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* bouton close */
.gallery-lightbox__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 20;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
}

.gallery-lightbox__slider {
  width: 100%;
  max-width: 1100px;
}

/* important pour centrage */
#lightbox-slider .splide__track {
  display: flex;
  align-items: center;
}

/* slides centrées */
#lightbox-slider .splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*  hauteur uniforme */
#lightbox-slider img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  border-radius: 2rem;
}

#lightbox-slider .splide__arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#lightbox-slider .splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  border: none;
  cursor: pointer;
}

/* positions desktop */
#lightbox-slider .splide__arrow--prev {
  left: -70px;
}

#lightbox-slider .splide__arrow--next {
  right: -70px;
}

#lightbox-slider .splide__arrow svg {
  fill: white;
  width: 16px;
  height: 16px;
}

/* correction sens flèche */
#lightbox-slider .splide__arrow--prev svg {
  transform: rotate(180deg);
}

#lightbox-slider .splide__arrow:hover {
  background: rgba(0, 0, 0, 1);
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 62em) {
  #lightbox-slider img {
    height: 30vh;
  }

  #lightbox-slider .splide__arrow--prev {
    left: 10px;
  }

  #lightbox-slider .splide__arrow--next {
    right: 10px;
  }
}

html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
  height: 100%;
}

body.no-scroll {
  width: 100%;
}

/** SECTION DOWNLOADS **/

.section-downloads .container {
  padding-block: (2.4rem, 2.171rem + 0.571vi, 3.2rem);
}

.section-downloads__list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 3.2rem;
}

/* item */
.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--lightgrey);
  padding: 1.6rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s ease;
}

/* hover */
.download-item:hover {
  background: #eaeaea;
  transform: translateY(-2px);
}

/* label */
.download-item__label {
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  font-weight: 700;
}

/* icon */
.download-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--darkred);
  border-radius: 1rem;
  flex-shrink: 0;
  transition: 0.3s ease;
}

/* svg */
.download-item__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* hover icon */
.download-item:hover .download-item__icon {
  transform: scale(1.05);
}

@media (min-width: 62em) {
  .download-item {
    max-width: 50%;
  }
}

/** CTA **/

.section-cta {
  background: linear-gradient(
    to bottom,
    white 0%,
    white 68%,
    var(--darkblue) 68%,
    var(--darkblue) 100%
  );
  margin-bottom: -6rem;
}

.section-cta .container {
  position: relative;
  max-width: 50%;
  margin-inline: auto;
}

.section-cta__content {
  text-align: center;
}

.section-cta__actions {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  flex-wrap: wrap;
  margin-top: 3.2rem;
}

/* bouton CTA */
.section-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  padding: 2.4rem 3.2rem;
  border-radius: 1.5rem;
  min-width: 30rem;
  font-size: clamp(2rem, 1.886rem + 0.286vi, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: white;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.section-cta .label-btn {
  max-width: 15rem;
}

/* hover global */
.section-cta .cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== FLÈCHE ===== */

.section-cta .btn-arrow {
  width: 32px;
  height: 18px;
  flex-shrink: 0;
  overflow: visible;
  transition: transform 0.3s ease;
}

.section-cta .btn-arrow__shaft {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: d 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-cta .btn-arrow__head {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 14px 6px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* animation */
.section-cta .cta-btn:hover .btn-arrow__shaft {
  d: path("M0,6 L16,6");
}

.section-cta .cta-btn:hover .btn-arrow__head {
  transform: translateX(6px);
}

.section-cta .cta-btn:hover .btn-arrow {
  transform: translateX(2px);
}

/* responsive */
@media (max-width: 62em) {
  .section-cta {
    background: var(--white);
    margin-bottom: 0rem;
  }

  .section-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .section-cta .cta-btn {
    width: 100%;
    max-width: 30rem;
  }

  .section-cta .container {
    max-width: 100%;
  }
}

/** SECTION MAP **/

.section-map__header {
  margin-inline: auto;
  margin-bottom: clamp(2.4rem, 2rem + 1vi, 4rem);
}
/* MAP CONTAINER */
.section-map__map {
  aspect-ratio: 1.7 / 1;
  width: 100%;
  height: auto;
  border-radius: 2.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

@media (min-width: 90em) {
  .section-map .container {
    max-width: 60%;
  }
}

/* LEAFLET FIX */
.leaflet-container {
  font-family: "Manrope";
}

/* POPUP */
.leaflet-popup-content-wrapper {
  border-radius: 1rem;
  font-size: 1.4rem;
}

.leaflet-popup-content {
  font-weight: 600;
}

/* POI MARKERS (si custom plus tard) */
.custom-poi {
  background: var(--mediumblue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1.4rem;
}

/*** Single Annonce ***/

/** hero **/

/* GRID */

.annonce-hero__grid {
  display: grid;
  gap: 4rem;
  margin-top: 6.4rem;
}

.annonce-hero__content {
  align-self: self-start;
}

/* LOCATION */
.annonce-hero__location {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
}

/* PRICE */
.annonce-hero__price {
  font-family: 'Faustina';
  font-style: italic;
  font-weight: 700;
  border-radius: 0.5rem;
  padding-inline: 0.8rem;
  padding-block: 0.4rem;
}

/* INTRO */
.annonce-hero__intro {
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
}

/* ===== MEDIA ===== */

.annonce-hero__media {
  display: grid;
  width: 100%;
}

/** ===== TOP HERO ===== */

.annonce-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

/* ===== LOCATION ===== */
.annonce-hero__location img {
  width: clamp(2rem, 1.886rem + 0.286vi, 2.4rem);
  height: clamp(2rem, 1.886rem + 0.286vi, 2.4rem);
  object-fit: contain;
}

/* ===== RIGHT BLOCK ===== */

.annonce-hero__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 2rem;
  position: relative;
}

/* séparation verticale */
.annonce-hero__price-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--darkred);
}

/* statut */
.annonce-hero__status {
  font-size: 1.6rem;
  color: var(--darkblue);
  margin-bottom: 0.4rem;
}

/* prix */
.annonce-hero__price {
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  font-weight: 700;
}

/* images */
.annonce-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2.5rem;
}

/* ratio desktop */
@media (min-width: 62em) {
  .annonce-hero__media img {
    aspect-ratio: 1.3 / 1;
  }

  .annonce-hero__content {
    padding-top: clamp(4rem, 0.071rem + 3.96vi, 7.2rem);
  }
}

@media (min-width: 75em) {
  .annonce-hero__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: clamp(8.8rem, 6.836rem + 1.98vi, 10.4rem);
  }
}

/* mobile */
@media (max-width: 62em) {
  .annonce-hero__top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/** ===== LAYOUT ===== */

.annonce-layout__grid {
  display: grid;
  row-gap: 4rem;
  column-gap: clamp(4.8rem, 1.6rem + 2.667vi, 6.4rem);
}

/* MOBILE */
.annonce-sidebar {
  order: 1;
}

.annonce-content {
  order: 2;
}

/** ===== SIDEBAR DESIGN FINAL ===== */

.annonce-sidebar__inner {
  background: var(--white);
  padding: clamp(3.2rem, 2.971rem + 0.571vi, 4rem);
  border-radius: 2.5rem;
  box-shadow: 0px 4px 20px rgba(30, 30, 30, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* TITLE */
.annonce-sidebar__title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  color: var(--darkblue);
  margin-bottom: 1.6rem;
  position: relative;
}

/* séparation */
.annonce-sidebar__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--lightgrey);
  margin-top: 1.6rem;
}

/* ===== STATS ===== */

.annonce-sidebar__stats {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

/* card */
.stat {
  background: var(--lightgrey);
  border-radius: 1.5rem;
  padding-inline: 2rem;
  padding-block: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: "Faustina";
  font-style: italic;
  font-size: 2rem;
  color: var(--black);
}

/* option : icône */
.stat::before {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
}

/* icônes spécifiques */
.stat:nth-child(1)::before {
  width: 32px;
  height: 32px;
  background-image: url("../img/bed-black.svg");
}

.stat:nth-child(2)::before {
  width: 32px;
  height: 32px;
  background-image: url("../img/bath-black.svg");
}

.stat:nth-child(3)::before {
  width: 24px;
  height: 24px;
  background-image: url("../img/surface-black.svg");
}

/* ===== CTA ===== */

.annonce-sidebar__cta {
  margin-top: 1rem;
  text-align: center;
}

.annonce-sidebar__cta p {
  font-weight: 700;
  color: var(--darkblue);
}

.annonce-sidebar__cta .btn {
  margin-top: 2.4rem;
}

.annonce-content .container,
.realisation-content .container {
  padding-block: 4rem;
  width: 100%;
}

/* ===== MOBILE ===== */

@media (max-width: 75em) {
  .stat {
    background: var(--lightgrey);
    border-radius: 1rem;
    padding-inline: 1.4rem;
  }

  .annonce-sidebar__stats {
    justify-content: center;
  }

  .annonce-sidebar__content {
    margin-inline: auto;
  }
}

@media (min-width: 75em) {
  .annonce-layout__grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }

  .annonce-sidebar {
    position: relative;
  }

  .annonce-content .download-item {
    max-width: 80%;
  }

  .annonce-content .gallery-img,
  .realisation-content .gallery-img {
    height: 200px;
  }

  .annonce-content .section-lots__inner,
  .realisation-content .section-lots__inner {
    width: 100%;
  }

  .annonce-content .section-text-full .container,
  .realisation-content .section-text-full .container{
    padding-inline: 0;
  }

  .annonce-layout {
    margin-top: -7.2rem;
  }

  .annonce-sidebar {
    margin-top: -10rem;
  }
}

/** ===== SECTION IMG FULL ===== */

.section-img-full .container {
  padding-block: 0rem;
}

/* option no margin */
.section-img-full.no-margin {
  margin: 0;
}

/* container interne */
.section-img-full__inner {
  overflow: hidden;
  border-radius: 2.5rem;
}

/* image */
.section-img-full__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* FULL WIDTH */
.section-img-full.full-width {
  width: 100%;
  max-width: 100%;
}

/* si tu veux un effet edge-to-edge */
.section-img-full.full-width .section-img-full__inner {
  border-radius: 0;
}

/* ======================================================
   SECTION SIMILAR
====================================================== */

.section-similar {
  position: relative;
}

.section-similar__header {
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 2rem + 2vi, 4rem);
}

@media (min-width: 62em) {
  .section-similar__header {
    max-width: 66%;
  }
}

/* ======================================================
   FLÈCHES
====================================================== */

.similar-arrow {
  position: absolute;
  z-index: 20;
  top: 30%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--darkblue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.similar-arrow:hover {
  background: var(--darkred);
}

.similar-arrow svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
}

.similar-arrow--prev {
  left: 0rem;
}

.similar-arrow--next {
  right: 0rem;
}

@media (max-width: 75em) {
  .similar-arrow {
    width: 32px;
    height: 32px;
  }

  .similar-arrow {
    top: 20%;
  }
}

/* ======================================================
   WRAPPER — clippe uniquement le slider
====================================================== */

.section-similar__slider-wrapper {
  position: relative;
  overflow: hidden;
}

/* Fondu gauche/droite */
.section-similar__slider-wrapper::before,
.section-similar__slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(4rem, 2.171rem + 4.571vi, 10.4rem);
  z-index: 10;
  pointer-events: none;
}

/* ======================================================
   SLIDER
====================================================== */

.section-similar__slider {
  position: relative;
}

.section-similar .splide__arrows {
  display: none;
}

.section-similar .splide__track {
  overflow: visible;
  padding-block: 1rem;
}

.section-similar .splide__slide {
  width: clamp(45rem, 37.558rem + 9.69vi, 55rem);
  opacity: 0.5;
  filter: grayscale(60%);
  transition:
    opacity 0.5s ease,
    filter 0.5s ease;
}
.section-similar .splide__slide.is-visible {
  opacity: 1;
  filter: grayscale(0);
}

@media (max-width: 48em) {
  .section-similar .splide__slide {
    width: 75vw;
  }
}

.section-similar__slider-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.section-similar__slider-wrapper::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.section-similar.is-static .section-similar__slider-wrapper::before,
.section-similar.is-static .section-similar__slider-wrapper::after {
  display: none;
}

/* ======================================================
   MODE STATIQUE (< 3 slides)
====================================================== */

.similar-static-grid {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 48em) {
  .similar-static-grid {
    grid-template-columns: 1fr;
    gap: 6rem;
  }
}
/* ======================================================
   CARD BIEN
====================================================== */

.card-bien {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-bien__media {
  border-radius: 2.5rem;
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.card-bien__media img {
  aspect-ratio: 1.5 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-bien:hover .card-bien__media img {
  transform: scale(1.05);
}

.card-bien__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-bien__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.4rem;
}

.card-bien__title {
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  color: var(--darkblue);
  max-width: 60%;
  margin-bottom: 0;
}

.card-bien__price {
  font-size: clamp(1.4rem, 1.343rem + 0.143vi, 1.6rem);
  font-weight: 400;
  font-family: 'Faustina';
  font-style: italic;
  border-radius: 0.5rem;
  padding-inline: 0.8rem;
  padding-block: 0.4rem;
}

.card-bien__location__infos,
.card-bien__excerpt__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1.6rem;
}

.card-bien__excerpt__cta {
  margin-top: clamp(1.6rem, 1.371rem + 0.571vi, 2.4rem);
  align-items: center;
}

.card-bien__location {
  display: flex;
  align-items: center;
  font-size: clamp(1.4rem, 1.343rem + 0.143vi, 1.6rem);
  font-family: "Faustina";
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.card-bien__location img {
  width: 14px;
  height: auto;
}

.card-bien__infos {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.4rem, 1.343rem + 0.143vi, 1.6rem);
}

.card-bien__infos span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-bien__infos span::before {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
  flex-shrink: 0;
}

.card-bien__infos span:nth-child(1)::before {
  width: 20px;
  height: 20px;
  background-image: url("../img/bed-black.svg");
}

.card-bien__infos span:nth-child(2)::before {
  width: 20px;
  height: 20px;
  background-image: url("../img/bath-black.svg");
}

.card-bien__infos span:nth-child(3)::before {
  width: 16px;
  height: 16px;
  background-image: url("../img/surface-black.svg");
}

.card-bien__infos span:not(:last-child)::after {
  content: "|";
  margin-left: 0.8rem;
  opacity: 0.6;
}

.card-bien__excerpt {
  font-weight: 400;
  max-width: 60%;
  font-size: clamp(1.4rem, 1.343rem + 0.143vi, 1.6rem);
}

@media (max-width: 62em) {
  .card-bien__location__infos {
    row-gap: 1.6rem;
    align-items: flex-start;
    order: 1;
    flex-direction: column;
  }

  .card-bien__excerpt__cta {
    order: 3;
    margin-top: 0rem;
  }

  .card-bien__excerpt {
    max-width: 88%;
  }

  .card-bien__top {
    order: 2;
    max-width: 88%;
  }

  .card-bien__title {
    max-width: 100%;
  }

  .card-bien__content {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }

  .card-bien__price {
    display: none;
  }
}

/* ======================================================
   BOUTON FLÈCHE CARTE
====================================================== */

.card-bien__cta {
  display: flex;
  justify-content: flex-end;
}

.card-bien__cta-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
  flex-shrink: 0;
}

.card-bien__cta-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.card-bien:hover .card-bien__cta-btn {
  background: var(--darkblue);
  border-color: var(--darkblue);
  color: #fff;
}

.card-bien:hover .card-bien__cta-btn svg {
  transform: rotate(-45deg);
  stroke: #fff;
}

@media (max-width: 48em) {
  .card-bien__cta-btn {
    width: 32px;
    height: 32px;
  }

  .card-bien__cta-btn svg {
    width: 12px;
    height: 12px;
  }
}

/* ======================================================
   BLOC DPE
====================================================== */

.bloc-dpe {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: clamp(2.4rem, 1.943rem + 1.143vi, 4rem);
}

.dpe-bloc,
.ges-bloc {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (min-width: 75em) {
  .dpe-bloc,
  .ges-bloc {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
  }
}

/* ======================================================
   DETAILS (chiffres)
====================================================== */

.dpe-details,
.ges-details {
  display: flex;
  gap: 1rem;
  border: 1px solid #ccc;
}

.dpe-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid #ccc;
}

.dpe-detail:last-child {
  border-right: none;
}

.dpe-detail__label {
  font-size: 1.2rem;
  color: #666;
}

.dpe-detail__value strong {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.dpe-detail__value span {
  font-size: 1.1rem;
  color: #666;
}

/* ======================================================
   VISUEL LETTRES
====================================================== */

.dpe-visuel,
.ges-visuel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dpe-visuel__label-top {
  font-size: 1.2rem;
  color: #2e7d32;
  margin-bottom: 0.4rem;
}
.dpe-visuel__label-bottom {
  font-size: 1.2rem;
  color: #c62828;
  margin-top: 0.4rem;
}

.dpe-lettres {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Forme flèche */
.dpe-lettre {
  display: flex;
  align-items: center;
  padding: 0.4rem 1.2rem 0.4rem 1rem;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 50%,
    calc(100% - 12px) 100%,
    0 100%
  );
  opacity: 0.35;
  transition: opacity 0.3s;
}

/* Largeurs progressives */
.dpe-lettre--A {
  width: 60px;
  background: #319834;
}
.dpe-lettre--B {
  width: 80px;
  background: #33cc33;
}
.dpe-lettre--C {
  width: 100px;
  background: #cbdc20;
}
.dpe-lettre--D {
  width: 120px;
  background: #fbca12;
}
.dpe-lettre--E {
  width: 140px;
  background: #fb7f12;
}
.dpe-lettre--F {
  width: 160px;
  background: #e8461b;
}
.dpe-lettre--G {
  width: 180px;
  background: #cc1218;
}

/* Lettre active — pleine opacité + taille de texte plus grande */
.dpe-lettre.is-active {
  opacity: 1;
  font-size: 2rem;
  padding-block: 0.8rem;
}

/* ======================================================
   GES — couleurs bleues/grises
====================================================== */

.dpe-lettres--ges .dpe-lettre--A {
  background: #c0e4f5;
}
.dpe-lettres--ges .dpe-lettre--B {
  background: #9ecde8;
}
.dpe-lettres--ges .dpe-lettre--C {
  background: #7fb5d5;
}
.dpe-lettres--ges .dpe-lettre--D {
  background: #6699bb;
}
.dpe-lettres--ges .dpe-lettre--E {
  background: #4d7a99;
}
.dpe-lettres--ges .dpe-lettre--F {
  background: #2d5572;
}
.dpe-lettres--ges .dpe-lettre--G {
  background: #1a2e3d;
}

/* GES — forme arrondie à droite */
.dpe-lettres--ges .dpe-lettre {
  clip-path: none;
  border-radius: 0 2rem 2rem 0;
}

/* ======================================================
   HERO ANNONCES
====================================================== */

.annonces-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--darkblue);
  text-align: center;
  color: var(--white);
}

.annonces-hero .container {
  padding-top: clamp(12rem, 11.429rem + 1.429vi, 14rem);
  padding-bottom: clamp(8.8rem, 8.343rem + 1.143vi, 10.4rem);
}

.annonces-hero__content {
  margin-inline: auto;
}

.annonces-hero__intro {
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
}

/* ======================================================
   COMPTEUR
====================================================== */

.annonces-count {
  font-size: clamp(1.4rem, 1.3rem + 0.25vi, 1.6rem);
  margin-bottom: clamp(2.4rem, 2rem + 1vi, 4rem);
  color: var(--darkblue);
  text-align: right;
}

.annonces-count strong {
  color: var(--darkblue, #1a2b3c);
}

/* ======================================================
   GRID
====================================================== */

.annonces-grid {
  display: grid;
  gap: 6.4rem;
}

@media (min-width: 62em) {
  .annonces-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .annonces-hero__content {
    max-width: 60%;
  }
}

/* ======================================================
   EMPTY STATE
====================================================== */

.annonces-empty {
  text-align: center;
  font-size: 1.6rem;
  padding: 6rem 0;
  color: #888;
}

/* ======================================================
   HERO RÉALISATION
====================================================== */

.realisation-hero {
  position: relative;
  overflow: hidden;
  background: var(--darkblue);
  isolation: isolate;
}

/* IMAGE DE FOND */
.realisation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      130deg,
      rgba(51, 65, 79, 1) 41%,
      rgba(51, 65, 79, 0.63) 79%,
      rgba(51, 65, 79, 0) 100%
    ),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* MOTIF LIGNES */
.realisation-hero::after {
  content: "";
  z-index: -1;
}

.realisation-hero .container {
  position: relative;
  padding-top: clamp(14rem, 13.429rem + 1.429vi, 16rem);
  padding-bottom: clamp(8.8rem, 8.343rem + 1.143vi, 10.4rem);
}

/* CARD BLANCHE */
.realisation-hero__content {
  background: var(--white);
  backdrop-filter: blur(4px);
  max-width: 66%;
  padding: clamp(4rem, 3.086rem + 2.286vi, 7.2rem);
  border-radius: 2.5rem;
  position: relative;
  z-index: 5;
}

.realisation-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: clamp(1.4rem, 1.229rem + 0.429vi, 2rem);
  font-style: italic;
  color: var(--darkblue);
  font-family: "Faustina", serif;
}

.realisation-hero__breadcrumb img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.realisation-hero__intro {
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
}

/* ======================================================
   LAYOUT
====================================================== */

.realisation-layout__grid {
  display: grid;
  row-gap: 4rem;
  column-gap: clamp(4.8rem, 1.6rem + 2.667vi, 6.4rem);
}

/* ======================================================
   SIDEBAR
====================================================== */

.realisation-sidebar {
  position: relative;
}

.realisation-sidebar__inner {
  background: var(--white);
  padding: clamp(3.2rem, 2.971rem + 0.571vi, 4rem);
  border-radius: 2.5rem;
  box-shadow: 0px 4px 20px rgba(30, 30, 30, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.realisation-sidebar__title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  color: var(--darkblue);
  margin-bottom: 1.6rem;
  position: relative;
}

.realisation-sidebar__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--lightgrey);
  margin-top: 1.6rem;
}

/* ITEMS */

.realisation-sidebar__item {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  padding-block: 0.8rem;
}

.realisation-sidebar__icon {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 1rem;
  background: var(--mediumblue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.realisation-sidebar__icon img {
  width: 2.2rem;
  height: 2.2rem;
}

.realisation-sidebar__text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.realisation-sidebar__label {
  font-size: 1.4rem;
  font-weight: 700;
}

.realisation-sidebar__text p {
  margin: 0;
}

/* CTA */

.realisation-sidebar__cta::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--lightgrey);
  margin-bottom: 1.6rem;
}

.realisation-sidebar__cta {
  position: relative;
  text-align: center;
  margin-top: 1.6rem;
}

.realisation-sidebar__cta p {
  font-weight: 700;
  color: var(--darkblue);
}

.realisation-sidebar__cta .btn {
  margin-top: 2.4rem;
}

/* CONTENT */

.realisation-content {
  min-width: 0;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 75em) {
  .realisation-hero__content {
    padding: 6rem;
    transform: none;
    max-width: 100%;
  }

  .realisation-hero__title {
    max-width: 100%;
  }

  .realisation-hero__intro {
    max-width: 100%;
  }
}

@media (max-width: 48em) {
  .realisation-hero::after {
    width: 100%;
  }

  .realisation-hero__content {
    padding: 4rem 3rem;
    border-radius: 2.4rem;
  }

  .realisation-hero__breadcrumb {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
  }
}

@media (min-width: 75em) {
  .realisation-layout__grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

/* ======================================================
   SECTION SIMILAR RÉALISATIONS
====================================================== */

.section-similar-real__header {
  text-align: center;
  max-width: 70rem;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 2rem + 2vi, 4rem);
}

/* Grid responsive */
.section-similar-real__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.4rem, 2.171rem + 0.571vi, 3.2rem);
}

@media (max-width: 1200px) {
  .section-similar-real__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48em) {
  .section-similar-real__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ======================================================
   CARD RÉALISATION
====================================================== */

.card-real {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--lightgrey);
  border-radius: 2.5rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.card-real__media {
  position: relative;
  overflow: hidden;
}

.card-real__media img {
  aspect-ratio: 1.5 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-real:hover .card-real__media img,
.card-real-featured:hover .card-real-featured__media img {
  transform: scale(1.05);
}

.card-real__location {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--darkred);
  color: var(--white);
  font-size: clamp(1.2rem, 1.143rem + 0.143vi, 1.4rem);
  font-family: "Faustina", serif;
  padding: 0.8rem 1.4rem;
  border-radius: 1rem;
}

.card-real__location img {
  width: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  height: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  filter: brightness(10);
}

.card-real__content {
  padding-inline: clamp(2.4rem, 2.171rem + 0.571vi, 3.2rem);
  padding-block: clamp(3.2rem, 2.971rem + 0.571vi, 4rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card-real__title {
  font-size: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  color: var(--darkblue);
  margin-bottom: 0;
}

.card-real__excerpt {
  font-weight: 400;
}

.card-real__cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

.card-real__cta-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
  flex-shrink: 0;
}

.card-real__cta-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.card-real:hover .card-real__cta-btn,
.card-real-featured:hover .card-real__cta-btn {
  background: var(--darkblue);
  border-color: var(--darkblue);
  color: #fff;
}

.card-real:hover .card-real__cta-btn svg,
.card-real-featured:hover .card-real__cta-btn svg {
  transform: rotate(-45deg);
  stroke: #fff;
}

/* ======================================================
Homepage
====================================================== */

.home-hero .realisation-hero__content {
  background: transparent;
  backdrop-filter: none;
  padding: 0rem;
}

/* Les boutons sous l'intro */
.hero-page-buttons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-top: clamp(2rem, 1.5rem + 1vi, 3.2rem);
}

.home-hero.realisation-hero::after {
  top: 0rem;
  background-image: url("../img/deco-top-blue.svg");
}

@media (max-width: 62em) {
  .home-hero.realisation-hero::before {
    background-image:
      linear-gradient(
        130deg,
        rgba(51, 65, 79, 1) 41%,
        rgba(51, 65, 79, 0.8) 79%,
        rgba(51, 65, 79, 0) 100%
      ),
      var(--hero-image);
  }
}

@media (min-width: 62em) {
  .home-hero .realisation-hero__content {
    padding-left: 8%;
    max-width: 56%;
  }

  .hero-page-buttons {
    flex-direction: row;
    gap: 2.4rem;
    flex-wrap: wrap;
  }
}

/* ======================================================
   SECTION NOS OFFRES
====================================================== */

.nos-offres__grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2.4rem;
  row-gap: 3.2rem;
}

@media (min-width: 62em) {
  .nos-offres__grid {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

/* ======================================================
   COLONNE INTRO
====================================================== */

.nos-offres__intro {
  display: flex;
  flex-direction: column;
}

.nos-offres__actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.card-3__quote {
  text-align: center;
  font-weight: 700;
  background: var(--lightgrey);
  padding: clamp(1.6rem, 1.486rem + 0.286vi, 2rem);
  margin-top: auto;
}

@media (min-width: 62em) {
  .nos-offres__intro {
    padding-right: clamp(4.8rem, 3.609rem + 1.55vi, 6.4rem);
  }
}

/* ======================================================
   SECTION APPROCHE
====================================================== */

.section-approche__inner {
  overflow: hidden;
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(4rem, 3rem + 2vi, 8rem);
  padding-inline: clamp(4rem, 2.857rem + 2.857vi, 8rem);
  padding-block: clamp(4.8rem, 3.657rem + 2.857vi, 8.8rem);
}

.section-approche__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      130deg,
      rgba(51, 65, 79, 1) 41%,
      rgba(51, 65, 79, 0.63) 79%,
      rgba(51, 65, 79, 0) 100%
    ),
    var(--approche-image);

  background-size: cover;
  background-position: center;
  z-index: -2;
}

.section-approche__inner::after {
  z-index: -1;
}

/* ======================================================
   RIGHT CARDS
====================================================== */

.section-approche__cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.2rem;
}

/* ======================================================
   CARD
====================================================== */

.approche-card {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 2.4rem;
  background: var(--white);
  padding: clamp(2.4rem, 2rem + 1vi, 4rem);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* ======================================================
   ICON
====================================================== */

.approche-card__icon {
  width: clamp(3.2rem, 2.743rem + 1.143vi, 4.8rem);
  height: clamp(3.2rem, 2.743rem + 1.143vi, 4.8rem);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approche-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ======================================================
   DESKTOP
====================================================== */

@media (min-width: 62em) {
  .section-approche__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .section-approche__cards .approche-card:nth-child(1) {
    grid-column: 1/2;
  }

  .section-approche__cards .approche-card:nth-child(2) {
    grid-column: 2/3;
  }

  .section-approche__cards .approche-card:nth-child(3) {
    grid-column: 3/4;
  }
}

@media (min-width: 75em) {
  .section-approche__inner {
    grid-template-columns: repeat(10, 1fr);
    align-items: center;
  }

  .section-approche__content {
    grid-column: 1/5;
  }

  .section-approche__cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column: 5/11;
  }

  .approche-card {
    align-items: flex-start;
    text-align: left;
  }

  .section-approche__cards .approche-card:nth-child(1) {
    grid-column: 1/11;
  }

  .section-approche__cards .approche-card:nth-child(2) {
    grid-column: 3/13;
  }

  .section-approche__cards .approche-card:nth-child(3) {
    grid-column: 2/12;
  }
}

/* ======================================================
   TABLET
====================================================== */

@media (max-width: 75em) {
  .section-approche__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .section-approche__content {
    max-width: 100%;
  }

  .section-approche__content .wysiwyg-content {
    max-width: 100%;
  }

  .section-approche__cards .approche-card:nth-child(1),
  .section-approche__cards .approche-card:nth-child(2),
  .section-approche__cards .approche-card:nth-child(3) {
    margin: 0;
  }

  .section-approche__cards {
    padding-right: 0;
  }

  .approche-card {
    flex-direction: column;
    gap: 1.6rem;
  }

  .approche-card__icon {
    width: 4.8rem;
    height: 4.8rem;
  }
}

/* ======================================================
   SECTION HOME REALISATIONS
====================================================== */

.section-realisations-home {
  max-width: 80%;
  margin-inline: auto;
}

.section-realisations-home__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4rem;
  margin-bottom: clamp(3rem, 2rem + 2vi, 5rem);
}

.section-realisations-home__intro {
  max-width: 64rem;
}

.section-realisations-home__link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--darkblue);
  flex-shrink: 0;
  position: relative;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* Soulignement fluide */
.section-realisations-home__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Flèche */
.section-realisations-home__link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;

  transition:
    transform 0.3s ease,
    width 0.3s ease,
    height 0.3s ease;
}

/* Hover */
.section-realisations-home__link:hover::after {
  transform: scaleX(1);
}

.section-realisations-home__link:hover svg {
  transform: translateX(3px) scale(1.18);
}

/* ======================================================
   FEATURED CARD
====================================================== */

.card-real-featured {
  position: relative;
  display: grid;
  grid-template-columns: 4fr 5fr;
  border-radius: 3rem;
  overflow: hidden;
  background: var(--lightbrown);
  margin-bottom: 2rem;
  color: inherit;
  text-decoration: none;
}

.card-real-featured__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card-real-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-real-featured__content {
  position: relative;
  z-index: 2;
  padding-inline: clamp(2.4rem, 1.257rem + 2.857vi, 6.4rem);
  padding-block: clamp(2.4rem, 1.714rem + 1.714vi, 4.8rem);
  display: flex;
  flex-direction: column;
}

.card-real-featured__content::after {
  content: "";
  position: absolute;
  left: 0rem;
  bottom: -6rem;
  width: clamp(30rem, 23.861rem + 6.188vi, 35rem);
  height: clamp(30rem, 23.861rem + 6.188vi, 35rem);
  background-image: url("../img/deco-faq.svg");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.card-real-featured__location {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 4rem;
  font-size: 2rem;
  font-family: "Faustina", serif;
  font-style: italic;
}

.card-real-featured__location img {
  width: 2rem;
  height: 2rem;
}

.card-real-featured__title {
  font-size: clamp(2rem, 1.771rem + 0.571vi, 2.8rem);
}

.card-real-featured__cta {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.card-real-featured__excerpt {
  font-weight: 400;
}

.section-realisations-home .section-similar-real__grid {
  gap: 2rem;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 62em) {
  .section-realisations-home {
    max-width: 100%;
    margin-inline: auto;
  }

  .card-real-featured {
    grid-template-columns: 1fr;
  }

  .card-real-featured__media {
    aspect-ratio: 1.5 / 1;
  }

  .card-real-featured::after {
    display: none;
  }
}

@media (max-width: 48em) {
  .section-realisations-home__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .card-real-featured {
    border-radius: 2.4rem;
  }

  .card-real-featured__content {
    padding: 3rem 2.4rem;
  }

  .card-real-featured__location {
    margin-bottom: 2.4rem;
    font-size: 1.6rem;
  }

  .card-real-featured__title {
    margin-bottom: 2rem;
  }
}

/* ======================================================
   FAQ HOME
====================================================== */

.section-faq-home {
  position: relative;
}

.section-faq-home .section-faq {
  background-color: var(--white);
}

/* ======================================================
   HERO
====================================================== */

.section-faq-home__hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(28rem, 22.286rem + 14.286vi, 48rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: var(--faq-image);
  background-size: cover;
  background-position: top;
  isolation: isolate;
}

/* overlay */
.section-faq-home__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(51, 65, 79, 0) 0%,
    rgba(51, 65, 79, 0.8) 61%,
    rgba(51, 65, 79, 1) 100%
  );
  z-index: -1;
}

.section-faq-home__title {
  position: absolute;
  z-index: 2;
  bottom: 4.8rem;
  max-width: 50%;
}

.section-faq-home .section-faq__inner::before {
  display: none;
}

.section-faq-home .section-faq__inner {
  padding-bottom: 0rem;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 75em) {
  .section-faq-home__hero {
    min-height: 36rem;
  }

  .section-faq__content {
    max-width: 60rem;
  }
}

@media (max-width: 48em) {
  .section-faq-home__hero {
    min-height: 28rem;
    padding-inline: 2rem;
  }

  .section-faq-home__title {
    max-width: 80%;
  }
}

/* ======================================================
   SECTION CONTACT
====================================================== */

.section-contact-form {
  position: relative;
}

.section-contact-form__inner {
  background: var(--white);
  border-radius: 2.5rem;
  padding: clamp(3.2rem, 2.743rem + 1.143vi, 4.8rem);
  box-shadow: 0px 4px 20px rgba(30, 30, 30, 0.08);
  max-width: 80%;
  margin-inline: auto;
}

/* ======================================================
   FLUENT RESET
====================================================== */

.section-contact-form .ff-default .ff-el-group {
  margin-bottom: 2.4rem;
}

.section-contact-form .ff-t-container {
  gap: 2rem;
}

.section-contact-form .ff-column {
  padding-inline: 0 !important;
}

/* ======================================================
   LABELS
====================================================== */

.section-contact-form label,
.section-contact-form .ff-el-input--label label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--darkblue);
}

/* ======================================================
   INPUTS
====================================================== */

.section-contact-form input[type="text"],
.section-contact-form input[type="email"],
.section-contact-form input[type="tel"],
.section-contact-form textarea,
.section-contact-form select {
  width: 100%;
  min-height: 4.8rem;
  padding-inline: 2rem;
  padding-block: 1.4rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: var(--lightgrey);
  font-family: "Manrope";
  font-weight: 400;
  font-size: 1.4rem;
  line-height: calc(14 / 10);
  color: var(--black);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

/* textarea */
.section-contact-form textarea {
  min-height: 24rem;
  resize: vertical;
}

/* placeholder */
.section-contact-form input::placeholder,
.section-contact-form textarea::placeholder {
  color: var(--greyblue);
  opacity: 1;
}

/* focus */
.section-contact-form input:focus,
.section-contact-form textarea:focus,
.section-contact-form select:focus {
  outline: none;
  border-color: var(--mediumblue);
  background: var(--white);
}

/* ======================================================
   BOUTON
====================================================== */

.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style {
  align-self: self-start;
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 2.4rem;
  padding-block: 1.4rem;
  border-radius: 5rem;
  border: none;
  background: var(--darkred);
  color: var(--white);
  font-family: "Manrope";
  font-size: clamp(1.2rem, 1.143rem + 0.143vi, 1.4rem);
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style:hover {
  background: var(--mediumblue);
  transform: translateY(-3px);
}

/* ======================================================
   MESSAGES
====================================================== */

.section-contact-form .ff-message-success {
  margin-top: 2rem;
  padding: 1.6rem 2rem;
  border: none;
  border-radius: 1.5rem;
  background: rgba(82, 108, 133, 0.1);
  color: var(--darkblue);
  font-weight: 600;
}

.section-contact-form .text-danger {
  margin-top: 0.6rem;

  font-size: 1.3rem;
  color: var(--darkred);
}

/* ======================================================
   TURNSTILE / CAPTCHA
====================================================== */

.section-contact-form .ff-el-recaptcha,
.section-contact-form .ff_turnstile {
  margin-top: 1.6rem;
}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 48em) {
  .section-contact-form__inner {
    border-radius: 2.4rem;
    padding: 2.4rem;
  }

  .section-contact-form .ff-t-cell {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .section-contact-form__inner {
    max-width: 100%;
  }
}


/* ======================================================
SITE MAP
====================================================== */

.site-map-section .container {
  max-width: 80%;
}

.site-map-section li {
  margin-bottom: 1.2rem;
}

.site-map-section h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--lightgrey);
}

.site-map-section a {
  color: var(--darkblue);
  transition: color .25s ease;
}

.site-map-section a:hover {
  color: var(--darkred);
}

@media (max-width: 48em) {

.site-map-section .container {
  max-width: 100%;
}
}


/* ======================================================
   BREADCRUMB
====================================================== */

/* ======================================================
   YOAST BREADCRUMB
====================================================== */

#breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
  font-family: 'Faustina';
  font-style: italic;
  font-size: clamp(1.2rem, 1.143rem + 0.143vi, 1.4rem);
  color: var(--greyblue);
}

/* liens */
#breadcrumbs a {
  color: var(--greyblue);
  text-decoration: none;
  transition: color .25s ease;
}

#breadcrumbs a:hover {
  color: var(--lightbrown);
}

/* séparateur */
#breadcrumbs > span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* current page */
#breadcrumbs .breadcrumb_last {
  color: var(--white);
}

/* version fond clair */
.bg-white #breadcrumbs .breadcrumb_last,
.single-annonces #breadcrumbs .breadcrumb_last {
  color: var(--darkblue);
}

.annonces-hero #breadcrumbs{
  justify-content: center;
}

.annonce-hero__media #breadcrumbs{
  margin-bottom: 1.6rem;
}