.hero {
  background-image: url("/images/fond-compre.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  padding: 70px 7%;
  position: relative;
}

h1 {
  font-weight: bold;
  font-size: 3.5rem;
  line-height: 3.5rem;
}
.hero .btn--line {
  color: white;
}

.hero .inline {
  margin: 18px;
  display: flex;
  gap: 12px;
}

h2 {
  letter-spacing: -1px;
  font-size: 3rem;
  line-height: 3rem;
}

.hero h2 {
  font-size: 2rem;
  line-height: 2rem;
}

.pourquoi {
  padding: 5% 7%;
}
.pourquoi p {
  margin-top: 24px;
}

.solutions {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 5% 7%;
  background-color: var(--c-surface-2);
}
.solutions h2 {
  font-size: 3rem;
  line-height: 3rem;
}
.solutions-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
}
.sol {
  width: 50%;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(11, 42, 74, 0.06);
  overflow: hidden;
}

.sol:not(.sol-clim) {
  width: 100%;
}

.bulle-bleue {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-muted);
  color: var(--c-muted);
  width: fit-content;
  font-size: 1rem;
  font-weight: 900;
}

.sol-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.sol-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sol:not(.sol-clim) .sol-image {
  height: 400px;
}
.sol-pac .sol-image img {
  object-position: center;
}

.sol-content {
  padding: 18px;
}

.sol:not(.sol-3) h3 {
  font-size: 1.5rem;
  margin-top: 8px;
}
.sol-text {
  font-size: 1rem;
}

.sol .inline {
  gap: 18px;
  margin-top: 18px;
}

.sol-3 {
  width: 33%;
  padding: 18px;
}

.pourquoi .image-container {
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.pourquoi .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pourquoi .c-50 {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blue {
  background-image: url("/images/batiment-2.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}
.gray {
  background-color: var(--c-surface-2);
}
.p-cle {
  background-color: var(--c-surface-2);
  padding: 5% 7%;
}

.p-cle h2 {
  text-align: center;
}

.bulle-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}
.bulle {
  width: 20%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--c-border);
  color: rgba(255, 255, 255, 0.92);
  transition: 0.3s;
  width: fit-content;
  font-weight: bold;
  padding: 12px;
  border-radius: 15px;
}

.titre-bulle {
  font-weight: 1000;
  margin-bottom: 8px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.texte-bulle {
  font-size: 1rem;
}

.faq {
  padding: 5% 7%;
  background-image: url("/images/fond-pompe.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.faq-head {
  margin-bottom: 24px;
  max-width: 900px;
}

.faq-head h2 {
  font-size: 3rem;
  line-height: 3rem;
  margin-bottom: 10px;
}

.faq-head p {
  color: var(--c-muted);
  font-size: 1.1rem;
}

.faq-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.faq-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--c-border);
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  transition: 0.25s;
  border-radius: 15px;
}

.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 950;
  color: white;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary span:first-child {
  font-size: 1.05rem;
  line-height: 1.25rem;
}

.faq-plus {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(1, 26, 38, 0.1);
  background: var(--c-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex: 0 0 auto;
  transition: 0.2s;
}

.faq-card[open] {
  border-color: rgba(76, 174, 211, 0.35);
  box-shadow: 0 18px 46px rgba(11, 42, 74, 0.1);
}

.faq-card[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px 20px;
}

.faq-answer p {
  font-size: 1rem;
  color: white;
  line-height: 1.6;
}

.faq h2 {
  color: white;
}

.faq-head p {
  color: white;
}

.cta .btn {
  margin-top: 16px;
}
.cta {
  text-align: center;
}

@media screen and (min-width: 1400px) {
  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (max-width: 1250px) {
  h1 {
    text-align: center;
  }
  .sol .inline {
    flex-direction: column;
  }

  .pourquoi .columns:not(.reverse) {
    flex-direction: column;
    gap: 24px;
  }
  .reverse {
    gap: 24px;
    flex-direction: column-reverse;
  }
  .pourquoi .c-50 {
    width: 100%;
    padding: 0;
  }

  .pourquoi .image-container {
    height: 40vh;
  }
}

@media screen and (max-width: 700px) {
  h1 {
    font-size: 3rem;
    line-height: 2.5rem;
    margin: 24px 0;
  }
  h2 {
    font-size: 2rem;
    line-height: 2rem;
  }

  .hero h2 {
    text-align: center;
    font-size: 1.5rem;
  }

  .solutions {
    padding: 50px 7%;
  }
  .solutions-container {
    flex-direction: column;
    gap: 18px;
  }
  .sol {
    width: 100%;
  }
  .solutions h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  .pourquoi .image-container {
    height: 30vh;
  }
  .pourquoi,
  .p-cle {
    padding: 50px 7%;
  }

  .bulle-container {
    flex-direction: column;
  }
  .bulle {
    width: 100%;
  }

  .faq {
    padding: 50px 7%;
  }
  .faq-head h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-card summary {
    padding: 16px 16px;
  }
  .faq-answer {
    padding: 0 16px 16px 16px;
  }
  .hero {
    background-attachment: scroll;
  }
}
