:root {
  --bg: #f7fbfb;
  --surface: #ffffff;
  --surface-soft: #eef6f6;
  --text: #121212;
  --text-soft: #3a3a3a;
  --border: rgba(18, 18, 18, 0.08);
  --teal: #0fa3b1;
  --teal-deep: #0b7a86;
  --orange: #ff6a3d;
  --orange-soft: #ff8a66;
  --gradient: linear-gradient(90deg, #0fa3b1 0%, #ff6a3d 100%);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 163, 177, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 163, 177, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 20%, black 10%, transparent 76%);
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote {
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  line-height: 1.18;
  max-width: 22ch;
}

#apropos h2 {
  margin-bottom: 1rem;
}

#probleme h2,
#approche h2,
#revenus h2,
#valeurs h2,
#ecosysteme h2 {
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

p,
li {
  line-height: 1.65;
  color: var(--text-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(231, 245, 246, 0.72), rgba(243, 249, 249, 0.4));
}

.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(15, 163, 177, 0.4);
  background: linear-gradient(180deg, rgba(238, 246, 246, 0.95), rgba(231, 245, 246, 0.95));
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: #0b7a86;
  box-shadow: inset 0 0 0 1px rgba(15, 163, 177, 0.14);
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 62ch;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.topbar.scrolled {
  border-color: var(--border);
  background: rgba(250, 250, 247, 0.95);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.brand-dot {
  width: 0.92rem;
  height: 0.92rem;
  border-radius: 0.32rem;
  background: var(--gradient);
  box-shadow: 0 0 0 8px rgba(15, 163, 177, 0.1);
}

.brand-copy strong {
  display: block;
  font-size: 0.98rem;
}

.brand-copy small {
  font-size: 0.76rem;
  color: var(--text-soft);
}

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

.nav-dropdown {
  position: relative;
}

.nav-drop-trigger {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  font-size: 0.93rem;
  padding: 0.2rem;
  cursor: pointer;
}

.nav-drop-trigger:hover,
.nav-dropdown:focus-within .nav-drop-trigger {
  color: #c94c22;
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 0.35rem;
  display: none;
  z-index: 40;
}

.nav-drop-menu a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.nav-drop-menu a:hover {
  background: rgba(255, 106, 61, 0.08);
  color: #c94c22;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu {
  display: block;
}

.nav > a {
  font-size: 0.93rem;
  color: var(--text-soft);
  padding: 0.2rem;
}

.nav > a:hover {
  color: #c94c22;
}

.subtle-link {
  color: #0b7a86;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 106, 61, 0.5);
  text-underline-offset: 3px;
}

.subtle-link:hover {
  color: #c94c22;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.78rem 1.05rem;
  font-weight: 600;
  color: #fff;
  background: var(--teal);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 24%, rgba(255, 255, 255, 0.33) 50%, transparent 78%);
  transform: translateX(-130%);
  transition: transform 0.48s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--teal-deep);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn-sm {
  font-size: 0.88rem;
  padding: 0.62rem 0.9rem;
}

.mobile-fixed-cta {
  display: none;
}

.btn-ghost {
  color: var(--teal);
  border-color: rgba(15, 163, 177, 0.5);
  background: #fff;
}

.btn-ghost:hover {
  color: var(--teal-deep);
  border-color: var(--teal-deep);
  background: #fff;
}

.pep-form {
  margin-top: 1rem;
}

.pep-form p {
  margin: 0 0 1rem;
}

.pep-form label {
  display: inline-block;
  margin-bottom: 0.38rem;
  font-weight: 600;
  color: var(--text);
}

.pep-form input,
.pep-form select,
.pep-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 0.72rem 0.8rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pep-form textarea {
  resize: vertical;
  min-height: 120px;
}

.pep-form input:focus,
.pep-form select:focus,
.pep-form textarea:focus {
  outline: none;
  border-color: rgba(15, 163, 177, 0.75);
  box-shadow: 0 0 0 3px rgba(15, 163, 177, 0.14);
  background: #fff;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 0.52rem 0.68rem;
}

.hero {
  position: relative;
  padding-top: clamp(62px, 9vw, 112px);
}

.hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -130px;
  width: 490px;
  height: 490px;
  background: radial-gradient(circle at center, rgba(15, 163, 177, 0.17), rgba(255, 106, 61, 0.09) 56%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  align-items: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem 0 1.2rem;
}

.trust-row {
  list-style: none;
  display: flex;
  gap: 0.85rem;
  padding: 0;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.trust-row li {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.79rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 0.3rem 0.62rem;
  color: var(--text);
}

.system-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.system-card h2 {
  font-size: 1.4rem;
}

.system-card p {
  margin: 0.7rem 0 1rem;
}

.hero-system {
  border-radius: 26px;
  padding: 1.2rem;
}

.system-state {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 106, 61, 0.32);
  animation: stateGlowOrange 1.2s ease-in-out infinite;
}

.system-canvas {
  position: relative;
  height: 290px;
  border-radius: 20px;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background: linear-gradient(180deg, #fff 0%, #f6f7f4 100%);
  overflow: hidden;
  transition: background 900ms ease, border-color 900ms ease, box-shadow 900ms ease;
}

.system-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 106, 61, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 102, 0.24) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: 0 0, 0 0;
  opacity: 0.52;
  transform-origin: center;
  animation: gridWiggle 2.6s ease-in-out infinite;
  transition: opacity 900ms ease, background-image 900ms ease, transform 900ms ease;
}

