/* =========================
   SERVICES PAGE HERO
   ========================= */
.services-page-hero{
  padding: 100px 20px 80px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(29,161,242,.10), transparent 40%),
    linear-gradient(135deg, #071A2F, #0F4C81);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow:
    0 24px 60px rgba(15,76,129,.18),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.services-page-hero::before{
  content:"";
  position:absolute;
  width:320px;
  height:320px;
  top:-120px;
  left:-80px;
  background: radial-gradient(circle, rgba(29,161,242,.18), transparent 70%);
  z-index:-1;
}

.services-page-hero::after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  right:-120px;
  bottom:-160px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
  z-index:-1;
}

.services-page-hero h1,
.services-page-hero h2{
  text-shadow: 0 10px 24px rgba(0,0,0,.18);
  color: #ffffff;
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 18px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.services-page-hero p{
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,.88);
}

.services-page-hero .wp-block-buttons{
  justify-content: center;
}

/* =========================
   SERVICES PAGE BACKGROUND
   ========================= */
.services-page-wrapper{
  position: relative;
  overflow: hidden;
}

.services-page-wrapper::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(29,161,242,.05), transparent 20%),
    radial-gradient(circle at 85% 40%, rgba(15,76,129,.04), transparent 22%),
    linear-gradient(rgba(15,76,129,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,76,129,.025) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    70px 70px,
    70px 70px;
  pointer-events: none;
  z-index: 0;
}

.services-page-wrapper > *{
  position: relative;
  z-index: 1;
}

/* =========================
   SERVICES PAGE INTRO
   ========================= */
.services-page-intro{
  padding: 70px 20px 30px;
  text-align: center;
}

.services-page-intro h2{
  color: #0F4C81;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.services-page-intro p{
  font-size: 18px;
  max-width: 820px;
  margin: 0 auto;
  color: #6B7A90;
  line-height: 1.9;
}

/* =========================
   SERVICE DETAIL SECTION
   ========================= */
.service-detail-section{
  padding: 40px 20px;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity .8s cubic-bezier(.21,.61,.35,1),
    transform .8s cubic-bezier(.21,.61,.35,1);
  transition-delay: var(--delay, 0s);
}

.service-detail-section.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.service-detail-row{
  align-items: center !important;
  gap: 56px !important;
}

/* image */
.service-detail-row .wp-block-image{
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
}

.service-detail-row .wp-block-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(0,0,0,.10);
  transition: transform .45s ease, box-shadow .35s ease;
}

.service-detail-section:hover .wp-block-image img{
  transform: scale(1.04);
  box-shadow: 0 28px 60px rgba(0,0,0,.14);
}

/* bloc texte */
.service-detail-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,76,129,.08);
  border-radius: 22px;
  padding: 28px 32px 34px 32px !important;
  box-shadow:
    0 14px 35px rgba(0,0,0,.05),
    inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* label */
.service-detail-label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1DA1F2;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.service-detail-label::after{
  content:"";
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, #1DA1F2, rgba(29,161,242,.15));
}

/* titres */
.service-detail-content h2,
.service-detail-content h3{
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  color: #0F4C81;
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 0 !important;
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.service-detail-content h2::after,
.service-detail-content h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:64px;
  height:3px;
  border-radius:3px;
  background: linear-gradient(
    90deg,
    #0F4C81,
    #1DA1F2
  );
  box-shadow: 0 0 10px rgba(29,161,242,.18);
  transition: width .35s ease;
}

.service-detail-section:hover .service-detail-content h2::after,
.service-detail-section:hover .service-detail-content h3::after{
  width:92px;
}

/* texte */
.service-detail-content p{
  color: #5F6B78;
  line-height: 1.9;
  margin-bottom: 18px;
  font-size: 17px;
}

/* liste premium */
.service-detail-content ul{
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
  color: #5F6B78;
  line-height: 1.8;
}

.service-detail-content ul li{
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #5F6B78;
  line-height: 1.8;
}

.service-detail-content ul li::before{
  content:"";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1DA1F2;
  box-shadow: 0 0 0 6px rgba(29,161,242,.10);
}

/* =========================
   SERVICE SECTION SPACING
   ========================= */
.service-detail-section + .service-detail-section{
  padding-top: 20px;
}

.service-detail-section + .service-detail-section::before{
  content:"";
  display:block;
  width: 120px;
  height: 1px;
  margin: 0 auto 44px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(15,76,129,.12),
    transparent
  );
}

/* =========================
   Version Responsive
   ========================= */
@media (max-width: 768px){
  .services-page-hero{
    padding: 80px 20px 60px;
    border-radius: 18px;
  }

  .services-page-hero p{
    font-size: 16px;
  }

  .services-page-intro{
    padding: 50px 20px 20px;
  }

  .service-detail-section{
    padding: 34px 20px;
  }

  .service-detail-row{
    gap: 26px !important;
  }

  .service-detail-content{
    padding: 24px 22px !important;
    border-radius: 18px;
  }

  .service-detail-content h2,
  .service-detail-content h3{
    font-size: 30px !important;
  }

  .service-detail-content p{
    font-size: 16px;
    line-height: 1.8;
  }
}