/* 2Bgroups — Ecosystem landing (DEV) — DA maquette */
:root {
  --bg-0: #030712;
  --bg-1: #06101c;
  --bg-2: #0a1628;
  --ink: #ffffff;
  --muted: rgba(220, 228, 242, 0.78);
  --faint: rgba(185, 198, 220, 0.55);
  --line: rgba(255, 255, 255, 0.12);
  --glow: #6ec8ff;
  --glow-soft: rgba(90, 190, 255, 0.45);
  --warm: #e8b45a;
  --white: #ffffff;
  --font: "Inter", "Sora", "Segoe UI", sans-serif;
  --max: 1280px;
  --pad: clamp(1.25rem, 3.5vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.page-ecosystem {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.page-ecosystem a {
  color: inherit;
  text-decoration: none;
}

body.page-ecosystem a.eco-btn--primary,
.eco-btn--primary {
  color: #0a1220;
}

body.page-ecosystem a.eco-brand__cta,
.eco-brand__cta {
  color: #0a0a0a;
}

.eco-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: visible;
}

/* sticky header safety */
.eco-shell > .eco-header {
  flex-shrink: 0;
}

.eco-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #030712;
  background-image: url("/assets/images/eco-bg/home.jpg?v=46");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Soft vignette so text stays readable over photo BG */
.eco-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 20%, rgba(2, 5, 12, 0.45) 100%),
    linear-gradient(180deg, rgba(2, 5, 12, 0.35) 0%, transparent 28%, transparent 70%, rgba(2, 5, 12, 0.55) 100%);
}

.eco-bg__glow,
.eco-bg__horizon,
.eco-bg__floor,
.eco-bg__noise,
.eco-bg::before {
  display: none !important;
}

body[data-page="home"] .eco-bg,
.page-ecosystem--home .eco-bg {
  background-image: url("/assets/images/eco-bg/home.jpg?v=46");
}

body[data-page="nos-entreprises"] .eco-bg,
body[data-page="entreprises"] .eco-bg {
  background-image: url("/assets/images/eco-bg/entities.jpg?v=46");
}

body[data-page="a-propos"] .eco-bg {
  background-image: url("/assets/images/eco-bg/vision.jpg?v=46");
}

body[data-page="carrieres"] .eco-bg {
  background-image: url("/assets/images/eco-bg/careers.jpg?v=46");
}

body[data-page="contact"] .eco-bg {
  background-image: url("/assets/images/eco-bg/contact.jpg?v=46");
}

body[data-page="savoir-faire"] .eco-bg,
body[data-page="expertises"] .eco-bg,
body[data-page="nos-partenaires"] .eco-bg,
body[data-page="actualites"] .eco-bg,
body[data-page="mon-compte"] .eco-bg {
  background-image: url("/assets/images/eco-bg/vision.jpg?v=46");
}

.eco-bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: soft-light;
}

/* Header — floating like mockup */
.eco-header {
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem var(--pad) 0.5rem;
  background: transparent;
  border-bottom: 0;
}

.eco-header__end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.eco-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.eco-burger span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: #fff;
}

.eco-logo {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  justify-self: start;
}

.eco-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 2.8vw, 2.35rem);
  justify-self: center;
}

.eco-nav a {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.01em;
}

.eco-nav a:hover {
  color: var(--white);
}

.eco-nav a.is-active,
.eco-nav a.header__link--active {
  color: var(--white);
  font-weight: 500;
}

.eco-nav a.is-active::after,
.eco-nav a.header__link--active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--white);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.eco-header__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.eco-header__cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  transform: translateY(-1px);
}

.eco-header__cta span {
  font-size: 0.95rem;
  line-height: 1;
}

/* Hero */
.eco-hero {
  position: relative;
  z-index: 10;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vh, 3.5rem) var(--pad) 1.5rem;
  min-height: calc(100vh - 11rem);
  overflow: visible;
}

.eco-copy {
  max-width: 34rem;
  animation: eco-rise 0.9s var(--ease) both;
}

.eco-eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.55);
}

.eco-title {
  margin: 0 0 1.2rem;
  font-size: clamp(2.5rem, 4.8vw, 3.85rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: var(--white);
}

.eco-title__line1 {
  display: block;
  color: rgba(230, 236, 248, 0.58);
  font-weight: 650;
}

.eco-title__line2 {
  display: block;
  color: #fff;
}

.eco-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

.eco-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.eco-btn--primary {
  background: #ffffff;
  color: #0a0e16;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  font-weight: 600;
}

.eco-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(80, 130, 220, 0.22);
}

