/* ── AGENCE : HERO ── */
.ag-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; padding: 150px 52px 90px; }
.ag-hero-desc { margin-top: 36px; max-width: 480px; font-size: 1.02rem; }
.ag-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.ag-stage { position: relative; height: clamp(440px, 44vw, 640px); }
.ag-photo {
  position: absolute; margin: 0; width: 58%; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background: var(--surface); box-shadow: 0 34px 70px -28px rgba(7, 0, 53, .5);
}
.ag-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.ag-photo:hover img { transform: scale(1.05); }
.ag-photo figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px);
}
.ag-photo figcaption strong { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.ag-photo figcaption span { font-size: .75rem; color: var(--muted); font-weight: 500; }
.ag-photo--a { left: 0; top: 2%; rotate: -5deg; }
.ag-photo--b { right: 0; bottom: 0; rotate: 4deg; }
.ag-chip {
  position: absolute; z-index: 2; padding: 10px 18px; border-radius: 999px; background: var(--white); color: #fff;
  font-size: .78rem; font-weight: 700; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(7, 0, 53, .55);
  animation: agFloat 6s ease-in-out infinite;
}
.ag-chip--1 { left: 36%; top: 0; }
.ag-chip--2 { right: 2%; top: 30%; background: var(--accent); animation-delay: -2s; }
.ag-chip--3 { left: 2%; bottom: 8%; background: #fff; color: var(--white); animation-delay: -4s; }
@keyframes agFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ── AGENCE : WALL OF PROJECTS ── */
.ag-wall { padding: 30px 0 100px; overflow: hidden; }
.ag-wall-head { display: flex; justify-content: space-between; align-items: center; padding: 50px 52px 0; margin-bottom: 8px; }
.ag-wall-head .section-label { margin-bottom: 0; }
.ag-row { overflow: hidden; margin-top: 20px; }
.ag-track { display: flex; gap: 20px; width: max-content; animation: agMarquee 70s linear infinite; }
.ag-row--rev .ag-track { animation-direction: reverse; animation-duration: 85s; }
.ag-row:hover .ag-track, .ag-row:focus-within .ag-track { animation-play-state: paused; }
@keyframes agMarquee { to { transform: translateX(calc(-50% - 10px)); } }
.ag-card { position: relative; flex: none; width: clamp(260px, 26vw, 380px); aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; background: var(--surface); }
.ag-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.ag-card:hover img { transform: scale(1.07); }
.ag-card-title {
  position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92);
  font-size: .78rem; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.ag-card:hover .ag-card-title, .ag-card:focus-visible .ag-card-title { opacity: 1; transform: none; }

/* ── AGENCE : ADN ── */
.ag-title { font-family: 'Roboto', sans-serif; font-weight: 800; letter-spacing: -.03em; line-height: 1.04; font-size: clamp(2rem, 4vw, 3.4rem); margin: 30px 0 22px; }
.ag-title em { font-style: normal; color: var(--accent); }
.ag-adn { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; padding: 110px 52px; align-items: start; }
.ag-adn-text { font-size: 1.12rem; line-height: 1.85; max-width: 600px; margin-top: 30px; }
.ag-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ag-fact { background: var(--surface); border: 0; box-shadow: var(--shadow-sm); border-radius: var(--radius-md); padding: 28px 24px 26px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.ag-fact-val { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.4rem); letter-spacing: -.04em; line-height: 1; }
.ag-fact-label { font-size: .88rem; line-height: 1.55; color: var(--muted); margin-top: 18px; }
.ag-fact--accent { background: var(--accent);  color: #fff; }
.ag-fact--accent .ag-fact-label { color: rgba(255, 255, 255, .88); }
.ag-fact--dark { background: var(--white);  color: #fff; }
.ag-fact--dark .ag-fact-label { color: rgba(255, 255, 255, .75); }

/* ── AGENCE : CAPABILITIES ── */
.ag-caps { padding: 110px 52px; background: var(--surface); }
.ag-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.ag-cap { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 34px; border-radius: var(--radius-md); background: var(--bg); border: 0; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.ag-cap:hover { box-shadow: var(--shadow-hover); }
.ag-cap-ico { width: 34px; height: 34px; color: var(--accent); }
.ag-cap-title { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; }
.ag-cap-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-cap-tags span { font-size: .75rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 0; box-shadow: var(--shadow-xs); }
.ag-cap-arrow { position: absolute; right: 24px; top: 28px; color: var(--accent); font-size: 1.3rem; transition: transform .25s; }
.ag-cap:hover .ag-cap-arrow { transform: translateX(6px); }

/* 5 cards: three on the first row, two wider ones below, no empty slot. */
.ag-cap-grid--five { grid-template-columns: repeat(6, 1fr); }
.ag-cap-grid--five .ag-cap { grid-column: span 2; }
.ag-cap-grid--five .ag-cap:nth-child(n+4) { grid-column: span 3; }

/* ── AGENCE : EVOLUTION ── */
.ag-evolve { padding: 110px 52px; }
.ag-evo { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1.15fr); gap: 0; align-items: center; margin-top: 56px; }
.ag-evo-card { padding: 38px 36px 40px; border-radius: var(--radius-lg); }
.ag-evo-card h3 { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; margin: 14px 0 22px; }
.ag-evo-card ul { list-style: none; display: flex; flex-direction: column; }
.ag-evo-card li { padding: 13px 0 13px 26px; position: relative; font-size: .95rem; line-height: 1.5; }
.ag-evo-card li::before { content: ''; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; }
.ag-evo-tag { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.ag-evo-then { border: 0; background: rgba(255, 255, 255, .55); box-shadow: var(--shadow-sm); color: var(--muted); }
.ag-evo-now { background: linear-gradient(150deg, var(--accent) 0%, #2A1F5C 100%); color: #fff; box-shadow: 0 40px 80px -40px rgba(42, 31, 92, .8); }
.ag-evo-now li::before { background: #85EFE3; opacity: 1; }
.ag-evo-arrow { display: flex; justify-content: center; color: var(--accent); }
.ag-evo-arrow svg { width: 70px; height: 22px; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s cubic-bezier(.16, 1, .3, 1) .5s; }
.ag-evolve.visible .ag-evo-arrow svg { stroke-dashoffset: 0; }
.ag-keep { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.ag-keep-title { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ag-keep ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.ag-keep li { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 0; box-shadow: var(--shadow-xs); font-size: .85rem; font-weight: 500; }
.ag-evolve .evolve-links { margin-top: 36px; }
.ag-evolve .evolve-head { max-width: 760px; }

/* ── AGENCE : CULTURE ── */
.ag-culture { padding: 110px 52px; }
.ag-culture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.ag-do, .ag-dont { border-radius: var(--radius-lg); padding: 40px 38px 42px; }
.ag-do { background: var(--surface); border: 0; box-shadow: var(--shadow-sm); }
.ag-dont { background: var(--white); color: #fff; }
.ag-culture-title { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 18px; }
.ag-do ul, .ag-dont ul { list-style: none; }
.ag-do li, .ag-dont li { display: flex; align-items: center; gap: 14px; padding: 15px 0; font-size: 1rem; }
.ag-do li svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: #85EFE3; color: #070035; }
.ag-dont li svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #FF8A8A; }
.ag-dont li span {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0% 2px; opacity: .92;
  transition: background-size .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 130ms + .5s);
}
.ag-culture.visible .ag-dont li span { background-size: 100% 2px; }

@media (max-width: 1000px) {
  .ag-hero { grid-template-columns: 1fr; padding: 120px 24px 60px; gap: 40px; }
  .ag-stage { height: clamp(380px, 95vw, 520px); }
  .ag-photo { width: 56%; }
  .ag-wall-head { padding: 40px 24px 0; }
  .ag-adn, .ag-caps, .ag-evolve, .ag-culture { padding: 70px 24px; }
  .ag-adn { grid-template-columns: 1fr; gap: 44px; }
  .ag-cap-grid, .ag-cap-grid--five { grid-template-columns: 1fr 1fr; }
  .ag-cap-grid--five .ag-cap, .ag-cap-grid--five .ag-cap:nth-child(n+4) { grid-column: auto; }
  .ag-evo { grid-template-columns: 1fr; gap: 14px; }
  .ag-evo-arrow { transform: rotate(90deg); height: 40px; align-items: center; }
  .ag-culture-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ag-cap-grid, .ag-cap-grid--five, .ag-facts { grid-template-columns: 1fr; }
  .ag-chip { font-size: .72rem; padding: 8px 14px; }
  .ag-evo-card, .ag-do, .ag-dont { padding: 28px 24px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-chip { animation: none; }
  .ag-row { overflow-x: auto; }
  .ag-track { animation: none; }
  .ag-evo-arrow svg { stroke-dashoffset: 0; transition: none; }
  .ag-dont li span { background-size: 100% 2px; transition: none; }
}

/* ── AGENCE : CHIFFRES CLÉS (floating UI cards, same language as the Offres hero) ── */
.kf-stage { position: relative; height: 810px; }
.kf-card {
  position: absolute; width: min(340px, 80%); padding: 22px 24px 24px; border-radius: 22px; background: var(--surface);
  box-shadow: 0 34px 70px -30px rgba(7, 0, 53, .5);
  opacity: 0; transform: translateY(44px); transition: opacity .8s ease, transform .9s cubic-bezier(.16, 1, .3, 1), box-shadow .3s;
  transition-delay: calc(var(--i, 0) * .16s);
}
.kf-stage.visible .kf-card { opacity: 1; transform: none; }
.kf-card:hover { box-shadow: 0 40px 80px -30px rgba(7, 0, 53, .55); }
.kf-card--years { left: 0; top: 0; rotate: -3deg; }
.kf-card--founders { right: 0; top: 245px; rotate: 2.5deg; background: #0B0638; color: #F4F1FF; }
.kf-card--inhouse { left: 4%; top: 470px; rotate: -1.5deg; }
.kf-card--lille { right: 2%; bottom: 0; rotate: 2deg; width: min(260px, 70%); }
.kf-head { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .95rem; margin-bottom: 16px; }
.kf-head em { font-style: normal; margin-left: auto; font-size: .7rem; font-weight: 500; opacity: .55; text-transform: uppercase; letter-spacing: .08em; }
.kf-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.kf-dot.is-live { background: #85EFE3; animation: kfPulse 2.2s infinite; }
.kf-dot.is-violet { background: #A796FF; }
@keyframes kfPulse { 0% { box-shadow: 0 0 0 0 rgba(133, 239, 227, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(133, 239, 227, 0); } }
.kf-big { font-weight: 800; font-size: clamp(2.6rem, 4.2vw, 3.6rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.kf-big--sm { font-size: clamp(2rem, 3vw, 2.6rem); }
.kf-line { font-size: .88rem; line-height: 1.55; margin-top: 12px; opacity: .8; }
.kf-pill { display: inline-block; margin-top: 16px; font-size: .75rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: rgba(133, 239, 227, .16); color: #85EFE3; }
.kf-timeline { position: relative; display: flex; justify-content: space-between; margin-top: 20px; padding-top: 16px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.kf-timeline i { position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.kf-timeline i::after { content: ''; position: absolute; inset: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent), #A796FF); transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1) .8s; }
.kf-stage.visible .kf-timeline i::after { transform: scaleX(1); }
.kf-bar { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; font-size: .8rem; margin-top: 12px; }
.kf-bar i { display: block; height: 8px; border-radius: 99px; background: var(--bg); position: relative; overflow: hidden; }
.kf-bar i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--accent), #A796FF); transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.kf-bar:nth-child(2) i::after { transition-delay: 1s; }
.kf-bar:nth-child(3) i::after { transition-delay: 1.15s; }
.kf-bar:nth-child(4) i::after { transition-delay: 1.3s; }
.kf-bar:nth-child(5) i::after { transition-delay: 1.45s; }
.kf-stage.visible .kf-bar i::after { transform: scaleX(1); }
@media (min-width: 1300px) {
  .kf-stage { height: 700px; }
  .kf-card--founders { top: 190px; }
  .kf-card--inhouse { top: 410px; }
}
@media (max-width: 1000px) {
  .kf-stage { height: 700px; max-width: 560px; }
  .kf-card--founders { top: 200px; }
  .kf-card--inhouse { top: 420px; }
}
@media (max-width: 640px) {
  .kf-stage { height: auto; display: flex; flex-direction: column; gap: 16px; }
  .kf-card, .kf-card--lille { position: static; width: 100%; rotate: 0deg; }
}
@media (prefers-reduced-motion: reduce) {
  .kf-card { opacity: 1; transform: none; transition: none; }
  .kf-timeline i::after, .kf-bar i::after { transform: none; transition: none; }
  .kf-dot.is-live { animation: none; }
}
