.carousel-3cards {
      position: relative;
      width: 100%;
      max-width: 800px;
      margin: auto;
      height: 550px;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
}

    .carousel-card .tile {
        height: 500px;             
        border-radius: 20px;
    }


    .marqueetext{

        color:#FFFFFF;
        margin-top:20px;
        margin-bottom:20px;
        font-size:22px;
    }

    .carousel-card {
        position: absolute;
        width: 300px;   /* largeur fixe */
        max-width: 70%; /* responsive mobile */
        border-radius: 20px;
        transition: all 0.6s ease;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }

    .carousel-card img {
      width: 100%;
      height: 250px;
      object-fit: cover;
    }

    .carousel-card h5 {
      text-align: center;
      margin: 10px 0;
    }

    /* Position centrale */
    .active {
      transform: translateX(0) scale(1);
      opacity: 1;
      z-index: 3;
    }

    /* Gauche */
    .left {
      transform: translateX(-50%) scale(0.9);
      opacity: 0.7;
      z-index: 2;
    }

    /* Droite */
    .right {
      transform: translateX(50%)  scale(0.9);
      opacity: 0.7;
      z-index: 2;
    }

    .back {
      transform: translateX(0) scale(0.85);
      opacity: 0.5;
      z-index: 1;
    }











/* Hauteur globale des tuiles (ajuste ici : 420px ≈ ton mockup) */
.tiles-row { min-height: 420px; }

/* Tuile de base */
.tile{
  position: relative;
  height: 100%;
  background: #223038;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: font-size 0.3s ease; /* animation de la bordure */
  transition: border 0.3s ease;

  /* ➡️ centrage parfait */
  display: flex;
  align-items: center;     /* centre vertical */
  justify-content: center; /* centre horizontal */
  text-align: center;      /* centre texte multi-lignes */
  cursor:pointer;
}

.tile h2{

  transition: font-size 0.3s ease; /* animation de la bordure */
}

.tile:hover{

  border:3px solid var(--nav-hover-color);
  
}

.tile:hover h2 {
  font-size: 27px;
}

/* Contenu standard (bloc 1) */
.tile-content h2{
  color:#ffffff;
  font-weight: 800;
  line-height: 1.05;
 transition: font-size 0.3s ease; /* animation de la bordure */
 font-size:24px;
}

.equal-blocks {
  display: flex;
  flex-direction: column;
  height: 100%;
}


@media (min-width: 992px) { /* Desktop only */
  .equal-desktop {
    display: flex;
    align-items: stretch; /* toutes les colonnes ont la même hauteur */
  }
  .equal-desktop > .col-lg-6 {
    display: flex;
  }
  .equal-desktop img.main-img {
    width: 100%;
    height: 100%;       /* occupe toute la hauteur dispo */
    object-fit: cover;  /* garde le ratio sans déformer */
    border-radius: 20px;
  }
}

@media (min-width: 992px) { /* seulement desktop */
  .match-height-desktop {
    display: flex;
    align-items: stretch; /* force les colonnes à la même hauteur */
  }
  .match-height-desktop > .col-lg-5,
  .match-height-desktop > .col-lg-7 {
    display: flex;
    flex-direction: column;
    justify-content: center; /* centre verticalement */
  }
  .match-height-desktop img.main-img {
    width: 100%;
    height: 100%;       /* prend toute la hauteur disponible */
    object-fit: cover;  /* garde les proportions sans déformer */
    border-radius: 20px;
  }
}


@media (min-width: 768px) { /* md et plus */
  .match-height-contact {
    display: flex;
    align-items: stretch; /* force la même hauteur */
  }
  .match-height-contact > .col-md-7,
  .match-height-contact > .col-md-5 {
    display: flex;
    flex-direction: column;
  }

  .match-height-contact > .col-md-7 {
    justify-content: center; /* aligne le formulaire verticalement */
  }

  .php-email-form button[type="submit"] {
  display: block;     /* se comporte comme un bloc */
  margin-left: 0;
}


  .match-height-contact img.main-img {
    width: 100%;
    height: 100%;       /* occupe toute la hauteur dispo */
    object-fit: cover;  /* garde les proportions sans déformer */
    border-radius: 20px; /* si tu veux le même style que les autres */
  }
}