.eco-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.eco-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.eco-lead {
  margin: 0 0 1.9rem;
  max-width: 27rem;
  font-size: 0.98rem;
  line-height: 1.58;
  color: rgba(220, 228, 242, 0.82);
  font-weight: 400;
}

.eco-btn__arrow {
  font-size: 1rem;
  line-height: 1;
}

/* Right stage: sphere + brand box */
.eco-stage {
  --brand: #1a4a8c;
  --brand-deep: #071428;
  --brand-soft: #6ea8ff;
  --brand-ink: #f4f7fc;
  position: relative;
  width: 100%;
  max-width: min(680px, 54vw, calc(100svh - 9rem));
  margin-left: auto;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: visible;
  animation: eco-fade 1.1s var(--ease) 0.15s both;
}

.eco-sphere {
  position: relative;
  width: min(100%, 62vmin, 600px, calc(100svh - 13rem));
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  overflow: visible;
  flex-shrink: 0;
}

.eco-stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.eco-stage__glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 170, 255, 0.34) 0%, transparent 68%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  transition: background 0.6s var(--ease);
}

.eco-labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
}

/* Brand DA box — always dark panel + light text (never white-on-white) */
.eco-brand {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "logo sector"
    "logo name"
    "desc desc"
    "cta cta";
  column-gap: 1rem;
  row-gap: 0.2rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 1.35rem;
  border: 1px solid color-mix(in srgb, var(--brand-soft) 40%, transparent);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--brand) 38%, #05070f) 0%,
      color-mix(in srgb, var(--brand-deep) 70%, #02040a) 48%,
      #05070f 100%
    );
  color: #ffffff;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 color-mix(in srgb, var(--brand-soft) 18%, transparent);
  overflow: hidden;
  transition:
    background 0.55s var(--ease),
    border-color 0.55s var(--ease),
    box-shadow 0.55s var(--ease);
}

.eco-brand__glow {
  position: absolute;
  inset: -30% auto auto -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%);
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.7;
}

.eco-brand__logo-wrap {
  grid-area: logo;
  position: relative;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 1.15rem;
  display: grid;
  place-items: center;
  background: var(--logo-bg, rgba(0, 0, 0, 0.35));
  border: 1px solid color-mix(in srgb, var(--brand-soft) 35%, transparent);
  overflow: hidden;
  padding: 0;
}

.eco-brand__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: scale(var(--logo-scale, 1.18));
  transform-origin: center;
  filter: none;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}

.eco-brand--pulse .eco-brand__logo {
  animation: eco-logo-in 0.55s var(--ease);
}

