/*====================================================
  CSS ADD — version "safe" (keep !important)
=====================================================*/

/*------------------
  MENU / HEADER
-------------------*/
.menu > li > a {
  transition: color .3s, transform .3s !important;
}

.menu > li:hover > a {
  color: #FFF !important;
}

.menu li.active > a {
  color: #FFB400 !important;
  font-weight: 600 !important;
}

.submenu li.active > a {
  background: #FFB400 !important;
  color: #fff !important;
}

@media (min-width: 992px) {
  .menu > li:hover > a {
    color: #FFB400 !important;
  }
}

.header-section .header-bottom .container {
  position: relative !important;
}

@media (min-width: 992px) {
  .container.container-lg {
    max-width: 1400px !important;
  }
}
@media (min-width: 1400px) {
  .container.container-lg {
    max-width: 1600px !important;
  }
}

/*------------------
  LANGUAGE DROPDOWN
-------------------*/
.language-toggle {
  background: transparent !important;
  color: #9D9D9D !important;
  border: none !important;
  font-weight: 600 !important;
}

.language-toggle:hover {
  color: #FFB400 !important;
}

.dropdown-menu {
  border-radius: 6px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.dropdown-item {
  padding: 8px 12px !important;
  font-weight: 500 !important;
  color: #5D5D5D !important;
}

.dropdown-item:hover {
  background: #FFB400 !important;
  color: #fff !important;
}

.dropdown-item.active {
  background: #FFB400 !important;
  color: #fff !important;
}

.language-title {
  padding-inline: 15px !important;
  font-size: 13px !important;
}

.language-section {
  margin-bottom: 5px !important;
}

/*------------------
  UTILITIES
-------------------*/
.nowrap {
  white-space: nowrap !important;
}

.feature .feature__item-thumb > img {
  max-width: 67% !important;
}

/*------------------
  BACKGROUNDS / COLORS
-------------------*/
.bg-lightgrey {
  background-color: #DDDDDD !important;
  color: #000 !important;
}
.bg-lightgrey .feature__item-content > h5 {
  color: #000 !important;
}

.bg-darkgrey {
  background-color: #5D5D5D !important;
}

.bg-darkgrey .about__content > p,
.bg-darkgrey .about__content > ul {
  color: #fdfdfd !important;
}

/* FIX scope: was ".bg-darkgrey h3, h5" */
.bg-darkgrey h3,
.bg-darkgrey h5,
.bg-darkgrey h2{
  color: #FFF !important;
}

.bg-darkgrey h4 {
  color: #FFB400 !important;
}

.bg-darkgrey .feature__item-content > p {
  color: #FFF !important;
}

.bg-midgrey {
  background-color: #9D9D9D !important;
  color: #FFF !important;
}

.bg-midgrey h3 {
  color: #FFF !important;
}

.bg-midgrey .integrates__wrapper .integrates__content p {
  color: #000 !important;
  font-weight: 500 !important;
}

.bg-midgrey .integrates__wrapper .integrates__content h4 {
  color: #000 !important;
}

.integrates__wrapper .integrates__content h4 > span {
  font-size: 24px !important;
  font-weight: 700 !important;
}

.bg-accent {
  background-color: #FFB400 !important;
  color: #000 !important;
}

/* FIX scope: was ".about__content > p, ul" */
.about__content > p,
.about__content > ul {
  color: #000 !important;
}

/* Force spans */
.bg-lightgrey span,
.bg-darkgrey span,
.bg-midgrey span {
  color: #FFB400 !important;
}

.bg-accent span {
  color: #5D5D5D !important;
}

.bg-accent > h3 {
  color: #fff !important;
}

.bg-accent .section-header > p {
  font-weight: 500 !important;
}

.bg-accent .feature__item-content h5 {
  color: inherit !important;
}

/*------------------
  COUNTER / ABOUT / FEATURE
-------------------*/

.section.counter a.custom-btn--secondary:hover {
  background-color: #FFFFFF;
  color: #000;
}
.section.counter a.custom-btn--secondary::after {
  background-color: #FFF;
  transition: all 0.5s ease-in-out;
}
.counter.bg-accent .container h3 {
  color: #fff !important;
}

.counter.bg-accent .container p {
  font-weight: 500 !important;
  font-size: 19px !important;
  color: #000 !important;
}

.counter .container .center {
  text-align: center !important;
}

.feature__content {
  font-weight: 400 !important;
  color: #000 !important;
}

.about .about__list .about__list-item {
  font-weight: 500 !important;
}

/* Social hover override */
.social-links a:hover {
  background-color: #FFB400 !important;
  color: #121213 !important; /* CSS comment */
}

/*------------------
  CONTROL (cards)
-------------------*/
#control .feature__item {
  height: 33rem !important;
}

/*------------------
  CTA mobile/desktop (base)
-------------------*/
.pmc-cta-mobile {
  display: inline-flex !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 420px !important;
}

.pmc-cta-mobile-wrap {
  display: none !important;
}

/*====================================================
  RESPONSIVE — Banner (as you had, with !important)
=====================================================*/

/* Laptop */
@media (max-width: 1200px) {
  .banner .banner__content .font-pimp {
    font-size: 45px !important;
    line-height: 54px !important;
  }
}