.system-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.system-lines path {
  stroke: rgba(11, 122, 134, 0.45);
  stroke-width: 0.7;
  stroke-dasharray: 1.6 3.2;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 0 2px rgba(15, 163, 177, 0.28));
}

.sys-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background: #f2f3f1;
  color: var(--text);
  font-size: 0.76rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 106, 61, 0.22), 0 0 12px rgba(255, 106, 61, 0.34);
  transition: transform 900ms ease, left 900ms ease, top 900ms ease, opacity 900ms ease, background-color 900ms ease;
  translate: 0 0;
  animation: floaty 4.6s ease-in-out infinite, glowFlashOrange 1.2s ease-in-out infinite;
}

.center-node {
  background: linear-gradient(90deg, rgba(15, 163, 177, 0.16), rgba(255, 106, 61, 0.14));
  border-color: rgba(15, 163, 177, 0.42);
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  z-index: 4;
  opacity: 0;
  box-shadow: 0 6px 18px rgba(11, 122, 134, 0.12);
}

/* Fragmentation state (default) */
.t-outils { left: 10%; top: 12%; transform: rotate(-6deg); }
.t-flux { left: 64%; top: 10%; transform: rotate(7deg); }
.t-revenus { left: 20%; top: 44%; transform: rotate(5deg); }
.t-donnees { left: 71%; top: 40%; transform: rotate(-5deg); }
.t-communication { left: 8%; top: 68%; transform: rotate(-3deg); }
.t-automatisation { left: 51%; top: 70%; transform: rotate(4deg); }
.t-communaute { left: 39%; top: 22%; transform: rotate(-7deg); }
.t-systeme { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.94); }

/* Structured state */
.hero-system.is-structured .system-lines {
  opacity: 1;
}
.hero-system.is-structured .system-state {
  text-shadow: 0 0 8px rgba(15, 163, 177, 0.26);
  animation: none;
}
.hero-system.is-structured .system-canvas {
  background: linear-gradient(180deg, #eefafa 0%, #f4fbf7 100%);
  border-color: rgba(15, 163, 177, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 61, 0.22);
}
.hero-system.is-structured .system-canvas::before {
  background-image:
    linear-gradient(rgba(15, 163, 177, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 122, 134, 0.2) 1px, transparent 1px);
  opacity: 0.42;
  animation: none;
  transform: none;
}
.hero-system.is-structured .sys-tag {
  transform: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(11, 122, 134, 0.16), 0 0 10px rgba(15, 163, 177, 0.18);
  animation: floaty 4.6s ease-in-out infinite;
}
.hero-system.is-structured .t-systeme {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  background: #ffffff;
  border-color: rgba(11, 122, 134, 0.48);
  box-shadow: 0 6px 18px rgba(11, 122, 134, 0.18);
}
.hero-system.is-structured .t-flux { left: 16%; top: 22%; }
.hero-system.is-structured .t-donnees { left: 72%; top: 22%; }
.hero-system.is-structured .t-communication { left: 12%; top: 50%; }
.hero-system.is-structured .t-revenus { left: 74%; top: 50%; }
.hero-system.is-structured .t-outils { left: 24%; top: 78%; }
.hero-system.is-structured .t-automatisation { left: 62%; top: 78%; }
.hero-system.is-structured .t-communaute { left: 40%; top: 8%; }

.hero-system.is-paused .sys-tag {
  animation-play-state: paused;
}

.t-outils { animation-delay: -0.2s; }
.t-flux { animation-delay: -1.1s; }
.t-revenus { animation-delay: -0.8s; }
.t-donnees { animation-delay: -1.6s; }
.t-communication { animation-delay: -0.5s; }
.t-automatisation { animation-delay: -1.3s; }
.t-communaute { animation-delay: -1.9s; }
.t-systeme { animation-delay: -0.9s; }

@keyframes floaty {
  0% { translate: 0 0; }
  50% { translate: 0 -4px; }
  100% { translate: 0 0; }
}

@keyframes glowFlashOrange {
  0% { box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 106, 61, 0.18), 0 0 10px rgba(255, 106, 61, 0.22); }
  50% { box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 106, 61, 0.35), 0 0 18px rgba(255, 106, 61, 0.5); }
  100% { box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 106, 61, 0.18), 0 0 10px rgba(255, 106, 61, 0.22); }
}

