.hero {
  position: relative;
  padding: 80px 7%;
  color: #fff;
  background-image: url("/images/hero-fade-3.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 70%;
  margin-inline: unset;
}

.hero-top {
  margin-bottom: 14px;
}

.hero-top img {
  max-height: 100px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0 0 14px 0;
  font-weight: 1000;
  letter-spacing: -1px;
  font-size: 2.9rem;
  line-height: 1.02;
}

.hero .sous-titre {
  font-size: 1.5rem;
  margin-top: -100px;
}

.hero-lead {
  margin: 0;
  max-width: 760px;
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.hero-partner {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px) saturate(140%);
  max-width: 760px;
}

.hero-partner:hover {
  transform: translateY(-5px) !important;
}

.hero-partner-logo {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  background-image: url("/images/mistsu-elec-logo.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-partner-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.hero-partner-text strong {
  color: #fff;
}

@media screen and (max-width: 1250px) {
  .hero {
    position: relative;
    padding: 100px 7%;
    color: #fff;
    background-image: url("/images/fond-mobile-hero.webp");
    background-size: cover;
    background-position: center;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin-inline: unset;
  }
}

h2 {
  letter-spacing: -1px;
}

.bulle-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}

.presentation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  padding: 5% 7%;
  background-color: white;
  gap: 24px;
}

.presentation-droite,
.presentation-gauche {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.presentation h2 {
  text-align: left;
  width: 100%;
  line-height: 2rem;
}
.img-presentation {
  width: 90%;
  height: 500px;
  overflow: hidden;
  border-radius: 18px;
}

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

.presentation h2 {
  font-size: 3rem;
  margin-bottom: 18px;
}

.le-plus {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 5% 7%;
  text-align: center;
}

.le-plus h2 {
  font-size: 3rem;
}

.presentation a:not(.btn) {
  font-weight: bold;
  text-decoration: underline;
}

.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;
}

.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: top;
}

.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;
}

.faq {
  padding: 5% 7%;
  background-image: url("/images/batiment-2.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;
}

.realisations {
  padding: 5% 7%;
  background: var(--c-surface-2);
}

.realisations-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.realisations-title {
  max-width: 900px;
}

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

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

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.rea-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(11, 42, 74, 0.06);
  overflow: hidden;
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}

.rea-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(11, 42, 74, 0.1);
  border-color: rgba(76, 174, 211, 0.35);
}

.rea-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

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

.rea-content {
  padding: 18px;
}

.rea-content h3 {
  font-size: 1.4rem;
  line-height: 1.4rem;
  margin-bottom: 10px;
}

.rea-content p {
  font-size: 1rem;
  color: var(--c-muted);
}

.realisations-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.presentation .realisations-cta {
  justify-content: center;
  align-items: center;
}
.presentation h3 {
  margin-top: 18px;
}

.img-plus {
  width: 600px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 18px;
}

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

.qsn {
  padding-top: 0;
}

.faq-answer a {
  color: var(--c-accent);
  font-weight: bold;
  text-decoration: underline;
}

.partner-mobile {
  display: none;
}

@media screen and (min-width: 1400px) {
  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1250px) {
  .sol .inline {
    flex-direction: column;
  }

  .realisations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .presentation {
    flex-direction: column-reverse;
  }

  .qsn {
    flex-direction: column;
  }

  .presentation-droite,
  .presentation-gauche {
    width: 100%;
  }
  .img-presentation {
    width: 70%;
    height: 400px;
    overflow: hidden;
    border-radius: 18px;
  }
  .presentation h2 {
    text-align: center;
  }
}

@media screen and (max-width: 700px) {
  .realisations {
    padding: 50px 7%;
  }

  .realisations-title h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  .realisations-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .realisations-grid {
    grid-template-columns: 1fr;
  }

  .rea-img {
    height: 220px;
  }
  .hero {
    padding: 40px 7% 30px 7%;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .sous-titre {
    display: flex;
    font-size: 1.5rem;
    line-height: 1.1; /* réduit l’espace vertical */
    margin-top: 6px; /* ajuste finement si besoin */
    margin-bottom: 70px;
  }

  .hero-lead {
    display: none;
  }
  .partner-mobile {
    backdrop-filter: none;
    display: flex;
  }
  .partner-mobile .hero-partner-text {
    line-height: 1.1rem;
    font-size: 0.9rem;
  }
  .partner-desktop {
    display: none;
  }

  .arguments {
    flex-direction: column;
  }
  .arguments .bulle {
    width: 100%;
  }
  h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    margin: 24px 0;
  }
  .bulle-head p {
    font-size: 0.8rem;
  }
  .presentation h2 {
    text-align: center;
  }
  .presentation,
  .solutions {
    padding: 50px 7%;
  }
  .solutions-container {
    flex-direction: column;
    gap: 18px;
  }
  .sol {
    width: 100%;
  }
  .presentation h2,
  .solutions h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  .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;
  }
  .img-presentation {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 18px;
  }

  .presentation h2 {
    font-size: 2rem;
  }
  .img-plus {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 18px;
  }
  .le-plus {
    padding: 50px 7%;
  }
}

.reveal,
.reveal-stagger {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  will-change: opacity, transform;
}

.reveal-stagger {
  transform: translateY(12px);
  transition:
    opacity 460ms ease,
    transform 460ms ease;
}

.reveal.is-visible,
.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
