html, body {
  font-family: "Gabarito", sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
}

.companies{
  background-color: white !important;
  margin-bottom: 120px;
}

.header-badge {
  position: absolute;
  bottom: -20px; /* fait déborder un peu */
  left: 50%;
  transform: translateX(-50%);
  
  font-family: "Gabarito", sans-serif !important;
  background: #000000; /* couleur du thème */
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;

  /* taille du texte adaptative */
  font-size: clamp(12px, 2vw, 16px);

  /* padding adaptatif */
  padding: clamp(6px, 1vw, 12px) clamp(12px, 2vw, 24px);

  border-radius: clamp(12px, 2vw, 20px);

  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.title-footer{
  font-family: "Gabarito", sans-serif !important;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px;
}

.li-bottom{
  margin-bottom: 20px;
}

.footer-content p, .box p{
  font-size: 18px;
}
.service-card img{
  margin: 20px;
}

.fancy-box.style1 .fancy-item h3 {
  white-space: nowrap;        /* empêche le retour à la ligne */
}

.fancy-box.style1 .fancy-item p {
  display: inline-block;      /* se cale sur la largeur max */
  width: 100%;                /* prendra la largeur du h4 parent inline-block */
  max-width: fit-content;     /* ajuste la largeur au contenu */
}
.blog-section h2{
  padding-bottom: 20px;
}
.blog-section{
  padding-bottom: 0 !important;
}
#solution{
  font-size: 32px;
}
#footer-content-right{
  text-align: end;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0; /* équivalent à top:0; left:0; right:0; bottom:0 */
  background: rgba(0,0,0,0.5);
  overflow: auto;
  justify-content: center;
  align-items: center;
  padding: 20px; /* évite que le contenu touche les bords sur petits écrans */
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;         /* prend 90% de la largeur dispo */
  max-width: 1300px;  /* limite max */
  height: 80%;        /* prend 80% de la hauteur dispo */
  max-height: 800px;  /* limite max */
  box-sizing: border-box;
}

.close {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 30px;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  padding: 5px 10px;
  z-index: 1100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#calendly-iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.services-wrapper.style2 .services-thumb h3 {
    position: relative;
    z-index: 1;
    padding: 10px;
    border: 1px solid var(--theme);
    border-radius: 999px;
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    -ms-border-radius: 999px;
    -o-border-radius: 999px;
}

.services-wrapper.style2 .services-thumb h3 {
  width: 321px;
  height: 449px;
  background-color: #fff;
  display: flex;
  justify-content: center; /* centre horizontal */
  align-items: center;     /* centre vertical */
  text-align: center;      /* au cas où le texte fait plusieurs lignes */
  font-size: 32px;
}