@keyframes stateGlowOrange {
  0% { text-shadow: 0 0 6px rgba(255, 106, 61, 0.24); }
  50% { text-shadow: 0 0 12px rgba(255, 106, 61, 0.48); }
  100% { text-shadow: 0 0 6px rgba(255, 106, 61, 0.24); }
}

@keyframes gridWiggle {
  0% { transform: skewX(0.8deg) skewY(-0.6deg) translateY(0); background-position: 0 0, 0 0; }
  50% { transform: skewX(-0.8deg) skewY(0.6deg) translateY(1px); background-position: 2px 1px, -1px 2px; }
  100% { transform: skewX(0.8deg) skewY(-0.6deg) translateY(0); background-position: 0 0, 0 0; }
}

.system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
  margin-bottom: 1rem;
}

.system-tags span {
  font-size: 0.77rem;
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.system-map {
  position: relative;
  min-height: 174px;
  border-radius: 14px;
  border: 1px dashed rgba(18, 18, 18, 0.14);
  background: linear-gradient(120deg, rgba(15, 163, 177, 0.09), rgba(255, 106, 61, 0.08));
}

.node {
  position: absolute;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid rgba(18, 18, 18, 0.14);
  border-radius: 999px;
  background: #fff;
  padding: 0.22rem 0.5rem;
}

.n1 { left: 8%; top: 16%; }
.n2 { left: 67%; top: 24%; }
.n3 { left: 40%; top: 45%; }
.n4 { left: 17%; top: 68%; }
.n5 { left: 62%; top: 72%; }

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 2px 0 rgba(18, 18, 18, 0.03);
  position: relative;
  z-index: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow), 0 0 0 2px rgba(255, 106, 61, 0.16);
  border-color: rgba(255, 106, 61, 0.42);
  z-index: 6;
}

.eco-item:hover,
.system-card:hover,
.nonprofit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 0 0 2px rgba(255, 106, 61, 0.14);
  border-color: rgba(255, 106, 61, 0.36);
}

.eco-item,
.system-card,
.nonprofit {
  position: relative;
  z-index: 0;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.eco-item:hover,
.system-card:hover,
.nonprofit:hover {
  z-index: 5;
}

.problem-card {
  border-color: rgba(18, 18, 18, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  margin-top: 1.3rem;
}

.problem-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 106, 61, 0.88), rgba(255, 138, 102, 0.38));
  box-shadow: 0 0 10px rgba(255, 106, 61, 0.35);
}

