/* ============================================================
   CSS SERVICE SOFTWARE — sans tout ce qui concerne le hero
   (hero software, hero green, badges hero, portes décoratives,
    réorganisation mobile du hero : tout a été retiré)
   ============================================================ */

/* ================= Base ================= */
.conteneur-dent-de-scie {
  width: 100%;
  height: 13px;
  position: relative;
}

.conteneur-dent-de-scie img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.section__subtitle_software {
  text-align: center;
  font-size: 37px;
  font-weight: 300;
  color: #1c1a15;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 60px;
}

.texte-suligne {
  background: linear-gradient(
    180deg,
    rgba(221, 143, 30, 0) 62%,
    rgba(221, 143, 30, 0.38) 62%
  );
  letter-spacing: -1.2px;
}

.tiret {
  display: inline-flex;
  width: 26px;
  height: 1.7px;
  margin: 3px 7px 5px 7px;
  background-color: #1c1a15;
}

.texte-vert {
  color: #0f6322;
  font-style: italic;
}

.badge-vert {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #0f6322;
}

.trait-vert {
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: #0f6322;
}

/* ================= Section citation ================= */
.section.section__software {
  background-color: #faf6ee;
  padding-block: 59px 45px;
  font-size: 40px;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.section.section__software .soleil-rouge {
  margin-block: 47px 20px;
  width: 48px;
  height: 48px;
  animation: infinite-rotate 8s linear infinite;
}

/* ================= Bandeau qualité ================= */
.qualite-cicec {
  background-color: #dd8f1e;
  height: 358.58px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qualite-cicec > div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 50px 100px 50px;
}

.qualite-cicec .qualite {
  padding: 40px 100px;
  position: relative;
  color: #1c1a15;
  text-align: center;
  gap: 10px;
}

.qualite-cicec .qualite:nth-last-child(n + 2)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0.5px;
  height: 55%;
  transform: translateY(70px);
  background-color: #1c1a154d;
}

.qualite .message-important {
  margin-top: 0;
  color: #1c1a15;
  font-size: 65px;
  font-weight: 600;
  padding-top: 0;
}

.qualite .message {
  font-size: 13.4px;
  font-weight: 400;
  text-wrap: nowrap;
  margin-block: 0 10px;
  font-family: "Outfit";
}

/* ================= Section CTA / dev ================= */
.section.software-dev-section {
  padding-block: 107px 134px;
  position: relative;
  overflow: hidden;
}

.section.software-dev-section h1,
.section .expertise-en-tete h1 {
  font-size: 47.1px;
  font-weight: 600;
  letter-spacing: -0.5px;
  max-width: 980px;
  line-height: 51.84px;
  margin-inline: auto;
}

.software-dev-section h1 em,
.section-expertise h1 em {
  font-style: italic;
}

.software-dev-section .section__subtitle {
  max-width: 850px;
  margin-inline: auto;
  margin-bottom: 20px;
  font-size: 18px;
}

.cta-orange {
  background-color: #1c1a15;
}

.cta {
  font-size: 17px;
  position: relative;
}

.software-dev-btn .cta.cta-orange {
  padding: 15px;
  margin: 0;
}

.cta.cta-orange:hover {
  background-color: #0f6322;
  box-shadow: #0f6323bb 0px 2px 15px;
}

.cta.cta-souligne {
  border-radius: 0;
  background-color: transparent;
  color: #1c1a15;
  transition: all ease 0.3s;
  padding-inline: 4px;
  padding-bottom: 13px;
}

.cta.cta-souligne::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #f0b95a;
  transition: all ease 0.3s;
}

.cta.cta-souligne:hover {
  color: #0f6322;
  background-color: transparent;
}

.software-dev-section .cercle {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 50%;
  height: 180%;
  border-radius: 50%;
  border: 1px dotted #ad090e40;
  pointer-events: none;
}

.software-dev-section .grand-cercle {
  width: 68%;
  height: 208%;
  border-radius: 58%;
  border: 2px dotted #0f63222e;
  transform: translate(50%, -55%);
}

/* ================= Section expertise ================= */
.section.section-expertise {
  text-align: center;
  padding-block: 112px;
  background-color: #f3ecdd;
}

html {
  scroll-behavior: smooth;
}

#notre-expertise {
  scroll-margin-top: 100px;
}

.section-expertise__badge span {
  font-size: 11.5px;
  font-family: "Outfit";
  font-weight: 700;
  letter-spacing: 2.07px;
  color: #f0b95a;
  text-transform: uppercase;
}

.section-expertise .section-expertise__badge_vert span {
  color: #0f6322;
}

.section-expertise .section-expertise__badge_vert span::before {
  background-color: #0f6322;
}

.section-expertise__badge span::before {
  content: "";
  display: inline-block;
  width: 23px;
  height: 2px;
  margin-right: 2px;
  background-color: #f0b95a;
  transform: translateY(-3.5px);
}

.expertise-cards {
  margin-block: 30px 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  text-align: start;
}

.expertise-cards > div {
  margin-block: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-content: center;
}