/* Desktop ≥1200px */
@media (max-width: 1200px) {
  /* Cibler uniquement la colonne gauche */
  .col-xl-4:first-child .fancy-box.style1 {
    display: flex;           /* mettre en ligne */
    flex-direction: row;     /* logo à gauche, texte à droite */
    align-items: center;
    gap: 20px;               /* espace entre logo et texte */
    margin-bottom: 20px;     /* espace entre les boxes */
    max-width: 600px;        /* limite la largeur du texte */
  }

  /* Icône garde sa taille */
  .col-xl-4:first-child .fancy-box.style1 .icon {
    flex-shrink: 0;
  }

  /* Inverser l’ordre des enfants pour que logo soit à gauche et texte à droite */
  .col-xl-4:first-child .fancy-box.style1 .fancy-item:first-child {
    order: 2;  /* texte à droite */
    text-align: left; /* forcer texte à gauche */
  }

  .col-xl-4:first-child .fancy-box.style1 .fancy-item:last-child {
    order: 1;  /* icône à gauche */
  }

  /* S’assurer que la colonne gauche affiche toutes les boxes empilées sur une seule colonne */
  .col-xl-4 {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Forcer le titre et paragraphe à gauche */
  .col-xl-4:first-child .fancy-box.style1 h3,
  .col-xl-4:first-child .fancy-box.style1 p {
    text-align: left !important;
  }
}

/* Small screens <500px */
@media (max-width: 499px) {
  /* Colonne gauche */
  .col-xl-4:first-child .fancy-box.style1 {
    display: flex;
    flex-direction: column;  /* icône au-dessus, texte en dessous */
    align-items: center;
    text-align: center;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 15px;
  }

  /* Inverser l’ordre pour la colonne gauche uniquement */
  .col-xl-4:first-child .fancy-box.style1 .fancy-item:first-child {
    order: 2;  /* texte en dessous */
  }
  .col-xl-4:first-child .fancy-box.style1 .fancy-item:last-child {
    order: 1;  /* icône au-dessus */
  }

  /* Texte plus petit */
  .col-xl-4:first-child .fancy-box.style1 h4 {
    font-size: 16px;
  }
  .col-xl-4:first-child .fancy-box.style1 p {
    font-size: 13px;
  }

  /* Colonne droite (inchangée) */
  .col-xl-4:last-child .fancy-box.style1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 15px;
  }

  .col-xl-4:last-child .fancy-box.style1 .fancy-item:first-child {
    order: 1;  /* icône déjà en premier */
  }
  .col-xl-4:last-child .fancy-box.style1 .fancy-item:last-child {
    order: 2;  /* texte en dessous */
  }

  .col-xl-4:last-child .fancy-box.style1 h4 {
    font-size: 16px;
  }
  .col-xl-4:last-child .fancy-box.style1 p {
    font-size: 13px;
  }
}

/* Bouton responsive et centré */
.theme-btn {
    display: flex;                    
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-family: Gabarito, sans-serif !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 1vw, 3.08px); 
    font-size: clamp(10px, 3vw, 14px);       
    padding: clamp(8px, 2.5vw, 22px) clamp(12px, 4vw, 30px); 
    gap: clamp(4px, 1.5vw, 10px);
    background: var(--theme);
    border: none;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

/* Margin-left pour petits écrans <426px */
@media (max-width: 426px) {
    #bouton-banner {
        margin-left: 20px;
        margin-top: 10px;
        text-align: center;
    }
}

/* Animation par défaut */
.marquee-inner.to-left {
  animation: marquee 30s linear infinite; /* vitesse normale */
}

/* Écrans moyens : un peu plus rapide */
@media (max-width: 768px) {
  .marquee-inner.to-left {
    animation-duration: 20s; /* accéléré */
  }
}

/* Petits écrans : encore plus rapide */
@media (max-width: 500px) {
  .marquee-inner.to-left {
    animation-duration: 15s; /* encore accéléré */
  }
}

/* Extra small (genre mobile très petit) */
@media (max-width: 375px) {
  .marquee-inner.to-left {
    animation-duration: 12s; /* super rapide */
  }
}

/* Keyframes existants */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 425px) {
  .cta-content h4 {
    font-size: 18px; /* ou ce que tu veux */
    line-height: 1.3;
  }

  .cta-content h2 {
    font-size: 30px; /* ajuste selon ton design */
    line-height: 1.3;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .cta-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 990px) and (max-width: 1199px) {
    /* Présentation en haut sur toute la largeur */
    .footer-widgets-wrapper .col-xl-4.order-md-1 {
        flex: 0 0 100%;
        max-width: 100%;
        order: 1 !important; /* Forcer en haut */
        text-align: center; /* Centrer le texte si besoin */
    }

    /* Contact et liens côte à côte dessous */
    .footer-widgets-wrapper .col-xl-4.order-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
        order: 2 !important; /* Forcer dessous */
        text-align: left; /* Alignement standard */
    }
}

/* <768px : centrer le UL de la colonne droite */
@media (max-width: 767.98px) {
    .footer-widgets-wrapper .col-xl-4:last-child ul.brand-logo {
        text-align: center;
        padding-left: 0; /* retirer padding si nécessaire */
    }
}

