/* ODEOS — Modernisation progressive de l'accueil */

#odeos-home {
  --paper: #f7f8f4;
  --ink: #173e43;
  --teal: #224f57;
  --line: #dce5dd;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

#odeos-home h1,
#odeos-home h2,
#odeos-home h3 {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  letter-spacing: -.045em;
}

#odeos-home .o-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 135px) 0 90px;
  background:
    radial-gradient(ellipse at 95% 5%, rgba(217,239,132,.13), transparent 45%),
    linear-gradient(145deg, #173d44, #285c60);
}

#odeos-home .o-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -300px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  pointer-events: none;
}

#odeos-home .o-hero h1 {
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
  letter-spacing: -.065em;
  line-height: .99;
  max-width: 1100px;
}

#odeos-home .o-hero h1 span {
  color: #d9ef84;
}

#odeos-home .o-hero-bottom {
  margin-top: 48px;
}

#odeos-home .o-intro {
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

#odeos-home .o-button {
  border-radius: 100px;
  padding: 18px 27px;
  box-shadow: 0 8px 24px rgba(13,49,52,.09);
}

#odeos-home .o-offers {
  padding: clamp(65px, 8vw, 110px) 0;
}

#odeos-home .o-section-title {
  max-width: 750px;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin-bottom: 38px;
}

#odeos-home .o-cards {
  gap: 26px;
}

#odeos-home .o-card {
  border-radius: 26px;
  padding: clamp(30px, 4vw, 52px);
  box-shadow: 0 15px 50px rgba(23,62,67,.045);
  transition: transform .3s ease, box-shadow .3s ease;
}

#odeos-home .o-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(23,62,67,.09);
}

#odeos-home .o-card.o-business {
  background: #e6eee7;
}

#odeos-home .o-card h3 {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
}

#odeos-home .o-duo {
  padding-bottom: 95px;
}

#odeos-home .o-duo-inner {
  padding-top: 75px;
}

#odeos-home .o-duo h2 {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
}

#odeos-home .o-person img {
  width: 124px;
  height: 124px;
  border: 4px solid white;
  box-shadow: 0 10px 30px rgba(23,62,67,.12);
}

#odeos-home .o-contact {
  padding: 58px 0;
  background: #d9ef84;
}

@media (max-width: 650px) {
  #odeos-home .o-hero {
    padding: 58px 0 60px;
  }

  #odeos-home .o-hero h1 {
    font-size: clamp(2.9rem, 10vw, 4.3rem);
  }

  #odeos-home .o-hero-bottom {
    margin-top: 32px;
  }

  #odeos-home .o-offers {
    padding: 55px 0;
  }

  #odeos-home .o-card {
    padding: 30px 25px;
  }

  #odeos-home .o-duo {
    padding-bottom: 55px;
  }

  #odeos-home .o-duo-inner {
    padding-top: 45px;
  }

  #odeos-home .o-person img {
    width: 94px;
    height: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #odeos-home .o-card {
    transition: none;
  }

  #odeos-home .o-card:hover {
    transform: none;
  }
}

/* ODEOS — Hero photographique */
#odeos-home .o-hero {
  background:
    linear-gradient(90deg,
      rgba(19,54,59,.97) 0%,
      rgba(19,54,59,.92) 40%,
      rgba(19,54,59,.50) 100%),
    url('/assets/images/cabinet-accueil.webp')
      center center / cover no-repeat;
  min-height: 650px;
  display: flex;
  align-items: center;
}

#odeos-home .o-hero h1 {
  max-width: 950px;
  text-shadow: 0 3px 25px rgba(0,0,0,.12);
}

#odeos-home .o-hero .o-wrap {
  position: relative;
  z-index: 1;
}

@media(max-width:650px) {
  #odeos-home .o-hero {
    min-height: 580px;
    background:
      linear-gradient(180deg,
        rgba(19,54,59,.90),
        rgba(19,54,59,.76)),
      url('/assets/images/cabinet-accueil.webp')
        center center / cover no-repeat;
  }
}
