@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;600;700&display=swap');
/* VRDCI - shared styles */

:root {
  --logo-font: 'Jost', 'Futura Std', 'Avenir Next', Avenir, 'Century Gothic', sans-serif;
  --bg: #ffffff;
  --ink: #000000;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b;
  --muted-2: #8a8a8a;
  --line: #e5e5e5;
  --line-2: #d4d4d4;
  --panel: #fafafa;
  --panel-2: #f4f4f4;
  --accent: #d11a2a;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}
/* Geometric sans-serif stack: horizontal C terminations on Mac (Avenir/Futura) and Windows (Century Gothic) */
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.brand .vrdci {
  font-family: var(--logo-font);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.brand a { text-decoration: none; }

.foot-brand .logo {
  margin-bottom: 10px;
  line-height: 1;
}
.foot-brand .logo .vrdci {
  font-family: var(--logo-font);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.hero h1 {
  font-family: var(--logo-font);
  font-weight: 700;
  letter-spacing: 2px;
}
.hero .hero-logo {
  margin: 0 0 22px;
  display: flex;
  justify-content: center;
  line-height: 1;
}
.hero .hero-logo .vrdci {
  font-family: var(--logo-font);
  font-weight: 700;
  font-size: clamp(80px, 14vw, 170px);
  letter-spacing: 1px;
  line-height: 0.92;
  color: var(--ink);
}

/* ===== HERO ACRONYM (animated main logo) ===== */
.hero .hero-acro {
  margin: 0 0 22px;
  display: flex;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  outline: none;
}
.hero-acro .acro-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  transition: gap 1s cubic-bezier(.2,.7,.2,1);
}
.hero-acro.in-view .acro-row { gap: clamp(12px, 3vw, 52px); }

.hero-acro .acro-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1vw, 16px);
  min-width: 0;
}
.hero-acro .letter {
  font-family: var(--logo-font);
  font-weight: 700;
  font-size: clamp(80px, 14vw, 170px);
  letter-spacing: 2px;
  line-height: 0.92;
  color: var(--ink);
  display: inline-block;
  transform: translateY(0);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i) * 420ms);
}
.hero-acro.in-view .letter { transform: translateY(-4px); }

