/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
  background: var(--color-bg);
}

.hero__left {
  --hero-col-width: min(100%, 440px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: calc(var(--navbar-h) + var(--space-8));
  padding-bottom: var(--space-16);
  padding-left: var(--container-pad);
  padding-right: var(--space-12);
}

.hero__right {
  position: relative;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(10%) brightness(0.85);
}

.hero__img-overlay {
  position: absolute;
  inset: 0;
  /* Gradient plus doux : noir semi-transparent → transparent en 65% */
  background: linear-gradient(
    to right,
    rgba(8,8,8,0.97) 0%,
    rgba(8,8,8,0.70) 28%,
    rgba(8,8,8,0.25) 55%,
    transparent 80%
  );
  z-index: 1;
}

.hero__img-tag {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__img-tag::before {
  content: '';
  width: 14px;
  height: 1px;
  background: currentColor;
  display: block;
}

.hero__index {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-green);
  letter-spacing: 0.14em;
  margin-bottom: var(--space-6);
  animation: fade-in .5s var(--ease-out) .2s both;
}

.hero__title {
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  font-weight: var(--weight-bold);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--color-white);
  margin-bottom: var(--space-8);
  animation: slide-up .7s var(--ease-out) .35s both;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}
.hero__title-word--dim {
  color: rgba(244,244,239,0.28);
}
.hero__title-word--green {
  color: var(--color-green);
}

.hero__desc {
  font-size: var(--text-base);
  color: var(--color-white-dim);
  line-height: 1.65;
  width: var(--hero-col-width);
  max-width: 100%;
  border-left: 2px solid var(--color-green);
  padding-left: var(--space-4);
  margin-bottom: var(--space-8);
  animation: fade-in .6s var(--ease-out) .6s both;
}

.hero__stats {
  display: flex;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  width: var(--hero-col-width);
  max-width: 100%;
  margin-bottom: var(--space-6);
  animation: fade-in .6s var(--ease-out) .75s both;
}

.hero__stat {
  flex: 1;
  padding: var(--space-5) var(--space-4);
  background: rgba(8, 8, 8, 0.85);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.hero__stat-value b { color: var(--color-green); font-weight: inherit; }

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-white-dim);
}

.hero__actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-3);
  width: var(--hero-col-width);
  max-width: 100%;
  animation: fade-in .6s var(--ease-out) .9s both;
}

.hero__actions .btn {
  justify-content: center;
  min-height: 3rem;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  line-height: 1.2;
}

.hero__actions .btn-primary {
  font-weight: var(--weight-semi);
}

.hero__actions .btn-primary svg {
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: var(--container-pad);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-white-muted);
  z-index: 3;
  animation: fade-in .6s var(--ease-out) 1.1s both;
}

.hero__scroll-line {
  width: 36px;
  height: 1px;
  background: var(--color-green);
  transform-origin: left;
  animation: grow-line 1s var(--ease-out) 1.1s both;
}

@keyframes grow-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  overflow: hidden;
  padding-block: var(--space-4);
  user-select: none;
}

.marquee-strip__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-strip__track:hover { animation-play-state: paused; }

.marquee-strip__group {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-right: var(--space-8);
}

.marquee-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-white-muted);
  white-space: nowrap;
}

.marquee-strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   SERVICES — cartes avec images
═══════════════════════════════════════ */
.services-section {
  padding-block: var(--space-32);
}

.services-section__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-8);
}

.services-section__title {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: var(--weight-bold);
  letter-spacing: -.03em;
  line-height: .9;
  color: var(--color-white);
  flex: 1;
  min-width: 0;
}
.services-section__title em {
  font-style: normal;
  color: var(--color-green);
}

.services-section__cta {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-green);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  white-space: nowrap;
}
.services-section__cta svg { width: 12px; height: 12px; transition: transform var(--duration-normal) var(--ease-out); }
.services-section__cta:hover svg { transform: translateX(4px); }

