/* ========== ABOUT PICMILE — GRILLES INTERACTIVES ========== */
.about-picmile {
  padding: 120px 5%;
  background: #f4f4f8;
  position: relative;
  overflow: hidden;
}

.about-picmile::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #312e81 0%, #4f46e5 33%, #06b6d4 66%, #fbbf24 100%);
}

/* ---- Header ---- */
.about-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 70px;
}

.about-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4f46e5;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.about-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #0f0e1a;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: none;
  -webkit-text-fill-color: unset;
}

.about-intro {
  font-size: 1.05rem;
  color: #3d3a5c;
  line-height: 1.75;
}

/* ---- Grille des 3 cartes ---- */
.about-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Card de base ---- */
.about-step-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  border: 1.5px solid rgba(49, 46, 129, 0.07);
  box-shadow: 0 4px 24px rgba(49, 46, 129, 0.05);
}

/* Fond coloré qui monte au hover */
.step-card__hover-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 24px;
}

.about-step-card--1 .step-card__hover-bg {
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.06) 0%, rgba(6, 182, 212, 0.02) 100%);
}
.about-step-card--2 .step-card__hover-bg {
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.07) 0%, rgba(249, 115, 22, 0.02) 100%);
}
.about-step-card--3 .step-card__hover-bg {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.08) 0%, rgba(251, 191, 36, 0.02) 100%);
}

/* Barre colorée top qui s'anime */
.about-step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
}