.hero-acro .word {
  font-family: var(--logo-font);
  font-weight: 600;
  font-size: clamp(12px, 1.5vw, 20px);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i) * 420ms + 180ms);
}
.hero-acro .word .muted-word { color: var(--muted); font-weight: 500; }
.hero-acro .word b { font-weight: 900; color: var(--accent); font-size: 1.5em; letter-spacing: 0; }
.hero-acro.in-view .word { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  .hero-acro .word { font-size: 10px; letter-spacing: 1.5px; }
  .hero-acro.in-view .acro-row { gap: clamp(8px, 3.5vw, 26px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-acro .acro-row, .hero-acro .letter, .hero-acro .word { transition: none !important; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}
.nav > a, .nav > .has-sub { position: relative; }
.nav a.active { color: var(--accent); }
.nav .has-sub > a::after {
  content: "▾";
  margin-left: 4px;
  font-size: 10px;
  opacity: 0.6;
}
.nav .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 100;
}
.nav .submenu a {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-left: 2px solid transparent;
}
.nav .submenu a:hover {
  background: var(--panel);
  border-left-color: var(--accent);
  color: var(--ink);
}
.nav .has-sub:hover .submenu,
.nav .has-sub:focus-within .submenu { display: flex; }

.lang {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
  padding-right: 56px;
}
.lang a { color: var(--muted); padding: 0 4px; }
.lang a.on { color: var(--ink); font-weight: 600; }
.lang span.sep { color: var(--line-2); }

.version-flag {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}
.version-flag span {
  position: absolute;
  top: 15px;
  right: 10px;
  transform: rotate(45deg);
  transform-origin: center;
  display: block;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 70px 24px 40px;
}
.hero h1 {
  font-size: clamp(80px, 14vw, 170px);
  line-height: 0.92;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -4px;
}
.hero .kicker {
  font-size: 13px;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}
.hero h2 {
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero p.lead {
  font-size: 16px;
  color: #2b2b2b;
  max-width: 640px;
  margin: 0 auto;
}



/* ===== SECTION HEADING ===== */
.sect-title {
  text-align: center;
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: 700;
  margin: 30px 0 22px;
}
.hero + .wrap > .sect-title:first-child {
  margin-top: 4px;
  position: relative;
}
.sect-title::before, .sect-title::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--ink);
  vertical-align: middle;
  margin: 0 16px;
}

/* ===== ACTIVITY CARDS ===== */
.activities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.act {
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.act-link-img, .act-link-title {
  display: block;
  color: inherit;
}
.act-link-img:hover .act-img { filter: brightness(1.05); }
.act-link-title:hover .act-title { color: var(--accent); }
.act-img {
  aspect-ratio: 1 / 1;
  background: #1d1d1d;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.act-img svg { width: 70%; height: 70%; }
.act-img { overflow: visible; }
.act-icon {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.act-icon svg { width: 28px; height: 28px; }
.act-body { padding-top: 40px; }
.act-body {
  padding: 28px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.act-title {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  min-height: 56px;
}
.act-cta {
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: opacity .15s ease;
}
.act-cta:hover { opacity: 0.65; }
.act-cta .info { display: flex; flex-direction: column; gap: 2px; }
.act-cta .ext { margin-left: auto; color: var(--muted); }
.act-cta .name {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 13px;
}
.act-cta .url {
  color: var(--muted);
  font-size: 11px;
}
.act-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.act-list li {
  position: relative;
  padding-left: 12px;
}
.act-list li::before {
  content: "■";
  color: var(--ink);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 8px;
  line-height: 18px;
}
.brand-row {
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: opacity .15s ease;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 8px 10px;
  font-size: 11px;
}
.brand-row .ico { width: 18px; height: 18px; flex: 0 0 18px; display:flex; align-items:center; justify-content:center; }
.brand-row .meta { display: flex; flex-direction: column; gap: 1px; }
.brand-row .meta b { font-size: 12px; }
.brand-row .meta span { color: var(--muted); font-size: 10px; }
.brand-row .meta span a { color: inherit; text-decoration: none; }
.brand-row .meta span a:hover { color: var(--accent); }
.brand-row .ext { margin-left: auto; color: var(--muted); }
.brand-row:hover { opacity: 0.65; }
.note-box {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 10px;
  font-size: 11px;
  color: #444;
  line-height: 1.4;
}
.act-foot {
  margin-top: auto;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}
.act-foot a:hover { color: var(--accent); }

/* ===== STATS STRIP ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin: 28px 0;
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .ic {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: flex; align-items: center; justify-content: center;
}
.stat b { display: block; font-size: 16px; line-height: 1.1; }
.stat span { font-size: 11px; color: var(--muted); display: block; line-height: 1.4; }

/* ===== ABOUT BOX ===== */
.about {
  border: 1px solid var(--line);
  padding: 22px 26px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: center;
}
.about h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}
.about p { margin: 0 0 10px; font-size: 13.5px; color: #333; }
.about-side {
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.about-side .ic {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: flex; align-items: center; justify-content: center;
}
.about-side .h { font-size: 12px; color: var(--muted); }
.about-side .y { font-weight: 800; font-size: 18px; line-height: 1.1; }
.about-side .s { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 18px;
  font-size: 12.5px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr 1fr;
  gap: 30px;
}
.foot-grid h4 {
  font-size: 13px;
  margin: 0 0 10px;
  font-weight: 800;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display:flex; flex-direction:column; gap: 5px; color: #333; }
.foot-grid p { margin: 0 0 8px; color: #333; line-height: 1.5; }
.foot-brand .logo { margin-bottom: 8px; }
.foot-brand .socials {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}
.foot-brand .socials a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  transition: background 0.15s;
}
.foot-brand .socials a:hover { background: var(--accent); }
.foot-brand .li {
  margin-top: 14px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
}
.foot-bottom {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 14px;
}

/* ===== Inner page common ===== */
.page-hero {
  padding: 56px 24px 30px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -2px;
  line-height: 1;
}
.page-hero .kicker {
  font-size: 12px; letter-spacing: 4px; font-weight: 700; color: var(--muted); margin-bottom: 8px;
}
.page-hero p {
  margin: 12px auto 0; max-width: 640px; color: #2b2b2b; font-size: 16px;
}

.page-body { padding: 40px 0 60px; }
.page-body h2 {
  font-size: 22px; font-weight: 800; margin: 30px 0 14px; letter-spacing: -0.3px;
}
.page-body h3 {
  font-size: 16px; font-weight: 800; margin: 22px 0 10px;
}
.page-body p { margin: 0 0 12px; color: #222; }
.page-body ul { padding-left: 18px; }
.page-body ul li { margin: 4px 0; }

/* Cards layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.card {
  border: 1px solid var(--line);
  padding: 22px;
  background: #fff;
}
.card h3 { margin-top: 0; }
.card .meta { font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }

/* news article with picto */
.news-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px;
  margin-bottom: 18px;
  align-items: start;
}
.news-item .pic {
  aspect-ratio: 4 / 3;
  background: var(--panel);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-item .pic img { width: 100%; height: 100%; object-fit: cover; }
.news-item .year {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 10px;
  margin-bottom: 10px;
}
.news-item h3 { margin: 0 0 10px; font-size: 18px; }
.news-item p { font-size: 13.5px; color: #333; margin: 0 0 8px; }
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; }
}

.testimonial {
  border: 1px solid var(--line);
  padding: 22px 26px;
  background: #fff;
}
.testimonial blockquote {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #1a1a1a;
  font-style: italic;
  border-left: 2px solid var(--ink);
  padding-left: 14px;
}
.testimonial .who {
  font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 10px;
}
.testimonial .who b { color: var(--ink); font-style: normal; }
.testimonial .logo-chip {
  border: 1px solid var(--line);
  padding: 8px 10px;
  background: #fff;
  flex: 0 0 120px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial .logo-chip img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: invert(1) hue-rotate(180deg) contrast(1.05);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ref-tile {
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  padding: 18px;
  transition: border-color 0.15s, transform 0.15s;
}
.ref-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.ref-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* source logos are white-on-transparent; invert to dark for white bg */
  filter: invert(1) hue-rotate(180deg) contrast(1.05);
}
/* Brand-accurate tints — white source → coloured */
.ref-tile img[src*="ouest-france"],
.ref-tile img[src*="tui"],
.testimonial .logo-chip img[src*="ouest-france"],
.testimonial .logo-chip img[src*="tui"] {
  filter: brightness(0) saturate(100%) invert(13%) sepia(96%) saturate(5876%) hue-rotate(2deg) brightness(95%) contrast(115%);
}
.ref-tile img[src*="nestle"],
.testimonial .logo-chip img[src*="nestle"] {
  filter: brightness(0) saturate(100%);
}

/* Job cards */
.job {
  border: 1px solid var(--line);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  align-items: center;
}
.job .tag {
  border: 1px solid var(--ink);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}
.job h3 { margin: 0 0 4px; font-size: 16px; }
.job p { margin: 0; color: var(--muted); font-size: 13px; }
.job .btn { font-size: 12px; font-weight: 700; border: 1px solid var(--ink); padding: 8px 14px; }
.job .btn:hover { background: var(--ink); color: #fff; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.info-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 32px; height: 32px; flex: 0 0 32px; display:flex; align-items:center; justify-content:center; }
.info-row b { display: block; font-size: 13px; }
.info-row span { color: var(--muted); font-size: 13px; }
.info-row span a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.info-row span a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* La carte CTA occupe une demi-colonne sur la page contact : on empile. */
.contact-grid .cta-card { margin-top: 0; grid-template-columns: 1fr; gap: 18px; }
.contact-grid .cta-card .btn-pri { justify-self: start; }

/* ===== Prestation page hero ===== */
.pres-hero {
  border-bottom: 1px solid var(--line);
  padding: 50px 0 40px;
}
.pres-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.pres-hero .kicker {
  font-size: 12px; letter-spacing: 4px; font-weight: 700; color: var(--accent); margin-bottom: 14px;
}
.pres-hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.02;
  letter-spacing: -1.5px;
}
.pres-hero p {
  font-size: 17px;
  color: #2b2b2b;
  margin: 0 0 22px;
  max-width: 520px;
}
.pres-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-pri, .btn-sec {
  display: inline-block;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border: 1px solid var(--ink);
  text-transform: uppercase;
}
.btn-pri { background: var(--ink); color: #fff; }
.btn-pri:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-sec { background: #fff; color: var(--ink); }
.btn-sec:hover { background: var(--ink); color: #fff; }

.pres-picto {
  aspect-ratio: 1 / 1;
  background: #1d1d1d;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}
.pres-picto svg { width: 80%; height: 80%; }

.cta-card {
  margin: 40px 0 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cta-card h3 { margin: 0 0 6px; color: #fff; font-size: 19px; }
.cta-card p { margin: 0; color: rgba(255,255,255,0.7); font-size: 14px; }
.cta-card .btn-pri {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cta-card .btn-pri:hover { background: #fff; color: var(--ink); border-color: #fff; }

@media (max-width: 760px) {
  .pres-hero-grid { grid-template-columns: 1fr; }
  .pres-picto { max-width: 260px; }
  .cta-card { grid-template-columns: 1fr; }
}

/* small icons */
.i { width: 18px; height: 18px; display:inline-block; vertical-align:middle; }

/* ===== HOMEPAGE PICTO ANIMATIONS ===== */
/* 1. Target — rings pulse + arrow flies in + lead counters pop */
@keyframes ring-pulse {
  0%   { transform: scale(0.55); opacity: 0; }
  20%  { opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes arrow-fly {
  0%   { transform: translate(-46px, -46px); opacity: 0; }
  20%  { opacity: 1; }
  55%  { transform: translate(0, 0); opacity: 1; }
  85%  { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(-46px, -46px); opacity: 0; }
}
@keyframes bullseye-flash {
  0%, 50%   { fill: #fff; transform: scale(1); }
  55%, 65%  { fill: #1a1a1a; transform: scale(1.4); }
  70%, 100% { fill: #fff; transform: scale(1); }
}
@keyframes lead-pop {
  0%, 70%  { opacity: 0; transform: translateY(0); }
  75%      { opacity: 1; transform: translateY(-2px); }
  100%     { opacity: 0; transform: translateY(-16px); }
}
.act-img .anim-ring {
  transform-origin: 100px 100px;
  transform-box: fill-box;
  animation: ring-pulse 2.4s ease-out infinite;
}
.act-img .anim-ring-2 { animation-delay: 0.6s; }
.act-img .anim-ring-3 { animation-delay: 1.2s; }
.act-img .anim-arrow {
  animation: arrow-fly 2.4s ease-in infinite;
}
.act-img .anim-bullseye {
  animation: bullseye-flash 2.4s ease-in infinite;
  transform-origin: 100px 100px;
  transform-box: fill-box;
}
.act-img .anim-lead {
  animation: lead-pop 2.4s ease-out infinite;
  transform-origin: center;
}
.act-img .anim-lead-2 { animation-delay: 0.4s; }
.act-img .anim-lead-3 { animation-delay: 0.8s; }

/* 2. Phone — tilt sway + screen blink */
@keyframes phone-sway { 0%,100% { transform: rotate(-14deg); } 50% { transform: rotate(-6deg); } }
@keyframes phone-blink { 0%,40%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.act-img .anim-phone { transform-origin: 100px 100px; animation: phone-sway 3s ease-in-out infinite; }
.act-img .anim-screen-cell { animation: phone-blink 1.8s ease-in-out infinite; }
.act-img .anim-screen-cell:nth-of-type(2) { animation-delay: 0.3s; }
.act-img .anim-screen-cell:nth-of-type(3) { animation-delay: 0.6s; }
.act-img .anim-screen-cell:nth-of-type(4) { animation-delay: 0.9s; }

/* 3. SaaS dashboard — bars grow + donut sweep */
@keyframes bar-grow { 0%,100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@keyframes donut-sweep { from { stroke-dashoffset: 138; } to { stroke-dashoffset: 36; } }
.act-img .anim-bar { transform-origin: bottom; animation: bar-grow 2.2s ease-in-out infinite; }
.act-img .anim-bar:nth-of-type(2) { animation-delay: 0.2s; }
.act-img .anim-bar:nth-of-type(3) { animation-delay: 0.4s; }
.act-img .anim-bar:nth-of-type(4) { animation-delay: 0.6s; }
.act-img .anim-donut { stroke-dasharray: 138; stroke-dashoffset: 138; animation: donut-sweep 2.4s ease-in-out infinite alternate; }

/* 4. Code — caret blink + line reveal */
@keyframes caret { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes type-reveal { 0% { clip-path: inset(0 100% 0 0); } 60%,100% { clip-path: inset(0 0 0 0); } }
.act-img .anim-code-line { animation: type-reveal 4s steps(40) infinite; }
.act-img .anim-code-line:nth-of-type(2) { animation-delay: 0.35s; }
.act-img .anim-code-line:nth-of-type(3) { animation-delay: 0.7s; }
.act-img .anim-code-line:nth-of-type(4) { animation-delay: 1.05s; }
.act-img .anim-code-line:nth-of-type(5) { animation-delay: 1.4s; }
.act-img .anim-code-line:nth-of-type(6) { animation-delay: 1.75s; }
.act-img .anim-code-line:nth-of-type(7) { animation-delay: 2.1s; }
.act-img .anim-code-line:nth-of-type(8) { animation-delay: 2.45s; }
.act-img .anim-code-line:nth-of-type(9) { animation-delay: 2.8s; }
.act-img .anim-code-line:nth-of-type(10) { animation-delay: 3.15s; }
.act-img .anim-caret { animation: caret 1s steps(1) infinite; }

/* 5. Neural net — node pulse + edge flicker */
@keyframes node-pulse { 0%,100% { r: 4; opacity: 0.85; } 50% { r: 6; opacity: 1; } }
@keyframes node-pulse-root { 0%,100% { r: 5; opacity: 0.9; } 50% { r: 8; opacity: 1; } }
@keyframes edge-flicker { 0%,100% { opacity: 0.25; } 50% { opacity: 1; } }
.act-img .anim-node { animation: node-pulse 2s ease-in-out infinite; }
.act-img .anim-node-root { animation: node-pulse-root 2s ease-in-out infinite; }
.act-img .anim-node:nth-of-type(2) { animation-delay: 0.15s; }
.act-img .anim-node:nth-of-type(3) { animation-delay: 0.3s; }
.act-img .anim-node:nth-of-type(4) { animation-delay: 0.45s; }
.act-img .anim-node:nth-of-type(5) { animation-delay: 0.6s; }
.act-img .anim-node:nth-of-type(6) { animation-delay: 0.75s; }
.act-img .anim-node:nth-of-type(7) { animation-delay: 0.9s; }
.act-img .anim-node:nth-of-type(8) { animation-delay: 1.05s; }
.act-img .anim-node:nth-of-type(9) { animation-delay: 1.2s; }
.act-img .anim-node:nth-of-type(10) { animation-delay: 1.35s; }
.act-img .anim-edge { animation: edge-flicker 2.6s ease-in-out infinite; }
.act-img .anim-edge:nth-of-type(odd) { animation-delay: 0.4s; }
.act-img .anim-edge:nth-of-type(3n) { animation-delay: 0.8s; }
.act-img .anim-edge:nth-of-type(5n) { animation-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .act-img * { animation: none !important; }
}

/* responsive */
@media (max-width: 760px) {
  .activities { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .grid-2, .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .lang { padding-right: 40px; font-size: 11px; }
}
@media (max-width: 920px) {
  .nav { gap: 14px; font-size: 12px; }
  .nav a { white-space: nowrap; }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ========================================================== */
/* ===== NEWS ARTICLE DETAIL (actualite-*.html) ============== */
/* ========================================================== */

.article-hero {
  border-bottom: 1px solid var(--line);
  padding: 56px 0 40px;
}
.article-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: center;
}
.article-hero .breadcrumb {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.article-hero .breadcrumb a:hover { color: var(--accent); }
.article-hero .meta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.article-hero .year-pill {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
}
.article-hero .tag-pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 4px 10px;
  text-transform: uppercase;
}
.article-hero h1 {
  font-family: 'Avenir Next', Avenir, 'Futura', 'Century Gothic', 'URW Gothic', 'ITC Avant Garde Gothic Std', Geneva, sans-serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -1.2px;
  text-wrap: balance;
}
.article-hero .lead {
  font-size: 17px;
  color: #2b2b2b;
  margin: 0;
  max-width: 580px;
}
.article-hero .pic {
  aspect-ratio: 1 / 1;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.article-hero .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-body { padding: 50px 0 30px; }
.article-body .wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
  align-items: start;
}
.article-side { position: sticky; top: 24px; }
.article-side h4 {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.article-side .toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.article-side .toc li { border-bottom: 1px solid var(--line); }
.article-side .toc a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  font-size: 12.5px;
  color: #333;
  align-items: baseline;
}
.article-side .toc a:hover { color: var(--accent); }
.article-side .toc .num {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  flex: 0 0 22px;
}
.article-side .share {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.article-side .share a {
  display: inline-flex;
  width: 32px; height: 32px;
  background: var(--ink); color: #fff;
  align-items: center; justify-content: center;
  margin-right: 6px;
}
.article-side .share a:hover { background: var(--accent); }

.article-main h2 {
  font-family: 'Avenir Next', Avenir, 'Futura', 'Century Gothic', 'URW Gothic', 'ITC Avant Garde Gothic Std', Geneva, sans-serif;
  font-size: 22px;
  font-weight: 900;
  margin: 38px 0 14px;
  letter-spacing: -0.3px;
  scroll-margin-top: 24px;
}
.article-main h2:first-child { margin-top: 0; }
.article-main h2 .h-num {
  display: inline-block;
  color: var(--accent);
  font-weight: 900;
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}
.article-main h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 22px 0 10px;
}
.article-main p { font-size: 14.5px; line-height: 1.65; color: #1f1f1f; margin: 0 0 14px; }
.article-main p.intro {
  font-size: 17px;
  line-height: 1.55;
  color: #111;
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 16px;
  margin-bottom: 24px;
}
.article-main ul, .article-main ol {
  font-size: 14.5px;
  line-height: 1.7;
  color: #1f1f1f;
  padding-left: 22px;
  margin: 8px 0 18px;
}
.article-main ul li, .article-main ol li { margin: 4px 0; }

/* Callout */
.callout {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px 18px;
  margin: 18px 0 24px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}
.callout .ic {
  width: 22px; height: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px;
  font-family: 'Avenir Next', sans-serif;
}
.callout p { margin: 0; font-size: 13.5px; }
.callout b { font-weight: 800; }
.callout.accent { background: #fff; border-left: 3px solid var(--accent); }

/* Numbered step list */
.steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Avenir Next', Avenir, 'Futura', sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -1px;
}
.steps .step-title { font-weight: 800; font-size: 15px; margin: 2px 0 6px; }
.steps .step-desc { font-size: 14px; color: #333; margin: 0 0 10px; line-height: 1.6; }
.steps .step-out {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: #f6f6f6;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 12px;
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.55;
  color: #1a1a1a;
}
.steps .step-out .hl { background: #fff3a8; padding: 0 1px; }
.steps .step-out .hl-red { color: var(--accent); font-weight: 800; }

/* Dark result/TLDR */
.tldr {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 24px 26px;
  margin: 26px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}
.tldr .clock {
  width: 84px; height: 84px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tldr .clock svg { width: 60%; height: 60%; }
.tldr .label {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}
.tldr .date {
  font-family: 'Avenir Next', Avenir, 'Futura', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.3px;
  line-height: 1.15;
  margin: 0 0 4px;
}
.tldr .date .acc { color: var(--accent); }
.tldr .time {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

/* Code block */
.codewrap {
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  background: #fafafa;
}
.codewrap .code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  background: #fff;
}
.codewrap .code-head .dots {
  display: inline-flex; gap: 5px; margin-right: 12px;
}
.codewrap .code-head .dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-2);
}
.codewrap .code-head .copy-btn {
  border: 1px solid var(--line-2);
  background: #fff;
  padding: 4px 10px;
  font: inherit;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
}
.codewrap .code-head .copy-btn:hover { background: var(--ink); color: #fff; }
.codewrap pre {
  margin: 0;
  padding: 16px 18px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.65;
  color: #1a1a1a;
  white-space: pre-wrap;
  word-break: break-word;
}

/* URL anatomy box */
.url-anatomy {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 18px 14px;
  margin: 8px 0 22px;
}
.url-anatomy .anatomy {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  word-break: break-all;
}
.url-anatomy .seg-base, .url-anatomy .seg-slug { color: #555; }
.url-anatomy .seg-id {
  color: var(--accent);
  font-weight: 800;
  background: #fff3a8;
  padding: 1px 3px;
  border: 1px solid #f0d977;
}
.url-anatomy .seg-tail { color: var(--muted); }
.url-anatomy .legend {
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.url-anatomy .legend b { color: var(--accent); }

/* Use case grid */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 28px;
}
.usecase {
  border: 1px solid var(--line);
  padding: 18px;
  background: #fff;
}
.usecase .num {
  font-family: 'Avenir Next', Avenir, sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 10px;
}
.usecase h4 { margin: 0 0 6px; font-size: 14px; font-weight: 800; }
.usecase p { margin: 0; font-size: 13px; color: #444; line-height: 1.5; }

/* Big stat strip inside articles */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin: 20px 0 28px;
  background: #fff;
}
.kpi-strip .kpi {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.kpi-strip .kpi:last-child { border-right: 0; }
.kpi-strip .kpi .v {
  font-family: 'Avenir Next', Avenir, sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-strip .kpi .v .acc { color: var(--accent); }
.kpi-strip .kpi .l {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.4;
}

/* Pull quote / testimonial in article */
.pullquote {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 22px 4px;
  margin: 26px 0;
  text-align: left;
}
.pullquote blockquote {
  margin: 0 0 12px;
  font-family: 'Avenir Next', Avenir, sans-serif;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.pullquote blockquote::before {
  content: "« ";
  color: var(--accent);
  font-weight: 900;
}
.pullquote blockquote::after { content: " »"; color: var(--accent); font-weight: 900; }
.pullquote .who {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.pullquote .who b { color: var(--ink); font-weight: 800; }

/* Definition / metric list */
.metric-list {
  border: 1px solid var(--line);
  margin: 16px 0 28px;
  background: #fff;
}
.metric-list .row {
  display: grid;
  grid-template-columns: 50px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.metric-list .row:last-child { border-bottom: 0; }
.metric-list .rank {
  font-family: 'Avenir Next', Avenir, sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.5px;
  width: 50px;
}
.metric-list .name { font-weight: 700; font-size: 14px; }
.metric-list .name span { color: var(--muted); font-weight: 500; font-size: 12px; display: block; }
.metric-list .pct {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.metric-list .clients { font-size: 12.5px; color: #333; text-align: right; min-width: 110px; }

/* Country/logo chip grid */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin: 18px 0 28px;
}
.chip {
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}
.chip .flag {
  font-size: 22px;
  line-height: 1;
}
.chip .pct {
  margin-left: auto;
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 700;
}
.chip.dim { color: var(--muted); border-style: dashed; }
.chip.dim .flag { filter: grayscale(1); opacity: 0.6; }

/* Timeline */
.timeline {
  position: relative;
  margin: 22px 0 30px;
  padding-left: 30px;
  border-left: 2px solid var(--ink);
}
.timeline .ev {
  position: relative;
  padding-bottom: 22px;
}
.timeline .ev::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 4px;
  width: 12px; height: 12px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.timeline .when {
  font-family: 'Avenir Next', Avenir, sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline h4 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.timeline p { margin: 0; font-size: 13.5px; color: #333; line-height: 1.55; }

/* Compare table */
.compare {
  border: 1px solid var(--line);
  margin: 16px 0 26px;
  font-size: 13px;
  background: #fff;
  width: 100%;
  border-collapse: collapse;
}
.compare th, .compare td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.compare th {
  background: var(--panel);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
}
.compare tr:last-child td { border-bottom: 0; }
.compare td.right { text-align: right; font-family: ui-monospace, monospace; font-size: 12px; }
.compare td.acc { color: var(--accent); font-weight: 800; }

/* Footer of article */
.article-foot {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.article-foot a.back {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
  text-transform: uppercase;
  font-size: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.article-foot a.back:hover { color: var(--accent); border-color: var(--accent); }
.article-foot .signature { text-align: right; line-height: 1.4; }
.article-foot .signature b { color: var(--ink); }

.next-prev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.next-prev a {
  border: 1px solid var(--line);
  padding: 16px 18px;
  display: block;
  transition: border-color .15s;
}
.next-prev a:hover { border-color: var(--ink); }
.next-prev a.next { text-align: right; }
.next-prev .label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.next-prev .ttl { font-size: 14px; font-weight: 700; color: var(--ink); }

/* CTA card variant for articles */
.article-cta {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 22px 26px;
  margin: 30px 0 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}
.article-cta h3 { color: #fff; margin: 0 0 4px; font-size: 17px; }
.article-cta p { margin: 0; color: rgba(255,255,255,0.7); font-size: 13.5px; }
.article-cta .btn-pri {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  white-space: nowrap;
}
.article-cta .btn-pri:hover { background: #fff; color: var(--ink); border-color: #fff; }

@media (max-width: 900px) {
  .article-hero .wrap { grid-template-columns: 1fr; }
  .article-hero .pic { max-width: 360px; }
  .article-body .wrap { grid-template-columns: 1fr; gap: 28px; }
  .article-side { position: static; }
  .usecase-grid { grid-template-columns: 1fr; }
  .tldr { grid-template-columns: 1fr; }
  .next-prev { grid-template-columns: 1fr; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .kpi-strip .kpi:nth-child(2) { border-right: 0; }
  .kpi-strip .kpi:nth-child(1), .kpi-strip .kpi:nth-child(2) { border-bottom: 1px solid var(--line); }
  .metric-list .row { grid-template-columns: 36px 1fr; }
  .metric-list .pct, .metric-list .clients { grid-column: 2; text-align: left; }
  .article-cta { grid-template-columns: 1fr; }
  .compare { font-size: 12px; }
  .compare th, .compare td { padding: 8px 10px; }
}


/* ========================================================== */
/* ===== PAGINATION (actualites pages) ======================= */
/* ========================================================== */
.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 30px 0 10px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.pagination > a {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 16px;
  border: 1px solid var(--ink);
  text-align: center;
  white-space: nowrap;
}
.pagination > a:hover { background: var(--ink); color: #fff; }
.pagination > a:first-child { justify-self: start; }
.pagination > a:last-child  { justify-self: end; }
.pagination > a.disabled {
  pointer-events: none;
  border-color: var(--line);
  color: var(--muted);
  background: var(--panel);
}
.pagination .pages {
  display: inline-flex;
  gap: 4px;
}
.pagination .pages a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  font-family: 'Avenir Next', Avenir, sans-serif;
}
.pagination .pages a:hover { border-color: var(--ink); }
.pagination .pages a.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.hero-page-num {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 6px;
}

/* ========================================================== */
/* ===== HOMEPAGE LATEST NEWS CAROUSEL ======================= */
/* ========================================================== */
.latest-news {
  margin: 32px 0 22px;
}
.latest-news .lnews-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.latest-news .lnews-head h3 {
  margin: 0;
  font-family: 'Avenir Next', Avenir, 'Futura', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.latest-news .lnews-head .see-all {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
.latest-news .lnews-head .see-all:hover { color: var(--accent); }

.lnews-stage {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 10px;
  align-items: stretch;
}
.lnews-btn {
  width: 40px;
  height: 100%;
  min-height: 120px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Avenir Next', Avenir, sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  transition: border-color .15s, background .15s, color .15s;
}
.lnews-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.lnews-btn:disabled, .lnews-btn[aria-disabled="true"] {
  color: var(--line-2);
  cursor: default;
  pointer-events: none;
}

.lnews-track {
  position: relative;
  overflow: hidden;
}
.lnews-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
  align-items: center;
  min-height: 120px;
}
.lnews-card[hidden] { display: none; }
.lnews-card .lpic {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--panel);
  border: 2px solid var(--lpic-border, var(--ink));
  transition: border-color .2s ease;
}
.lnews-card .lpic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.lnews-card:hover .lpic img { transform: scale(1.03); }
.lnews-card .lbody .lyear {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 8px;
  margin-bottom: 6px;
}
.lnews-card h4 {
  font-family: 'Avenir Next', Avenir, sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin: 0 0 6px;
  text-wrap: balance;
}
.lnews-card h4 a:hover { color: var(--accent); }
.lnews-card p {
  font-size: 13px;
  line-height: 1.45;
  color: #444;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lnews-card .lcta {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.lnews-card .lcta:hover { color: var(--accent); }

.lnews-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.lnews-dot {
  width: 22px; height: 3px;
  background: var(--line-2);
  border: 0;
  cursor: pointer;
  transition: background .15s;
  padding: 0;
}
.lnews-dot.on { background: var(--ink); }
.lnews-dot:hover { background: var(--muted); }

@media (max-width: 760px) {
  .pagination { grid-template-columns: 1fr; gap: 10px; }
  .pagination > a:first-child, .pagination > a:last-child { justify-self: stretch; }
  .pagination .pages { justify-content: center; }
  .lnews-stage { grid-template-columns: 1fr; }
  .lnews-btn { width: 100%; height: 44px; min-height: 44px; }
  .lnews-card { grid-template-columns: 1fr; }
}
