/* Page d'accueil V2 — plus sobre, toujours créative */
.page-home-v2 {
  background-color: #f7f9fc;
  background-image:
    radial-gradient(circle at 0 0, rgba(2, 88, 192, 0.07), transparent 34rem),
    radial-gradient(circle at 100% 18%, rgba(0, 194, 196, 0.06), transparent 28rem);
}

.page-home-v2::before {
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

.page-home-v2 .site-header.z-fixed {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.75rem, 8vw, 7.25rem) 0 clamp(4.25rem, 7vw, 6.5rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.92)),
    linear-gradient(90deg, rgba(2, 88, 192, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(2, 88, 192, 0.035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}

.home-hero__shape {
  position: absolute;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

.home-hero__shape--blue {
  width: 22rem;
  height: 22rem;
  right: -11rem;
  top: -9rem;
  border: 4rem solid rgba(2, 88, 192, 0.055);
}

.home-hero__shape--yellow {
  width: 8rem;
  height: 8rem;
  left: -4rem;
  bottom: 2.5rem;
  background: rgba(255, 196, 0, 0.12);
}

.home-eyebrow,
.home-section__kicker,
.home-final-cta__kicker {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--oc-blue-deep);
}

.home-eyebrow__dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--oc-yellow);
  box-shadow: 0 0 0 5px rgba(255, 196, 0, 0.16);
}

.home-hero__title {
  max-width: 12ch;
  margin: 0;
  color: var(--oc-ink);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.8vw, 5rem);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.home-hero__title span {
  color: var(--oc-blue);
}

.home-hero__lead {
  max-width: 39rem;
  margin: 1.7rem 0 0;
  color: var(--oc-anthracite);
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.65;
}

.home-hero__support {
  max-width: 38rem;
  margin: 0.85rem 0 0;
  color: var(--oc-grey-dark);
  line-height: 1.7;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.home-hero__actions .btn,
.home-final-cta__actions .btn {
  padding: 0.76rem 1.2rem;
  font-size: 0.9rem;
}

.home-hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1.55rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--oc-grey-dark);
  font-size: 0.84rem;
}

.home-hero__reassurance li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.home-hero__reassurance i {
  color: var(--oc-turquoise);
  font-size: 1rem;
}

.home-proof-card {
  position: relative;
  max-width: 36rem;
  margin-left: auto;
  padding: 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(2, 88, 192, 0.13);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(2, 42, 91, 0.13);
}

.home-proof-card::after {
  content: "";
  position: absolute;
  width: 7rem;
  height: 7rem;
  right: -2.5rem;
  bottom: -3rem;
  border-radius: 50%;
  background: rgba(0, 194, 196, 0.1);
  pointer-events: none;
}

.home-proof-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.55rem 0.85rem;
}

.home-proof-card__label {
  color: var(--oc-blue-deep);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.home-proof-card__header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--oc-blue);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-proof-card__header a:hover,
.home-proof-card__header a:focus-visible {
  background: var(--oc-blue-deep);
  transform: translateY(-2px);
}

.home-proof-card__visual {
  overflow: hidden;
  border-radius: 1.12rem;
  background: var(--oc-blue-deep);
  aspect-ratio: 16 / 10;
}

.home-proof-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-proof-card__body {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1rem 1.05rem;
}

.home-proof-card__meta,
.home-project-card__meta {
  margin: 0 0 0.5rem;
  color: var(--oc-blue);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-proof-card__meta span,
.home-project-card__meta span {
  padding: 0 0.25rem;
  color: var(--oc-grey-mid);
}

.home-proof-card__body h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 750;
}

.home-proof-card__body > p:last-child {
  margin: 0.65rem 0 0;
  color: var(--oc-grey-dark);
  line-height: 1.62;
}

.home-proof-card__empty {
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border-radius: 1.12rem;
  background: linear-gradient(145deg, var(--oc-blue-deep), var(--oc-blue) 65%, var(--oc-turquoise));
  color: #fff;
}

.home-proof-card__empty i {
  margin-bottom: auto;
  font-size: 3rem;
  opacity: 0.75;
}

.home-proof-card__empty h2 {
  font-size: 1.8rem;
}

.home-proof-card__empty p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.home-trust {
  position: relative;
  z-index: 2;
  margin-top: -1.35rem;
}

.home-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(2, 88, 192, 0.12);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.065);
}

.home-trust__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 6rem;
  padding: 1.1rem 1.25rem;
  border-right: 1px solid rgba(2, 88, 192, 0.1);
}

.home-trust__item:last-child {
  border-right: 0;
}

.home-trust__item i {
  flex: 0 0 auto;
  color: var(--oc-blue);
  font-size: 1.35rem;
}