/* Grid: featured large + 4 small */
.services-grid-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.svc-card {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-card--featured { grid-column: span 7; grid-row: span 2; }
.svc-card--sm       { grid-column: span 5; }

/* Last 2 sm cards fill the bottom row (5+5=10 ≠ 12 → use 6+6) */
.svc-card--sm:nth-last-child(-n+2) { grid-column: span 6; }

.svc-card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.svc-card--featured .svc-card__img-wrap { aspect-ratio: 4/3; }
.svc-card--sm       .svc-card__img-wrap { aspect-ratio: 16/8; }

.svc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.7);
  transition: transform var(--duration-slow) var(--ease-out),
              filter var(--duration-slow);
}
.svc-card:hover .svc-card__img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(0.75);
}

.svc-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.96) 0%, rgba(8,8,8,0.15) 60%, transparent 100%);
}

.svc-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.svc-card--featured .svc-card__body { padding: var(--space-8); }

.svc-card__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-green);
  letter-spacing: .14em;
}

.svc-card__title {
  font-weight: var(--weight-semi);
  color: var(--color-white);
  line-height: 1.2;
  font-size: var(--text-lg);
}
.svc-card--featured .svc-card__title { font-size: var(--text-2xl); }

.svc-card__desc {
  font-size: var(--text-sm);
  color: var(--color-white-muted);
  line-height: 1.65;
  flex: 1;
}

.svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.svc-card__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-white-muted);
  border: 1px solid var(--color-border);
  padding: 3px var(--space-2);
  border-radius: 2px;
  transition: border-color var(--duration-fast), color var(--duration-fast);
}
.svc-card:hover .svc-card__tag {
  border-color: rgba(0,180,219,0.2);
  color: rgba(0,180,219,0.8);
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-green);
  margin-top: var(--space-2);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--duration-fast), transform var(--duration-normal) var(--ease-out);
}
.svc-card__link svg { width: 11px; height: 11px; }
.svc-card:hover .svc-card__link { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════
   PROJECTS
═══════════════════════════════════════ */
.projects-section {
  padding-block: var(--space-32);
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.projects-section .container {
  padding-inline: var(--container-pad);
}

.projects-section__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-8);
}

.projects-section__title {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: var(--weight-bold);
  letter-spacing: -.03em;
  line-height: .9;
  color: var(--color-white);
}
.projects-section__title em {
  font-style: normal;
  color: var(--color-green);
}

.projects-section__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
  flex-shrink: 0;
}

.projects-section__cta {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-green);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  white-space: nowrap;
}
.projects-section__cta svg { width: 12px; height: 12px; transition: transform var(--duration-normal) var(--ease-out); }
.projects-section__cta:hover svg { transform: translateX(4px); }

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.proj-card {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background var(--duration-normal);
}
.proj-card:hover { background: var(--color-bg-card); }

.proj-card--a { grid-column: span 8; }
.proj-card--b { grid-column: span 4; }
.proj-card--c { grid-column: span 4; }
.proj-card--d { grid-column: span 8; }

.proj-card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.proj-card--a .proj-card__img-wrap,
.proj-card--d .proj-card__img-wrap { aspect-ratio: 16/8; }
.proj-card--b .proj-card__img-wrap,
.proj-card--c .proj-card__img-wrap { aspect-ratio: 4/3; }

.proj-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) brightness(0.65);
  transition: transform var(--duration-slow) var(--ease-out), filter var(--duration-slow);
}
.proj-card:hover .proj-card__img {
  transform: scale(1.04);
  filter: grayscale(5%) brightness(0.75);
}

.proj-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, transparent 55%);
}

.proj-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-bg);
  background: var(--color-green);
  padding: 3px var(--space-2);
  border-radius: 2px;
}

.proj-card__body {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}
.proj-card--a .proj-card__body,
.proj-card--d .proj-card__body { padding: var(--space-10); }

.proj-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-white-muted);
}
.proj-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.proj-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semi);
  color: var(--color-white);
  line-height: 1.25;
}
.proj-card--a .proj-card__title,
.proj-card--d .proj-card__title { font-size: var(--text-xl); }

.proj-card__desc {
  font-size: var(--text-sm);
  color: var(--color-white-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proj-card__results {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.proj-card__result {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proj-card__result-val {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-green);
  line-height: 1;
  letter-spacing: -.01em;
}

.proj-card__result-label {
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-white-muted);
}

.proj-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-green);
  margin-top: var(--space-3);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--duration-fast), transform var(--duration-normal) var(--ease-out);
}
.proj-card__link svg { width: 11px; height: 11px; }
.proj-card:hover .proj-card__link { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════
   NUMBERS BAR
═══════════════════════════════════════ */
.numbers-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.nb-item {
  background: var(--color-bg-secondary);
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
  overflow: hidden;
}
.nb-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}
.nb-item.in-view::before { transform: scaleX(1); }

