/* =====================================================================
   EXOLIANCE — Styles des pages services (PHP)
   1. Footer (repris de services.html)  2. Pages services
   ===================================================================== */

/* ---------- 1. FOOTER ---------- */
.main-footer.footer-style-two {
  position: relative;
  color: #cbd5e1;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0e1a 0%, #120a07 60%, #1a0d08 100%);
}
.main-footer.footer-style-two::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(47, 123, 239, 0.22) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.main-footer.footer-style-two::after {
  content: '';
  position: absolute;
  bottom: -250px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(30, 184, 240, 0.14) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.main-footer.footer-style-two .bg-image {
  position: absolute; inset: 0; z-index: 0; opacity: 0.04;
}
.main-footer.footer-style-two .bg-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.main-footer.footer-style-two .auto-container {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 72px 24px 0;
}
.main-footer.footer-style-two .widgets-section .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
}
.main-footer.footer-style-two .about-widget .brand-name {
  font-family: 'Sora', sans-serif;
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #2F7BEF 0%, #5BC8F5 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 18px; display: inline-block;
}
/* Logo du footer */
.main-footer.footer-style-two .about-widget .footer-logo { display: inline-block; margin-bottom: 22px; }
.main-footer.footer-style-two .about-widget .footer-logo img { width: 180px; height: auto; transition: transform .3s ease; }
.main-footer.footer-style-two .about-widget .footer-logo:hover img { transform: scale(1.04); }
.main-footer.footer-style-two .about-widget .about-text {
  color: #94a3b8; font-size: 14px; line-height: 1.7; margin-bottom: 24px; max-width: 320px;
}
.main-footer.footer-style-two .about-widget .trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: rgba(47, 123, 239, 0.12);
  border: 1px solid rgba(47, 123, 239, 0.3); border-radius: 999px;
  font-size: 13px; color: #5BC8F5; font-weight: 500;
}
.main-footer.footer-style-two .about-widget .trust-badge .dot {
  width: 8px; height: 8px; background: #2F7BEF; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(47, 123, 239, 0.2); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(47, 123, 239, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(47, 123, 239, 0); }
}
.main-footer.footer-style-two .widget-title {
  font-family: 'Sora', sans-serif; font-size: 15px !important; font-weight: 700;
  color: #fff; margin-bottom: 24px; padding-bottom: 14px; position: relative;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.main-footer.footer-style-two .widget-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, #2F7BEF, #1EB8F0); border-radius: 2px;
}
.main-footer.footer-style-two .user-links { list-style: none; padding: 0; }
.main-footer.footer-style-two .user-links li { margin-bottom: 12px; }
.main-footer.footer-style-two .user-links li a {
  color: #94a3b8; text-decoration: none; font-size: 14.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s ease;
}
.main-footer.footer-style-two .user-links li a:hover {
  color: #fff; transform: translateX(6px);
}
.main-footer.footer-style-two .contact-widget .contact-item {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px;
  text-decoration: none; color: #cbd5e1; transition: all 0.25s ease;
}
.main-footer.footer-style-two .contact-widget .contact-item:hover { transform: translateX(4px); }
.main-footer.footer-style-two .contact-widget .contact-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 123, 239, 0.15), rgba(30, 184, 240, 0.15));
  border: 1px solid rgba(47, 123, 239, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--icon-color, #5B3BE8); font-size: 16px; transition: all 0.3s ease;
}
.main-footer.footer-style-two .contact-widget .contact-item:hover .contact-icon {
  background: linear-gradient(135deg, #2F7BEF, #1EB8F0); color: #fff;
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 8px 20px -4px rgba(47, 123, 239, 0.6);
}
.main-footer.footer-style-two .contact-widget .contact-info { display: flex; flex-direction: column; }
.main-footer.footer-style-two .contact-widget .contact-label {
  font-size: 12px; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px;
}
.main-footer.footer-style-two .contact-widget .contact-value { font-size: 15px; color: #e2e8f0; font-weight: 600; }
.main-footer.footer-style-two .contact-widget .contact-item.phone .contact-value {
  font-size: 17px;
  background: linear-gradient(90deg, #2F7BEF, #5BC8F5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.main-footer.footer-style-two .footer-bottom {
  border-top: 1px solid rgba(47, 123, 239, 0.15); padding: 28px 0; position: relative;
}
.main-footer.footer-style-two .footer-bottom .inner-container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.main-footer.footer-style-two .footer-bottom p { color: #64748b; font-size: 14px; margin: 0; }
.main-footer.footer-style-two .footer-bottom p strong { color: #94a3b8; font-weight: 600; }
.main-footer.footer-style-two .social-icon {
  list-style: none; display: flex; gap: 10px; padding: 0; margin: 0;
}
.main-footer.footer-style-two .social-icon li a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: rgba(47, 123, 239, 0.08); border: 1px solid rgba(47, 123, 239, 0.18);
  border-radius: 12px; color: #94a3b8; text-decoration: none; font-size: 13px; font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-footer.footer-style-two .social-icon li a:hover { transform: translateY(-3px); color: #fff; }
.main-footer.footer-style-two .social-icon li:nth-child(1) a:hover {
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  border-color: transparent; box-shadow: 0 10px 25px -5px rgba(220, 39, 67, 0.5);
}
.main-footer.footer-style-two .social-icon li:nth-child(2) a:hover {
  background: linear-gradient(135deg, #2F7BEF, #1EB8F0);
  border-color: transparent; box-shadow: 0 10px 25px -5px rgba(47, 123, 239, 0.6);
}
.main-footer.footer-style-two .social-icon li:nth-child(3) a:hover {
  background: linear-gradient(135deg, #4285f4, #34a853);
  border-color: transparent; box-shadow: 0 10px 25px -5px rgba(66, 133, 244, 0.5);
}

@media (max-width: 991px) {
  .main-footer.footer-style-two .widgets-section .row {
    grid-template-columns: 1fr 1fr; gap: 40px;
  }
}
@media (max-width: 640px) {
  .main-footer.footer-style-two .auto-container { padding: 56px 20px 0; }
  .main-footer.footer-style-two .widgets-section .row { grid-template-columns: 1fr; gap: 36px; }
  .main-footer.footer-style-two .footer-bottom .inner-container { flex-direction: column; text-align: center; }
  .main-footer.footer-style-two .social-icon li a span { display: none; }
  .main-footer.footer-style-two .social-icon li a { padding: 12px; }
}


/* ---------- 2. PAGES SERVICES ---------- */
/* Les sections feature / about / why-choose-us / work / faq réutilisent les styles de la home (style.css).
   Ci-dessous : uniquement les blocs propres aux pages services. */

/* 2.1 Fil d'Ariane */
.sp-breadcrumb{background:#f5f4fe;border-bottom:1px solid #e9e6fb;font-size:14px}
.sp-breadcrumb ol{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:14px 0;list-style:none}
.sp-breadcrumb li+li::before{content:"›";margin-right:8px;color:#9aa3b2}
.sp-breadcrumb a{color:var(--theme-color1)}
.sp-breadcrumb [aria-current]{color:#4b5563;font-weight:600}

/* 2.2 Section « about » : images de service (format libre → recadrage) */
.about-section-two .image-column .image img,
.about-section-two .info-box .image-box .image img{width:100%;height:100%;object-fit:cover}
.about-section-two .round-icon .date{letter-spacing:.02em}

/* 2.3 Chiffres clés (compteurs animés) */
.sp-stats{padding:0 0 30px}
.sp-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:40px 36px;border-radius:24px;background:linear-gradient(135deg,var(--theme-color1),var(--icon-color));box-shadow:0 25px 60px -20px rgba(47,123,239,.55)}
.sp-stat{text-align:center;color:#fff}
.sp-stat .count-box{font-size:44px;line-height:1.1;font-weight:700;color:#fff}
.sp-stat>span{font-size:15px;opacity:.9}

/* 2.4 Prestations : cartes photo (zoom + voile au survol) */
.sp-features{padding:100px 0}
.sp-intro{max-width:720px;margin:15px auto 0}
.sp-features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:20px}
.sp-card{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:22px;background:#fff;border:1px solid #ecebf7;transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s}
.sp-card:hover{transform:translateY(-10px);box-shadow:0 30px 60px -25px rgba(91,59,232,.45)}
.sp-card-img{position:relative;margin:0;overflow:hidden;aspect-ratio:3/2}
.sp-card-img img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
.sp-card-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(19,19,60,.65));opacity:.6;transition:opacity .45s}
.sp-card:hover .sp-card-img img{transform:scale(1.12) rotate(1deg)}
.sp-card:hover .sp-card-img::after{opacity:1}
.sp-card-num{position:absolute;z-index:1;left:20px;bottom:16px;font-size:34px;font-weight:800;line-height:1;color:#fff}
.sp-card-body{position:relative;padding:26px 28px 30px}
.sp-card-body::before{content:"";position:absolute;top:0;left:28px;width:0;height:3px;background:linear-gradient(90deg,var(--theme-color1),var(--icon-color));transition:width .5s}
.sp-card:hover .sp-card-body::before{width:calc(100% - 56px)}
.sp-card h3{margin-bottom:10px}
.sp-card p{margin:0 0 16px;color:#6b7280}
.sp-card-link{font-weight:600;color:var(--theme-color1)}
.sp-card-link i{transition:transform .3s}
.sp-card:hover .sp-card-link i{transform:translateX(6px)}

/* 2.5 Guide éditorial + encart latéral */
.sp-guide{padding:100px 0;background:#f5f4fe;overflow:hidden} /* overflow : les blocs arrivent de gauche/droite (GSAP) */
.sp-guide-block{padding:30px;margin-top:24px;border-radius:18px;background:#fff;border-left:4px solid var(--theme-color1)}
.sp-guide-block h3{margin-bottom:12px}
.sp-guide-block p{margin:0;color:#4b5563;line-height:1.8}
.sp-guide-block .svc-list{margin:18px 0 0;padding:0}
.svc-list li{display:flex;align-items:center;gap:12px;margin-bottom:10px;list-style:none}
.sp-aside{position:sticky;top:120px;padding:32px 28px;border-radius:22px;background:#fff;box-shadow:0 25px 60px -25px rgba(91,59,232,.35)}
.sp-aside-head{display:inline-flex;gap:8px;align-items:center;padding:6px 14px;margin-bottom:14px;border-radius:999px;background:#eef4ff;color:var(--theme-color1);font-weight:600;font-size:14px}
.sp-aside .svc-list{margin:18px 0 24px;padding:0}
.sp-aside-tel{display:block;margin-top:14px;text-align:center;font-weight:600;color:var(--theme-color2)}
.sp-aside-toc{margin-top:24px;padding-top:20px;border-top:1px solid #ecebf7}
.sp-aside-toc a{display:block;padding:6px 0;color:#6b7280;transition:color .2s,padding .2s}
.sp-aside-toc a:hover{color:var(--theme-color1);padding-left:6px}

/* 2.6 Pour qui ? : tuiles photo, texte révélé au survol */
.sp-sectors{padding:100px 0}
.sp-sectors-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px}
.sp-sector{position:relative;overflow:hidden;border-radius:20px;aspect-ratio:4/5;isolation:isolate}
.sp-sector img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.sp-sector::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(10,14,40,0) 35%,rgba(10,14,40,.85));transition:background .5s}
.sp-sector:hover img{transform:scale(1.1)}
.sp-sector:hover::before{background:linear-gradient(180deg,rgba(47,123,239,.35),rgba(91,59,232,.92))}
.sp-sector-txt{position:absolute;left:0;right:0;bottom:0;padding:22px;color:#fff}
.sp-sector-txt h3{color:#fff;margin:0 0 6px}
.sp-sector-txt p{margin:0;font-size:14px;line-height:1.5;color:rgba(255,255,255,.9);max-height:0;opacity:0;overflow:hidden;transition:max-height .5s,opacity .5s}
.sp-sector:hover .sp-sector-txt p{max-height:80px;opacity:1}
@media (hover:none){.sp-sector-txt p{max-height:none;opacity:1}}

/* 2.6b Bandeau photo parallaxe (classe GSAP .tm-gsap-img-parallax du site) */
.sp-cta-band{position:relative;overflow:hidden;padding:140px 0;color:#fff;isolation:isolate}
.sp-cta-bg{position:absolute;inset:0;z-index:-2;overflow:hidden}
.sp-cta-bg img{position:absolute;left:0;top:-30%;width:100%;height:160%;object-fit:cover}
.sp-cta-band::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,rgba(10,14,40,.92) 20%,rgba(47,123,239,.55))}
.sp-cta-inner{max-width:760px}
.sp-cta-band .sub-title{color:#5BC8F5}
.sp-cta-band .title{color:#fff;margin:14px 0 34px}
.sp-cta-btns{display:flex;flex-wrap:wrap;align-items:center;gap:26px}
.sp-cta-tel{color:#fff;font-weight:700;font-size:18px}
.sp-cta-tel:hover{color:#5BC8F5}

/* 2.7 Services associés */
.sp-related{padding:100px 0}
.sp-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:20px}
.sp-related-card{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:#fff;border:1px solid #ecebf7;color:inherit;transition:transform .3s,box-shadow .3s}
.sp-related-card:hover{transform:translateY(-6px);box-shadow:0 25px 50px -20px rgba(91,59,232,.35);color:inherit}
.sp-related-card img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .6s}
.sp-related-card:hover img{transform:scale(1.06)}
.sp-related-card>div{padding:24px 26px}
.sp-related-card p{color:#6b7280;margin:8px 0 14px}
.sp-related-card span{font-weight:600;color:var(--theme-color1)}
.sp-related-card.all{justify-content:center;background:linear-gradient(135deg,var(--theme-color1),var(--icon-color))}
.sp-related-card.all *{color:#fff !important}

/* 2.8 Responsive */
@media (max-width:991px){
  .sp-features,.sp-guide,.sp-sectors,.sp-related{padding:60px 0}
  .sp-cta-band{padding:90px 0}
  .sp-stats-grid,.sp-sectors-grid{grid-template-columns:repeat(2,1fr)}
  .sp-features-grid,.sp-related-grid{grid-template-columns:1fr 1fr}
  .sp-aside{position:static}
  .sp-guide .row{--bs-gutter-x:1.5rem} /* évite le débordement horizontal de .g-5 sur mobile */
}
@media (max-width:575px){
  .sp-stats-grid,.sp-features-grid,.sp-related-grid,.sp-sectors-grid{grid-template-columns:1fr}
  .sp-stat .count-box{font-size:36px}
  .sp-guide-block{padding:22px}
}

/* 2.9 Galerie photos (projects-section-two) : hauteur uniforme quelle que soit la photo */
.projects-section-two .project-block-two .image img{width:100%;height:420px;object-fit:cover}
@media (max-width:767px){.projects-section-two .project-block-two .image img{height:300px}}