.home-trust__item strong,
.home-trust__item span {
  display: block;
}

.home-trust__item strong {
  color: var(--oc-ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
}

.home-trust__item span {
  margin-top: 0.1rem;
  color: var(--oc-grey-dark);
  font-size: 0.76rem;
}

.home-section {
  padding: clamp(4.75rem, 8vw, 7rem) 0;
}

.home-section__heading {
  max-width: 47rem;
  margin-bottom: 2.5rem;
}

.home-section__heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-section__kicker {
  color: var(--oc-blue);
}

.home-section__title {
  margin: 0;
  color: var(--oc-ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.home-section__intro {
  margin: 1rem 0 0;
  color: var(--oc-grey-dark);
  font-size: 1.04rem;
  line-height: 1.75;
}

.home-problems {
  background: #fff;
}

.home-problem-card {
  height: 100%;
  padding: 1.65rem;
  border: 1px solid rgba(2, 88, 192, 0.11);
  border-radius: 1rem;
  background: linear-gradient(155deg, #fff, #f9fbfe);
}

.home-problem-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.35rem;
  border-radius: 0.85rem;
  background: rgba(2, 88, 192, 0.09);
  color: var(--oc-blue);
  font-size: 1.3rem;
}

.home-problem-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-problem-card p {
  margin: 0.75rem 0 0;
  color: var(--oc-grey-dark);
  line-height: 1.68;
}

.home-services {
  position: relative;
  overflow: hidden;
  background: #f5f8fc;
}

.home-services::before {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  top: -10rem;
  right: -8rem;
  border: 3.8rem solid rgba(255, 196, 0, 0.09);
  border-radius: 50%;
}

.home-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(2, 88, 192, 0.12);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(2, 42, 91, 0.055);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 88, 192, 0.24);
  box-shadow: 0 22px 44px rgba(2, 42, 91, 0.09);
}

.home-service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.home-service-card__number {
  color: var(--oc-grey-mid);
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(2, 88, 192, 0.1), rgba(0, 194, 196, 0.12));
  color: var(--oc-blue);
  font-size: 1.35rem;
}

.home-service-card h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 740;
  line-height: 1.2;
}

.home-service-card > p {
  margin: 0.9rem 0 0;
  color: var(--oc-grey-dark);
  line-height: 1.68;
}

.home-service-card ul {
  display: grid;
  gap: 0.62rem;
  margin: 1.3rem 0 1.6rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(2, 88, 192, 0.1);
  list-style: none;
}

.home-service-card li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--oc-anthracite);
  font-size: 0.88rem;
  line-height: 1.5;
}

.home-service-card li::before {
  content: "";
  position: absolute;
  width: 0.38rem;
  height: 0.38rem;
  left: 0;
  top: 0.48rem;
  border-radius: 50%;
  background: var(--oc-turquoise);
}

.home-service-card > a,
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--oc-blue);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.home-service-card > a i,
.home-text-link i {
  transition: transform 0.2s ease;
}

.home-service-card > a:hover i,
.home-service-card > a:focus-visible i,
.home-text-link:hover i,
.home-text-link:focus-visible i {
  transform: translateX(4px);
}

.home-services__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(2, 88, 192, 0.11);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.76);
}

.home-services__footer p {
  max-width: 45rem;
  margin: 0;
  color: var(--oc-grey-dark);
}

.home-projects {
  background: #fff;
}

.home-project-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(2, 88, 192, 0.11);
  border-radius: 1.15rem;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.09);
}

.home-project-card__visual {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--oc-blue-deep);
}

.home-project-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-project-card:hover .home-project-card__visual img {
  transform: scale(1.025);
}

.home-project-card__body {
  padding: 1.4rem;
}

.home-project-card__body h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 730;
  line-height: 1.25;
}

.home-project-card__body > p:last-child {
  margin: 0.75rem 0 0;
  color: var(--oc-grey-dark);
  font-size: 0.91rem;
  line-height: 1.68;
}

.home-empty-state {
  padding: 2rem;
  border: 1px dashed rgba(2, 88, 192, 0.25);
  border-radius: 1rem;
  color: var(--oc-grey-dark);
  text-align: center;
}

.home-empty-state p {
  margin: 0;
}

.home-method {
  position: relative;
  overflow: hidden;
  background: var(--oc-blue-deep);
  color: #fff;
}

.home-method::after {
  content: "";
  position: absolute;
  width: 19rem;
  height: 19rem;
  right: -8rem;
  bottom: -11rem;
  border: 4.5rem solid rgba(0, 194, 196, 0.11);
  border-radius: 50%;
}

.home-method .home-section__kicker {
  color: var(--oc-yellow);
}

.home-method .home-section__title {
  color: #fff;
}

.home-method .home-section__intro {
  color: rgba(255, 255, 255, 0.74);
}