.nb-item__val {
  font-size: clamp(var(--text-4xl), 4vw, var(--text-6xl));
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.nb-item__val b { color: var(--color-green); font-weight: inherit; }

.nb-item__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-white-muted);
}

.nb-item__desc {
  font-size: var(--text-xs);
  color: var(--color-white-dim);
  line-height: 1.5;
  margin-top: var(--space-2);
}

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonials {
  padding-block: var(--space-32);
}

.testimonials__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-8);
}

.testimonials__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  letter-spacing: -.02em;
  line-height: .95;
  color: var(--color-white);
}
.testimonials__title em {
  font-style: normal;
  color: var(--color-green);
}

.testimonials__sub {
  font-size: var(--text-sm);
  color: var(--color-white-muted);
  max-width: 280px;
  line-height: 1.6;
  text-align: right;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.testi-card {
  background: var(--color-bg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: background var(--duration-normal), box-shadow var(--duration-normal);
}
.testi-card:hover {
  background: var(--color-bg-card);
  box-shadow: inset 0 0 0 1px var(--color-border-green);
}

.testi-card__quote-mark {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  color: var(--color-green);
  line-height: .6;
  font-weight: var(--weight-bold);
  opacity: .85;
}

.testi-card__rating {
  display: flex;
  gap: 2px;
  color: var(--color-green);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1;
}

.testi-card__text {
  font-size: var(--text-base);
  color: var(--color-white-dim);
  line-height: 1.8;
  flex: 1;
  font-style: normal;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  margin-top: auto;
  border-top: 1px solid var(--color-border);
}

.testi-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-surface);
  border: 2px solid var(--color-border-green);
}
.testi-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
  transition: filter var(--duration-normal);
}
.testi-card:hover .testi-card__avatar img {
  filter: grayscale(0%);
}

.testi-card__info { flex: 1; min-width: 0; }

.testi-card__name {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--color-white);
  line-height: 1.3;
}

.testi-card__role {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-green);
  margin-top: var(--space-1);
  line-height: 1.4;
}

.testi-card__company {
  font-size: var(--text-xs);
  color: var(--color-white-dim);
  margin-top: 2px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   PARTNERS
═══════════════════════════════════════ */
.partners {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-16);
  background: var(--color-bg-secondary);
}

.partners__head {
  text-align: center;
  margin-bottom: var(--space-10);
  padding-inline: var(--space-6);
}

.partners__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--color-white-muted);
}

/* ── Marquee infini ── */
.partners-marquee {
  overflow: hidden;
  /* Masque les bords pour un fondu naturel */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.partners-marquee__track {
  display: flex;
  width: max-content;
  animation: partners-scroll 40s linear infinite;
}
.partners-marquee:hover .partners-marquee__track {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* -50% car on a 2 groupes identiques */
}

.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-10);
  border-right: 1px solid var(--color-border);
  min-width: 220px;
  min-height: 120px;
  transition: background var(--duration-fast);
}
.partner-item:hover { background: var(--color-bg-card); }

.partner-item__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  opacity: .88;
  overflow: hidden;
  transition: opacity var(--duration-normal), filter var(--duration-normal);
  filter: grayscale(0.15) brightness(1.05);
}
.partner-item:hover .partner-item__logo {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

.partner-item__logo img {
  max-height: 72px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transition: transform var(--duration-normal) var(--ease-out);
  will-change: transform;
}
.partner-item:hover .partner-item__logo img {
  transform: scale(1.1);
}

.partner-item__name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
}

.partner-item__sector {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-white-muted);
}

/* ═══════════════════════════════════════
   BLOG — Layout éditorial
═══════════════════════════════════════ */
.blog-section {
  padding-block: var(--space-32);
}

.blog-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-8);
}

.blog-section__title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--color-white);
  margin-top: var(--space-2);
}
.blog-section__title em { font-style: normal; color: var(--color-green); }

