/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 05 2025 | 21:45:59 */
/* ========== CONTAINER PRINCIPAL ========== */
.expertises-bloc {
  background: #fff;
  margin-top: 2%;
  /* hauteur auto pour éviter les chevauchements si contenu variable */
  height: 100%;
}

/* ========== TITRE DE SECTION ========== */
.expertises-title {
  text-align: center;
  color: #00008f;
  margin-bottom: 3%;
  font-size: 2.3rem;
  font-family: 'Avenir Next', 'Montserrat', 'Nunito Sans', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

/* ========== ONGLET NAVIGATION ========== */
.expertises-tabs {
  display: flex;
  justify-content: center;
  gap: 2%;
  margin-bottom: 4%;
  flex-wrap: wrap;
}
.tab {
  position: relative;
  background: none;
  border: none;
  color: #00008f;
	font-family: 'Avenir Next', 'Montserrat', 'Nunito Sans', Arial, sans-serif;
  max-width: 18%;
  font-size: 17px; 
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  outline: none;
  transition: color 0.18s, transform 0.14s;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

/* Soulignement animé (hover/active) */
.tab::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 1.5px;
  background: #ff1721;
  border-radius: 1px;
  opacity: 0;
  transition: 
    left 0.28s cubic-bezier(.4,0,.2,1),
    right 0.28s cubic-bezier(.4,0,.2,1),
    opacity 0.16s;
}
.tab:hover::after,
.tab:focus-visible::after,
.tab.active::after {
  left: 0;
  right: 0;
  opacity: 1;
}
.tab:hover,
.tab:focus-visible,
.tab.active {
  transform: scale(1.035);
  z-index: 1;
}

/* ========== CONTENU DES EXPERTISES (ANIMATION, STRUCTURE) ========== */
.expertises-contents {
  width: 90%;
  margin: 0 auto;
  position: relative;
  min-height: 350px; /* Ajuste selon contenu min */
}
.expertise-content {
  /* Animation fondu + slide X */
  display: none;
  flex-direction: column;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  background: #fff;
  transition:
    opacity 0.39s cubic-bezier(.5,0,.25,1),
    transform 0.54s cubic-bezier(.5,0,.25,1);
}
.expertise-content.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

/* ========== TITRE DE CHAQUE EXPERTISE ========== */
.expertise-h3 {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: #00008f;
  margin-bottom: 3%;
  margin-top: 0;
  text-transform: uppercase;
  font-family: 'Avenir Next', 'Montserrat', 'Nunito Sans', Arial, sans-serif;
  width: 100%;
}

/* ========== DEUX COLONNES (TEXTE + ILLUSTRATION) ========== */
.expertise-cols {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 2%;
  width: 100%;
}

.expertise-text {
  width: 45%;
  text-align: justify;
  color: var(--muted);
  font-size: 1.15rem;
  font-family: 'Avenir Next', 'Montserrat', 'Nunito Sans', Arial, sans-serif;
  padding-left: 3%;
}

/* Bouton centré ou à gauche selon le device */
.expertise-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  width: 100%;
	text-align: center;
}

/* Bouton stylé */
.expertise-btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.07rem;
  font-weight: 600;
  color: #fff;
  background: #00008f;
  border-radius: 32px;
  text-decoration: none;
  transition: background 0.15s, transform 0.14s;
  box-shadow: 0 2px 8px rgba(30,36,49,0.08);
  margin-top: 0; /* retire tout margin top résiduel */
}
.expertise-btn:hover, .expertise-btn:focus {
  background: #e8ebfa;
  transform: scale(1.04);
  color: #00008f;
	border: 1px solid #00008f
}

/* Illustration (image SVG) */
.expertise-illustration {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.expertise-illustration img {
  width: 80%;
  height: auto;
  object-fit: contain;
  padding-top: 0;
}

/* ========== RESPONSIVE ========== */
/* ================= RESPONSIVE TABLETTE ================= */
@media (max-width: 1024px) {

  .expertises-title {
    font-size: 2rem;
    letter-spacing: 0.037em;
	  margin-bottom: 5%;
  }

  .tab {
    font-size: 15.5px;
    letter-spacing: 0.035em;
    padding: 7px 7px;
  }

  .expertise-h3 {
    font-size: 1.22rem;
    letter-spacing: 0.085em;
    line-height: 1.18;
    margin-bottom: 2.1%;
  }

  .expertise-text {
    font-size: 80%;
    letter-spacing: 0.01em;
    line-height: 1.4;
    padding-left: 1.5%;
    padding-right: 1.5%;
  }
	
	.expertise-illustration {
		
		align-items: center;
		}
	
	.expertise-illustration img {
		width:100%;
		}
}

/* ============= RESPONSIVE PETITE TABLETTE (<900px) ============= */
@media (max-width: 900px) {

  .expertises-title {
    font-size: 1.45rem;
    letter-spacing: 0.027em;
    margin-bottom: 6%;
  }

  .tab {
    font-size: 14px;
    padding: 6px 4px;
    letter-spacing: 0.018em;
  }

  .expertise-h3 {
    font-size: 1.09rem;
    letter-spacing: 0.048em;
    line-height: 1.13;
  }
	
	.expertise-cols{
		flex-direction: column-reverse;
		}

  .expertise-text {
    font-size: 0.92rem;
    line-height: 1.25;
    letter-spacing: 0.005em;
    padding-left: 0.7%;
    padding-right: 0.7%;
	  width: 95%;
	  margin-top: 10px;
  }

  .expertise-btn {
    font-size: 0.97rem;
    padding: 13px 8%;
  }

	.expertise-illustration{
    width: 100%;
  }
	
  .expertise-illustration img {
    width: 50%;   
  }
}



/* ================= RESPONSIVE MOBILE ================= */
@media (max-width: 650px) {

  .expertises-title {
    font-size: 1.28rem;
    letter-spacing: 0.021em;
    margin-bottom: 7%;
  }

  .expertises-tabs {
    gap: 1.5%;
    margin-bottom: 5%;
  }
  .tab {
    font-size: 12.7px;
    letter-spacing: 0.018em;
    padding: 7px 4px;
    max-width: 90%;
  }

  .expertise-h3 {
    font-size: 1.01rem;
    letter-spacing: 0.048em;
    line-height: 1.13;
    margin-bottom: 5%;
  }

  .expertise-cols {
    flex-direction: column;
    gap: 2%;
	flex-direction: column-reverse;
	  font-weight: 400;
  }

  .expertise-text,
  .expertise-illustration {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
  .expertise-text {
    font-size: 0.95rem;
    line-height: 1.36;
    letter-spacing: 0.005em;
  }

  .expertise-btn-wrap {
    justify-content: center;
    margin-top: 7%;
  }
  .expertise-btn {
    font-size: 0.99rem;
    padding: 12px 12%;
    width: 90%;
    max-width: 340px;
    min-width: 180px;
  }
  .expertise-illustration img {
    width: 90%;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 14px;
  }
}

