/* ============================================================
   What we do — styles spécifiques
   Réf. Figma : « WHAT WE DO 6 » (168:43697) & « iPhone 13 & 14 - 2 » (334:427)
   ============================================================ */

.wwd-d { height: 5614px; background: #fff; }
.wwd-d section { position: absolute; left: 0; width: 1440px; }

/* Accroche hero « we do everything IT takes… » */
.wwd-intro { font-family: var(--f-unb); font-weight: 700; font-size: 30px; line-height: 36px; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; color: #fff; }

/* Piliers WE CREATE / DEPLOY / MANAGE */
.pillar { display: flex; gap: 32px; align-items: flex-start; }
.pillar .ico { width: 317px; height: 45px; flex: none; position: relative; }
/* Trait + point dessinés en CSS (remplacent les SVG déformés) */
.pillar .ico::before { content: ""; position: absolute; left: 0; top: 50%; width: calc(100% - 11px); height: 2px; transform: translateY(-50%); background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 16px rgba(255,255,255,.5); }
.pillar .ico::after { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,1), 0 0 22px rgba(255,255,255,.8); }
.pillar h3 { font-family: var(--f-unb); font-weight: 700; font-size: 30px; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.pillar p { font-family: var(--f-alb); font-size: 26px; line-height: 36px; letter-spacing: 0.02em; text-transform: lowercase; color: #fff; margin-top: 12px; }

/* Capsule-titre de bloc expertise (CREATE / DEPLOY / MANAGE) */
.cap-block { font-family: var(--f-unb); font-weight: 700; font-size: 36px; line-height: 1.2; letter-spacing: -0.01em; text-transform: uppercase; text-align: center; color: var(--black); }

/* Bloc texte riche des sections expertise */
.xp-text { font-family: var(--f-alb); font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; color: var(--black); white-space: pre-wrap; }
.xp-text .lead { font-family: var(--f-unb); font-weight: 700; font-size: 24px; text-transform: uppercase; color: #72a5e3; }
/* Bloc expertise en flex : gouttières régulières (maquette V2 : 32px lead/para/puces, 8px entre puces) */
.xp-text.xp-flow { display: flex; flex-direction: column; justify-content: flex-start; gap: 32px; white-space: normal; height: auto; }
.xp-text > p { margin: 0; }
.xp-list { display: flex; flex-direction: column; gap: 8px; }
.xp-list p { margin: 0; }

/* Capsule « Powered by … » (texte rempli d'image) — s'adapte à son texte */
.powered { display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--black); border-radius: 6px; padding: 8px 30px; }
.powered-text { font-family: var(--f-unb); font-weight: 700; font-size: 23px; line-height: 1.3; text-transform: uppercase; text-align: center; white-space: nowrap; }
.powered-text .r { font-weight: 400; }

/* Cartes KPI glassmorphism (WHY US) */
.kpi {
  border-radius: 16px;
  border: 2px solid #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  text-align: center; color: #fff;
}
.kpi .num { font-family: var(--f-unb); font-weight: 700; font-size: 105px; line-height: 1; letter-spacing: -0.01em; }
.kpi .lab { font-family: var(--f-alb); font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; margin-top: 12px; }
/* Effet verre (glass) sur les cartes KPI de « What we do » : fond translucide + contour dégradé */
.wwd-d .kpi, .wwd-m .m-kpi {
  border: none;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  position: relative;
}
.wwd-d .kpi::before, .wwd-m .m-kpi::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(255,255,255,.2) 48%, rgba(255,255,255,.42));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* Effet verre (glass) sur les cartes KPI de « Deploy » (.kpi--sg / .m-kpi--sg) — sélecteurs composés pour l'emporter sur le style de base quel que soit l'ordre */
.kpi.kpi--sg, .m-kpi.m-kpi--sg {
  border: none;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  position: relative;
}
.kpi.kpi--sg::before, .m-kpi.m-kpi--sg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(255,255,255,.2) 48%, rgba(255,255,255,.42));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Mobile ---------- */
.wwd-m { background: #fff; }
.wwd-m .m-main { display: flex; flex-direction: column; align-items: center; }
.m-hero-wwd { position: relative; width: 390px; height: 600px; overflow: hidden; }
.m-hero-wwd img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 62% top; }

.m-xp { display: flex; flex-direction: column; gap: 70px; padding: 50px 0; width: 100%; }
.m-xp-head { display: flex; flex-direction: column; gap: 32px; align-items: center; }
.m-intro { font-family: var(--f-unb); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; text-align: center; color: #fff; }
.m-pillars { display: flex; flex-direction: column; gap: 24px; padding: 0 20px 0 20px; width: 390px; }
.m-pillar { display: flex; gap: 32px; align-items: flex-start; }
.m-pillar .ico { width: 52px; height: 20px; flex: none; margin-top: 4px; position: relative; }
.m-pillar .ico::before { content: ""; position: absolute; left: 0; top: 50%; width: calc(100% - 6px); height: 2px; transform: translateY(-50%); background: #fff; box-shadow: 0 0 4px rgba(255,255,255,.9), 0 0 10px rgba(255,255,255,.5); }
.m-pillar .ico::after { content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); border-radius: 50%; background: #fff; box-shadow: 0 0 5px rgba(255,255,255,1), 0 0 12px rgba(255,255,255,.8); }
.m-pillar h3 { font-family: var(--f-unb); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.m-pillar p { font-family: var(--f-alb); font-size: 20px; line-height: 1; letter-spacing: 0.02em; text-transform: lowercase; color: #fff; margin-top: 8px; }

.m-body { display: flex; flex-direction: column; gap: 80px; align-items: center; padding: 0 20px 50px; width: 390px; }
.m-obsession { background: #fff; border: 1px solid var(--black); border-radius: 6px; padding: 26px 33px; width: 100%; margin-top: 44px; }
/* Coral plein (pas de clip d'image) : sur 5 lignes mobiles le clip why-us-bg créait une couture coral/bleu → « superposé ». */
.m-obsession .clip { display: block; font-family: var(--f-unb); font-weight: 700; font-size: 20px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; background: none; color: #CB4E2E; -webkit-text-fill-color: #CB4E2E; }
/* Blocs service mobile : contenu CENTRÉ (conforme Figma « -mobil »). Le cap suit (centré) sur create/deploy/manage/careers/michelin ; sur what-we-do le cap reste ferré à gauche (voir override .wwd-m plus bas). */
.m-xp-block { display: flex; flex-direction: column; gap: 32px; width: 100%; align-items: center; text-align: center; }
.m-xp-lead { font-family: var(--f-unb); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; text-transform: uppercase; color: #72a5e3; }
.m-xp-body { font-family: var(--f-alb); font-size: 16px; line-height: 1.2; letter-spacing: -0.01em; color: var(--black); }
.m-xp-list { display: flex; flex-direction: column; gap: 8px; font-family: var(--f-alb); font-size: 16px; line-height: 1.2; color: var(--black); }
/* Capsules de titre : centrées partout (demande client) — CREATE / DEPLOY / MANAGE de what-we-do incluses. */
.m-powered { background: #fff; border: 2px solid var(--black); border-radius: 6px; padding: 11px 24px; width: 100%; text-align: center; }
.m-powered .clip { font-family: var(--f-unb); font-weight: 700; font-size: 20px; line-height: 1; text-transform: uppercase; }
.m-mosaic { position: relative; width: 350px; height: 415px; align-self: center; }

.m-why { display: flex; flex-direction: column; gap: 32px; align-items: center; padding: 50px 20px 80px; width: 390px; position: relative; }
.m-why-bg { position: absolute; inset: 0; overflow: hidden; }
.m-why-bg img { position: absolute; height: 128.6%; left: -53.91%; top: 0; width: 223.05%; max-width: none; }
.m-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; position: relative; }
.m-kpi { border-radius: 16px; border: 2px solid #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 32px 12px; text-align: center; color: #fff; }
.m-kpi .num { font-family: var(--f-unb); font-weight: 700; font-size: 37px; line-height: 1; letter-spacing: -0.01em; }
.m-kpi .lab { font-family: var(--f-alb); font-size: 16px; line-height: 1.2; letter-spacing: -0.01em; margin-top: 12px; }
.m-kpi--wide { grid-column: 1 / span 2; }

.m-footer--wwd { background-image: url('../img/what-we-do/fond-bleu1-m.jpg'); }