/* Tablette */
@media (max-width: 1130px) {
  .banner .banner__content .font-pimp {
    font-size: 40px !important;
    line-height: 46px !important;
  }

  .banner .banner__content > p {
    font-size: 17px !important;
    line-height: 1.4 !important;
    margin-top: 12px !important;
  }

  .custom-btn.custom-btn--secondary,
  .custom-btn.custom-btn--dark {
    padding: 10px 20px !important;
  }

  .custom-btn.custom-btn--secondary.pmc-cta-mobile {
    font-size: 20px !important;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .banner .banner__content .font-pimp {
    font-size: 38px !important;
    line-height: 36px !important;
  }

  .banner .banner__content > p {
    font-size: 17px !important;
    line-height: 1.4 !important;
    margin-top: 12px !important;
  }

  .custom-btn.custom-btn--secondary.pmc-cta-mobile {
    font-size: 19px !important;
  }
}

/* Petit mobile */
@media (max-width: 485px) {
  .banner .banner__content .font-pimp {
    font-size: 35px !important;
    line-height: 36px !important;
  }

  .banner .banner__content > p {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-top: 12px !important;
  }

  .custom-btn.custom-btn--secondary.pmc-cta-mobile {
    font-size: 17px !important;
  }
}

/* Très petit mobile */
@media (max-width: 445px) {
  .banner .banner__content .font-pimp {
    font-size: 28px !important;
    line-height: 36px !important;
  }
}

/*====================================================
  RESPONSIVE — Control / Feature / Layout (keep !important)
=====================================================*/

/* ≤ 1400px */
@media (max-width: 1400px) {
  #control.feature .feature__item-content h5 {
    font-size: 23px !important;
    margin: 0 !important;
  }
}

/* ≤ 1100px */
@media (max-width: 1100px) {
  #control.feature .feature__item-content p {
    font-size: 17px !important;
  }

  .font-pimp {
    --stroke-width: 2px !important;
  }
}

/* 920px → 1100px */
@media (min-width: 920px) and (max-width: 1100px) {
  #control .container {
    max-width: 1100px !important;
  }

  #control.feature .feature__item {
    height: 32rem !important;
  }
}

/* ≤ 920px */
@media (max-width: 920px) {
  #control.feature .feature__item-content p {
    font-size: 15px !important;
  }

  #control.feature .feature__item-content h5 {
    font-size: 19px !important;
    margin-bottom: 10px !important;
  }

  #control.feature .feature__item {
    height: 32rem !important;
  }
	.integrates__content > h4 {
		font-size : 22px !important;
	}
	.integrates__content > p {
		font-size: 16px !important;
	}
	.integrates__wrapper .integrates__content h4 > span {
  font-size: 22px !important;
  font-weight: 700 !important;
}
}

/* ≤ 995px */
@media (max-width: 995px) {
  .section-header h2 {
    margin-top: 15px !important;
    font-size: 22px !important;
    width: 100% !important;
  }
	  .section-header p {
    font-size: 17px !important;
  }

  .feature__content > p {
    font-size: 17px !important;
  }
	.about .about__list .about__list-item {
		font-size: 16px !important;
	}
  .counter .container .center {
    text-align: left !important;
  }

  /* NOTE: tu avais une règle cassée "font-size" vide -> je la supprime */
  /*
  .feature__item-content > h5 {
    font-size
  }
  */

  .about__content > p,
  .about__content > ul {
    font-size: 16px !important;
    padding-block: 10px !important;
  }

  .about-style1 .about__list-item:nth-last-child(1) {
    padding-block-end: 4px !important;
  }
	.footer__content p {
		font-size: 17px;
	}
}

/* ≤ 770px */
@media (max-width: 770px) {
  #control.feature .feature__item-content p {
    font-size: 17px !important;
  }

  #control.feature .feature__item-content h5 {
    font-size: 22px !important;
    margin-bottom: 5px !important;
  }

  #control.feature .feature__item {
    height: 30rem !important;
  }
}

/* ≤ 759.98px (kept, but with !important) */
@media (max-width: 759.98px) {
  .feature .feature__item-content p {
    font-size: 17px !important;
    margin-top: 10px !important;
  }

  .feature .feature__item-content h5 {
    margin-bottom: 30px !important;
    font-size: 23px !important;
  }
	.footer__heading  h5{
		font-size: 20px!important;
		padding-block-end: 15px;
	}
	.footer__heading ul{
		font-size: 17px;
	}
	.footer__heading li {
		padding-block-end : 10px;
	}
	
}

/* ≤ 555px */
@media (max-width: 555px) {
  .feature .feature__item {
    height: 25rem !important;
  }

  .banner__content .font-pimp .left-text {
    transform: translateX(-40px) !important;
  }

  .counter.bg-accent .container p {
    font-size: 16px !important;
  }
}

/* < 500px */
@media (max-width: 499.98px) {
  .pmc-cta-desktop {
    display: none !important;
  }

  .pmc-cta-mobile-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
    margin-top: 16px !important;
  }
	.footer__heading {
		margin-top: 15px;
	}
}

/* ≥ 500px */
@media (min-width: 500px) {
  .pmc-cta-desktop {
    display: inline-flex !important;
  }

  .pmc-cta-mobile-wrap {
    display: none !important;
  }
}

/* ≤ 495px */
@media (max-width: 495px) {
  .row.g-5 {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }
}
/*======================
         BRAND 
========================*/

.partner-logo {
  height: 58px;
  width: 300px;
  object-fit: contain;
}

/*======================
          BLOG
========================*/
.blog .blog__item,
.blog .blog__item-inner{
  height: 100%;
}

/* le contenu pousse le bouton en bas */
.blog .blog__item-inner{
  display: flex;
  flex-direction: column;
}

.blog .blog__item-content{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.blog .blog__item-content > h5{
  font-size: 1.25rem;
}

.blog .blog__item-content .custom-btn{
  margin-top: auto;        /* pousse en bas */
  align-self: flex-start;  /* empêche le bouton de s'étirer en largeur */
  width: auto;             /* garde la largeur naturelle */
}
/*===============
        JS
================*/
