/* ==========================================================================
   HERO.CSS — Section Hero (Règle des Tiers 2/3 – 1/3 · Grille Suisse 12 Colonnes)
   Source de Vérité : hero-options.html (#layout-l2 "Archive · Règle 2/3 – 1/3 seule")
   Palette : DA 1 Cobalt & Lavender + Touche Orange Photo
   - 2/3 Gauche (8 colonnes = 66.6%) : Grand Titre Piste 1 + 4 Mots-clés superposés
     + Ligne architecturale ouverte de 3 KPIs (sans boîte fermée, filets suisses 1px)
   - 1/3 Droite (4 colonnes = 33.3%) : Portrait Squircle avec accents géométriques
     (Touche Ambre Photo --amber + Lavande) + Pastille Available + Carte LinkedIn ancrée SOUS le portrait
   - Bandeau Inférieur (12 colonnes = 100%) : What shapes the designer (Plus Jakarta Sans, JAMAIS Gasoek One)
     + 4 Cartes de Passions Chromatiques
   - Respect strict de prefers-reduced-motion, accessibilité & responsive mobile
   ========================================================================== */

/* ─── 1. Variables locales du Hero branchées sur tokens.css (Source de Vérité Unique) ─── */
[data-palette="cobalt-lavender"],
[data-palette="organic-linen"],
.hero-section {
  --box-avail-bg: var(--canvas);
  --box-avail-fg: var(--ink);
  --box-avail-sub: var(--ink-muted);
  --box-avail-border: var(--border);
  --box-avail-accent: var(--primary);

  --box-kpi-bg: var(--surface-night);
  --box-kpi-fg: var(--surface);
  --box-kpi-sub: rgba(255, 255, 255, 0.78);
  --box-kpi-accent: var(--amber);

  --box-pill-bg: var(--theme-01-bg);
  --box-pill-fg: var(--theme-01-ink);
  --box-pill-sub: var(--theme-01-sub);
  --box-pill-border: var(--theme-01-border-solid);

  --box-warm-bg: var(--surface-subtle);
  --box-warm-fg: var(--ink-display);
  --box-warm-sub: var(--ink-muted);
  --box-warm-border: var(--border-linen);

  --box-slate-bg: var(--color-slate);
  --box-slate-fg: var(--ink-slate);
  --box-slate-border: var(--border-slate);

  /* ─── Focus Composants · Badge Use Case & Cartes KPI (liés aux Thèmes Projets 01/02/03) ─── */
  --box-kpi1-bg: var(--theme-01-bg);
  --box-kpi1-fg: var(--theme-01-ink);
  --box-kpi1-border: var(--theme-01-border);
  --box-kpi1-shadow: var(--theme-01-shadow);

  --box-kpi2-bg: var(--theme-02-bg);
  --box-kpi2-fg: var(--theme-02-ink);
  --box-kpi2-border: var(--theme-02-border);
  --box-kpi2-shadow: var(--theme-02-shadow);

  --box-kpi3-bg: var(--theme-03-bg);
  --box-kpi3-fg: var(--theme-03-ink);
  --box-kpi3-border: var(--theme-03-border);
  --box-kpi3-shadow: var(--theme-03-shadow);
}

/* ─── 2. Conteneur Hero Aéré & Respirant (Lin Organique avec Grain 35mm) ─── */
.hero-section {
  position: relative;
  background-color: var(--canvas);
  background-image: 
    radial-gradient(48% 54% at 82% 20%, rgba(235, 122, 68, 0.10), transparent 70%),
    radial-gradient(50% 55% at 18% 22%, rgba(245, 238, 224, 0.85), transparent 70%),
    radial-gradient(42% 48% at 20% 85%, rgba(241, 176, 167, 0.12), transparent 70%),
    var(--canvas-gradient);
  color: var(--ink);
  min-height: auto;
  display: block;
  padding: calc(68px + var(--section-pad-top, 116px)) 0 var(--section-pad-bottom, 128px);
  overflow: visible;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

/* Couche de Grain Tactile Analogique 35mm Organique */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.33 0.33 0.33 0 0  0.33 0.33 0.33 0 0  0.33 0.33 0.33 0 0  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 160px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.32;
  mix-blend-mode: multiply;
}

.hero-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 2;
}

/* ─── 3. Structure Règle des Tiers (2/3 – 1/3 · Grille Suisse 12 Colonnes) ─── */
.l2-thirds-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.8vh, 58px);
}

.l2-thirds-main {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 36px;
  align-items: stretch;
}

/* ─── 4. 2/3 Gauche (8 colonnes sur 12 = 66.6%) : Grand Titre + KPIs Ouverts ─── */
.l2-col-twothirds {
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 0 20px 0 0;
  position: relative;
  z-index: 5;
}

/* Scène Typographique Board 426:202 */
.hero-title-stage {
  position: relative;
  display: block;
  padding: 0 4px 0 0;
}