.blog-section__link {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-green);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  padding-bottom: 2px;
  white-space: nowrap;
}
.blog-section__link svg { width: 12px; height: 12px; transition: transform var(--duration-normal) var(--ease-out); }
.blog-section__link:hover svg { transform: translateX(4px); }

/* ── Layout éditorial : featured gauche + 2 compacts droite ── */
.blog-editorial {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  min-height: 480px;
  align-items: stretch;
}

/* ── Article featured (préfixé pour battre blog.css) ── */
.blog-editorial .blog-featured {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  min-width: 0;
  background: var(--color-bg);
  overflow: hidden;
  transition: background var(--duration-normal);
}
.blog-editorial .blog-featured:hover { background: var(--color-bg-card); }

.blog-editorial .blog-featured__img-link {
  display: block;
  width: 100%;
  flex-shrink: 0;
}
.blog-editorial .blog-featured__img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 320px;
}
.blog-editorial .blog-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(.7);
  transition: transform var(--duration-slow) var(--ease-out), filter var(--duration-slow);
}
.blog-editorial .blog-featured:hover .blog-featured__img { transform: scale(1.04); filter: grayscale(0%) brightness(.75); }
.blog-editorial .blog-featured__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.9) 0%, transparent 55%);
}

.blog-editorial .blog-featured__body {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.blog-editorial .blog-featured__title {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  font-weight: var(--weight-semi);
  color: var(--color-white);
  line-height: 1.25;
}
.blog-editorial .blog-featured__excerpt {
  font-size: var(--text-sm);
  color: var(--color-white-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Articles secondaires (préfixés) ── */
.blog-editorial .blog-secondary {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
}

.blog-editorial .blog-compact {
  background: var(--color-bg);
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  flex: 1;
  transition: background var(--duration-normal);
}
.blog-editorial .blog-compact:hover { background: var(--color-bg-card); }

.blog-editorial .blog-compact__img-link { display: block; width: 100%; flex-shrink: 0; }
.blog-editorial .blog-compact__img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 140px;
}
.blog-editorial .blog-compact__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(.65);
  transition: transform var(--duration-slow) var(--ease-out), filter var(--duration-slow);
}
.blog-editorial .blog-compact:hover .blog-compact__img { transform: scale(1.06); filter: grayscale(0%) brightness(.75); }

.blog-editorial .blog-compact__body {
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.blog-editorial .blog-compact__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  line-height: 1.3;
  color: var(--color-white);
}
.blog-editorial .blog-compact__title a { color: inherit; text-decoration: none; }
.blog-editorial .blog-compact__title a:hover { color: var(--color-green); }

/* ── Éléments partagés (blog éditorial accueil) ── */
/* Surcharge blog.css qui pose position:absolute sur .blog-card__cat */
.blog-editorial .blog-card__cat {
  position: static;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-bg);
  background: var(--color-green);
  padding: 3px 6px;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: flex-start;
}
.blog-editorial .blog-card__cat--sm { font-size: 8px; padding: 2px 5px; }

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-white-muted);
}
.blog-card__meta-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--color-white-muted);
  flex-shrink: 0;
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-green);
  margin-top: var(--space-2);
  align-self: flex-start;
}
.blog-card__read svg { width: 11px; height: 11px; transition: transform var(--duration-normal) var(--ease-out); }
.blog-featured:hover .blog-card__read svg { transform: translateX(4px); }

/* ═══════════════════════════════════════
   CTA
═══════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-top: 1px solid var(--color-border);
}

.cta-section__img-wrap {
  position: relative;
  overflow: hidden;
}
.cta-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.5);
}
.cta-section__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, var(--color-bg));
}

.cta-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-16) var(--container-pad) var(--space-16) var(--space-16);
  gap: var(--space-6);
}

.cta-section__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  letter-spacing: -.02em;
  line-height: 1.0;
  color: var(--color-white);
}

.cta-section__sub {
  font-size: var(--text-sm);
  color: var(--color-white-muted);
  line-height: 1.7;
  max-width: 360px;
}

.cta-section__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* Stats de droite visibles sur desktop — elles ancrent visuellement la colonne image */
@media (min-width: 1280px) {
  .hero__right-stats { display: flex; }
}