.card-expertise {
  background-color: #faf6ee;
  padding: 28px 20px;
  border-radius: 15px;
  border: 1px solid #1c1a151f;
  transition: all ease 0.3s;
  cursor: pointer;
  width: 380px;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 25px;
}

.section .card-expertise img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.card-expertise:hover {
  box-shadow:
    10px 10px 15px 3px #91908f0c,
    -10px -10px 15px 3px #91908f0c,
    10px -10px 15px 3px #91908f0c,
    -10px 10px 15px 3px #91908f0c;
}

.card-expertise__title {
  color: #1c1a15;
  font-size: 18.6px;
  font-weight: 600;
  margin-block: 15px;
  font-family: "Fraunces";
  line-height: 23.6px;
}

.section__subtitle-expertise {
  max-width: 1065px;
  margin-inline: auto;
  margin-top: 15px;
  line-height: 2rem;
  font-size: 20px;
  font-weight: 400;
  color: #5c574c;
  font-family: "Outfit";
  text-align: center;
}

.card-expertise__description {
  font-family: "Outfit";
  color: #5c574c;
  font-size: 14.1px;
  font-weight: 400;
  margin-block: -7px 15px;
  line-height: 23.94px;
}

/* ================= Ajustements spécifiques #software ================= */
#software-btn {
  border-bottom: 2px solid var(--gold);
}

#software-btn::after {
  background-color: transparent;
}

#software .section .expertise-en-tete h1 {
  font-size: 46.7px;
  line-height: 51.84px;
  letter-spacing: -0.72px;
  font-weight: 600;
  max-width: 580px;
}

#software .section__subtitle-expertise {
  font-size: 15.5px;
  line-height: 27.94px;
  font-weight: 400;
  letter-spacing: 0;
  max-width: 846px;
}

#software .card-expertise {
  height: 290.19px;
  width: 377.33px;
  border-radius: 18px;
  padding: 33.6px 28px;
}

#software .section.software-dev-section h1 {
  font-weight: 600;
  font-size: 56.6px;
  line-height: 62.2px;
  letter-spacing: -1.15px;
  max-width: 770px;
}

#software .section.software-dev-section .section__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 29.6px;
  letter-spacing: 0%;
  max-width: 760px;
}

/* ============================================================
   RESPONSIVE — sans aucune règle liée au hero
   ============================================================ */

/* ---------- ≤1280px ---------- */
@media (max-width: 1280px) {
  .expertise-cards > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 1180px;
    padding-inline: 24px;
  }

  .card-expertise,
  #software .card-expertise {
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: 280px;
  }

  .qualite-cicec > div {
    padding: 30px 24px 60px;
    flex-wrap: wrap;
  }

  .qualite-cicec .qualite {
    padding: 24px 48px;
  }

  #software .section.software-dev-section h1 {
    font-size: clamp(34px, 4.5vw, 56.6px);
    line-height: 1.1;
  }
}

/* ---------- ≤1024px ---------- */
@media (max-width: 1024px) {
  .section__subtitle_software {
    font-size: clamp(24px, 3.6vw, 37px);
    max-width: 90%;
    padding-inline: 16px;
  }

  .expertise-cards > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 800px;
  }

  #software .section .expertise-en-tete h1 {
    font-size: clamp(32px, 4.5vw, 46.7px);
    line-height: 1.12;
    max-width: 640px;
  }

  #software .section__subtitle-expertise {
    font-size: 14.5px;
    padding-inline: 20px;
  }

  .qualite-cicec {
    height: auto;
  }

  .qualite-cicec .qualite:nth-last-child(n + 2)::after {
    display: none;
  }

  .qualite .message-important {
    font-size: 48px;
  }

  .section.software-dev-section {
    padding: 70px 24px 90px;
  }
}

/* ---------- ≤768px ---------- */
@media (max-width: 768px) {
  .section.section__software {
    padding: 40px 20px;
  }

  .section.section-expertise {
    padding: 64px 20px;
  }

  .section.software-dev-section h1,
  .section .expertise-en-tete h1 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.15;
  }

  .expertise-cards > div {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 16px;
  }

  .card-expertise,
  #software .card-expertise {
    max-width: 100%;
    padding: 24px 20px;
  }

  .qualite-cicec > div {
    flex-direction: column;
    gap: 4px;
    padding: 28px 20px 36px;
  }

  .qualite-cicec .qualite {
    padding: 12px 20px;
  }

  .qualite .message-important {
    font-size: 40px;
  }

  .qualite .message {
    text-wrap: wrap;
    text-align: center;
  }

  .software-dev-section .section__subtitle {
    font-size: 15px;
    padding-inline: 4px;
  }

  .section.section__software .orange-partiel-cercle,
  .section.section__software .vert-partiel-cercle {
    display: none;
  }

  .software-dev-section .cercle {
    display: none;
  }
}

/* ---------- ≤480px ---------- */
@media (max-width: 480px) {
  .Btn.software-dev-btn .cta {
    font-size: 12.5px;
    padding: 10px 18px;
  }

  .section__subtitle_software {
    font-size: 22px;
  }

  .qualite .message-important {
    font-size: 34px;
  }
}