.hero-title-variant {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ─── Alignement horizontal de la ligne basse : CTAs Hero alignés sur l'encart LinkedIn (.l2-docked-identity) ─── */
@media (min-width: 1025px) {
  .l2-thirds-main .l2-col-twothirds {
    justify-content: flex-start;
    padding-top: 44px;
  }

  .l2-thirds-main .hero-statement-card,
  .l2-thirds-main .hero-title-stage,
  .l2-thirds-main .hero-title-variant {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .l2-thirds-main .hero-title-group {
    margin-top: auto;
  }

  .l2-thirds-main .hero-cta-row {
    margin-top: auto;
    padding-top: 20px;
  }
}

.title-v1-statement,
.hero-section h1,
.hero-title-stage h1,
.l2-col-twothirds .title-v1-statement {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(44px, 5.1vw, 70px);
  font-weight: 800 !important;
  line-height: 1.09;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  position: relative;
  z-index: 1;
}

.title-v1-line {
  display: block;
  position: relative;
  font-weight: 800;
}

.title-v1-line:not(:last-child) {
  margin-bottom: clamp(12px, 1.4vw, 20px);
}

/* Piste 3 : Souligné arrondi épais + étincelle périodique (latence ~3.6s) + point terminal en écho à "impact." */
.title-clean-underline {
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.title-clean-underline::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -6px;
  height: 4.5px;
  background: linear-gradient(
    110deg,
    var(--photo-orange, #EB7A44) 0%,
    var(--photo-orange, #EB7A44) 38%,
    #FFF3EA 50%,
    var(--photo-orange, #EB7A44) 62%,
    var(--photo-orange, #EB7A44) 100%
  );
  background-size: 260% 100%;
  background-position: 180% 0;
  border-radius: 999px;
  pointer-events: none;
  transform-origin: left center;
  transition: height 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              bottom 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.22s ease;
  animation: underline-sheen 6.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 2.6s; /* Relais décalé après impact-sheen (0.8s) */
}

.title-clean-underline::before {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -6.75px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--photo-orange, #EB7A44);
  pointer-events: none;
  opacity: 0.45;
  transform: scale(0.8);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
  animation: underline-dot-ping 6.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 2.6s;
}

.title-clean-underline.is-entering::after {
  animation: underline-draw-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.title-clean-underline:hover::after {
  height: 6px;
  bottom: -7px;
  box-shadow: 0 3px 14px rgba(235, 122, 68, 0.45);
}

.title-clean-underline:hover::before {
  opacity: 1;
  transform: scale(1.25);
}

@keyframes underline-draw-in {
  0% {
    transform: scaleX(0);
    opacity: 0.4;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes underline-sheen {
  0%, 58% {
    background-position: 180% 0;
    transform: scaleX(1);
  }
  68% {
    transform: scaleX(1.022);
  }
  78% {
    background-position: -80% 0;
    transform: scaleX(1);
  }
  100% {
    background-position: -80% 0;
    transform: scaleX(1);
  }
}

@keyframes underline-dot-ping {
  0%, 70% {
    opacity: 0.35;
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(235, 122, 68, 0);
  }
  78% {
    opacity: 1;
    transform: scale(1.35);
    box-shadow: 0 0 0 6px rgba(235, 122, 68, 0.24);
  }
  90%, 100% {
    opacity: 0.35;
    transform: scale(0.75);
    box-shadow: 0 0 0 10px rgba(235, 122, 68, 0);
  }
}

/* Sous-titre d'intention humaine & outcome (Eugene Trofimov) */
.hero-statement-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(18px, 1.45vw, 20.5px);
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: -0.015em;
  color: var(--ink-muted);
  margin: 18px 0 0;
  max-width: 610px;
  position: relative;
  z-index: 2;
  transition: opacity 0.20s ease, filter 0.20s ease;
}

.hero-statement-subtitle strong {
  color: var(--ink);
  font-weight: 700;
}

/* First-frame CTAs (Lena Kul + Aliena Cai · Folio silhouette matched to Work Case Studies) */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-top: 18px;
  position: relative;
  z-index: 30;
}

/* Focus Sélectif Sous-Titre (blur 3.5px + opacité 0.22) + Coussin Bas 24% strictement sous le H1 */
.hero-cta-local-halo {
  position: absolute;
  left: 132px;
  bottom: 10px;
  width: 640px;
  height: 204px;
  transform: translate3d(-50%, 6px, 0) scale(0.96);
  border-radius: 50%;
  background: radial-gradient(
    50% 50% at 50% 54%,
    rgba(250, 247, 242, 0.26) 0%,
    rgba(250, 247, 242, 0.16) 38%,
    rgba(245, 243, 252, 0.06) 68%,
    rgba(250, 247, 242, 0) 100%
  );
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: radial-gradient(
    50% 50% at 50% 54%,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.48) 34%,
    rgba(0, 0, 0, 0.20) 64%,
    rgba(0, 0, 0, 0.04) 86%,
    transparent 100%
  );
  mask-image: radial-gradient(
    50% 50% at 50% 54%,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.48) 34%,
    rgba(0, 0, 0, 0.20) 64%,
    rgba(0, 0, 0, 0.04) 86%,
    transparent 100%
  );
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    opacity 0.18s ease-out,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta-row:has(.hero-cta-primary:hover) .hero-cta-local-halo,
.hero-cta-row:has(.hero-cta-primary:focus-visible) .hero-cta-local-halo,
.hero-cta-row:has(.hero-cta-primary.is-fan-open) .hero-cta-local-halo,
.hero-cta-primary:hover .hero-cta-local-halo,
.hero-cta-primary:focus-visible .hero-cta-local-halo,
.hero-cta-primary.is-fan-open .hero-cta-local-halo {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}

/* Estompage optique ciblé du seul paragraphe .hero-statement-subtitle (le H1 reste 100% net) */
.hero-title-variant:has(.hero-cta-primary:hover) .hero-statement-subtitle,
.hero-title-variant:has(.hero-cta-primary:focus-visible) .hero-statement-subtitle,
.hero-title-variant:has(.hero-cta-primary.is-fan-open) .hero-statement-subtitle {
  opacity: 0.22;
  filter: blur(3.5px);
}

.hero-cta-primary {
  position: relative;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  min-width: 248px;
  padding: 22px 24px 2px 24px;
  background: transparent;
  color: var(--primary-on);
  border: none;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  filter: none;
  cursor: pointer;
  transition: transform 0.2s;
}

/* L'ombre portée bleue est appliquée UNIQUEMENT sur la forme SVG du bouton (et jamais derrière les 4 mini-folios !) */
.hero-cta-folio__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 3px 0 var(--primary-hover)) drop-shadow(0 10px 20px rgba(41, 61, 216, 0.18));
  transition: filter 0.18s ease, transform 0.18s ease;
}

/* ─── Micro-aperçu épuré en éventail des 4 vrais folios Case Studies (ratio 460/390 & silhouette #folder-path) ─── */
.hero-cta-folio__fan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-cta-mini {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 116px;
  aspect-ratio: 460 / 390;
  padding: 18px 9px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translate(-50%, 14px) scale(0.86) rotate(0deg);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 6px 14px rgba(13, 20, 27, 0.13));
  will-change: transform, opacity;
  transition:
    transform 0.20s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.14s ease-out;
}

.hero-cta-mini__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-cta-mini__svg use {
  stroke-width: 7px;
}

/* Onglet supérieur droit épuré : uniquement l'index 01..04 en Geist Pixel */
.hero-cta-mini__idx {
  position: absolute;
  top: 1px;
  right: 10px;
  height: 14px;
  display: flex;
  align-items: center;
  z-index: 2;
  font-family: var(--font-pixel), var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* Fenêtre intérieure blanche .front__showcase : KPI Géant + Client + 1 Mot-Clé lisible */
.hero-cta-mini__showcase {
  position: relative;
  z-index: 2;
  flex: 1;
  background: rgba(255, 255, 255, 0.76);
  border: 1.5px solid rgba(13, 20, 27, 0.20);
  box-shadow: 0 2px 0 rgba(13, 20, 27, 0.14);
  border-radius: 9px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  overflow: hidden;
}

.hero-cta-mini__kpi {
  font-family: var(--font-pixel), var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-cta-mini__name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.hero-cta-mini__kw {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.1;
  opacity: 0.78;
  white-space: nowrap;
}

/* 4 palettes officielles tokens.css (ordre du deck : Desjardins, Ehope, Bsit, Golf Avenue) */
.hero-cta-mini--1 {
  color: var(--theme-01-ink);
  z-index: 1;
}
.hero-cta-mini--1 .hero-cta-mini__svg use {
  fill: var(--theme-01-bg);
  stroke: rgba(74, 27, 20, 0.42);
}

.hero-cta-mini--2 {
  color: var(--theme-04-ink);
  z-index: 2;
}
.hero-cta-mini--2 .hero-cta-mini__svg use {
  fill: var(--theme-04-bg);
  stroke: rgba(22, 56, 38, 0.42);
}

.hero-cta-mini--3 {
  color: var(--theme-02-ink);
  z-index: 3;
}
.hero-cta-mini--3 .hero-cta-mini__svg use {
  fill: var(--theme-02-bg);
  stroke: rgba(36, 24, 70, 0.42);
}

.hero-cta-mini--4 {
  color: var(--theme-03-ink-deep, #1D2D9E);
  z-index: 4;
}
.hero-cta-mini--4 .hero-cta-mini__svg use {
  fill: var(--theme-03-bg);
  stroke: rgba(41, 61, 216, 0.42);
}

/* Déploiement en éventail large au survol & focus clavier */
.hero-cta-primary:hover .hero-cta-mini,
.hero-cta-primary:focus-visible .hero-cta-mini,
.hero-cta-primary.is-fan-open .hero-cta-mini {
  opacity: 1;
}

.hero-cta-primary:hover .hero-cta-mini--1,
.hero-cta-primary:focus-visible .hero-cta-mini--1,
.hero-cta-primary.is-fan-open .hero-cta-mini--1 {
  transform: translate(-202px, -96px) rotate(-11deg);
  transition-delay: 0ms;
}

.hero-cta-primary:hover .hero-cta-mini--2,
.hero-cta-primary:focus-visible .hero-cta-mini--2,
.hero-cta-primary.is-fan-open .hero-cta-mini--2 {
  transform: translate(-106px, -110px) rotate(-3.5deg);
  transition-delay: 15ms;
}

.hero-cta-primary:hover .hero-cta-mini--3,
.hero-cta-primary:focus-visible .hero-cta-mini--3,
.hero-cta-primary.is-fan-open .hero-cta-mini--3 {
  transform: translate(-6px, -110px) rotate(3.5deg);
  transition-delay: 30ms;
}

.hero-cta-primary:hover .hero-cta-mini--4,
.hero-cta-primary:focus-visible .hero-cta-mini--4,
.hero-cta-primary.is-fan-open .hero-cta-mini--4 {
  transform: translate(90px, -96px) rotate(11deg);
  transition-delay: 45ms;
}

/* Façade du CTA Folio en Bleu Cobalt primaire (--primary), cohérent avec tous les CTAs du site */
.hero-cta-folio__body {
  fill: var(--primary);
  stroke: var(--primary-hover);
  stroke-width: 1.5px;
  transition: fill 0.18s ease;
}

.hero-cta-folio__label {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.18s ease;
}

.hero-cta-folio__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  text-align: left;
}

.hero-cta-folio__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-cta-folio__top-text {
  font-family: var(--font-pixel), var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(255, 255, 255, 0.84);
}

.hero-cta-folio__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  min-width: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-family: var(--font-pixel), var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #FFFFFF;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}

.hero-cta-primary:hover .hero-cta-folio__pill,
.hero-cta-primary:focus-visible .hero-cta-folio__pill {
  transform: scale(1.14);
  background: rgba(255, 255, 255, 0.28);
}

.hero-cta-primary:active .hero-cta-folio__shape {
  transform: translateY(1.5px);
  filter: drop-shadow(0 1.5px 0 var(--primary-hover)) drop-shadow(0 6px 14px rgba(41, 61, 216, 0.16));
}

.hero-cta-primary:active .hero-cta-folio__label {
  transform: translateY(1.5px);
}

.hero-cta-folio__title {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--primary-on);
  white-space: nowrap;
}

.hero-cta-primary:hover .hero-cta-folio__shape {
  transform: translateY(-2px);
  filter: drop-shadow(0 5px 0 var(--primary-hover)) drop-shadow(0 12px 24px rgba(41, 61, 216, 0.24));
}

.hero-cta-primary:hover .hero-cta-folio__label {
  transform: translateY(-2px);
}

.hero-cta-primary:hover .hero-cta-folio__body {
  fill: var(--primary-hover);
}

.hero-cta-folio__arrow {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  align-self: center;
  will-change: transform;
  animation: cta-arrow-bounce-x 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hero-cta-primary:hover .hero-cta-folio__arrow,
.hero-cta-primary:focus-visible .hero-cta-folio__arrow {
  animation: cta-arrow-nudge-x 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: 0 3px 0 var(--border);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-cta-secondary__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-cta-secondary:hover {
  background: var(--surface-subtle);
  border-color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  transform: translateY(-1px);
}

.hero-cta-secondary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}

.hero-cta-secondary:hover .hero-cta-secondary__arrow,
.hero-cta-secondary:focus-visible .hero-cta-secondary__arrow {
  animation: none;
}

.hero-cta-primary:focus-visible,
.hero-cta-secondary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Style unifié des mots-clés dans le sous-titre : Font Weight + Italic (sans couleur artificielle) */
.hero-statement-subtitle .hero-trait {
  display: inline-block;
  font-style: italic;
  font-weight: 800;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.hero-statement-subtitle .hero-trait--curiosity,
.hero-statement-subtitle .hero-trait--empathy,
.hero-statement-subtitle .hero-trait--systems {
  color: var(--ink) !important;
}

/* ─── PROPOSITION 3 : « Micro-Badges UI » (Design System Tokens) ─── */
[data-subtitle-style="badges"] .hero-statement-subtitle .hero-trait,
.hero-statement-subtitle--badges .hero-trait {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88em;
  padding: 2px 11px;
  border-radius: 999px;
  margin: 0 2px;
  vertical-align: baseline;
  box-shadow: 0 2px 6px rgba(13, 20, 27, 0.06);
}

[data-subtitle-style="badges"] .hero-statement-subtitle .hero-trait--curiosity,
.hero-statement-subtitle--badges .hero-trait--curiosity {
  background: var(--surface);
  color: var(--photo-orange, #EB7A44);
  border: 1px solid rgba(235, 122, 68, 0.35);
}

[data-subtitle-style="badges"] .hero-statement-subtitle .hero-trait--empathy,
.hero-statement-subtitle--badges .hero-trait--empathy {
  background: var(--theme-01-bg, #F1B0A7);
  color: var(--theme-01-ink, #4A1B14);
  border: 1px solid var(--theme-01-border-solid, #E09489);
}

[data-subtitle-style="badges"] .hero-statement-subtitle .hero-trait--systems,
.hero-statement-subtitle--badges .hero-trait--systems {
  background: var(--primary-tint, #E8ECFB);
  color: var(--primary, #293DD8);
  border: 1px solid rgba(41, 61, 216, 0.25);
}

/* Boîte de sélection UI pure façon "clarity." (426:212) :
   Fond pastel + 2 poignées verticales droites avec point en bas à gauche et en haut à droite
   Effet de lumière biseauté & surbrillance animée synchronisée */
.hl-ui-selection {
  position: relative;
  display: inline-block;
  background: var(--box-pill-bg);
  color: var(--box-pill-fg);
  padding: 0 14px 3px;
  margin: 0 4px;
  font-weight: 800;
  line-height: 1.04;
  border-radius: 4px;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.8),
              inset 0 -1.5px 0 rgba(74, 27, 20, 0.12),
              0 4px 14px rgba(168, 66, 54, 0.14);
  transition: box-shadow 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hl-ui-selection:hover {
  transform: translateY(-1.5px);
  box-shadow: inset 0 2px 0 #FFFFFF,
              inset 0 -1.5px 0 rgba(74, 27, 20, 0.14),
              0 10px 24px rgba(168, 66, 54, 0.22);
}

/* Balayage de lumière biseauté strictement confiné au mot "impact." (aucun débordement sur la photo) */
.hl-ui-selection::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 15%,
    rgba(255, 255, 255, 0.88) 50%,
    transparent 85%
  );
  background-size: 260% 100%;
  background-position: 180% 0;
  pointer-events: none;
  border-radius: 4px;
  animation: impact-sheen 6.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 0.8s;
  z-index: 1;
}

@keyframes impact-sheen {
  0%, 14% {
    background-position: 180% 0;
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  28% {
    background-position: -80% 0;
    opacity: 1;
  }
  30%, 100% {
    background-position: -80% 0;
    opacity: 0;
  }
}

.hl-ui-selection__bar-left,
.hl-ui-selection__bar-right {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 3.5px;
  background: var(--box-pill-fg);
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hl-ui-selection__bar-left {
  left: 0;
}

.hl-ui-selection__bar-right {
  right: 0;
}

/* Point bas-gauche et point haut-droite comme sur la capture 426:212 */
.hl-ui-selection__bar-left::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -3.75px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--box-pill-fg);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hl-ui-selection__bar-right::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -3.75px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--box-pill-fg);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hl-ui-selection:hover .hl-ui-selection__bar-left {
  transform: translateX(-2.5px);
}

.hl-ui-selection:hover .hl-ui-selection__bar-right {
  transform: translateX(2.5px);
}

.hl-ui-selection:hover .hl-ui-selection__bar-left::after,
.hl-ui-selection:hover .hl-ui-selection__bar-right::before {
  transform: scale(1.28);
}

/* ─── Groupe Titre + Nuage Vortex de mots-clés autonome ─── */
.hero-title-group {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-title-group .title-v1-statement {
  margin: 0;
  order: 2;
}

/* Cluster de mots-clés de positionnement Recruiter-Ready au-dessus du titre (Lena Kul #1) */
.overlay-kw-cloud,
.overlay-kw-layer,
.hero-title-group .overlay-kw-layer {
  order: -1;
  position: relative;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: 0 auto 20px;
  pointer-events: auto;
  z-index: 10;
}

.overlay-kw-pills-wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  width: 100%;
  height: auto;
}

/* Base des 4 pilules — Matériau Cohérent Porcelaine & Verre Givré Suisse (Lisibilité absolue & zéro collision) */
.overlay-kw-pill {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6.5px;
  padding: 6.5px 14px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(12px, 1.05vw, 13px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 246, 252, 0.94) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(13, 20, 27, 0.08),
              inset 0 1px 1.5px #FFFFFF,
              inset 0 -1px 2px rgba(13, 20, 27, 0.04);
  cursor: default;
  user-select: none;
  pointer-events: auto;
  overflow: hidden;
  will-change: transform, scale, opacity;
  scale: 1;
  transition: scale 0.28s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.22s ease,
              box-shadow 0.28s ease,
              border-color 0.28s ease,
              z-index 0.28s ease;
}

/* Micro-indicateur d'identité discret (accent token coloré 5px) */
.overlay-kw-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.overlay-kw-pill--systems::before { background: var(--primary, #293DD8); box-shadow: 0 0 6px rgba(41, 61, 216, 0.5); }
.overlay-kw-pill--ds::before { background: #7C68B8; box-shadow: 0 0 6px rgba(124, 104, 184, 0.5); }
.overlay-kw-pill--ai::before { background: var(--photo-orange, #EB7A44); box-shadow: 0 0 6px rgba(235, 122, 68, 0.5); }
.overlay-kw-pill--growth::before { background: #A84236; box-shadow: 0 0 6px rgba(168, 66, 54, 0.5); }

/* Effet de Surbrillance (Glint / Sheen lumineux traversant harmonieusement les 4 pilules) */
.overlay-kw-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
  animation: pill-sheen 6.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.overlay-kw-pill--systems::after { animation-delay: 0s; }
.overlay-kw-pill--ds::after { animation-delay: 1.55s; }
.overlay-kw-pill--ai::after { animation-delay: 3.1s; }
.overlay-kw-pill--growth::after { animation-delay: 4.65s; }

@keyframes pill-sheen {
  0%, 15% {
    left: -140%;
  }
  30%, 100% {
    left: 170%;
  }
}

/* ─── Flottement orbital subtil sans superposition ─── */
.overlay-kw-pill--systems {
  animation: vortex-orbit-1 7.2s ease-in-out infinite;
}

.overlay-kw-pill--ds {
  animation: vortex-orbit-2 8.4s ease-in-out infinite -2s;
}

.overlay-kw-pill--ai {
  animation: vortex-orbit-3 6.4s ease-in-out infinite -3.5s;
}

.overlay-kw-pill--growth {
  animation: vortex-orbit-4 7.6s ease-in-out infinite -5s;
}

/* Survol individuel ultra-smooth : suspension de l'orbite sans à-coup et élévation par scale */
.overlay-kw-pill:hover {
  animation-play-state: paused;
  scale: 1.08;
  box-shadow: 0 16px 32px rgba(41, 61, 216, 0.20),
              inset 0 1px 2px #FFFFFF,
              0 0 18px rgba(255, 255, 255, 0.9);
  border-color: #FFFFFF;
  z-index: 20;
}

.overlay-kw-pills-wrap:has(.overlay-kw-pill:hover) .overlay-kw-pill:not(:hover) {
  opacity: 0.68;
}

.overlay-kw-pill:hover::before {
  transform: scale(1.45);
}

.overlay-kw-pill:active {
  scale: 0.98;
}

/* ─── Keyframes du Vortex Orbital : légères rotations organiques brisant l'horizontalité stricte ─── */
@keyframes vortex-orbit-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(-2.5deg);
  }
  25% {
    transform: translate(3px, -2px) rotate(-1.5deg);
  }
  50% {
    transform: translate(4px, 1px) rotate(-3.5deg);
  }
  75% {
    transform: translate(1px, 3px) rotate(-2deg);
  }
}

@keyframes vortex-orbit-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(2.2deg);
  }
  25% {
    transform: translate(-3px, 2px) rotate(3.2deg);
  }
  50% {
    transform: translate(-4px, -1px) rotate(1.2deg);
  }
  75% {
    transform: translate(-1px, -3px) rotate(2.8deg);
  }
}

@keyframes vortex-orbit-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(-1.8deg);
  }
  25% {
    transform: translate(2px, 2px) rotate(-0.8deg);
  }
  50% {
    transform: translate(1px, -3px) rotate(-2.8deg);
  }
  75% {
    transform: translate(-2px, -1px) rotate(-1.5deg);
  }
}

@keyframes vortex-orbit-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(2.8deg);
  }
  25% {
    transform: translate(-2px, -2px) rotate(1.8deg);
  }
  50% {
    transform: translate(3px, 1px) rotate(3.8deg);
  }
  75% {
    transform: translate(1px, 2px) rotate(2.4deg);
  }
}

/* ─── Couronne Groupée au Sommet de la Photo sur Desktop (≥ 1025px · Proposition 3 validée, avec recul respirant sous la navigation) ─── */
@media (min-width: 1025px) {
  .overlay-kw-cloud,
  .overlay-kw-layer {
    position: absolute;
    top: -4px;
    right: 0;
    left: auto;
    transform: none;
    width: calc((100% - 72px) / 3);
    height: 104px;
    max-width: none;
    margin: 0;
    pointer-events: none;
    z-index: 25;
  }

  .overlay-kw-pills-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .overlay-kw-pill {
    position: absolute;
    pointer-events: auto;
  }

  .overlay-kw-pill--systems {
    top: 0;
    left: 6px;
  }

  .overlay-kw-pill--ds {
    top: -2px;
    right: 6px;
  }

  .overlay-kw-pill--ai {
    top: 40px;
    left: -4px;
  }

  .overlay-kw-pill--growth {
    top: 44px;
    right: -6px;
  }
}

/* ─── Respect strict de prefers-reduced-motion ─── */
@media (prefers-reduced-motion: reduce) {
  .title-clean-underline::after,
  .title-clean-underline::before,
  .overlay-kw-pill,
  .overlay-kw-pill::after,
  .hl-ui-selection::after,
  .hero-cta-folio__arrow,
  .hero-cta-secondary__arrow {
    animation: none !important;
  }
  .overlay-kw-pill:hover {
    animation-play-state: unset;
  }
  .title-clean-underline::after,
  .title-clean-underline::before,
  .hl-ui-selection,
  .hl-ui-selection__bar-left,
  .hl-ui-selection__bar-right,
  .hl-ui-selection__bar-left::after,
  .hl-ui-selection__bar-right::before,
  .overlay-kw-pill,
  .overlay-kw-pill::before,
  .hero-cta-primary,
  .hero-cta-folio__body,
  .hero-cta-folio__pill,
  .hero-cta-folio__arrow,
  .hero-cta-mini,
  .hero-cta-local-halo,
  .fusion-bg-accent-top,
  .fusion-bg-accent-bottom,
  .fusion-photo-frame,
  .l2-docked-identity,
  .optA-card-linkedin__badge,
  .optA-card-linkedin__cta {
    transition: none !important;
  }
}

/* ─── Éléments Hybrides Desktop / Mobile & Focus Composants Badge Use Case ─── */
.hero-statement-card {
  display: block;
  position: relative;
}

.hero-statement-card__top {
  display: none;
}

.m-stack-eyebrow {
  display: none;
}

.m-stack-circle-btn--dock {
  display: none;
}

.m-stack-identity-strip__avatar {
  display: none;
}

.stacked-kpi-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.stacked-kpi-box__badge {
  display: none;
}

.stacked-kpi-box__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.65);
  color: currentColor;
  border: 1.5px solid currentColor;
  box-shadow: 0 2px 0 currentColor;
}

.stacked-kpi-box__pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.stacked-kpi-box__bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stacked-kpi-box__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stacked-kpi-box__eyebrow {
  display: none;
}

.l2-open-kpi--kpi1 {
  color: var(--box-kpi1-fg);
}
.l2-open-kpi--kpi1 .l2-open-kpi__num {
  color: var(--box-kpi1-fg);
}
.l2-open-kpi--kpi1 .stacked-kpi-box__pill {
  color: var(--box-kpi1-fg);
  background: var(--box-kpi1-bg);
}

.l2-open-kpi--kpi2 {
  color: var(--box-kpi2-fg);
}
.l2-open-kpi--kpi2 .l2-open-kpi__num {
  color: var(--box-kpi2-fg);
}
.l2-open-kpi--kpi2 .stacked-kpi-box__pill {
  color: var(--box-kpi2-fg);
  background: var(--box-kpi2-bg);
}

.l2-open-kpi--kpi3 {
  color: var(--box-kpi3-fg);
}
.l2-open-kpi--kpi3 .l2-open-kpi__num {
  color: var(--box-kpi3-fg);
}
.l2-open-kpi--kpi3 .stacked-kpi-box__pill {
  color: var(--box-kpi3-fg);
  background: var(--box-kpi3-bg);
}

.m-stack-passion-row__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-stack-passion-row__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--ink-display);
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 0 var(--border);
  white-space: nowrap;
}

/* ─── Ligne architecturale ouverte de 3 KPIs (sans boîte fermée, filets suisses 1px fins et uniformes) ─── */
.l2-open-impact-strip {
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  padding: 24px 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.l2-open-kpi {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 18px;
  border-right: 1px solid var(--border-strong);
}

.l2-open-kpi:last-child {
  border-right: none;
}

.l2-open-kpi__num {
  font-family: var(--font-pixel), 'Plus Jakarta Sans', monospace;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 400;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.l2-open-kpi__lbl {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.l2-open-kpi__meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ─── 5. 1/3 Droite (4 colonnes sur 12 = 33.3%) : Portrait Squircle + Carte LinkedIn ─── */
.l2-col-onethird {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.l2-portrait-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  flex: 1;
}

.fusion-bg-accent-top {
  position: absolute;
  left: 10px;
  top: 18px;
  width: 48%;
  height: 44%;
  background: rgba(220, 94, 54, 0.25); /* Touche d'orange chaud accordée à avatar.jpg */
  border-radius: 32px 22px 28px 18px;
  z-index: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
  will-change: transform;
  box-shadow: inset 0 0 0 1.5px rgba(220, 94, 54, 0.38);
}

.fusion-bg-accent-bottom {
  position: absolute;
  right: 10px;
  bottom: 20px;
  width: 52%;
  height: 52%;
  background: var(--box-slate-bg);
  border-radius: 22px 34px 18px 32px;
  z-index: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
  will-change: transform;
  box-shadow: inset 0 0 0 1.5px var(--box-slate-border);
}

.clean-avail-pill {
  display: none !important; /* Retiré de la section (item section) selon retour utilisateur */
}

.clean-avail-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-online);
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.fusion-photo-frame {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 320px;
  aspect-ratio: 4 / 4.75;
  border-radius: 74px;
  clip-path: url(#figma-squircle-photo);
  -webkit-clip-path: url(#figma-squircle-photo);
  overflow: hidden;
  background: var(--surface-night);
  border: none;
  filter: drop-shadow(0 20px 40px rgba(13, 20, 27, 0.14));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
  will-change: transform;
}

.l2-portrait-box:hover .fusion-bg-accent-top {
  transform: translate(-6px, -4px) rotate(-1.6deg);
  background: rgba(220, 94, 54, 0.32);
}

.l2-portrait-box:hover .fusion-bg-accent-bottom {
  transform: translate(6px, 4px) rotate(1.6deg);
}

.l2-portrait-box:hover .fusion-photo-frame {
  transform: scale(1.018);
  filter: drop-shadow(0 24px 46px rgba(13, 20, 27, 0.18));
}

.fusion-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: url(#hero-portrait-sharpen) contrast(1.03) saturate(1.02);
}

/* Bokeh / profondeur de champ optique en périphérie (visage 100% net au centre) */
.fusion-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(41, 61, 216, 0.12) 0%, transparent 44%),
    radial-gradient(circle at 86% 24%, rgba(235, 122, 68, 0.12) 0%, transparent 40%);
  -webkit-mask-image: radial-gradient(ellipse 64% 68% at 48% 48%, transparent 58%, rgba(0, 0, 0, 0.55) 82%, #000 100%);
  mask-image: radial-gradient(ellipse 64% 68% at 48% 48%, transparent 58%, rgba(0, 0, 0, 0.55) 82%, #000 100%);
}

/* Carte identité posée proprement SOUS la photo (aucune collision avec le visage) */
.l2-docked-identity {
  background: var(--box-kpi-bg);
  color: var(--box-kpi-fg);
  border-radius: 26px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(13, 20, 27, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.l2-docked-identity:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(13, 20, 27, 0.20);
}

.l2-docked-identity:active {
  transform: translateY(0px);
}

.optA-card-linkedin__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.optA-card-linkedin__badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--box-kpi-accent);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.20);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.l2-docked-identity:hover .optA-card-linkedin__badge {
  transform: rotate(-5deg) scale(1.07);
}

.optA-card-linkedin__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.optA-card-linkedin__name {
  display: block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--box-kpi-fg);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.optA-card-linkedin__exp {
  font-size: 11px;
  font-weight: 600;
  color: var(--box-kpi-accent);
  opacity: 0.95;
  white-space: nowrap;
}

.fusion-card-linkedin__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--box-kpi-sub);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  line-height: 1.35;
}

.optA-card-linkedin__cta {
  background: var(--primary);
  color: var(--primary-on);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6.5px 13px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--primary-hover);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.18s ease;
}

.l2-docked-identity:hover .optA-card-linkedin__cta {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.l2-docked-identity:hover .cta-arrow-ne,
.l2-docked-identity:focus-visible .cta-arrow-ne {
  animation: cta-arrow-nudge-ne 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ─── 6. Bandeau Inférieur 12 Colonnes (Beyond Work) ─── */
.l2-passions-12col {
  background: var(--box-avail-bg);
  color: var(--box-avail-fg);
  border: 1.5px solid var(--box-avail-border);
  border-radius: 32px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}

.bento-passions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

/* Titre unifié avec les autres sections (.section h2 — Gasoek One) */
.what-shapes-title,
.section h2.what-shapes-title {
  font-family: var(--font-gasoek, 'Gasoek One', sans-serif);
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 400;
  color: var(--ink-display);
  line-height: 0.96;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
}

.bento-passions-header__traits {
  background: rgba(255, 255, 255, 0.75);
  color: var(--box-avail-fg);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
}

.bento-passions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bento-passion-card--chromatic {
  background: var(--surface);
  border-radius: 20px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(13, 20, 27, 0.06);
  border: 1px solid rgba(43, 29, 18, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-passion-card--chromatic:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13, 20, 27, 0.12);
}

.hobby-chip__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hobby-chip__icon svg {
  width: 100%;
  height: 100%;
}

.hobby-chip__title {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.hobby-chip__sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* ─── 7. Responsive Tablette & Mobile (Synchronisé sur --container-max : 1024px / 768px / 480px) ─── */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    display: block;
    padding: var(--section-pad-top, 68px) 0 var(--section-pad-bottom, 76px);
  }
  body:has(.riso-nav-wrap) .hero-section {
    padding-top: 20px;
    padding-bottom: 56px;
  }
  .hero-cta-row {
    margin-top: 16px;
    gap: 8px;
  }
  .hero-cta-primary {
    min-height: 96px;
    min-width: 224px;
    padding: 19px 20px 2px 20px;
  }
  .hero-cta-folio__title {
    font-size: 14px;
  }
  .hero-cta-folio__top-text {
    font-size: 9.5px;
  }
  .hero-cta-folio__pill {
    height: 16px;
    min-width: 20px;
    font-size: 9.5px;
    padding: 0 6px;
  }
  .hero-cta-secondary {
    min-height: 48px;
    font-size: 13.5px;
    padding: 0 18px;
  }
  .hero-inner {
    width: 100%;
    max-width: var(--container-max);
    padding: 0 var(--container-pad);
    margin: 0 auto;
  }

  /* Conteneur principal : empilement vertical avec respiration verticale */
  .l2-thirds-stage {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }

  /* Déplier les conteneurs de grille desktop pour aplatir le flux direct */
  .l2-thirds-main {
    display: contents !important;
  }
  .l2-col-twothirds,
  .l2-col-onethird {
    display: contents !important;
  }
  /* Règle défensive : tout wrapper interne éventuel est aplati pour ne jamais intercepter l'ordre flex */
  .l2-col-twothirds > div:not(.hero-statement-card):not(.l2-open-impact-strip),
  .l2-thirds-stage > div:not(.hero-statement-card):not(.l2-docked-identity):not(.l2-open-impact-strip):not(.l2-passions-12col):not(.overlay-kw-cloud) {
    display: contents !important;
  }

  /* ═══ BOÎTE 1 : Grande Boîte Statement avec contour 2px sur fond blanc ═══ */
  .hero-statement-card {
    order: 1 !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
    border: 2px solid rgba(13, 20, 27, 0.16) !important;
    box-shadow: 0 3px 0 rgba(13, 20, 27, 0.08) !important;
    border-radius: 32px !important;
    padding: 22px 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-statement-card__top {
    display: none !important; /* Retiré de l'item section (affiché seulement en mobile en haut de la navigation) */
  }

  .m-stack-avail-badge {
    display: none !important;
  }

  .m-stack-circle-btn {
    display: none !important;
  }

  .m-stack-eyebrow {
    display: none !important;
  }

  .hero-title-stage {
    margin: 0 !important;
    padding: 0 !important;
  }

  .title-v1-statement,
  .hero-section h1,
  .hero-title-stage h1,
  .l2-col-twothirds .title-v1-statement {
    font-size: clamp(28px, 7.8vw, 34px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    margin: 0 0 10px !important;
  }

  .hero-statement-subtitle {
    font-size: 16.5px !important;
    line-height: 1.45 !important;
    margin: 8px 0 14px !important;
    color: var(--ink-muted) !important;
  }

  .hero-title-group {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Nuage de mots-clés sous le Hero et juste avant Case Studies sur Mobile/Tablette */
  .overlay-kw-cloud,
  .overlay-kw-layer {
    order: 3 !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    padding: 0 !important;
    border-top: none !important;
    margin: 22px 0 8px !important;
    pointer-events: auto !important;
  }

  .m-stack-circle-btn--dock {
    display: none !important;
  }

  .overlay-kw-pills-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 10px !important;
    flex: 1 !important;
  }

  .overlay-kw-pill {
    position: static !important;
    font-size: 11.5px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    color: var(--ink) !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #F6F2EA 100%) !important;
    border: 1.5px solid var(--border) !important;
    box-shadow: 0 3px 10px rgba(13, 20, 27, 0.07),
                inset 0 1px 1.5px #FFFFFF !important;
  }

  /* Masquer le grand cadre photo desktop (l'avatar squircle unique est dans la capsule LinkedIn) */
  .l2-portrait-box {
    display: none !important;
  }

  /* ═══ BOÎTE 2 : Capsule Horizontale Identité & Photo Squircle ═══ */
  .l2-docked-identity {
    order: 2 !important;
    background: var(--box-warm-bg) !important;
    color: var(--box-warm-fg) !important;
    border: 2px solid rgba(43, 35, 29, 0.30) !important;
    box-shadow: 0 3px 0 rgba(43, 35, 29, 0.12) !important;
    border-radius: 28px !important;
    padding: 12px 14px 12px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .optA-card-linkedin__left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .optA-card-linkedin__text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  .optA-card-linkedin__badge {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    background: rgba(43, 35, 29, 0.12) !important;
    color: var(--box-warm-fg) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
  }

  .fusion-card-linkedin__sub {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: rgba(43, 35, 29, 0.65) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
  }

  .optA-card-linkedin__name {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--box-warm-fg) !important;
    line-height: 1.25 !important;
  }

  .optA-card-linkedin__exp {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #8C4300 !important;
  }

  .l2-docked-identity__right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .optA-card-linkedin__cta {
    display: none !important;
  }

  .m-stack-identity-strip__avatar {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    clip-path: url(#figma-squircle-photo) !important;
    -webkit-clip-path: url(#figma-squircle-photo) !important;
  }

  .m-stack-identity-strip__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: scale(1.50);
    transform-origin: 46% 38%;
    filter: url(#hero-portrait-sharpen) contrast(1.03);
  }

  /* ═══ BOÎTES 3, 4, 5 : Cartes KPI empilées avec Chiffre Géant à droite (Focus Composants) ═══ */
  .l2-open-impact-strip {
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .l2-open-kpi {
    border-radius: 30px !important;
    padding: 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    border-right: none !important;
    border-bottom: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Variantes chromatiques Focus Composants */
  .l2-open-kpi--kpi1 {
    background: var(--box-kpi1-bg) !important;
    color: var(--box-kpi1-fg) !important;
    border: 2px solid var(--box-kpi1-border) !important;
    box-shadow: 0 3px 0 var(--box-kpi1-shadow) !important;
  }

  .l2-open-kpi--kpi2 {
    background: var(--box-kpi2-bg) !important;
    color: var(--box-kpi2-fg) !important;
    border: 2px solid var(--box-kpi2-border) !important;
    box-shadow: 0 3px 0 var(--box-kpi2-shadow) !important;
  }

  .l2-open-kpi--kpi3 {
    background: var(--box-kpi3-bg) !important;
    color: var(--box-kpi3-fg) !important;
    border: 2px solid var(--box-kpi3-border) !important;
    box-shadow: 0 3px 0 var(--box-kpi3-shadow) !important;
  }

  .stacked-kpi-box__top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .stacked-kpi-box__badge {
    display: inline-flex !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: currentColor !important;
    font-family: var(--font-pixel) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .stacked-kpi-box__pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 13px !important;
    border-radius: 999px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    background: rgba(255, 255, 255, 0.65) !important;
    color: currentColor !important;
    border: 1.5px solid currentColor !important;
    box-shadow: 0 2px 0 currentColor !important;
  }

  .stacked-kpi-box__pill-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: currentColor !important;
  }

  .stacked-kpi-box__bottom {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .stacked-kpi-box__copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    max-width: 58% !important;
  }

  .stacked-kpi-box__eyebrow {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    opacity: 0.75 !important;
    text-transform: uppercase !important;
  }

  .l2-open-kpi__lbl {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.015em !important;
    color: currentColor !important;
  }

  .l2-open-kpi__meta {
    display: none !important;
  }

  .l2-open-kpi__num {
    font-family: var(--font-pixel) !important;
    font-size: clamp(54px, 14vw, 66px) !important;
    font-weight: 400 !important;
    line-height: 0.86 !important;
    letter-spacing: -0.03em !important;
    color: currentColor !important;
    text-align: right !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    order: 2 !important;
  }

  /* ═══ BOÎTES 6, 7, 8, 9 : Beyond Work & 4 Hobbies empilés ═══ */
  .l2-passions-12col {
    order: 4 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .bento-passions-header {
    padding: 10px 6px 2px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    align-items: flex-start !important;
  }

  .bento-passions-header__traits {
    display: none !important;
  }

  .m-stack-eyebrow--passions {
    display: none !important;
  }

  .what-shapes-title {
    font-size: clamp(28px, 8vw, 44px) !important;
    color: var(--ink-display) !important;
  }

  .bento-passions-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .bento-passion-card--chromatic {
    background: var(--surface) !important;
    color: var(--ink) !important;
    border: 2px solid rgba(13, 20, 27, 0.16) !important;
    box-shadow: 0 3px 0 rgba(13, 20, 27, 0.08) !important;
    border-radius: 26px !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .m-stack-passion-row__left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .m-stack-passion-row__left > div {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .hobby-chip__icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 15px !important;
    background: var(--surface-subtle) !important;
    border: 1.5px solid var(--border) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .hobby-chip__icon svg {
    width: 36px !important;
    height: 36px !important;
  }

  .hobby-chip__title {
    font-size: 14px !important;
    font-weight: 800 !important;
    display: block !important;
    color: var(--ink) !important;
  }

  .hobby-chip__sub {
    font-size: 11.5px !important;
    color: var(--ink-muted) !important;
    display: block !important;
  }

  .m-stack-passion-row__tag {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 11px !important;
    border-radius: 999px !important;
    background: var(--surface-subtle) !important;
    color: var(--ink-display) !important;
    border: 1.5px solid var(--border) !important;
    box-shadow: 0 2px 0 var(--border) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 768px) {
  body:has(.riso-nav-wrap) .hero-section {
    padding-top: 20px;
    padding-bottom: 56px;
  }
  .title-v1-statement,
  .hero-section h1,
  .hero-title-stage h1,
  .l2-col-twothirds .title-v1-statement {
    font-size: clamp(26px, 7.2vw, 32px) !important;
    line-height: 1.08 !important;
    margin-bottom: 8px !important;
  }
  .hero-statement-subtitle {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 6px 0 10px !important;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 12px;
    gap: 8px;
  }
  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-cta-primary {
    min-height: 78px;
    padding: 16px 20px 2px;
    font-size: 14.5px;
  }
  .hero-cta-secondary {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  body:has(.riso-nav-wrap) .hero-section {
    padding-top: 20px;
    padding-bottom: 48px;
  }
  .hero-statement-card {
    padding: 16px 15px !important;
    border-radius: 26px !important;
    gap: 10px !important;
  }
  .overlay-kw-pill {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }
  .hl-ui-selection {
    margin: 2px 4px 2px 2px;
    padding: 0 10px 3px;
  }
  .hero-cta-primary {
    aspect-ratio: auto;
    min-height: 78px;
    padding: 16px 18px 2px;
  }
}
