/* Services pages specific styles (templates/public/services/) */

.service-card {
  background: transparent !important;
  border: 0 !important;
}

.btn-service-card {
  display: inline-block;
  width: 76.923%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  border-radius: 0;
  background: var(--btn-action-gradient);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  text-align: center;
  transition: background 0.2s;
}

.btn-service-card:hover {
  background: var(--btn-action-gradient-hover);
  color: #fff;
}

[data-theme="dark"] .btn-service-card {
  background: var(--btn-action-gradient);
  color: #fff;
}

[data-theme="dark"] .btn-service-card:hover {
  background: var(--btn-action-gradient-hover);
  color: #fff;
}

.section-soft-blue {
  background: linear-gradient(
    160deg,
    #f0f8ff 0%,
    #e8f4fc 35%,
    #dceef8 70%,
    #c8e4f5 100%
  );
  background-attachment: local;
  position: relative;
  overflow: hidden;
}

.section-soft-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100'%3E%3Cpath fill='none' stroke='rgba(74,144,226,0.08)' stroke-width='0.5' d='M0,50 Q100,30 200,50 T400,50'/%3E%3Cpath fill='none' stroke='rgba(74,144,226,0.06)' stroke-width='0.5' d='M0,60 Q100,40 200,60 T400,60'/%3E%3Cpath fill='none' stroke='rgba(74,144,226,0.05)' stroke-width='0.5' d='M0,70 Q150,50 300,70'/%3E%3C/svg%3E") repeat-x;
  opacity: 0.9;
  pointer-events: none;
}

.service-detail-image {
  max-width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .service-detail-image {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Service detail hero */
.service-detail-hero {
  background: linear-gradient(180deg, var(--bs-body-bg) 0%, transparent 100%);
}

.service-hero-image-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.service-detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-theme="dark"] .service-hero-image-wrapper {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Advantages bullets */
.service-advantage-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Process steps */
.service-process-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.service-process-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}

[data-theme="dark"] .service-process-step {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.service-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-process-arrow {
  color: var(--bs-secondary);
  font-weight: 300;
}

.service-description {
  color: var(--bs-body-color);
  line-height: 1.6;
}

/* Service teaser rows (services index page) - vignette + contenu */
.service-teaser-row {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-teaser-row:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.service-teaser-row:hover .fw-semibold {
  color: var(--bs-primary) !important;
}

.service-teaser-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-teaser-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

[data-theme="dark"] .service-teaser-row {
  background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .service-teaser-row:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}