.home-method .home-text-link {
  margin-top: 1.4rem;
  color: #fff;
}

.home-method__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-method__steps li {
  min-height: 12rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(5px);
}

.home-method__steps li:nth-child(2),
.home-method__steps li:nth-child(3) {
  background: rgba(0, 194, 196, 0.08);
}

.home-method__steps li > span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--oc-yellow);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-method__steps h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.home-method__steps p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.62;
}

.home-testimonials {
  background: #f5f8fc;
}

.home-testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 1.6rem;
  border: 1px solid rgba(2, 88, 192, 0.11);
  border-radius: 1rem;
  background: #fff;
}

.home-testimonial-card blockquote {
  flex: 1;
  margin: 0;
  color: var(--oc-anthracite);
  font-size: 0.98rem;
  line-height: 1.72;
}

.home-testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.45rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(2, 88, 192, 0.1);
}

.home-testimonial-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--oc-blue), var(--oc-turquoise));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

.home-testimonial-card figcaption strong,
.home-testimonial-card figcaption small {
  display: block;
}

.home-testimonial-card figcaption strong {
  color: var(--oc-ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.home-testimonial-card figcaption small {
  margin-top: 0.12rem;
  color: var(--oc-grey-dark);
  font-size: 0.75rem;
}

.home-faq {
  background: #fff;
}

.home-faq__accordion {
  display: grid;
  gap: 0.75rem;
}

.home-faq__accordion .accordion-item {
  overflow: hidden;
  border: 1px solid rgba(2, 88, 192, 0.12);
  border-radius: 0.9rem;
  background: #fff;
}

.home-faq__accordion .accordion-button {
  padding: 1.15rem 1.25rem;
  background: #fff;
  color: var(--oc-ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 680;
  box-shadow: none;
}

.home-faq__accordion .accordion-button:not(.collapsed) {
  background: rgba(2, 88, 192, 0.045);
  color: var(--oc-blue-deep);
}

.home-faq__accordion .accordion-button:focus {
  box-shadow: inset 0 0 0 2px rgba(2, 88, 192, 0.2);
}

.home-faq__accordion .accordion-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--oc-grey-dark);
  line-height: 1.7;
}

.home-faq__accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

.home-final-cta {
  padding: 0 0 clamp(4.5rem, 8vw, 7rem);
  background: #fff;
}

.home-final-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.8rem);
  border-radius: 1.5rem;
  background: linear-gradient(118deg, var(--oc-blue-deep), var(--oc-blue) 65%, #0879c7);
  color: #fff;
}

.home-final-cta__inner::after {
  content: "";
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: -6rem;
  top: -7rem;
  border: 3rem solid rgba(255, 196, 0, 0.12);
  border-radius: 50%;
}

.home-final-cta__inner > * {
  position: relative;
  z-index: 1;
}

.home-final-cta__kicker {
  color: var(--oc-yellow);
}

.home-final-cta h2 {
  max-width: 17ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 750;
  line-height: 1.1;
}

.home-final-cta p:not(.home-final-cta__kicker) {
  max-width: 45rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.77);
  line-height: 1.65;
}

.home-final-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 12.5rem;
}

@media (max-width: 991.98px) {
  .home-proof-card {
    max-width: 100%;
    margin: 0;
  }

  .home-trust {
    margin-top: 0;
    padding-top: 1.25rem;
    background: #fff;
  }

  .home-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-trust__item:nth-child(2) {
    border-right: 0;
  }

  .home-trust__item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(2, 88, 192, 0.1);
  }

  .home-services__footer,
  .home-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-final-cta__actions {
    flex-direction: row;
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    padding-top: 3.8rem;
  }

  .home-hero__title {
    max-width: 100%;
    font-size: clamp(2.5rem, 12vw, 3.65rem);
  }

  .home-hero__actions .btn {
    width: 100%;
  }

  .home-trust__grid {
    grid-template-columns: 1fr;
  }

  .home-trust__item,
  .home-trust__item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(2, 88, 192, 0.1);
  }

  .home-trust__item:last-child {
    border-bottom: 0;
  }

  .home-method__steps {
    grid-template-columns: 1fr;
  }

  .home-method__steps li {
    min-height: 0;
  }

  .home-services__footer .btn,
  .home-final-cta__actions,
  .home-final-cta__actions .btn {
    width: 100%;
  }

  .home-final-cta__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-proof-card__header a,
  .home-service-card,
  .home-project-card,
  .home-project-card__visual img,
  .home-service-card > a i,
  .home-text-link i {
    transition: none;
  }

  .home-service-card:hover,
  .home-project-card:hover,
  .home-project-card:hover .home-project-card__visual img {
    transform: none;
  }
}