.block1{
  background-color:#0b5c64;
  padding:20px;
  width:100%;
  border-top-left-radius: 20px;
}

.block2{
  background-color:#0d6c76;
  padding:20px;
  width:100%;
  border-top-right-radius: 20px;
}

.block3{
  background-color:#0d6c76;
  padding:20px;
  width:100%;
  border-bottom-left-radius: 20px;
}

.block4{
  background-color:#0b5c64;
  padding:20px;
  width:100%;
  border-bottom-right-radius: 20px;
}

.franchise_logo_search{
  width:180px;
  border-radius:20px;
  margin-bottom:15px;
}

@media screen and (max-width: 768px) {

  .franchise_logo_search{
    width:130px;
    border-radius:20px;
    margin-bottom:15px;
  }

    .carousel-3cards {
          position: relative;
          width: 100%;
          max-width: 800px;
          margin: auto;
          height: 300px;
          display: flex;
          justify-content: center;
          align-items: center;
          overflow: hidden;
    }

    .carousel-card .tile {
        height: 300px;             
        border-radius: 20px;
    }

    .marqueetext{

        color:#FFFFFF;margin-top:20px;
    }

    .carousel-card {
        position: absolute;
        width: 400px;   /* largeur fixe */
        max-width: 70%; /* responsive mobile */
        border-radius: 20px;
        transition: all 0.6s ease;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }

    /* Contenu standard (bloc 1) */
        .tile-content h2{
        color:#ffffff;
        font-weight: 800;
        line-height: 1.05;
        transition: font-size 0.3s ease; /* animation de la bordure */
        font-size:16px;
    }

    /* Gauche */
    .left {
      transform: translateX(-20%) scale(0.9);
      opacity: 0.7;
      z-index: 2;
    }

    /* Droite */
    .right {
      transform: translateX(20%)  scale(0.9);
      opacity: 0.7;
      z-index: 2;
    }

    .back {
      transform: translateX(0) scale(0.85);
      opacity: 0.5;
      z-index: 1;
    }

    .main-img{
      width:100%;
      margin-bottom:20px;
    }

    .tile:hover h2 {
      font-size: 18px;
    }

    .textblock{

      margin:20px;
      flex-shrink: 1;
    }

    .block1{

      background-color:#24384b;
      border-top-left-radius: 20px;
      border-top-right-radius: 20px;
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;

    }

    .block2{

      background-color:var(--accent-color);
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;

    }

    .block3{

      background-color:#24384b;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;

    }

    .block4{

      background-color:var(--accent-color);
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      border-bottom-left-radius: 20px;
      border-bottom-right-radius: 20px;

    }

}

.marquee{
  --speed: 18s;              /* valeur par défaut */
  --gap: 2rem;               /* valeur par défaut */
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.marquee__track{
  display: inline-flex;
  gap: var(--gap);
  width: max-content;
  will-change: transform;
  animation: marquee var(--speed) linear infinite;
}

.marquee__track > *{
  flex: 0 0 auto;            /* pas de shrink */
}

@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }  /* A + A -> décale d’une demi-piste */
}

/* Pause au survol si activé */
.marquee[data-pause-on-hover="true"]:hover .marquee__track{
  animation-play-state: paused;
}

.btncontact{
  background-color: #FD8212;
  border:1px solid #FD8212;
  color: #000000; 
  padding: 1rem 2rem; 
  border-radius: 2rem; 
  display: inline-flex ; 
  align-items: center; 
  gap: 0.5rem; 
  transition: 0.3s;
  font-size:18px;
  font-weight:bold;
}

