
.testimonials {
    background: #f8f4ec;
    padding: 3rem 0;
}
.services-cta-grid {
  gap: 8px;
}

/* Uniquement sur le template Estimer */
body[class*="estimer-php"] .footer,
body.page-estimer .footer {
  /* display: none; */
  padding: 0px 0 0;
}
.estimer .testimonials__title {
    text-align: center;
    font: var(--h2-font);
    margin-bottom: 0;
}
.estimer .intro__text{
    margin: 1.5rem auto 0;
    max-width: 60%;
    padding: 0;
    color: var(--color-text);
}
.estimer .services-cta-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    justify-content: center;
    justify-items: center;
    gap: 8px;
    margin: 0 auto;
    width: 77%;
    box-sizing: border-box;
    padding: 2.5rem;
}
.estimer .services-cta-grid .services-cta-card {

    aspect-ratio: 4 / 4;
}
.estimer .services-cta-grid .services-cta-card {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: #101820;
    isolation: isolate;
    text-decoration: none;
    cursor: pointer;
}
.estimer .services-cta-card {
  width: 100%;
  aspect-ratio: 4/4;
}
.estimer .services-cta-card__media {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}
.estimer .services-cta-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.estimer .services-cta-card__content {
    position: relative;
    z-index: 3;
    padding: 0 26px 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.estimer .services-cta-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: opacity 0.3s 
ease;
}
.immobilier a[class*="link"]:not([class*="footer"]):not([class*="luxury__tabs"]):not([class="social-link"]):not([class="advice__link"])::after, body .immobilier   .cta__link::after,
.estimer a[class*="link"]:not([class*="footer"]):not([class*="luxury__tabs"]):not([class="social-link"]):not([class="advice__link"])::after, body .estimer  .cta__link::after{
  background-color:#fff;
}
/* =========================================================
   ESTIMER.CSS — overrides spécifiques à la page "Estimer"
   Objectif : 2 colonnes (desktop/tablette), 1 colonne (mobile)
   Scope robuste : body[class*="estimer-php"] ou body.page-estimer
========================================================= */

/* ====== Ajustements esthétiques déjà prévus chez toi ====== */


@media (max-width: 1440px) {
  .cta__title {
    font: var(--h3-font);
  }
}

@media (max-width: 1024px) {
  .cta__title {
    font-family: var(--h3-font-family);
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
    font-size: 2rem;
  }
  .testimonials__title {
    font-size: 2.5rem;
}
.intro__text p {
    font-size: 1rem;
}
}
@media (max-width: 1024px) {
  .cta__title {
    font: var(--h3-font);
  }
}

@media (max-width: 1024px) {
  .estimer .services-cta-grid {
    width: 100%;
}
.estimer .intro__text{
  max-width: 90%;
}
}

/* ====== MOBILE : 1 colonne (≤768px) ====== */
@media (max-width: 768px) {
  body[class*="estimer-php"] .services-cta-grid,
  body.page-estimer .services-cta-grid {
     grid-template-columns:1fr;
  }
  .estimer .cta__title {
    font-family: var(--h3-font-family);
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
    font-size: 2.5rem;
  }
  .estimer .services-cta-card__content {
    padding: 0 24px 24px;
  }
  .cta__text.licencie {
    font-size: 1rem;
  }

  .intro__text p {
        font-size: 1.25rem;
    }
  .estimer .testimonials__title {
    font-size: 2.75rem;
}
.estimer .services-cta-grid {
    gap: 2rem;
}
.estimer .intro__text{
  max-width: 100%;
}
}

@media (max-width: 440px) {
.estimer .cta__link {
        font-size: 0.75rem;
    }
.estimer .cta__title {
    font-size: 1.5rem;
  }
    .estimer .testimonials__title {
    font-size: 2rem;
}
}

/* Garde-fou ultra-petits écrans */
@media (max-width: 375px) {
  .estimer .cta__text.licencie {
        font-size: 0.75rem;
        line-height: 0.825rem;
    }
}