/* Tablet large */
@media (max-width: 1200px) {
  .svc-card--featured { grid-column: span 12; grid-row: span 1; }
  .svc-card--sm       { grid-column: span 6; }

  .proj-card--a { grid-column: span 12; }
  .proj-card--b { grid-column: span 6; }
  .proj-card--c { grid-column: span 6; }
  .proj-card--d { grid-column: span 12; }
}

/* Tablet */
@media (max-width: 1024px) {
  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__right {
    height: 55vw;
    min-height: 280px;
    order: -1;
  }
  .hero__img-overlay {
    background: linear-gradient(to bottom, transparent 30%, var(--color-bg) 85%);
  }
  .hero__left {
    justify-content: flex-start;
    padding: var(--space-10) var(--container-pad) var(--space-14);
  }
  .hero__scroll { display: none; }

  /* Numbers */
  .numbers-bar { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__sub  { text-align: left; max-width: 100%; }

  /* Blog */
  .blog-editorial { grid-template-columns: 1fr 280px; }
  .blog-featured__img-wrap { height: 220px; }
  .blog-compact__img-wrap { height: 110px; }

  /* CTA */
  .cta-section { grid-template-columns: 1fr; }
  .cta-section__img-wrap { height: 300px; }
  .cta-section__img-overlay {
    background: linear-gradient(to bottom, transparent 40%, var(--color-bg));
  }
  .cta-section__content {
    padding: var(--space-12) var(--container-pad);
  }
}

/* Tablet small */
@media (max-width: 768px) {
  /* Section spacing réduit */
  .services-section,
  .projects-section,
  .testimonials,
  .blog-section { padding-block: var(--space-20); }

  /* Section headings */
  .services-section__top,
  .projects-section__top,
  .testimonials__head,
  .blog-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  /* Services cards */
  .svc-card--featured,
  .svc-card--sm { grid-column: span 12; }

  /* Projects cards */
  .proj-card--a,
  .proj-card--b,
  .proj-card--c,
  .proj-card--d { grid-column: span 12; }

  .proj-card--b .proj-card__img-wrap,
  .proj-card--c .proj-card__img-wrap { aspect-ratio: 16/8; }

}

/* Mobile */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  /* Hero */
  .hero__right {
    height: 62vw;
    min-height: 240px;
  }
  .hero__left {
    padding: var(--space-8) var(--container-pad) var(--space-12);
  }
  .hero__left {
    --hero-col-width: 100%;
  }
  .hero__title {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
  .hero__title-line {
    white-space: normal;
  }
  .hero__desc {
    font-size: var(--text-sm);
  }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--color-border);
    gap: 1px;
    width: 100%;
  }
  .hero__stat { background: var(--color-bg); padding: var(--space-3); }
  .hero__stat-value { font-size: var(--text-xl); }
  .hero__actions {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .hero__actions .btn {
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 2.75rem;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-xs);
  }

  /* Section spacing — réduit de 8rem à 4rem sur mobile */
  .services-section,
  .projects-section,
  .testimonials,
  .blog-section    { padding-block: var(--space-16); }
  .partners        { padding-block: var(--space-10); }

  /* Section headings */
  .services-section__top,
  .projects-section__top,
  .blog-section__head { flex-direction: column; align-items: flex-start; gap: var(--space-4); }

  /* Numbers */
  .numbers-bar { grid-template-columns: 1fr 1fr; }
  .nb-item { padding: var(--space-6) var(--space-4); }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; }
  .testi-card { padding: var(--space-6); }

  /* Blog — mobile : 1 colonne, featured + compacts empilés */
  .blog-editorial { grid-template-columns: 1fr; min-height: unset; }
  .blog-secondary { gap: 1px; }
  .blog-featured__img-wrap { height: 200px; }
  .blog-compact__img-wrap  { height: 100px; }

  /* Proj results inline on small */
  .proj-card__results { gap: var(--space-6); }
  .proj-card__body { padding: var(--space-6); }

  /* CTA */
  .cta-section__content { padding: var(--space-10) var(--container-pad); }
  .cta-section__actions { flex-direction: column; }
  .cta-section__actions .btn { justify-content: center; width: 100%; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats .hero__stat:last-child { grid-column: span 2; }
  .hero__title { font-size: 2.1rem; }
  .hero__actions {
    grid-template-columns: 1fr;
  }
}
