/* ============================================================
   ÉLECTRICITÉ DU LAC — SUBPAGE STYLES
   Styles for Électricité Générale sub-pages
   ============================================================ */

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary-orange);
}

.breadcrumb span {
  color: #fff;
  font-weight: 500;
}

.breadcrumb svg {
  opacity: 0.5;
  flex-shrink: 0;
}

/* ===== SUBPAGE HERO ===== */
.subpage-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.subpage-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.subpage-hero:hover .subpage-hero-bg {
  transform: scale(1.0);
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 17, 32, 0.90) 0%,
    rgba(11, 17, 32, 0.75) 50%,
    rgba(30, 41, 59, 0.60) 100%
  );
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 140px;
}

.subpage-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 120, 0, 0.18);
  border: 1px solid rgba(240, 120, 0, 0.35);
  color: #FFB347;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.subpage-hero-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.subpage-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}

.subpage-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== SHARED SECTION STYLES ===== */
.sp-intro-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.sp-steps-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-slate) 100%);
}

.sp-steps-section .badge-tag {
  background: rgba(240, 120, 0, 0.15);
  color: #FFB347;
  border-color: rgba(240, 120, 0, 0.3);
}

.sp-steps-section .section-main-title {
  color: #fff;
}

/* ===== INTRO GRID ===== */
.sp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sp-intro-text h2 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 1rem 0 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sp-intro-text p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.sp-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.5rem;
}

.sp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
}

.sp-trust-item svg {
  color: var(--primary-orange);
  background: var(--primary-orange-light);
  border-radius: 50%;
  padding: 4px;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.sp-intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sp-intro-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}

.sp-intro-image:hover img {
  transform: scale(1.03);
}

.sp-intro-image.sp-intro-image-clean {
  box-shadow: none;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-intro-image.sp-intro-image-clean img {
  box-shadow: none;
  border-radius: 0;
  object-fit: contain;
  max-height: 460px;
  width: auto;
  max-width: 100%;
}

.sp-intro-image.sp-intro-image-clean:hover img {
  transform: none;
}

.sp-image-badge-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(240, 120, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.sp-image-badge-float svg {
  color: var(--primary-orange);
  flex-shrink: 0;
}

.sp-image-badge-float strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.sp-image-badge-float span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

/* ===== STEPS GRID ===== */
.sp-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.sp-steps-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sp-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.sp-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-orange), #FFB347);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.sp-step-card:hover {
  background: #ffffff;
  border-color: rgba(240, 120, 0, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12);
}

.sp-step-card:hover::before {
  opacity: 1;
}

.sp-step-card-info {
  background: rgba(0, 174, 239, 0.07);
  border-color: rgba(0, 174, 239, 0.2);
}

.sp-step-card-info::before {
  background: linear-gradient(90deg, var(--primary-cyan), #00D4FF);
}

.sp-step-num {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(240, 120, 0, 0.15);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.sp-step-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-orange), #FFB347);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(240, 120, 0, 0.35);
}

.sp-step-card h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.sp-step-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Dark section adaptation */
.sp-steps-section .sp-step-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  box-shadow: none;
}

.sp-steps-section .sp-step-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(240, 120, 0, 0.4);
}

.sp-steps-section .sp-step-num {
  color: rgba(255,255,255,0.1);
}

.sp-steps-section .sp-step-card h3 {
  color: #ffffff;
}

.sp-steps-section .sp-step-card p {
  color: rgba(255,255,255,0.78);
}


/* ===== CHECKLIST ===== */
.sp-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.sp-checklist li::before {
  content: '✓';
  color: var(--primary-orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Light background checklist */
.sp-intro-text .sp-checklist li {
  color: var(--text-body);
}

/* ===== GALLERY SECTION ===== */
.sp-gallery-section {
  padding: 90px 0;
  background: #fff;
}

.sp-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 56px;
  height: 520px;
}

.sp-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.sp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sp-gallery-item:hover img {
  transform: scale(1.06);
}

.sp-gallery-tall {
  grid-row: span 2;
}

.sp-gallery-wide {
  grid-column: span 2;
}

.sp-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.sp-gallery-item:hover .sp-gallery-caption {
  opacity: 1;
}

/* ===== CTA SECTION ===== */
.sp-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-slate) 100%);
}

