/* 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=84");
 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 75% 65% at 50% 42%, transparent 35%, rgba(2, 5, 12, 0.22) 100%),
 linear-gradient(180deg, rgba(2, 5, 12, 0.18) 0%, transparent 22%, transparent 78%, rgba(2, 5, 12, 0.32) 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=84");
 background-position: center 58%;
 background-size: cover;
}

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

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

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

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

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=60");
}

.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;
}

/* Language picker FR / EN */
.eco-lang {
 position: relative;
 z-index: 40;
}

.eco-lang__trigger {
 display: inline-flex;
 align-items: center;
 gap: 0.35rem;
 padding: 0.5rem 0.75rem;
 border: 1px solid rgba(255, 255, 255, 0.35);
 border-radius: 999px;
 background: transparent;
 color: #fff;
 font-family: inherit;
 font-size: 0.82rem;
 font-weight: 600;
 letter-spacing: 0.04em;
 cursor: pointer;
 transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.eco-lang__trigger:hover {
 background: rgba(255, 255, 255, 0.08);
 border-color: rgba(255, 255, 255, 0.65);
}

.eco-lang__chev {
 font-size: 0.65rem;
 opacity: 0.7;
}

.eco-lang__menu {
 position: absolute;
 top: calc(100% + 0.45rem);
 right: 0;
 min-width: 9.5rem;
 padding: 0.35rem;
 border-radius: 0.85rem;
 border: 1px solid rgba(255, 255, 255, 0.14);
 background: rgba(8, 12, 22, 0.96);
 box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
 backdrop-filter: blur(12px);
}

.eco-lang__option {
 width: 100%;
 display: flex;
 align-items: center;
 gap: 0.55rem;
 padding: 0.55rem 0.65rem;
 border: 0;
 border-radius: 0.6rem;
 background: transparent;
 color: rgba(255, 255, 255, 0.82);
 font-family: inherit;
 font-size: 0.88rem;
 cursor: pointer;
 text-align: left;
}

.eco-lang__option:hover,
.eco-lang__option.is-active {
 background: rgba(255, 255, 255, 0.08);
 color: #fff;
}

.eco-lang__opt-code {
 font-weight: 700;
 letter-spacing: 0.04em;
 min-width: 1.6rem;
}

.eco-lang__opt-name {
 font-weight: 500;
 opacity: 0.9;
}

.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 {
 position: relative;
 display: flex;
 align-items: center;
 gap: clamp(1.35rem, 2.8vw, 2.35rem);
 justify-self: center;
}

.eco-nav a {
 position: relative;
 font-size: clamp(0.92rem, 1.05vw, 1.02rem);
 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;
 padding-bottom: 0.7rem;
}

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

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

/* Sliding indicator dots (white = active, gray = hover) */
.eco-nav__dot {
 position: absolute;
 top: 0;
 left: 0;
 width: 5px;
 height: 5px;
 border-radius: 50%;
 pointer-events: none;
 z-index: 2;
 opacity: 0;
 will-change: transform, opacity;
}

.eco-nav__dot--active {
 background: #fff;
 box-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
 transition:
 transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
 opacity 0.25s ease;
}

.eco-nav__dot--hover {
 background: rgba(180, 190, 210, 0.7);
 box-shadow: none;
 transition:
 transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
 opacity 0.18s ease;
}

.eco-nav__dot.is-on {
 opacity: 1;
}

.eco-nav__dot--hover.is-on {
 opacity: 0.85;
}

/* Hide old pseudo-dot */
.eco-nav a.is-active::after,
.eco-nav a.header__link--active::after {
 content: none;
}

.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-family: inherit;
 font-size: clamp(2.5rem, 4.8vw, 3.85rem);
 font-weight: 700;
 line-height: 1.06;
 letter-spacing: -0.04em;
 color: #ffffff;
}

.eco-title span {
 color: #ffffff;
 font-weight: 700;
 letter-spacing: inherit;
}

.eco-title__muted {
 color: #ffffff;
 font-weight: 700;
}

.eco-title__line1 {
 display: block;
 color: #ffffff;
 font-weight: 700;
}

.eco-title__line2 {
 display: block;
 color: #ffffff;
 font-weight: 700;
}

.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;
 --sphere-brand: #6ea8ff;
 --sphere-brand-soft: #a8c8ff;
 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-sphere__logo {
 position: absolute;
 inset: 0;
 z-index: 3;
 display: grid;
 place-items: center;
 pointer-events: none;
}

.eco-sphere__logo-img {
 width: min(42%, 10.5rem);
 height: auto;
 max-height: 42%;
 object-fit: contain;
 opacity: 0.95;
 border-radius: 22%;
 /* contour de bulle qui suit le silhouette alpha du logo */
 filter:
   drop-shadow(0 0 0.6px rgba(255, 255, 255, 0.95))
   drop-shadow(0 0 1.2px rgba(255, 255, 255, 0.55))
   drop-shadow(0 0 6px rgba(110, 168, 255, 0.28))
   drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
 transition: opacity 0.4s var(--ease), transform 0.45s var(--ease), filter 0.35s var(--ease);
 transform: scale(1);
 background: transparent;
}

