.hero-banner__txt p{
    font-size: 3.7rem;
}

/* --- CARTE LEAFLET --- */
#map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0f3f5;
  height: 500px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* --- SUPPRIMER ATTRIBUTION LEAFLET --- */
.leaflet-control-attribution {
  display: none !important;
}

/* --- EMPÊCHE HALO BLEU ET AUTOFILL --- */
#cp-input {
  background-color: #fff !important;
}

#cp-input:focus,
#cp-input:active {
  background-color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #333 !important;
}

/* ==========================================================
   POPUP LEAFLET
   ========================================================== */

.popup-content {
  font-family: 'neulis-sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

/* --- NOM D’AGENCE --- */
.popup-content strong {
  display: block;
  font-size: 16px;
  color: #3B3232;
  margin-bottom: 6px;
}

/* --- ADRESSE / TÉL / MAIL --- */
.popup-line {
  display: block;
  color: #3B3232;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.4;
}

/* --- LIEN “PLUS D’INFORMATIONS” --- */
.popup-link {
  color: #095F60;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.popup-link:hover {
  color: #11787A; /* un peu plus clair au hover */
  text-decoration: none; /* aucun soulignement */
}

.popup-link .popup-arrow {
  margin-left: 4px;
  color: #81C393;
}

/* --- FORCER LA COULEUR SUR LES LIENS LEAFLET --- */
.leaflet-popup-content a {
  color: #095F60 !important;
  text-decoration: none !important;
  font-family: 'neulis-sans', Arial, sans-serif;
}

.leaflet-popup-content a:hover {
  text-decoration: none !important;
  color: #11787A !important;
}

.find-agence{
    gap: 70px;
    align-items: flex-start;
}


/* ==========================================================
   LISTE D’AGENCES (STATIQUE)
   ========================================================== */

.agence-list {
  max-width: 400px;
  margin: 20px auto;
  border: 1px solid #f0f3f5;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  max-height: 400px;
  overflow-y: auto;
  font-family: 'neulis-sans', Arial, sans-serif;
}

/* --- Bloc agence individuel --- */
.popup-content {
  font-size: 14px;
  line-height: 1.6;
}

.popup-list-item {
  border-bottom: 1px solid #f0f3f5;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.popup-list-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* --- Nom d’agence --- */
.popup-content strong {
  display: block;
  font-size: 16px;
  color: #3B3232;
  margin-bottom: 6px;
}

/* --- Adresse / Téléphone / Mail --- */
.popup-line {
  display: block;
  color: #3B3232;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.4;
}

/* --- Lien “Plus d’informations” --- */
.popup-link {
  color: #095F60;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.popup-link:hover {
  color: #11787A;
  text-decoration: none;
}

.popup-link .popup-arrow {
  margin-left: 4px;
  color: #81C393;
}

.project-card, .hero-banner__promotion, .four-icons__item, .pre-footer__item, div[data-type="core/columns"]{
    opacity: 0;
    transform: translateY(20%);
   transition: 1000ms ease-in-out;
}

.project-card.is-visible, .hero-banner__promotion.is-visible, .four-icons__item.is-visible, .pre-footer__item.is-visible, div[data-type="core/columns"].is-visible{
    opacity: 1;
    transform: translateY(0);

}


.wrapper__conseil-card {
  perspective: 800px;
  -webkit-perspective: 800px;
}

/* état initial */
.conseil-card {
  opacity: 0;
  transform: rotateY(-2deg) rotateX(-2deg) translateY(8px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

/* quand visible */
.conseil-card.is-visible {
  opacity: 1;
  transform: none;
}

/* décalage progressif */
.conseil-card:nth-of-type(1).is-visible  { transition-delay: 0.05s; }
.conseil-card:nth-of-type(2).is-visible  { transition-delay: 0.15s; }
.conseil-card:nth-of-type(3).is-visible  { transition-delay: 0.25s; }
.conseil-card:nth-of-type(4).is-visible  { transition-delay: 0.35s; }
.conseil-card:nth-of-type(5).is-visible  { transition-delay: 0.45s; }
.conseil-card:nth-of-type(6).is-visible  { transition-delay: 0.55s; }
.conseil-card:nth-of-type(7).is-visible  { transition-delay: 0.65s; }
.conseil-card:nth-of-type(8).is-visible  { transition-delay: 0.75s; }
.conseil-card:nth-of-type(9).is-visible  { transition-delay: 0.85s; }
.conseil-card:nth-of-type(10).is-visible { transition-delay: 0.95s; }

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .conseil-card,
  .conseil-card.is-visible {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Variables (vitesse + espacement) */
.logos {
  --duration: 30s;       /* plus petit = plus rapide ; plus grand = plus lent */
  --gap: 3rem;
}

/* Masque fondu sur les bords */
.logos__mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

/* La piste qui défile */
.logos__track {
  display: flex;
  flex-direction: row;   /* force la rangée même si un style global change la direction */
  flex-wrap: nowrap;     /* PAS de retour à la ligne */
  align-items: center;
  gap: var(--gap);
  width: max-content;
  white-space: nowrap;   /* sécurité supplémentaire */
  animation-name: scroll;
  animation-duration: var(--duration);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

/* Items */
.logos__item {
  flex: 0 0 auto;        /* empêche tout redimensionnement imprévu */
  display: grid;
  place-items: center;
}

.logos__item img {
  height: 78px;          /* ajuste à ton design */
  width: auto;
  display: block;
  opacity: 0.9;
}

/* Animation : translate de la moitié (puisque la liste est dupliquée) */
@keyframes scroll {
  to {
    transform: translate3d(-50%, 0, 0); /* translate3d : perf + Safari-friendly */
  }
}

/* Accessibilité : réduit le mouvement si demandé */
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; }
}










.hero-banner__txt {
  position: relative;
  display: inline-block;  /* pour que l’overlay s’aligne sur la largeur du texte */
  line-height: 1.2;
  font-size: 3.7rem;
}

/* Couleur verte */
/*.hero-banner__txt .green { color: #2ecc71; }*/

/* Overlay typé (au-dessus du statique) */
.h1-typed {
  position: absolute;
  inset: 0 auto auto 0;
  /* hérite des styles de police du H1 */
  pointer-events: none;
  opacity: 0;             /* caché tant qu'on n'a pas commencé à taper */
}
.no-js [data-typing] .h1-static { visibility:visible; }
.no-js [data-typing] .h1-typed  { opacity:0; }

/* Cas avec JS + H1 immédiat (hero) : on PRE-MASQUE le statique pour éviter le flash */
.js [data-typing="immediate"] .h1-static { visibility:hidden; }
.js [data-typing="immediate"] .h1-typed  { opacity:1; }

/* Quand on tape : on cache visuellement le statique SANS le retirer du DOM (SEO ok) */
.hero-banner__txt.is-typing .h1-static {
  visibility: hidden;     /* conserve la place, évite le CLS */
}

.hero-banner__txt.is-typing .h1-typed {
  opacity: 1;
}

@media screen and (min-width: 1023px) {
    .hero-banner__greviews {
      bottom: unset;
      top: 50%;
    }

  }

#map .leaflet-tile {
  filter:
    saturate(0.35)
    brightness(1.08)
    contrast(0.92);
}