.card p {
  margin-top: 0.55rem;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.steps {
  padding-left: 1.1rem;
  margin-top: 1rem;
}

.steps li + li {
  margin-top: 0.45rem;
}

.clean-list {
  list-style: none;
  margin-top: 0.85rem;
  padding: 0;
}

.clean-list li {
  border-top: 1px solid var(--border);
  padding: 0.65rem 0;
}

.value-strip {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-strip span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.5rem 0.65rem;
  font-size: 0.84rem;
}

.charter {
  margin-top: 1rem;
  border-left: 3px solid var(--teal);
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 0 12px 12px 0;
  color: var(--text);
  max-width: 62ch;
}

.ecosystem {
  margin-top: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.eco-node {
  border: 1px solid rgba(18, 18, 18, 0.14);
  border-radius: 12px;
  padding: 0.68rem;
  font-size: 0.87rem;
  color: var(--text);
  background: var(--surface-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.eco-node:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(255, 106, 61, 0.45);
}

.eco-accordion {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.7rem;
}

.eco-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.eco-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.eco-panel {
  display: none;
  padding: 0.85rem 1rem 1rem;
}

.eco-item.open .eco-panel {
  display: block;
}

.eco-panel .clean-list li {
  position: relative;
  padding-left: 1.45rem;
}

.eco-panel .clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.65rem;
  color: var(--teal-deep);
  font-weight: 700;
}

.eco-map {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1rem;
  align-items: start;
}

.eco-map-canvas {
  position: relative;
  min-height: 650px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(rgba(15, 163, 177, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 163, 177, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 46%, rgba(15, 163, 177, 0.08), rgba(255, 255, 255, 0.94) 62%);
  background-size: 24px 24px, 24px 24px, cover;
}

.eco-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.eco-map-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1;
  opacity: 0.46;
  stroke: rgba(11, 122, 134, 0.45);
  animation: eco-line-pulse 7.2s ease-in-out infinite;
}

.eco-map-line.cross {
  opacity: 0.24;
  stroke-dasharray: 4 5;
}

.eco-map-line.is-dim {
  opacity: 0.1 !important;
}

.eco-map-line.is-active {
  opacity: 0.86 !important;
  stroke-width: 1.4;
}

.eco-node {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 0.78rem;
  cursor: pointer;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, opacity 220ms ease;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.05);
}

.eco-node:hover,
.eco-node:focus {
  border-color: rgba(11, 122, 134, 0.55);
  box-shadow: 0 0 0 2px rgba(11, 122, 134, 0.12), 0 6px 14px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.eco-node-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.62rem 1.02rem;
  border-color: rgba(11, 122, 134, 0.46);
  box-shadow: 0 0 0 3px rgba(11, 122, 134, 0.11), 0 8px 16px rgba(17, 24, 39, 0.08);
  animation: none;
}

.eco-node-layer {
  animation: eco-float 8.4s ease-in-out infinite;
}

.eco-node-layer.is-active,
.eco-node-center.is-active {
  border-color: rgba(11, 122, 134, 0.65);
  box-shadow: 0 0 0 3px rgba(11, 122, 134, 0.16), 0 8px 16px rgba(17, 24, 39, 0.09);
}

.eco-node.is-dim {
  opacity: 0.32;
}

.node-infra { left: 50%; top: 8%; transform: translateX(-50%); }
.node-auto { left: 74%; top: 22%; }
.node-produits { left: 78%; top: 50%; }
.node-interaction { left: 67%; top: 76%; }
.node-transmission { left: 33%; top: 76%; }
.node-associations { left: 12%; top: 50%; }
.node-codev { left: 18%; top: 22%; }

.node-infra { animation-name: eco-float-center; }
.node-auto { animation-delay: 0.4s; }
.node-produits { animation-delay: 0.8s; }
.node-interaction { animation-delay: 1.2s; }
.node-transmission { animation-delay: 1.6s; }
.node-associations { animation-delay: 2s; }
.node-codev { animation-delay: 2.4s; }

.eco-mini-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 106, 61, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.12);
  animation: eco-dot 5.3s ease-in-out infinite;
}

.eco-mini-dot.d1 { left: 68%; top: 44%; }
.eco-mini-dot.d2 { left: 27%; top: 39%; animation-delay: 1.2s; }
.eco-mini-dot.d3 { left: 43%; top: 18%; animation-delay: 2.4s; }

.eco-node-tooltip {
  position: absolute;
  z-index: 3;
  max-width: 280px;
  transform: translate(-50%, -110%);
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(11, 122, 134, 0.24);
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.35;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.eco-node-tooltip.open {
  opacity: 1;
}

.eco-node-panel {
  min-height: 220px;
}

.eco-node-panel .clean-list {
  margin-top: 0.6rem;
}

@keyframes eco-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes eco-float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-2px); }
}

@keyframes eco-line-pulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.5; }
}

@keyframes eco-dot {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  50% { opacity: 0.8; transform: scale(1.04); }
}

.nonprofit {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(15, 163, 177, 0.14), rgba(255, 106, 61, 0.14));
  padding: 1.2rem;
}