.eco-sphere__logo.is-in .eco-sphere__logo-img {
 animation: eco-sphere-logo-in 0.55s var(--ease);
}

@keyframes eco-sphere-logo-in {
 from {
 opacity: 0;
 transform: scale(0.86);
 }
 to {
 opacity: 0.42;
 transform: scale(1);
 }
}

/* Brand rim — thin elegant accent */
.eco-sphere__rim {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
  border: 1.5px solid var(--sphere-brand-soft, #a8c8ff);
  box-shadow:
    0 0 16px color-mix(in srgb, var(--sphere-brand, #6ea8ff) 40%, transparent),
    inset 0 0 12px color-mix(in srgb, var(--sphere-brand-soft, #a8c8ff) 18%, transparent);
  opacity: 0.85;
  transition:
    border-color 0.4s var(--ease),
    box-shadow 0.45s var(--ease),
    opacity 0.35s var(--ease);
}

.eco-stage__canvas {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 display: block;
 z-index: 2;
 filter: drop-shadow(0 0 28px color-mix(in srgb, var(--sphere-brand, #6ea8ff) 45%, transparent));
 transition: filter 0.45s var(--ease);
}

.eco-stage__glow {
 position: absolute;
 inset: 10%;
 border-radius: 50%;
 background: radial-gradient(
 circle at 48% 42%,
 color-mix(in srgb, var(--sphere-brand-soft, #a8c8ff) 55%, transparent) 0%,
 color-mix(in srgb, var(--sphere-brand, #6ea8ff) 35%, transparent) 38%,
 transparent 70%
 );
 filter: blur(36px);
 pointer-events: none;
 z-index: 0;
 transition: background 0.45s var(--ease), opacity 0.45s var(--ease);
 opacity: 0.95;
}

.eco-sphere::after {
 content: "";
 position: absolute;
 left: 18%;
 right: 18%;
 bottom: 2%;
 height: 18%;
 border-radius: 50%;
 background: radial-gradient(
 ellipse at center,
 rgba(120, 180, 255, 0.22) 0%,
 rgba(80, 140, 220, 0.08) 42%,
 transparent 72%
 );
 filter: blur(10px);
 pointer-events: none;
 z-index: 1;
 opacity: 0.85;
 transform: scaleY(0.55);
}

.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) 28%, transparent);
 background: color-mix(in srgb, var(--brand) 16%, #0a0c12);
 color: #ffffff;
 box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
 overflow: hidden;
 transition:
 background 0.4s var(--ease),
 border-color 0.4s var(--ease),
 box-shadow 0.4s var(--ease);
}

.eco-brand__glow {
 display: none;
}

.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.45rem;
 box-sizing: border-box;
 flex-shrink: 0;
 transition:
 background 0.35s var(--ease),
 border-color 0.35s var(--ease);
}

.eco-brand__logo {
 width: 100%;
 height: 100%;
 object-fit: contain;
 object-position: center;
 display: block;
 transform: scale(var(--logo-scale, 1));
 transform-origin: center;
 filter: none;
 opacity: 1;
 will-change: transform, opacity;
}

.eco-brand__logo--in {
 animation: eco-logo-in 0.5s 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);
 transition: color 0.35s var(--ease);
 min-height: 1.1em;
}

.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;
 transition: color 0.35s var(--ease), text-shadow 0.35s var(--ease);
 text-shadow: 0 0 24px color-mix(in srgb, var(--brand-soft) 35%, transparent);
 min-height: 1.2em;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

.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);
 min-height: calc(1.45em * 3);
 display: -webkit-box;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
 line-clamp: 3;
 overflow: hidden;
}

.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.88));
 }
 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.3s var(--ease), text-shadow 0.3s var(--ease), opacity 0.25s var(--ease);
 white-space: nowrap;
 text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.eco-label__text {
 transition: color 0.3s var(--ease), text-shadow 0.3s var(--ease);
}

.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), background 0.3s 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,
.eco-label.is-hot {
 color: var(--brand-soft, #fff);
 text-shadow:
 0 0 18px color-mix(in srgb, var(--brand-soft, #9ecfff) 55%, transparent),
 0 2px 12px rgba(0, 0, 0, 0.55);
}

.eco-label:hover .eco-label__text,
.eco-label.is-active .eco-label__text,
.eco-label.is-hot .eco-label__text {
 color: var(--brand-soft, #fff);
}

.eco-label:hover .eco-label__dot,
.eco-label.is-active .eco-label__dot,
.eco-label.is-hot .eco-label__dot {
 transform: scale(1.28);
 background: var(--brand-soft, #fff);
 box-shadow:
 0 0 0 4px color-mix(in srgb, var(--brand-soft, #9ecfff) 30%, transparent),
 0 0 20px color-mix(in srgb, var(--brand-soft, #9ecfff) 80%, transparent);
}

.eco-label.is-dim {
 opacity: 0.42;
}

.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__dot {
 display: none;
 }

 .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.4rem;
 }

 .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: 1rem;
 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) 26%, transparent);
 background: color-mix(in srgb, var(--card-brand) 14%, #0a0c12);
 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.4rem;
 box-sizing: border-box;
}

.eco-card__logo img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 object-position: center;
 display: block;
 transform: none;
 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(260px, 0.78fr) minmax(0, 1.5fr);
 align-items: center;
 min-height: calc(100vh - 9.5rem);
 padding-top: clamp(0.5rem, 2vh, 1.25rem);
 padding-bottom: 0.35rem;
 gap: clamp(0.85rem, 2vw, 1.75rem);
 overflow: visible;
}

.page-ecosystem--home .eco-copy {
 max-width: 34rem;
 display: flex;
 flex-direction: column;
 align-items: stretch;
 align-self: center;
 z-index: 12;
}

.page-ecosystem--home .eco-eyebrow {
 margin-bottom: 0.75rem;
}

.page-ecosystem--home .eco-title {
 margin-bottom: 0.85rem;
 font-size: clamp(2.45rem, 4.6vw, 3.75rem);
 font-weight: 700;
 letter-spacing: -0.04em;
 color: #ffffff;
}

.page-ecosystem--home .eco-title span,
.page-ecosystem--home .eco-title__muted {
 color: #ffffff;
 font-weight: 700;
}

.page-ecosystem--home .eco-lead {
 margin-bottom: 1rem;
 font-size: 0.92rem;
 line-height: 1.5;
}

.page-ecosystem--home .eco-actions {
 margin-bottom: 0;
}

.page-ecosystem--home .eco-btn {
 padding: 0.72rem 1.15rem;
 font-size: 0.88rem;
}

.page-ecosystem--home .eco-stage {
 max-width: none;
 width: 100%;
 height: 100%;
 margin: 0;
 gap: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 min-width: 0;
 align-self: stretch;
 padding: 0;
 overflow: visible;
}

.page-ecosystem--home .eco-sphere {
  width: min(100%, 86vmin, 760px, calc(100svh - 9.5rem));
  max-width: 100%;
  margin: 0 auto;
}

.page-ecosystem--home .eco-sphere__logo-img {
  width: min(44%, 11rem);
  opacity: 0.96;
}

.page-ecosystem--home .eco-brand {
 width: 100%;
 max-width: 100%;
 margin: 1rem 0 0;
 padding: 0.8rem 0.95rem 0.9rem;
 border-radius: 1.05rem;
 grid-template-columns: auto 1fr;
 column-gap: 0.8rem;
 row-gap: 0.05rem;
 z-index: 20;
 height: auto;
 min-height: 0;
 max-height: none;
 box-sizing: border-box;
}

.page-ecosystem--home .eco-brand__logo-wrap {
 width: 4.1rem;
 height: 4.1rem;
 border-radius: 0.85rem;
 padding: 0.3rem;
}

.page-ecosystem--home .eco-brand__sector {
 font-size: 0.66rem;
}

.page-ecosystem--home .eco-brand__name {
 font-size: 1.08rem;
}

.page-ecosystem--home .eco-brand__desc {
 margin-top: 0.4rem;
 font-size: 0.8rem;
 line-height: 1.4;
 min-height: calc(1.4em * 2);
 -webkit-line-clamp: 2;
 line-clamp: 2;
}

.page-ecosystem--home .eco-brand__cta {
 margin-top: 0.55rem;
 padding: 0.55rem 0.95rem;
 font-size: 0.82rem;
}

.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-footer {
 margin-top: 0;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 background: transparent;
}

.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-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    min-height: auto;
  }

  /* Flatten copy so we can reorder: title block → sphere → brand */
  .page-ecosystem--home .eco-copy {
    display: contents;
  }

  .page-ecosystem--home .eco-eyebrow,
  .page-ecosystem--home .eco-title,
  .page-ecosystem--home .eco-lead,
  .page-ecosystem--home .eco-actions {
    order: 1;
  }

  .page-ecosystem--home .eco-stage {
    order: 2;
    align-self: center;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .page-ecosystem--home .eco-sphere {
    width: min(92vw, 78vmin, calc(100svh - 14rem));
    margin: 0 auto;
  }

  .page-ecosystem--home .eco-brand {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 0.65rem 0 0;
  }

  .page-ecosystem--home .eco-features {
    order: 4;
  }
}