.eco-brand__sector {
  grid-area: sector;
  position: relative;
  margin: 0.15rem 0 0;
  align-self: end;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.eco-brand__name {
  grid-area: name;
  position: relative;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}

.eco-brand__desc {
  grid-area: desc;
  position: relative;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.eco-brand__cta {
  grid-area: cta;
  position: relative;
  justify-self: start;
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0a !important;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.eco-brand__cta:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #0a0a0a !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 45%, transparent);
}

@keyframes eco-logo-in {
  from {
    opacity: 0;
    transform: scale(calc(var(--logo-scale, 1) * 0.86));
  }
  to {
    opacity: 1;
    transform: scale(var(--logo-scale, 1));
  }
}

.eco-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.2rem;
  border: 0;
  background: none;
  color: rgba(245, 248, 255, 0.92);
  font-family: inherit;
  font-size: clamp(0.8rem, 1.15vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: color 0.25s var(--ease), text-shadow 0.25s var(--ease), opacity 0.25s var(--ease);
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.eco-label__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(140, 190, 255, 0.18),
    0 0 14px rgba(160, 205, 255, 0.95);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

/* Text outside the sphere: left side → text then dot; right side → dot then text */
.eco-label--left {
  flex-direction: row-reverse;
}

.eco-label:hover,
.eco-label.is-active {
  color: #fff;
  text-shadow: 0 0 18px rgba(160, 200, 255, 0.55);
}

.eco-label:hover .eco-label__dot,
.eco-label.is-active .eco-label__dot {
  transform: scale(1.25);
  box-shadow:
    0 0 0 4px rgba(140, 190, 255, 0.28),
    0 0 20px rgba(180, 215, 255, 1);
}

.eco-label.is-muted {
  opacity: 0.55;
}

/* Features strip */
.eco-features {
  position: relative;
  z-index: 15;
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 16, 32, 0.35), rgba(4, 10, 20, 0.72));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.eco-features__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eco-feature {
  padding: 1.35rem 1.25rem 1.5rem;
  border-right: 1px solid var(--line);
  animation: eco-rise 0.8s var(--ease) both;
}

.eco-feature:last-child {
  border-right: 0;
}

.eco-feature:nth-child(1) { animation-delay: 0.2s; }
.eco-feature:nth-child(2) { animation-delay: 0.3s; }
.eco-feature:nth-child(3) { animation-delay: 0.4s; }
.eco-feature:nth-child(4) { animation-delay: 0.5s; }

.eco-feature__num {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.eco-feature__num::after {
  content: "";
  display: block;
  width: 1.35rem;
  height: 1px;
  margin-top: 0.55rem;
  background: rgba(255, 255, 255, 0.35);
}

.eco-feature__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(245, 248, 255, 0.92);
}

@keyframes eco-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes eco-fade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile */
@media (max-width: 980px) {
  .eco-header {
    grid-template-columns: 1fr auto;
    row-gap: 0.85rem;
  }

  .eco-nav {
    display: none;
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: calc(100% + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem;
    border-radius: 1rem;
    background: rgba(8, 12, 22, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    z-index: 30;
  }

  body.nav-open .eco-nav,
  .eco-nav.open,
  #site-header.is-open .eco-nav {
    display: flex;
  }

  .eco-burger {
    display: inline-flex;
  }

  .eco-header__cta {
    display: none;
  }

  .eco-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.25rem;
  }

  .eco-stage {
    max-width: min(560px, 94vw, calc(100svh - 12rem));
    margin: 0.35rem auto 0;
    order: -1;
  }

  .eco-sphere {
    width: min(94vw, 78vmin, calc(100svh - 18rem));
  }

  .eco-brand {
    grid-template-columns: 5.25rem 1fr;
    padding: 1rem 1.1rem 1.15rem;
  }

  .eco-brand__logo-wrap {
    width: 5.25rem;
    height: 5.25rem;
    padding: 0;
  }

  .eco-copy {
    text-align: left;
    max-width: none;
  }

  .eco-features__inner {
    grid-template-columns: 1fr 1fr;
  }

  .eco-feature:nth-child(2) {
    border-right: 0;
  }

  .eco-feature:nth-child(1),
  .eco-feature:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .eco-header__cta {
    padding: 0.55rem 0.85rem;
    font-size: 0.78rem;
  }

  .eco-nav a {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .eco-features__inner {
    grid-template-columns: 1fr;
  }

  .eco-feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .eco-feature:last-child {
    border-bottom: 0;
  }

  .eco-feature:nth-child(1),
  .eco-feature:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ========== Inner pages (same DA as homepage) ========== */
.eco-page {
  position: relative;
  z-index: 10;
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vh, 3.5rem) var(--pad) clamp(3rem, 8vh, 5rem);
}

.eco-page__hero {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
  animation: eco-rise 0.85s var(--ease) both;
}

.eco-page__hero .eco-eyebrow {
  margin-bottom: 0.85rem;
}

.eco-page__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.eco-page__lead {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 36rem;
}

.eco-page__body {
  animation: eco-fade 1s var(--ease) 0.1s both;
}

/* Entity / partner cards */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 900px) {
  .eco-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.eco-card {
  --card-brand: #6ea8ff;
  --card-deep: #071428;
  --card-soft: #6ea8ff;
  --card-logo-bg: rgba(0, 0, 0, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--card-soft) 32%, transparent);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--card-brand) 32%, #05070f) 0%,
      color-mix(in srgb, var(--card-deep) 72%, #02040a) 50%,
      #05070f 100%
    );
  color: #fff;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.eco-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-soft) 55%, transparent);
}

.eco-card__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.eco-card__logo {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 0.95rem;
  background: var(--card-logo-bg);
  border: 1px solid color-mix(in srgb, var(--card-soft) 30%, transparent);
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0;
}

.eco-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.12);
  transform-origin: center;
}

.eco-card__sector {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card-soft) 85%, #fff);
}

.eco-card__name {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.eco-card__desc {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(236, 242, 255, 0.78);
}

.eco-card__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a !important;
  font-size: 0.85rem;
  font-weight: 600;
}

.eco-card__cta:hover {
  transform: translateY(-1px);
}

/* Content blocks */
.eco-blocks {
  display: grid;
  gap: 1.25rem;
}

.eco-block {
  display: grid;
  gap: 0.75rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .eco-block {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    align-items: start;
    padding: 2rem 0;
  }
}

.eco-block:last-child {
  border-bottom: 1px solid var(--line);
}