.nonprofit-columns {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.cta {
  text-align: center;
}

.cta h2,
.cta p {
  margin-inline: auto;
}

.cta .hero-actions {
  justify-content: center;
}

.text-highlight-orange {
  color: #9f3413;
  font-weight: 700;
  display: inline;
  line-height: 1.45;
  padding: 0.02rem 0.3rem 0.1rem;
  background:
    linear-gradient(180deg, transparent 34%, rgba(255, 106, 61, 0.56) 34%, rgba(255, 138, 102, 0.64) 88%, transparent 88%),
    linear-gradient(96deg, rgba(255, 106, 61, 0.24), rgba(255, 138, 102, 0.22));
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  clip-path: polygon(0% 20%, 3% 12%, 8% 16%, 14% 10%, 21% 14%, 28% 8%, 35% 13%, 42% 9%, 50% 14%, 58% 8%, 66% 13%, 74% 9%, 82% 14%, 90% 10%, 96% 14%, 100% 18%, 100% 90%, 96% 96%, 90% 92%, 82% 98%, 74% 93%, 66% 99%, 58% 94%, 50% 99%, 42% 93%, 35% 98%, 28% 92%, 21% 97%, 14% 91%, 8% 95%, 3% 90%, 0% 94%);
  border-radius: 0.3rem;
}

.contact-block {
  padding-top: 0;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.map-placeholder {
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 220px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.map-placeholder:hover {
  border-color: rgba(255, 106, 61, 0.52);
  box-shadow: var(--shadow), 0 0 0 2px rgba(255, 106, 61, 0.18);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
  filter: grayscale(100%);
}

.footer {
  padding: 2.2rem 0 1.3rem;
  border-top: 1px solid var(--border);
  background: rgba(243, 244, 241, 0.7);
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-grid-three {
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
}

.footer-col-left {
  text-align: left;
}

.footer-left-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-left-links a {
  margin-right: 0;
  margin-bottom: 0.35rem;
}

.footer-col-center {
  text-align: left;
}

.footer-col-right {
  text-align: right;
}

.footer p {
  margin-top: 0.3rem;
}

.footer a {
  color: var(--text-soft);
  margin-right: 0.6rem;
}

.footer a:hover {
  color: var(--text);
}

.footer-profiles {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.footer-profiles-title {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b7a86;
  font-weight: 700;
}

.footer-profiles-links {
  margin-top: 0.4rem;
}

.footer-profiles-links a {
  display: inline-flex;
  margin-right: 0.85rem;
  margin-bottom: 0.4rem;
}

.footer-profiles-links-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0.3rem;
}

.footer-profiles-links-vertical a {
  margin-right: 0;
  margin-bottom: 0.35rem;
}

.legal {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
}

.legal a {
  color: #0b7a86;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: #c94c22;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
}

.contact-list li + li {
  margin-top: 0.2rem;
}

.swiss-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.icon-cross,
.icon-heart {
  color: #d90429;
  font-size: 0.86rem;
}

.pain-points {
  margin-top: 1rem;
}

.solutions-hub-page .solutions-hero {
  padding-top: clamp(82px, 10vw, 132px);
}

.solutions-hub-page .solutions-hero-inner {
  max-width: none;
}

.solutions-hub-page h1 {
  font-size: clamp(2.05rem, 4.8vw, 3.1rem);
  line-height: 1.12;
}

.solutions-hub-page .section {
  padding-top: clamp(64px, 7.5vw, 92px);
  padding-bottom: clamp(60px, 7vw, 86px);
}

.solutions-hub-page .solutions-cards-grid {
  gap: 1.15rem;
  align-items: stretch;
}

.solutions-hub-page .solutions-cards-grid .card {
  height: 100%;
  padding: 1.15rem 1.05rem;
}

.solutions-hub-page .solutions-centered {
  text-align: center;
  max-width: none;
}

.solutions-hub-page #pont-ecosysteme .container {
  max-width: none;
}

.solutions-hub-page .solutions-principle-card {
  max-width: none;
  margin: 0 auto;
  border-color: rgba(11, 122, 134, 0.28);
  background: linear-gradient(120deg, rgba(15, 163, 177, 0.08), rgba(255, 255, 255, 0.94));
}

.solutions-hub-page .solutions-closing-banner {
  position: relative;
  max-width: none;
  margin: 0 auto;
  padding: 1.15rem 1.1rem;
  border: 1px solid rgba(11, 122, 134, 0.25);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(15, 163, 177, 0.1), rgba(255, 255, 255, 0.95) 38%, rgba(255, 106, 61, 0.06));
  overflow: hidden;
}

.solutions-hub-page .solutions-closing-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11, 122, 134, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 122, 134, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.solutions-hub-page .solutions-closing-banner p {
  position: relative;
}

.booking-page .booking-hero {
  padding-top: clamp(82px, 10vw, 126px);
}

.booking-page .booking-hero-inner {
  max-width: 84ch;
}

.booking-page .booking-hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 1.1rem;
  align-items: start;
}

.booking-page .section {
  padding-top: clamp(62px, 7.2vw, 88px);
  padding-bottom: clamp(58px, 7vw, 82px);
}

.booking-page .booking-calendar-section .card,
.booking-page .booking-clarity-card,
.booking-page .booking-form-card {
  border-color: rgba(11, 122, 134, 0.24);
  background: linear-gradient(120deg, rgba(15, 163, 177, 0.08), rgba(255, 255, 255, 0.95));
}

.booking-page .booking-calendar-card {
  max-width: 96ch;
  margin: 0 auto;
}

.booking-page .booking-intro-card {
  border-color: rgba(11, 122, 134, 0.27);
  background: linear-gradient(120deg, rgba(15, 163, 177, 0.11), rgba(255, 255, 255, 0.95));
}

.booking-page .booking-meta {
  margin-top: 0.6rem;
  margin-bottom: 0.65rem;
}

.booking-page .booking-calendar-embed {
  width: 100%;
  min-height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #fff;
}

.booking-page .booking-split {
  gap: 1.35rem;
  align-items: stretch;
}

.booking-page .booking-solutions-bridge,
.booking-page .booking-info-card {
  height: 100%;
}

.booking-page .booking-location-section {
  padding-top: 0;
}

.booking-page .booking-location-inner {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
}

.booking-page .booking-map {
  margin-top: 0.8rem;
  min-height: 260px;
}

.booking-page .booking-closing {
  text-align: center;
  max-width: 84ch;
}

.booking-page .booking-closing-cta {
  margin-top: 1rem;
}

@media (max-width: 1080px) {
  .booking-page .booking-hero-grid {
    grid-template-columns: 1fr;
  }

  .booking-page .booking-calendar-embed {
    min-height: 680px;
  }
}

@media (max-width: 420px) {
  .booking-page .booking-calendar-embed {
    min-height: 560px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav > a {
    font-size: 0.88rem;
  }

  .card-grid.four,
  .value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 74px;
    right: 0.8rem;
    left: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-drop-trigger {
    width: 100%;
    text-align: left;
    padding: 0.35rem 0.2rem;
  }

  .nav-drop-menu {
    position: static;
    display: block;
    min-width: 0;
    margin-top: 0.2rem;
    box-shadow: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav > a {
    padding: 0.35rem 0.2rem;
  }

  .desktop-cta {
    display: none;
  }

  .mobile-fixed-cta {
    display: inline-flex;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    z-index: 60;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    padding: 0.76rem 1rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(11, 122, 134, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  body {
    padding-bottom: 84px;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .card-grid.three,
  .eco-map,
  .footer-grid,
  .nonprofit-columns {
    grid-template-columns: 1fr;
  }

  .eco-map-canvas {
    min-height: 0;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    background:
      linear-gradient(rgba(15, 163, 177, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(15, 163, 177, 0.04) 1px, transparent 1px),
      #f8faf8;
    background-size: 24px 24px, 24px 24px, auto;
  }

  .eco-map-svg,
  .eco-mini-dot,
  .eco-node-tooltip {
    display: none;
  }

  .eco-node {
    position: static;
    width: 100%;
    transform: none !important;
    animation: none !important;
    text-align: left;
  }

  .eco-node-center {
    margin-bottom: 0.4rem;
  }

  .system-canvas {
    height: 320px;
  }

  .sys-tag {
    font-size: 0.73rem;
    padding: 0.28rem 0.58rem;
  }

  .center-node {
    font-size: 0.74rem;
    padding: 0.42rem 0.86rem;
  }

  .hero-system.is-structured .t-flux { left: 10%; top: 23%; }
  .hero-system.is-structured .t-donnees { left: 70%; top: 23%; }
  .hero-system.is-structured .t-communication { left: 7%; top: 52%; }
  .hero-system.is-structured .t-revenus { left: 72%; top: 52%; }
  .hero-system.is-structured .t-outils { left: 18%; top: 80%; }
  .hero-system.is-structured .t-automatisation { left: 58%; top: 80%; }
  .hero-system.is-structured .t-communaute { left: 36%; top: 8%; }

  .section {
    padding: 52px 0;
  }

  .text-highlight-orange {
    clip-path: none;
    border-radius: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