/* ≥768px : aligner le H3 à droite */
@media (min-width: 768px) {
    .footer-widgets-wrapper .col-xl-4:last-child .widget-head h3 {
        text-align: right;
    }
}

@media (max-width: 575px) {
.section-padding {
padding: 3rem 0;
}
.wcu-content.style1 .box { margin-bottom: 0px; }
.service-card img {
width: 50px;
margin: 0px;
margin-bottom: 1rem;
}
.section-title .subtitle { font-size: .6rem; text-align: center; }
.section-title h2 { text-align: center; font-size: 2.1rem; }
.service-card.style1 p {
margin-bottom: 10px;
}

.nomargintop {
margin-top: 0px;
}
.companies { margin-bottom: 3rem; }
.footer-widgets-wrapper .single-footer-widget .widget-head {
margin: 20px 0px;
}
.cta-wrapper.style2 .cta-content h3{
  font-size: 1.2rem;color: #fff;line-height: 1.3;margin-bottom: 10px;
}
.cta-wrapper.style2 .cta-content p{
  color: #fff;line-height: 1.2;margin-bottom: 2rem;
}
}

@media (max-width: 991px) {
  .footer-widgets-wrapper {
	  padding-top: 0px;
	  padding-bottom: 2rem;
  }
}

.white-span{
  color: #fff;
}

#bouton-mobile{
  display: none !important;
}

@media (max-width: 1200px) {
  .header-button {
    display: none !important;
  }
  #bouton-mobile{
  display: flex !important;
  }
}

.error-404 {
  text-align: center;
  padding: 5rem 2rem;
  color: #65C2AC; /* couleur du texte */
}

.error-404 .page-title {
  font-size: 6rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #65C2AC;
}

.error-404 h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.error-404 .btn-404 {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #65C2AC;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.error-404 .btn-404:hover {
  background-color: #4fa28f;
}

/* ---- Container principal ---- */
.container-alt {
  max-width: 1200px;   /* largeur max sur grands écrans */
  margin: 0 auto;      /* centre horizontalement */
  padding: 0 1.5rem;   /* espace à gauche/droite pour le responsive */
}

/* ---- Zone principale ---- */
.site-main {
  padding-top: 12rem;
  background-color: #0D0D0D;
}

/* ---- Contenu ---- */
.entry-content {
  margin-top: 4rem;
  color: white;
}

/* ---- Titres ---- */
.wp-singular h1 {
  color: var(--theme);
}

.entry-content h2 {
  color: var(--theme);
}

.entry-title {
  text-align: center;
}

/* ---- Bouton retour ---- */
.entry-header {
  text-align: center; /* Centre tout ce qui est dedans */
}

.entry-header a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  color: #65C2AC;
  border: 2px solid #65C2AC;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.entry-header a:hover {
  background-color: #65C2AC;
  color: #fff !important;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .container-alt {
    padding: 0 1rem;
  }
  .entry-content {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .site-main {
    padding-top: 6rem;
  }
  .entry-content {
    margin-top: 2rem;
  }
  .entry-header a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .entry-title {
    font-size: 1.5rem;
  }
  .entry-content {
    margin-top: 1.5rem;
  }
  .no-margin-top{
  margin-top: 0xp;
  }
  .fancy-box.style1 .fancy-item h3 {
  white-space: unset;        /* empêche le retour à la ligne */
  }
}


@media (max-width: 480px) {
    .cta-wrapper.style2 .cta-content p {
       font-size: 16px; 
    }
    #coltextefooterbanner{
      margin-top: 0px;
    }
}

a{
      color: var(--theme);
}

.entry-content h2{
  padding-top: 20px;
  padding-bottom: 20px;
  line-height: 1.2;
}

.entry-content p{ 
  text-align: justify;
}