.about-step-card--1::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.about-step-card--2::before { background: linear-gradient(90deg, #f97316, #fb923c); }
.about-step-card--3::before { background: linear-gradient(90deg, #fbbf24, #fde047); }

/* États hover */
.about-step-card:hover {
  transform: translateY(-10px) scale(1.01);
}

.about-step-card--1:hover {
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.25);
}
.about-step-card--2:hover {
  box-shadow: 0 24px 60px rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.25);
}
.about-step-card--3:hover {
  box-shadow: 0 24px 60px rgba(251, 191, 36, 0.18);
  border-color: rgba(251, 191, 36, 0.3);
}

.about-step-card:hover::before { transform: scaleX(1); }
.about-step-card:hover .step-card__hover-bg { opacity: 1; }

/* Icône qui grossit au hover */
.about-step-card:hover .step-card__icon {
  transform: scale(1.12) rotate(-4deg);
}

/* ---- Top row : icône + numéro ---- */
.step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.step-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.step-card__icon--teal {
  background: rgba(6, 182, 212, 0.1);
  border: 1.5px solid rgba(6, 182, 212, 0.25);
  color: #06b6d4;
}
.step-card__icon--orange {
  background: rgba(249, 115, 22, 0.1);
  border: 1.5px solid rgba(249, 115, 22, 0.25);
  color: #f97316;
}
.step-card__icon--yellow {
  background: rgba(251, 191, 36, 0.1);
  border: 1.5px solid rgba(251, 191, 36, 0.3);
  color: #d97706;
}

.step-card__number {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(49, 46, 129, 0.08);
  line-height: 1;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.about-step-card--1:hover .step-card__number { color: rgba(6, 182, 212, 0.18); }
.about-step-card--2:hover .step-card__number { color: rgba(249, 115, 22, 0.18); }
.about-step-card--3:hover .step-card__number { color: rgba(251, 191, 36, 0.22); }

/* ---- Contenu ---- */
.step-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.about-step-card--1 .step-card__title { color: #0e7490; }
.about-step-card--2 .step-card__title { color: #c2410c; }
.about-step-card--3 .step-card__title { color: #b45309; }

.step-card__desc {
  font-size: 0.95rem;
  color: #3d3a5c;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

/* Feature list */
.step-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
}

.step-card__features li {
  font-size: 0.875rem;
  color: #4a4870;
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}

.step-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.about-step-card--1 .step-card__features li::before { background: #06b6d4; }
.about-step-card--2 .step-card__features li::before { background: #f97316; }
.about-step-card--3 .step-card__features li::before { background: #fbbf24; }

/* ========== SERVICES SECTION — INCHANGÉE ========== */
.services {
  padding: 120px 5%;
  background: #0f0e1a;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: #312e81;
  transform: rotate(18deg);
  border-radius: 40px;
  opacity: 0.18;
  pointer-events: none;
}

.services::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: #1e1b4b;
  transform: rotate(18deg);
  border-radius: 32px;
  opacity: 0.22;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #818cf8;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: unset;
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 2.25rem 2.25rem 3.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:nth-child(1)::before  { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.service-card:nth-child(2)::before  { background: linear-gradient(90deg, #fbbf24, #fde047); }
.service-card:nth-child(3)::before  { background: linear-gradient(90deg, #f97316, #fb923c); }
.service-card:nth-child(4)::before  { background: linear-gradient(90deg, #818cf8, #a5b4fc); }
.service-card:nth-child(5)::before  { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.service-card:nth-child(6)::before  { background: linear-gradient(90deg, #fbbf24, #fde047); }
.service-card:nth-child(7)::before  { background: linear-gradient(90deg, #f97316, #fb923c); }
.service-card:nth-child(8)::before  { background: linear-gradient(90deg, #818cf8, #a5b4fc); }
.service-card:nth-child(9)::before  { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.service-card:nth-child(10)::before { background: linear-gradient(90deg, #fbbf24, #fde047); }

.service-card:hover::before { transform: scaleX(1); }

.service-card:nth-child(1):hover { border-color: rgba(6, 182, 212, 0.25); box-shadow: 0 20px 60px rgba(6, 182, 212, 0.08); }
.service-card:nth-child(2):hover { border-color: rgba(251, 191, 36, 0.25); box-shadow: 0 20px 60px rgba(251, 191, 36, 0.08); }
.service-card:nth-child(3):hover { border-color: rgba(249, 115, 22, 0.25); box-shadow: 0 20px 60px rgba(249, 115, 22, 0.08); }
.service-card:nth-child(4):hover { border-color: rgba(129, 140, 248, 0.25); box-shadow: 0 20px 60px rgba(129, 140, 248, 0.08); }
.service-card:nth-child(5):hover { border-color: rgba(6, 182, 212, 0.25); box-shadow: 0 20px 60px rgba(6, 182, 212, 0.08); }
.service-card:nth-child(6):hover { border-color: rgba(251, 191, 36, 0.25); box-shadow: 0 20px 60px rgba(251, 191, 36, 0.08); }
.service-card:nth-child(7):hover { border-color: rgba(249, 115, 22, 0.25); box-shadow: 0 20px 60px rgba(249, 115, 22, 0.08); }
.service-card:nth-child(8):hover { border-color: rgba(129, 140, 248, 0.25); box-shadow: 0 20px 60px rgba(129, 140, 248, 0.08); }
.service-card:nth-child(9):hover { border-color: rgba(6, 182, 212, 0.25); box-shadow: 0 20px 60px rgba(6, 182, 212, 0.08); }
.service-card:nth-child(10):hover { border-color: rgba(251, 191, 36, 0.25); box-shadow: 0 20px 60px rgba(251, 191, 36, 0.08); }

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.service-description {
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
  font-size: 0.9rem;
}

.service-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.75rem;
  color: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  transition: all 0.25s ease;
}

.service-card:hover .service-arrow {
  color: rgba(255, 255, 255, 0.5);
  transform: translateX(4px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .about-steps-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .about-picmile { padding: 80px 5%; }
  .about-header { margin-bottom: 48px; }
  .services { padding: 80px 5%; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-steps-grid { max-width: 100%; }
}
/* =========================================================
   CREATIVE FLOW — editorial rows on a deep stage
   ========================================================= */
.about-picmile {
  position: relative;
  isolation: isolate;
  background: #07050f !important;
  color: #f4f2fb;
  overflow: hidden;
  padding-bottom: 140px !important;
}
.about-picmile::before {            /* ambient light */
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important; height: auto !important;
  transform: none !important; border-radius: 0 !important; opacity: 1 !important;
  z-index: -1;
  background:
    radial-gradient(600px 420px at 12% 18%, rgba(255, 95, 162, 0.16), transparent 70%),
    radial-gradient(700px 480px at 92% 46%, rgba(46, 230, 245, 0.12), transparent 70%),
    radial-gradient(640px 460px at 18% 88%, rgba(255, 178, 61, 0.12), transparent 70%) !important;
}
.about-picmile::after {             /* fine grid, fading at the edges */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.about-picmile .about-label {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #e9e4ff !important;
  backdrop-filter: blur(8px);
}
.about-picmile .about-title {
  color: #fff !important;
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
  background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.62));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-picmile .about-intro { color: rgba(236, 232, 250, 0.68) !important; font-size: 1.12rem !important; }

.flow {
  --c1a: #ff5fa2; --c1b: #9b3bff;
  --c2a: #2ee6f5; --c2b: #3b6dff;
  --c3a: #ffd84a; --c3b: #ff6a2b;
  list-style: none;
  margin: 96px auto 0;
  padding: 0;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  gap: 128px;
}
.flow-step {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.flow-step:nth-child(even) { grid-template-columns: 7fr 5fr; }
.flow-step:nth-child(even) .flow-text { order: 2; }
.flow-step--1 { --a: var(--c1a); --b: var(--c1b); }
.flow-step--2 { --a: var(--c2a); --b: var(--c2b); }
.flow-step--3 { --a: var(--c3a); --b: var(--c3b); }

/* ---- text column ---- */
.flow-text { position: relative; }
.flow-num {
  display: block;
  margin-bottom: 18px;
  font: 800 clamp(5rem, 9vw, 7.5rem)/0.85 var(--font-display, sans-serif);
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22);
  background: linear-gradient(120deg, var(--a), var(--b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}
.flow-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.flow-icon {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(140deg, var(--a), var(--b));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 28px -10px var(--b);
}
.flow-title {
  margin: 0;
  font: 800 clamp(1.7rem, 2.8vw, 2.3rem)/1.08 var(--font-display, sans-serif);
  letter-spacing: -0.035em;
  color: #fff;
}
.flow-desc { margin: 0 0 28px; color: rgba(236, 232, 250, 0.7); font-size: 1.04rem; line-height: 1.75; max-width: 46ch; }
.flow-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.flow-features li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1eefc; font-size: 0.98rem; font-weight: 600; line-height: 1.4;
}
.flow-features li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.flow-check {
  flex: none; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 9px;
  color: #fff;
  background: linear-gradient(140deg, var(--a), var(--b));
  box-shadow: 0 6px 16px -8px var(--b);
}

/* ---- stage column ---- */
.flow-stage { position: relative; padding: 28px; }
.flow-glow {
  position: absolute; inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--a), transparent);
  filter: blur(60px);
  opacity: 0.38;
  z-index: 0;
}
.flow-frame {
  position: relative; z-index: 1;
  border-radius: 28px;
  padding: 10px;
  /* gradient hairline border */
  background:
    linear-gradient(#120d22, #120d22) padding-box,
    linear-gradient(140deg, rgba(255,255,255,.28), rgba(255,255,255,.04) 40%, var(--a)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.flow-step:nth-child(even) .flow-frame { transform: perspective(1400px) rotateY(5deg) rotateX(2deg); }
.flow-step:hover .flow-frame { transform: perspective(1400px) rotateY(0) rotateX(0); }
.flow-frame-bar { display: flex; gap: 6px; padding: 6px 8px 12px; }
.flow-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.flow-visual { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; }
.flow-visual svg { display: block; width: 100%; height: 100%; }

.flow-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  border-radius: 16px;
  background: rgba(22, 16, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.75);
  color: #fff; font: 700 14px var(--font-body, sans-serif); white-space: nowrap;
  animation: flow-float 7s ease-in-out infinite;
}
.flow-chip em { font-style: normal; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.flow-chip--a { left: -6px; bottom: 34px; }
.flow-chip--b { right: -4px; top: 10px; animation-delay: -3.5s; }
.chip-dots { display: inline-flex; }
.chip-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #1a1230; margin-left: -5px; }
.chip-dots i:first-child { margin-left: 0; }
.chip-aa { font: 800 18px var(--font-display, sans-serif); background: linear-gradient(120deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.chip-ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #22c55e; color: #052e14; font-size: 13px; }
.chip-ig { width: 20px; height: 20px; border-radius: 6px; background: radial-gradient(circle at 30% 110%, #ffd84a, #ff5f6d 45%, #c13584 70%, #5851db); }
.chip-heart { color: #ff5fa2; font-size: 16px; }

@keyframes flow-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- scroll reveal ---- */
.flow--reveal .flow-step .flow-text,
.flow--reveal .flow-step .flow-stage { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.flow--reveal .flow-step .flow-stage { transition-delay: 0.12s; }
.flow--reveal .flow-step.is-in .flow-text,
.flow--reveal .flow-step.is-in .flow-stage { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .flow-chip { animation: none; }
  .flow-frame, .flow-step:nth-child(even) .flow-frame { transform: none; }
}

@media (max-width: 960px) {
  .flow { gap: 88px; margin-top: 64px; }
  .flow-step, .flow-step:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .flow-step:nth-child(even) .flow-text { order: 0; }
  .flow-stage { padding: 18px 8px; }
  .flow-frame, .flow-step:nth-child(even) .flow-frame { transform: none; }
  .flow-num { font-size: 4.6rem; }
}