.eco-block__label {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.eco-block__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.eco-block__text {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.eco-block__text:last-child {
  margin-bottom: 0;
}

.eco-block__text strong {
  color: var(--ink);
  font-weight: 600;
}

/* Expertise list */
.eco-xlist {
  display: grid;
  gap: 0;
}

.eco-xitem {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.eco-xitem:last-child {
  border-bottom: 1px solid var(--line);
}

.eco-xitem__num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
}

.eco-xitem__title {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.eco-xitem__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

/* Contact */
.eco-contact {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .eco-contact {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
    align-items: start;
  }
}

.eco-form {
  display: grid;
  gap: 1rem;
}

.eco-field {
  display: grid;
  gap: 0.4rem;
}

.eco-field label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.eco-field input,
.eco-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.eco-field input:focus,
.eco-field textarea:focus {
  border-color: rgba(110, 170, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.eco-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.eco-form__actions {
  margin-top: 0.35rem;
}

.eco-form-area.is-sending .eco-btn {
  opacity: 0.7;
  pointer-events: none;
}

.eco-form-area.is-sent .eco-form {
  display: none;
}

.eco-form-success {
  display: none;
  padding: 1.5rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.eco-form-area.is-sent .eco-form-success {
  display: block;
}

.eco-form-success h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.eco-form-success p {
  margin: 0;
  color: var(--muted);
}

.eco-form-error {
  display: none;
  margin-top: 0.75rem;
  color: #ffb4b4;
  font-size: 0.92rem;
}

.eco-form-error.visible {
  display: block;
}

.eco-aside {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.eco-aside__label {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.eco-aside__value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.eco-aside__value a:hover {
  color: #fff;
}

/* Footer */
.eco-footer {
  position: relative;
  z-index: 10;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 2.5rem var(--pad) 1.5rem;
  background: rgba(0, 0, 0, 0.25);
}

.eco-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .eco-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.eco-footer__tagline {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.eco-footer__title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}

.eco-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.eco-footer__links a {
  color: rgba(236, 242, 255, 0.82);
  font-size: 0.95rem;
}

.eco-footer__links a:hover {
  color: #fff;
}

.eco-footer__bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--faint);
}

/* Mobile nav open */
body.eco-nav-open .eco-nav {
  display: flex;
}

@media (max-width: 900px) {
  body.eco-nav-open .eco-nav {
    position: absolute;
    top: 100%;
    left: var(--pad);
    right: var(--pad);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--line);
    background: rgba(5, 10, 20, 0.96);
    backdrop-filter: blur(16px);
    z-index: 90;
  }
}

.eco-empty {
  padding: 2rem 0;
  color: var(--muted);
  font-size: 1.05rem;
}


/* Short viewports: keep sphere fully on screen with brand panel */
@media (max-height: 820px) {
  .eco-hero {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .eco-sphere {
    width: min(100%, 54vmin, 520px, calc(100svh - 14rem));
  }
  .eco-stage {
    max-width: min(560px, 52vw, calc(100svh - 10rem));
    gap: 0.5rem;
  }
}

@media (max-height: 700px) {
  .eco-sphere {
    width: min(100%, 48vmin, 420px, calc(100svh - 12rem));
  }
  .eco-features {
    display: none;
  }
}


/* —— Home = maquette —— */
.page-ecosystem--home .eco-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  align-items: center;
  min-height: calc(100vh - 9.5rem);
  padding-top: clamp(1rem, 3vh, 2rem);
  padding-bottom: 0.5rem;
  gap: clamp(0.5rem, 2vw, 1.5rem);
}

.page-ecosystem--home .eco-stage {
  max-width: none;
  width: 100%;
  margin: 0;
  gap: 0;
}

.page-ecosystem--home .eco-sphere {
  width: min(100%, 72vmin, 680px, calc(100svh - 11rem));
  margin-left: auto;
  margin-right: 0;
}

.page-ecosystem--home .eco-features {
  margin-top: 0;
  background: transparent;
  backdrop-filter: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-ecosystem--home .eco-feature__num::after {
  content: "";
  display: block;
  width: 1.4rem;
  height: 1px;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.35);
}

.page-ecosystem--home .eco-feature__num {
  display: block;
  margin: 0 0 0.15rem;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  color: rgba(200, 210, 230, 0.55);
}

.page-ecosystem--home .eco-feature__num::before {
  content: none;
}

.page-ecosystem--home .eco-feature__title {
  display: block;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(245, 248, 255, 0.92);
  line-height: 1.35;
  max-width: 11rem;
}

.page-ecosystem--home .eco-feature__title::before {
  content: none;
}

.page-ecosystem--home .eco-feature {
  padding: 1.25rem 1.15rem 1.4rem;
}

.eco-label--more .eco-label__text {
  font-style: italic;
  opacity: 0.9;
}

@media (max-width: 980px) {
  .page-ecosystem--home .eco-sphere {
    width: min(92vw, 78vmin, calc(100svh - 16rem));
    margin: 0 auto;
  }
}