.btncontact:hover{

  background-color: #fba85d;
  border:1px solid #fba85d;
}

.team-card{

  border-radius:20px;
  border:1px solid #e3e3e3;
  padding:20px;
  background-color:#f5f5f5;
  color:#000000;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover{

  border-radius:20px;
  border:1px solid var(--accent-color);
  padding:20px;
  background-color:var(--accent-color);
  color:#FFFFFF ;
}

.social-team{
  position:absolute;
  bottom:0;
  right:0;
  width:80px;
  height:80px;
  background-color:var(--nav-hover-color);
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
}

.social-team:hover{

  background-color:#f99438;
}

.team-card-content{
  border-radius:20px;
  border:1px solid #cdcdcd;
  padding:15px;
  margin-top:20px;
}

.team-member{
  justify-content: center;
  margin-top:10px;
  text-align:left;
  font-weight:bold;
  font-size:20px;
}

.team-poste{
  justify-content: center;
  text-align:left;
}

.custom-input::placeholder {
  color: #d1d3d4 !important;  /* gris clair */
  
}

/* Hauteur minimale comme un vrai carousel d’images */
  .min-vh-50 {
    min-height: 50vh; /* tu peux jouer entre 40vh et 60vh */
  }

  /* Optionnel : agrandir un peu les flèches */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    filter: invert(1) grayscale(100); /* rend les icônes noires */
  }

  /* HTML: <div class="loader"></div> */
.loader {
  width: 27px;
  --b: 8px; 
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(#0000 10%,#ffffff) content-box;
  -webkit-mask:
    repeating-conic-gradient(#0000 0deg,#000 1deg 20deg,#0000 21deg 36deg),
    radial-gradient(farthest-side,#0000 calc(100% - var(--b) - 1px),#000 calc(100% - var(--b)));
  -webkit-mask-composite: destination-in;
          mask-composite: intersect;
  animation:l4 1s infinite steps(10);
}
@keyframes l4 {to{transform: rotate(1turn)}}


/* --- Style général de l’accordéon --- */
.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Bouton de l’accordéon (fermé) */
.accordion-button {
  background-color: #f9f9f9;
  font-weight: 600;
  color: #1e1e1e;
  box-shadow: none !important;
  border: none;
  transition: all 0.3s ease;
}

/* Bouton ouvert */
.accordion-button:not(.collapsed) {
  background-color: #004d55 !important;
  color: #ffffff !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

/* Supprime la bordure de focus bleue Bootstrap */
.accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Corps de l’accordéon */
.accordion-body {
  background-color: #004d55;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Remplace les flèches Bootstrap par + et − */
.accordion-button::after {
  content: '+';
  font-weight: 700;
  font-size: 1.2rem;
  color: #004d55;
  transform: none !important;
  background-image: none !important;
}

.accordion-button:not(.collapsed)::after {
  content: '−';
  color: #ffffff;
}

/* Supprime les bordures du flush */
.accordion.accordion-flush .accordion-item {
  border: none;
  background: none;
}

/* Évite les débordements de couleur */
.accordion-collapse {
  overflow: hidden;
  border-radius: 0 0 15px 15px;
}






.press-btn-wrapper {
    text-align: right;
    margin-top: 10px;
}

.press-btn {
    position: relative;
    display: inline-block;
    color: var(--nav-hover-color);
    font-size: 16px;
    text-decoration: none;
    padding-bottom: 6px;

}

/* LE TRAIT (plus long que le texte) */
.press-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(100%); /* 👈 dépassement contrôlé */
    height: 1.5px;
    background-color: var(--nav-hover-color);
}

.press-btn::before {
    content: "";
    position: absolute;
    left: 95%;              /* pile à la fin du trait */
    bottom: -4px;            /* aligné sur la ligne */
    
    width: 0;
    height: 0;

    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--nav-hover-color); /* 🔺 triangle */
}
