/* ============================================
   IS COM — Services page CSS
   ============================================ */

/* --- LIEN ACTIF NAV --- */
.nav-menu a.active {
  color: var(--blue);
}
.nav-menu a.active::after {
  width: 100%;
}

/* --- BREADCRUMB --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray); }
.breadcrumb span.active { color: var(--text-2); }

/* --- PAGE HERO --- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47,105,177,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,105,177,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 12px 0 20px;
}
.page-hero-title span { color: var(--blue); }
.page-hero-desc {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 560px;
}

/* --- SERVICES NAV (ancres sticky) --- */
.services-nav {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-mid);
  border-top: 1px solid var(--gray-mid);
}
.services-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.services-nav-inner::-webkit-scrollbar { display: none; }
.snav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  letter-spacing: 0.02em;
}
.snav-link:hover { color: var(--blue); }
.snav-link.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* --- SERVICE SECTION --- */
.service-section {
  padding: 100px 0;
  background: var(--white);
}
.service-section--alt {
  background: var(--bg-alt);
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-layout--reverse .service-content { order: 2; }
.service-layout--reverse .service-visual { order: 1; }

/* Badge numéro + icône */
.service-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.service-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray);
}
.service-icon-lg { font-size: 28px; }

.service-intro {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin: 20px 0 32px;
}

/* Features list */
.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.feat-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-bg);
  border: 1px solid rgba(47,105,177,0.25);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-note {
  font-size: 13px;
  color: var(--text-2);
  font-style: italic;
}

.service-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Visual card */
.visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.visual-card--blue { background: var(--blue); }
.visual-card--light { background: var(--bg-alt); border: 1px solid var(--gray-mid); }
.visual-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.visual-icon { font-size: 48px; }
.visual-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.visual-card--light .visual-label { color: var(--gray-dark); }
.visual-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}
.visual-card--light .visual-sub { color: var(--gray); }
.visual-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
}
.visual-badge--dark {
  background: rgba(0,0,0,0.07);
  color: var(--text);
  border-color: rgba(0,0,0,0.1);
}

/* --- PRINT GRID --- */
.print-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 36px;
}
.print-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s;
}
.print-item:hover {
  border-color: rgba(47,105,177,0.3);
  background: var(--blue-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.print-icon { font-size: 24px; }
.print-name { font-size: 12px; font-weight: 600; color: var(--text); }

/* --- TEXTILE (section featured bleue) --- */
.service-section--featured {
  background: var(--blue);
  padding: 100px 0;
}
.textile-hero {
  text-align: center;
  margin-bottom: 64px;
}
.textile-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 24px;
}
.textile-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 20px 0 0;
}
.textile-subtitle {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin: 8px 0 24px;
  font-style: italic;
}
.textile-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}
.textile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.textile-card {
  padding: 32px 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  transition: background 0.3s, transform 0.3s;
  text-align: center;
}
.textile-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-4px);
}
.textile-card-icon { font-size: 36px; margin-bottom: 16px; }
.textile-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.textile-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.textile-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- POURQUOI IS COM --- */
.section-why {
  padding: var(--section-py) 0;
  background: var(--white);
}
.why-header {
  text-align: center;
  margin-bottom: 56px;
}
.why-header .section-subtitle { margin: 14px auto 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s;
}
.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(47,105,177,0.2);
}
.why-icon { font-size: 36px; margin-bottom: 16px; }
.why-title { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.why-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .textile-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .service-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-layout--reverse .service-content { order: 1; }
  .service-layout--reverse .service-visual { order: 2; }
  .print-grid { grid-template-columns: repeat(2, 1fr); }
  .textile-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .snav-link { padding: 14px 16px; font-size: 12px; }
  .page-hero { padding: 130px 0 60px; }
  .service-section { padding: 72px 0; }
}

/* --- SECTION WEB --- */
.service-section--featured {
  background: var(--blue);
  padding: 100px 0;
}
.service-section--featured .section-title { color: var(--white); }
.service-section--featured .service-intro { color: rgba(255,255,255,0.75); }

.web-why-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 36px;
}
.web-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.web-why-item {
  padding: 28px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: background 0.3s;
}
.web-why-item:hover { background: rgba(255,255,255,0.16); }
.web-why-icon { font-size: 32px; display: block; margin-bottom: 14px; }
.web-why-item h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.web-why-item p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.65; }

@media (max-width: 1024px) {
  .web-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .web-why-grid { grid-template-columns: 1fr; }
  .service-section--featured .service-layout { grid-template-columns: 1fr; }
}


/* --- SECTION BLEUE (web + textile) --- */
.service-section--blue {
  background: var(--blue);
  padding: 64px 0;
}

/* --- PHOTO SERVICE --- */
.svc-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
  background: var(--bg-alt);
  border: 1px solid var(--gray-mid);
  aspect-ratio: 4/3;
}
.svc-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- COMPACT service-intro supprimé, features plus petites --- */
.service-intro { display: none; }

/* --- WHY SECTION compact --- */
.section-why { padding: 64px 0; background: var(--white); }
.why-header { text-align: center; margin-bottom: 40px; }
.why-desc { font-size: 13px; }

/* --- RESPONSIVE illustration --- */
@media (max-width: 768px) {
  .service-section,
  .service-section--alt,
  .service-section--blue { padding: 48px 0; }
  .svc-photo { margin-top: 24px; }
}