.sp-cta-card {
  background: linear-gradient(135deg, rgba(240, 120, 0, 0.15) 0%, rgba(0, 174, 239, 0.08) 100%);
  border: 1px solid rgba(240, 120, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.sp-cta-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-orange), #FFB347);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-glow-orange);
  flex-shrink: 0;
}

.sp-cta-text h2 {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.sp-cta-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.65;
}

.sp-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ===== RELATED SECTION ===== */
.sp-related-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.sp-related-card {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.sp-related-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-orange), #FFB347);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

.sp-related-card:hover {
  border-color: rgba(240, 120, 0, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.sp-related-card:hover::after {
  transform: scaleX(1);
}

.sp-related-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-orange-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
}

.sp-related-card h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.sp-related-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
}

.sp-related-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-orange);
  margin-top: 4px;
}

/* ===== ALERT SECTION (renovation) ===== */
.sp-alert-section {
  padding: 80px 0;
  background: #fff;
}

.sp-alert-card {
  background: linear-gradient(135deg, #fff8f0 0%, #fff5e6 100%);
  border: 1.5px solid rgba(240, 120, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.sp-alert-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.sp-alert-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-orange), #FFB347);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.sp-alert-header h2 {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.sp-alert-card > p {
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.sp-alert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sp-alert-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(240, 120, 0, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
}

.sp-alert-item svg {
  color: var(--primary-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== BEFORE/AFTER ===== */
.sp-beforeafter-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.sp-ba-grid {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
}

.sp-ba-card {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.sp-ba-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

.sp-ba-label-before {
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
}

.sp-ba-label-after {
  background: rgba(22, 163, 74, 0.85);
  color: #fff;
}

.sp-ba-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.sp-ba-desc {
  padding: 24px;
}

.sp-ba-desc h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.sp-ba-desc ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-ba-before .sp-ba-desc ul li::before {
  content: '✗ ';
  color: #DC2626;
  font-weight: 700;
}

.sp-ba-after .sp-ba-desc ul li::before {
  content: '✓ ';
  color: #16A34A;
  font-weight: 700;
}

.sp-ba-desc ul li {
  font-size: 0.875rem;
  color: var(--text-body);
}

.sp-ba-arrow {
  color: var(--primary-orange);
  flex-shrink: 0;
  animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(6px); opacity: 0.7; }
}

/* ===== OBLIGATION GRID (conformite) ===== */
.sp-obligation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.sp-obligation-card {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.sp-obligation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-orange), #FFB347);
}

.sp-obligation-card:hover {
  border-color: rgba(240, 120, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sp-obligation-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-orange-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.sp-obligation-card h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.sp-obligation-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ===== SPLIT SECTION (conformite) ===== */
.sp-split-section {
  padding: 90px 0;
  background: #fff;
}

.sp-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sp-split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sp-split-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sp-split-image:hover img {
  transform: scale(1.03);
}

.sp-split-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sp-split-content h2 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sp-split-content p {
  color: var(--text-body);
  line-height: 1.75;
  font-size: 0.95rem;
}

.sp-highlight-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sp-highlight-box {
  background: linear-gradient(135deg, var(--dark-navy), var(--dark-slate));
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}

.sp-highlight-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.sp-highlight-txt {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ===== PANNES GRID (depannage) ===== */
.sp-pannes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.sp-panne-card {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-normal);
}

.sp-panne-card:hover {
  border-color: rgba(240, 120, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sp-panne-urgent {
  border-color: rgba(220, 38, 38, 0.3) !important;
  background: #fff8f8;
}

.sp-panne-urgent:hover {
  border-color: rgba(220, 38, 38, 0.5) !important;
}

.sp-panne-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-orange-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.sp-panne-urgent .sp-panne-icon {
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
}

.sp-panne-card h4 {
  font-family: var(--font-title);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sp-urgent-badge {
  background: #DC2626;
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}

.sp-panne-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ===== ZONES MINI (depannage) ===== */
.sp-zones-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.sp-zones-mini span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== LED SECTION ===== */
.sp-led-section {
  padding: 90px 0;
  background: #fff;
}

.sp-led-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.sp-led-card {
  background: var(--bg-light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sp-led-card:hover {
  border-color: rgba(240, 120, 0, 0.25);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sp-led-card-img {
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  overflow: hidden;
  position: relative;
}

.sp-led-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.sp-led-card:hover .sp-led-card-img img {
  transform: scale(1.06);
}

.sp-led-card-content {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sp-led-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.sp-led-card-content h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.sp-led-card-content p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sp-led-card-content .sp-checklist {
  margin-top: auto;
}

.sp-led-card-content .sp-checklist li {
  color: var(--text-body);
}

.sp-led-card-content .sp-checklist li::before {
  color: var(--primary-orange);
}

/* ===== DROPDOWN ACTIVE ITEM ===== */
.dropdown-panel .dp-active {
  background: rgba(240, 120, 0, 0.08);
  border-left: 3px solid var(--primary-orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sp-steps-grid-3,
  .sp-obligation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-split-grid,
  .sp-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sp-intro-image img,
  .sp-split-image img {
    height: 320px;
  }

  .sp-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .sp-cta-icon {
    margin: 0 auto;
  }

  .sp-cta-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .subpage-hero {
    min-height: 460px;
    padding-bottom: 60px;
  }

  .subpage-hero-content {
    padding-top: 120px;
  }

  .subpage-hero-title {
    font-size: 2rem;
  }

  .subpage-hero-actions {
    flex-direction: column;
  }

  .sp-steps-grid,
  .sp-steps-grid-3,
  .sp-related-grid,
  .sp-led-grid,
  .sp-pannes-grid,
  .sp-obligation-grid {
    grid-template-columns: 1fr;
  }

  .sp-alert-grid {
    grid-template-columns: 1fr;
  }

  .sp-ba-grid {
    flex-direction: column;
  }

  .sp-ba-arrow {
    transform: rotate(90deg);
  }

  .sp-gallery-grid {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .sp-gallery-tall,
  .sp-gallery-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .sp-gallery-item {
    height: 200px;
  }

  .sp-highlight-boxes {
    grid-template-columns: 1fr;
  }

  .sp-cta-buttons {
    flex-direction: column;
  }

  .sp-intro-section,
  .sp-steps-section,
  .sp-gallery-section,
  .sp-related-section,
  .sp-led-section,
  .sp-beforeafter-section,
  .sp-split-section,
  .sp-alert-section {
    padding: 60px 0;
  }
}

/* ============================================================
   CLIENT PAGES & DESIGN ENHANCEMENTS
   ============================================================ */

/* Client Hero Badges & Accent Colors */
.client-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
  padding: 6px 16px;
  border-radius: var(--radius-pill, 50px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* Enhanced Cards with Subtle Glass & Hover Lift */
.client-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F07800 0%, #38bdf8 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 120, 0, 0.3);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
}

.client-card:hover::before {
  opacity: 1;
}

.client-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(240, 120, 0, 0.1);
  color: #F07800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.client-card:hover .client-card-icon {
  transform: scale(1.08);
  background: #F07800;
  color: #ffffff;
}

.client-card-title {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.client-card-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.client-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.client-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
}

.client-card-list li svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}

/* FAQ Modern Styling */
.faq-section {
  padding: 90px 0;
  background: #f8fafc;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px 28px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.faq-question {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(240, 120, 0, 0.12);
  color: #F07800;
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(240, 120, 0, 0.25);
}

.faq-question svg {
  color: #F07800;
  flex-shrink: 0;
}


.faq-answer {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* Benefits / Trust Box */
.trust-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .trust-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .trust-banner-grid {
    grid-template-columns: 1fr;
  }
}

.trust-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  color: #ffffff;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-orange, #F07800);
}

.trust-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(240, 120, 0, 0.2);
  color: #FFB347;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
}

.trust-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.trust-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0;
}

/* ===== SP TRUST BANNER, GRID & CARDS (ENTREPRISE & OTHER PAGES) ===== */
.sp-trust-banner {
  padding: 80px 0;
  background: #f8fafc;
}

.sp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 992px) {
  .sp-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .sp-trust-grid {
    grid-template-columns: 1fr;
  }
}

.sp-trust-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sp-trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12);
  border-color: rgba(240, 120, 0, 0.35);
}

.sp-trust-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.sp-trust-card h3 {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark, #0f172a);
  margin-bottom: 10px;
}

.sp-trust-card p {
  font-size: 0.9rem;
  color: var(--text-body, #64748b);
  line-height: 1.65;
  margin: 0;
}

/* ===== SP INTRO STATS & CARDS ===== */
.sp-intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 576px) {
  .sp-intro-stats {
    grid-template-columns: 1fr;
  }
}

.sp-stat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
  border-color: rgba(240, 120, 0, 0.3);
}

.sp-stat-num {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-orange, #f07800);
  line-height: 1;
  margin-bottom: 8px;
}

.sp-stat-lbl {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark, #0f172a);
}

/* ===== RECRUTEMENT FORM & AVANTAGES CSS ===== */
.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark, #0f172a);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-light, #f8fafc);
  border: 1.5px solid var(--border-light, #cbd5e1);
  border-radius: var(--radius-sm, 8px);
  font-size: 0.95rem;
  color: var(--text-dark, #0f172a);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-orange, #f07800);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(240, 120, 0, 0.15);
}

/* ===== BTN FULL WIDTH ===== */
.btn-full-width {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 50px;
}

/* ===== FILE INPUT STYLING ===== */
input[type="file"] {
  width: 100%;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #475569;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
input[type="file"]:hover {
  border-color: #f07800;
}

/* ===== AVANTAGES LIST (RECRUTEMENT) ===== */
.avantages-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 992px) {
  .avantages-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .avantages-list {
    grid-template-columns: 1fr;
  }
}

.avantage-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avantage-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
  border-color: rgba(240, 120, 0, 0.3);
}

.avantage-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 120, 0, 0.08);
  border-radius: 12px;
}

.avantage-item h4 {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.avantage-item p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ===== JOBS GRID (RECRUTEMENT) ===== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 992px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

.job-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #f07800;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.12);
}

.job-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.badge-cdi {
  background: #d1fae5;
  color: #065f46;
}

.badge-apprenti {
  background: #dbeafe;
  color: #1e40af;
}

.badge-stage {
  background: #ede9fe;
  color: #5b21b6;
}

.job-card h3 {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.job-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
  margin: 0 0 14px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.job-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.job-apply-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #f07800;
  color: #ffffff;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: auto;
}

.job-apply-btn:hover {
  background: #d46800;
  transform: translateY(-2px);
}

/* ===== COMPARISON TABLE (MISE EN CONFORMITE) ===== */
.sp-comparison-table-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
  align-items: stretch;
}

.sp-comparison-col {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-comparison-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.sp-comparison-header {
  background: #0B132B;
  color: #FFFFFF;
  padding: 28px 28px 24px;
  text-align: center;
  border-bottom: 3px solid var(--primary-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sp-comparison-badge {
  display: inline-block;
  background: rgba(240, 120, 0, 0.18);
  color: var(--primary-orange);
  border: 1px solid rgba(240, 120, 0, 0.4);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sp-comparison-title {
  font-family: var(--font-title);
  font-size: 1.28rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0;
}

.sp-comparison-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 4px;
}

.sp-comparison-body {
  padding: 32px 28px;
  flex-grow: 1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
}

.sp-comparison-body p {
  color: var(--text-body);
  line-height: 1.85;
  font-size: 0.96rem;
  text-align: justify;
  margin: 0;
}

@media (max-width: 768px) {
  .sp-comparison-table-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sp-comparison-header {
    padding: 22px 20px;
  }
  .sp-comparison-title {
    font-size: 1.15rem;
  }
  .sp-comparison-body {
    padding: 24px 20px;
  }
}

/* ===== SEMANTIC MESH & RELATED SERVICES SECTION ===== */
.sp-mesh-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.sp-mesh-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.sp-mesh-header .badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240, 120, 0, 0.1);
  color: var(--primary-orange, #F07800);
  padding: 6px 14px;
  border-radius: var(--radius-pill, 999px);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.sp-mesh-header .section-title {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-dark, #0F172A);
  margin-bottom: 12px;
  line-height: 1.25;
}

.sp-mesh-header .section-sub-title {
  color: var(--text-muted, #64748B);
  font-size: 1rem;
  line-height: 1.6;
}

.sp-mesh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mesh-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mesh-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F07800, #00AEEF);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mesh-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: #CBD5E1;
}

.mesh-card:hover::before {
  opacity: 1;
}

.mesh-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 120, 0, 0.08);
  border-radius: 12px;
}

.mesh-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mesh-content h4 {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
  line-height: 1.35;
}

.mesh-content p {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.mesh-link-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-orange, #F07800);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.mesh-card:hover .mesh-link-text {
  gap: 10px;
  color: #D96800;
}

@media (max-width: 992px) {
  .sp-mesh-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sp-mesh-section {
    padding: 50px 0;
  }
  .sp-mesh-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mesh-card {
    padding: 22px 20px;
  }
}




