/* =========================================================
   NOVOCEO — design system
   ========================================================= */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #1665ca;
  --blue-600: #0f52a8;
  --blue-50: #eaf2fd;
  --sky: #5fb4ff;
  --mint: #3ddc97;
  --ink: #0a1628;
  --navy: #0e2247;
  --navy-2: #13305f;
  --text: #1d2738;
  --muted: #5b667a;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 22, 40, .04), 0 8px 24px rgba(10, 22, 40, .06);
  --shadow-lg: 0 2px 4px rgba(10, 22, 40, .04), 0 24px 60px rgba(10, 22, 40, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; letter-spacing: -.025em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -.015em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.grad-text {
  background: linear-gradient(100deg, var(--blue) 0%, var(--sky) 60%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #c9d4e6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #9fb0cb; }
.section--dark .eyebrow { color: var(--sky); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin-top: 16px; }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: .98rem; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(22, 101, 202, .32); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(22, 101, 202, .4); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(8px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; transition: height .35s var(--ease); }
.brand img { height: 34px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.is-solid, .site-header.is-light {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 rgba(10, 22, 40, .08);
}
.site-header.is-solid .container { height: 68px; }
.site-header.is-solid .logo-light, .site-header.is-light .logo-light { display: none; }
.site-header.is-solid .logo-dark, .site-header.is-light .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  color: rgba(255, 255, 255, .9); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background-color .2s, color .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop:focus-within > button { background: rgba(255, 255, 255, .12); color: #fff; }
.is-solid .nav > a, .is-solid .nav-drop > button, .is-light .nav > a, .is-light .nav-drop > button { color: var(--text); }
.is-solid .nav > a:hover, .is-solid .nav-drop > button:hover, .is-light .nav > a:hover, .is-light .nav-drop > button:hover,
.is-solid .nav-drop:focus-within > button, .is-light .nav-drop:focus-within > button { background: var(--bg-soft); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--sky); }
.is-solid .nav a[aria-current="page"], .is-light .nav a[aria-current="page"] { color: var(--blue); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-drop:hover > button svg, .nav-drop:focus-within > button svg { transform: rotate(180deg); }
.nav-drop__panel {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0;
  width: 340px; padding: 10px; border-radius: 18px; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-drop__panel::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav-drop:hover .nav-drop__panel, .nav-drop:focus-within .nav-drop__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop__panel a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background-color .2s; }
.nav-drop__panel a:hover { background: var(--bg-soft); }
.nav-drop__panel .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.nav-drop__panel .ico svg { width: 20px; height: 20px; }
.nav-drop__panel strong { display: block; color: var(--ink); font-size: .95rem; }
.nav-drop__panel span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; }

.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .btn { padding: 12px 20px; }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; place-items: center;
}
.is-solid .burger, .is-light .burger { background: var(--bg-soft); color: var(--ink); }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
  padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header .logo-light { display: block; } .menu-open .site-header .logo-dark { display: none; }
.menu-open .burger { background: rgba(255, 255, 255, .14); color: #fff; }
.mobile-menu a { font-size: 1.5rem; font-weight: 700; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); letter-spacing: -.02em; }
.mobile-menu .sub { font-size: 1.1rem; font-weight: 550; color: #9fb0cb; padding-left: 16px; }
.mobile-menu .btn { margin-top: 24px; font-size: 1.05rem; border-bottom: 0; }

@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: grid; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate; padding: 140px 0 56px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, .55) 0%, rgba(10, 22, 40, .15) 35%, rgba(10, 22, 40, .75) 78%, rgba(10, 22, 40, .95) 100%),
    linear-gradient(90deg, rgba(10, 22, 40, .7) 0%, rgba(10, 22, 40, 0) 65%);
}
.hero__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); mix-blend-mode: screen; }
.hero__fx.is-on { opacity: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: rgba(255, 255, 255, .85); max-width: 58ch; margin-top: 24px; }
.hero .btn-row { margin-top: 36px; }
.hero .eyebrow { color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px); font-size: .88rem; font-weight: 600; margin-bottom: 28px;
}
.pill b { background: var(--mint); color: var(--ink); padding: 4px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }

.hero__stats {
  margin-top: clamp(48px, 8vh, 88px); display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__stats div { padding: 24px 24px 0 0; }
.hero__stats div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero__stats strong { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 750; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.hero__stats span { font-size: .9rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 760px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats div { padding-bottom: 8px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  padding: clamp(150px, 20vw, 210px) 0 clamp(64px, 9vw, 110px);
  background: var(--ink);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 22, 40, .95) 0%, rgba(10, 22, 40, .75) 50%, rgba(10, 22, 40, .35) 100%);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; bottom: -380px;
  background: radial-gradient(circle, rgba(22, 101, 202, .55), transparent 65%); filter: blur(10px);
}
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.2rem, 5.2vw, 4rem); }
.page-hero .lead { color: rgba(255, 255, 255, .82); max-width: 62ch; margin-top: 22px; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .65); margin-bottom: 24px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Statement ---------- */
.statement { font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.3; letter-spacing: -.025em; font-weight: 650; color: var(--ink); max-width: 30ch; text-wrap: balance; }
.statement .muted { color: #a3aec0; }
.statement-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement-wrap .lead { max-width: 52ch; }
@media (max-width: 860px) { .statement-wrap { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body p { color: var(--muted); font-size: .98rem; }
.card__num { font-size: .8rem; font-weight: 750; color: var(--blue); letter-spacing: .1em; }
.card__body .link-arrow { margin-top: auto; padding-top: 8px; }
.card--link::after { content: ""; position: absolute; inset: 0; }

/* Bento (4 axes) */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: clamp(16px, 2vw, 24px); }
.bento .tile { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.bento .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.bento .tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 22, 40, 0) 20%, rgba(10, 22, 40, .9) 100%); transition: background .4s; }
.bento .tile:hover img { transform: scale(1.05); }
.bento .tile h3 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.bento .tile p { color: rgba(255, 255, 255, .82); margin-top: 8px; max-width: 46ch; font-size: .98rem; }
.bento .tile .card__num { color: var(--mint); margin-bottom: 10px; }
.bento .t1 { grid-column: span 7; grid-row: span 2; }
.bento .t2 { grid-column: span 5; }
.bento .t3 { grid-column: span 5; }
.bento .t4 { grid-column: span 12; min-height: 260px; }
.bento .t4::before { background: linear-gradient(90deg, rgba(10, 22, 40, .92) 0%, rgba(10, 22, 40, .4) 60%, rgba(10, 22, 40, .1) 100%); }
.bento .t4 { justify-content: center; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .bento .t1, .bento .t2, .bento .t3, .bento .t4 { grid-column: auto; grid-row: auto; min-height: 320px; }
}

/* Pillars (dark) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  position: relative; border-radius: var(--radius); padding: 1px; overflow: hidden;
  background: linear-gradient(160deg, rgba(95, 180, 255, .35), rgba(255, 255, 255, .06) 40%, rgba(61, 220, 151, .25));
  transition: transform .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); }
.pillar__inner { height: 100%; border-radius: calc(var(--radius) - 1px); background: linear-gradient(180deg, #0f1f3a, #0b1830); display: flex; flex-direction: column; overflow: hidden; }
.pillar__media { aspect-ratio: 16 / 10; overflow: hidden; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .8s var(--ease), opacity .4s; }
.pillar:hover .pillar__media img { transform: scale(1.06); opacity: 1; }
.pillar__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pillar__tag { font-size: .75rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.pillar h3 { color: #fff; font-size: 1.5rem; }
.pillar p { color: #9fb0cb; font-size: .98rem; }
.pillar .link-arrow { color: #fff; margin-top: auto; padding-top: 6px; }
.pillar .link-arrow::after { content: ""; position: absolute; inset: 0; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--contain { background: var(--bg-soft); box-shadow: none; }
.split__media--contain img { object-fit: contain; padding: 24px; }
.split__media--tall { aspect-ratio: 4 / 5; }
.split__body h2 { margin: 14px 0 18px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.split__body > p { color: var(--muted); }
.split__body > p + p { margin-top: 14px; }
.split__body .btn-row { margin-top: 28px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
}

.checklist { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 24px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231665ca' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist strong { color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span { padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--text); }
.section--dark .tags span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #e3eaf5; }
.section--dark .split__body > p { color: #9fb0cb; }

/* Feature grid (icon cards) */
.feature {
  padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--sky)); margin-bottom: 22px; box-shadow: 0 10px 24px rgba(22, 101, 202, .3); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 10px; }
.feature p, .feature li { color: var(--muted); font-size: .98rem; }
.feature ul { padding-left: 18px; margin-top: 4px; }
.section--dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .feature p { color: #9fb0cb; }

/* Steps / timeline */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); counter-increment: step; }
.step__media { aspect-ratio: 4 / 3; overflow: hidden; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__body { padding: 24px; }
.step__body::before { content: "0" counter(step); display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; background: linear-gradient(100deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }
.member { position: relative; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 28px 24px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member__photo { width: 132px; height: 132px; margin: 0 auto 20px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--blue), var(--sky), var(--mint)); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.member h3 { font-size: 1.15rem; }
.member .role { display: block; color: var(--blue); font-weight: 650; font-size: .9rem; margin-top: 4px; }
.member p { color: var(--muted); font-size: .92rem; margin-top: 14px; }
.member .li { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 18px; border-radius: 50%; background: var(--bg-soft); color: var(--navy); transition: background .2s, color .2s; }
.member .li:hover { background: #0a66c2; color: #fff; }
.member .li svg { width: 18px; height: 18px; }

/* Métiers rows */
.metier-list { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .metier-list { grid-template-columns: 1fr; } }
.metier { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.metier img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.metier::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 22, 40, .05) 30%, rgba(10, 22, 40, .92) 100%); }
.metier:hover img { transform: scale(1.06); }
.metier h3 { color: #fff; font-size: 1.5rem; }
.metier p { color: rgba(255, 255, 255, .8); font-size: .95rem; margin-top: 8px; }
.metier .link-arrow { color: #fff; margin-top: 16px; }
.metier .link-arrow::after { content: ""; position: absolute; inset: 0; }

/* Regions */
.regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.regions span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; background: #fff; border: 1px solid var(--line); }
.regions i { width: 10px; height: 10px; border-radius: 50%; }

/* CTA band */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--radius) + 8px);
  padding: clamp(40px, 7vw, 88px); color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #1f6fd6 0%, #11346d 45%, var(--ink) 100%);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; z-index: -1; inset: auto -10% -60% auto; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(61, 220, 151, .35), transparent 60%);
}
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta p { color: rgba(255, 255, 255, .8); margin-top: 14px; max-width: 56ch; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Quote/note */
.note { border-left: 3px solid var(--blue); padding: 6px 0 6px 20px; color: var(--muted); font-size: 1.02rem; margin-top: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 16px; margin-top: 32px; }
.contact-info a, .contact-info div { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.contact-info a:hover { border-color: var(--blue); background: #fff; }
.contact-info .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info small { display: block; color: var(--muted); font-size: .82rem; }
.contact-info strong { color: var(--ink); font-weight: 650; }

.form { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label, .field legend { font-size: .88rem; font-weight: 650; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(22, 101, 202, .12); }
.chips { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
.chips legend { width: 100%; }
.chips legend { margin-bottom: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; transition: all .2s; }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 24px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; font-size: .95rem; }
.alert--ok { background: #e7f9f0; color: #0d6b42; border: 1px solid #b6ecd2; }
.alert--err { background: #fdecec; color: #9b1c1c; border: 1px solid #f6c5c5; }

/* ---------- Legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--blue); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9fb0cb; padding: clamp(64px, 8vw, 96px) 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand img { height: 34px; }
.footer-about p { margin-top: 20px; max-width: 38ch; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.socials svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; }
.notfound .big { font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }

/* ---------- Schéma animé de l'écosystème (Nos métiers) ---------- */
.eco { max-width: 1080px; margin: 0 auto; }
.eco__hint { display: none; }
.eco__scroll { border-radius: 24px; }
.eco__svg { width: 100%; height: auto; display: block; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); }
.eco__label { font: 600 15px "Jakarta", system-ui, sans-serif; fill: #dfe8f5; letter-spacing: -.01em; }
.eco__label--sm { font-size: 13px; }
.eco__label--mint { fill: #3ddc97; font-weight: 700; }
.eco__layer { font: 700 11px "Jakarta", system-ui, sans-serif; letter-spacing: .18em; fill: #3d5a88; }
.eco__panel rect { fill: #1b4f9c; stroke: #5fb4ff; stroke-width: 1.5; }

.eco__flow { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 2 12; animation: eco-flow 1.1s linear infinite; }
.eco__flow--sun { stroke: #ffd54a; stroke-width: 2.4; stroke-dasharray: 3 14; animation-duration: 1.4s; }
.eco__flow--elec { stroke: #f5b700; }
.eco__flow--heat { stroke: #ff7a45; stroke-width: 4; stroke-dasharray: 3 11; animation-duration: 1.6s; }
.eco__flow--cold { stroke: #5fb4ff; stroke-width: 4; stroke-dasharray: 3 11; animation-duration: 1.6s; }
.eco__flow--air { stroke: #dfe8f5; stroke-width: 2.6; stroke-dasharray: 8 10; animation-duration: .9s; }
.eco__flow--data { stroke: #3ddc97; stroke-width: 1.8; stroke-dasharray: 1 7; animation-duration: .8s; opacity: .85; }
.eco__flow--slow { animation-duration: 2.2s; }
@keyframes eco-flow { to { stroke-dashoffset: -28; } }

.eco__rays { transform-box: fill-box; transform-origin: center; animation: eco-spin 24s linear infinite; }
.eco__fan { animation: eco-spin 1.2s linear infinite; }
.eco__fan--fast { animation-duration: .7s; }
@keyframes eco-spin { to { transform: rotate(360deg); } }

.eco__charge { transform-box: fill-box; transform-origin: bottom; animation: eco-charge 5s var(--ease) infinite; }
@keyframes eco-charge { 0% { transform: scaleY(.15); } 70%, 100% { transform: scaleY(1); } }

.eco__waves path { animation: eco-rise 2.4s ease-in-out infinite; }
.eco__waves path:nth-child(2) { animation-delay: .4s; }
.eco__waves path:nth-child(3) { animation-delay: .8s; }
@keyframes eco-rise { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.eco__waves--cold path { animation-name: eco-fall; }
@keyframes eco-fall { 0% { opacity: 0; transform: translateY(-6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

.eco__bars rect { transform-box: fill-box; transform-origin: bottom; animation: eco-bar 2.6s ease-in-out infinite alternate; }
.eco__bars rect:nth-child(2) { animation-delay: .3s; } .eco__bars rect:nth-child(3) { animation-delay: .6s; } .eco__bars rect:nth-child(4) { animation-delay: .9s; }
@keyframes eco-bar { from { transform: scaleY(.9); } to { transform: scaleY(.3); } }
.eco__trend { stroke-dasharray: 80; animation: eco-draw 3s ease-in-out infinite; }
@keyframes eco-draw { 0% { stroke-dashoffset: 80; } 60%, 100% { stroke-dashoffset: 0; } }

.eco__pulse { transform-box: fill-box; transform-origin: center; animation: eco-pulse 2.4s ease-out infinite; }
@keyframes eco-pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.eco__alert { transform-box: fill-box; transform-origin: center; animation: eco-pulse 1.6s ease-out infinite; }

/* Mise en avant d'un métier */
.eco__g { transition: opacity .6s var(--ease), filter .6s var(--ease); }
.eco:not([data-focus="tout"]) .eco__g:not(.is-hl) { opacity: .12; filter: saturate(.3); }
.eco:not([data-focus="tout"]) .eco__g.is-hl { filter: drop-shadow(0 0 8px rgba(95, 180, 255, .35)); }
.eco__house { transition: opacity .6s; }

.eco__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 20px; font-size: .88rem; color: #9fb0cb; }
.eco__legend span { display: inline-flex; align-items: center; gap: 8px; }
.eco__legend i { width: 18px; height: 4px; border-radius: 2px; }
.eco__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.eco__tabs button {
  padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  color: #c9d4e6; font-weight: 600; font-size: .92rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.eco__tabs button:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.eco__tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.eco__caption { text-align: center; max-width: 64ch; margin: 22px auto 0; min-height: 3.4em; color: #c9d4e6; font-size: 1.05rem; }
@media (max-width: 760px) {
  .eco__scroll { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .eco__scroll .eco__svg { width: 780px; max-width: none; }
  .eco__label { font-size: 17px; }
  .eco__label--sm { font-size: 15px; }
  .eco__hint { display: block; text-align: center; font-size: .85rem; color: #9fb0cb; margin-bottom: 12px; }
  .eco__hint::before { content: "↔  "; }
}
@media (max-width: 640px) {
  .eco__tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; }
  .eco__tabs button { flex: none; }
}

/* ---------- Carte animée des régions (Nous rejoindre) ---------- */
.fmap {
  --c-idf: #5fb4ff; --c-no: #3b82f6; --c-ne: #3ddc97; --c-so: #2dc2cf; --c-se: #8b9cff;
  position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  background: radial-gradient(120% 90% at 70% 55%, #13305f 0%, #0a1628 70%);
  box-shadow: var(--shadow-lg); padding: 18px 18px 14px;
}
.fmap__svg { display: block; width: 100%; height: auto; }
.fmap__head { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #dfe8f5; font-size: .82rem; font-weight: 650; letter-spacing: .02em; }
.fmap__live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: fmap-live 1.8s ease-out infinite; }
@keyframes fmap-live { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); } 100% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } }

/* Points des régions */
.fmap__region { fill: none; stroke-width: 7.5; stroke-linecap: round; opacity: .8; transition: opacity .35s var(--ease), stroke-width .35s var(--ease); cursor: pointer; }
.fmap__region--idf { stroke: var(--c-idf); }
.fmap__region--no { stroke: var(--c-no); }
.fmap__region--ne { stroke: var(--c-ne); }
.fmap__region--so { stroke: var(--c-so); }
.fmap__region--se { stroke: var(--c-se); }
.fmap__dot--idf { fill: #5fb4ff; background: #5fb4ff; }
.fmap__dot--no { fill: #3b82f6; background: #3b82f6; }
.fmap__dot--ne { fill: #3ddc97; background: #3ddc97; }
.fmap__dot--so { fill: #2dc2cf; background: #2dc2cf; }
.fmap__dot--se { fill: #8b9cff; background: #8b9cff; }
.fmap__tw { fill: none; stroke: #fff; stroke-width: 7.5; stroke-linecap: round; opacity: 0; animation: fmap-tw 3.2s ease-in-out infinite; pointer-events: none; }
.fmap__tw--1 { animation-delay: .8s; }
.fmap__tw--2 { animation-delay: 1.6s; }
.fmap__tw--3 { animation-delay: 2.4s; }
@keyframes fmap-tw { 0%, 100% { opacity: 0; } 50% { opacity: .75; } }

/* Liaisons depuis le point de départ */
.fmap__links { pointer-events: none; }
.fmap__link { fill: none; stroke: #3ddc97; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .75; transition: opacity .35s; }
.fmap.is-in .fmap__link { animation: fmap-draw 1.6s var(--ease) forwards; }
.fmap.is-in .fmap__links path:nth-of-type(1) { animation-delay: .8s; }
.fmap.is-in .fmap__links path:nth-of-type(2) { animation-delay: 1s; }
.fmap.is-in .fmap__links path:nth-of-type(3) { animation-delay: 1.2s; }
.fmap.is-in .fmap__links path:nth-of-type(4) { animation-delay: 1.4s; }
.fmap.is-in .fmap__links path:nth-of-type(5) { animation-delay: 1.6s; }
.fmap.is-in .fmap__links path:nth-of-type(6) { animation-delay: 1.8s; }
.fmap.is-in .fmap__links path:nth-of-type(7) { animation-delay: 2s; }
@keyframes fmap-draw { to { stroke-dashoffset: 0; } }
.fmap__spark { fill: #fff; opacity: 0; filter: drop-shadow(0 0 6px #3ddc97); transition: opacity .6s 2.6s; }
.fmap.is-in .fmap__spark { opacity: .95; }

/* Zones de prospection et point de départ */
.fmap__core { fill: #fff; stroke: #0a1628; stroke-width: 3; }
.fmap__ring { fill: none; stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: fmap-ring 2.6s ease-out infinite; }
.fmap__ring--2 { animation-delay: 1.3s; }
.fmap__ring--hub { stroke: #3ddc97; stroke-width: 3; animation-duration: 2s; }
@keyframes fmap-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.fmap__zone, .fmap__hub, .fmap__tag, .fmap__label { opacity: 0; transition: opacity .6s var(--ease); }
.fmap.is-in .fmap__hub { opacity: 1; transition-delay: .2s; }
.fmap.is-in .fmap__tag { opacity: 1; transition-delay: .6s; }
.fmap.is-in .fmap__zone { opacity: 1; transition-delay: 2.2s; }
.fmap.is-in .fmap__label { opacity: 1; transition-delay: 2.4s; }
.fmap__zone, .fmap__hub, .fmap__tag { pointer-events: none; }

.fmap__tag rect { fill: rgba(10, 22, 40, .88); stroke: rgba(61, 220, 151, .6); stroke-width: 1.5; }
.fmap__tag-k { font: 800 11px "Jakarta", system-ui, sans-serif; letter-spacing: .14em; fill: #3ddc97; }
.fmap__tag-v { font: 700 17px "Jakarta", system-ui, sans-serif; fill: #fff; }
.fmap__label { cursor: pointer; }
.fmap__label rect { fill: rgba(10, 22, 40, .82); stroke: rgba(255, 255, 255, .18); stroke-width: 1.2; transition: stroke .3s, fill .3s; }
.fmap__label text { font: 700 23px "Jakarta", system-ui, sans-serif; fill: #fff; transition: fill .3s; }

/* Mise en avant d'une région */
.fmap[data-active] .fmap__region { opacity: .16; }
.fmap[data-active] .fmap__tw { visibility: hidden; }
.fmap[data-active="idf"] .fmap__region--idf,
.fmap[data-active="no"] .fmap__region--no,
.fmap[data-active="ne"] .fmap__region--ne,
.fmap[data-active="so"] .fmap__region--so,
.fmap[data-active="se"] .fmap__region--se { opacity: 1; stroke-width: 9; }
.fmap.is-in[data-active] .fmap__label:not(.is-active),
.fmap.is-in[data-active] .fmap__zone:not(.is-active),
.fmap.is-in[data-active] .fmap__link:not(.is-active) { opacity: .2; transition-delay: 0s; }
.fmap__label.is-active rect { fill: #fff; stroke: #fff; }
.fmap__label.is-active text { fill: var(--ink); }

.fmap__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 6px; font-size: .8rem; color: #9fb0cb; }
.fmap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.fmap__legend i { width: 10px; height: 10px; border-radius: 50%; }
.fmap__legend-zone { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.fmap__legend-net { width: 22px !important; height: 3px !important; border-radius: 2px !important; background: #3ddc97; }

.regions button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--text); background: #fff; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.regions button:hover, .regions button.is-active { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.regions button i { width: 10px; height: 10px; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  .fmap__zone, .fmap__hub, .fmap__tag, .fmap__label, .fmap__spark { opacity: 1; }
  .fmap__link { stroke-dashoffset: 0; }
}

/* ---------- FAQ dirigeants ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head h2 { margin: 14px 0 18px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow-lg); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); transition: background .25s, transform .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease), background .25s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--blue); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } }

.footer-addr { font-size: .88rem; line-height: 1.55; color: #7f93b2; }

/* =========================================================
   Page Optimisation énergétique
   ========================================================= */
.oe-ctx .ico { background: linear-gradient(135deg, #ff7a45, #f5b700); box-shadow: 0 10px 24px rgba(255, 122, 69, .3); }

/* Hier -> demain */
.oe-swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.oe-swap__k { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; color: var(--muted); }
.oe-swap__col--new .oe-swap__k { color: var(--blue); }
.oe-swap ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.oe-swap li { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-weight: 650; font-size: .95rem; }
.oe-swap li svg { width: 18px; height: 18px; flex: none; }
.oe-swap__col--old li { background: #f6f1ee; color: #8a6a5c; }
.oe-swap__col--old li::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: #c0533a; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) calc(.6s + var(--i) * .25s); }
.oe-swap.is-in .oe-swap__col--old li::after { transform: scaleX(1); }
.oe-swap.is-in .oe-swap__col--old li { opacity: .55; transition: opacity .6s calc(.9s + var(--i) * .25s); }
.oe-swap__col--new li { background: var(--blue-50); color: var(--ink); opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease) calc(1.6s + var(--i) * .2s), transform .6s var(--ease) calc(1.6s + var(--i) * .2s); }
.oe-swap__col--new li svg { color: var(--blue); }
.oe-swap.is-in .oe-swap__col--new li { opacity: 1; transform: none; }
.oe-swap__arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--mint)); color: #fff; animation: oe-nudge 1.8s ease-in-out infinite; }
.oe-swap__arrow svg { width: 20px; height: 20px; }
@keyframes oe-nudge { 50% { transform: translateX(4px); } }
@media (max-width: 560px) { .oe-swap { grid-template-columns: 1fr; } .oe-swap__arrow { transform: rotate(90deg); margin: 0 auto; animation: none; } }

/* Hiver / été */
.season { margin: 0; }
.season__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 14px; }
.season__tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 0; background: none; font: inherit; font-weight: 650; font-size: .92rem; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.season__tabs button svg { width: 16px; height: 16px; }
.season__tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.season__svg { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: var(--shadow-lg); }
.season__sky { transition: fill 1s var(--ease); }
.season[data-season="hiver"] .season__sky { fill: #1a2c4a; }
.season[data-season="ete"] .season__sky { fill: #12355f; }
.season__winter, .season__summer { transition: opacity .8s var(--ease); }
.season[data-season="ete"] .season__winter, .season[data-season="hiver"] .season__summer { opacity: 0; }
.season__snow circle { animation: oe-snow 4s linear infinite; }
.season__snow circle:nth-child(3n) { animation-duration: 5.5s; animation-delay: -2s; }
.season__snow circle:nth-child(3n+1) { animation-duration: 4.8s; animation-delay: -1s; }
@keyframes oe-snow { from { transform: translateY(-20px); opacity: 0; } 15% { opacity: .9; } to { transform: translateY(140px); opacity: 0; } }
.season__rays { transform-box: fill-box; transform-origin: center; animation: eco-spin 20s linear infinite; }
.season__air { transition: stroke .8s; }
.season[data-season="hiver"] .season__air { stroke: #ff7a45; }
.season[data-season="ete"] .season__air { stroke: #5fb4ff; }
.season__air path { animation: eco-fall 2.4s ease-in-out infinite; }
.season__air path:nth-child(2) { animation-delay: .4s; }
.season__air path:nth-child(3) { animation-delay: .8s; }
.season__pipe { stroke-dasharray: 3 11; animation: eco-flow 1.4s linear infinite; transition: stroke .8s; }
.season[data-season="hiver"] .season__pipe { stroke: #ff7a45; }
.season[data-season="ete"] .season__pipe { stroke: #5fb4ff; animation-direction: reverse; }
.season__floor { stroke: #ff7a45; stroke-dasharray: 4 6; animation: eco-flow 1.6s linear infinite; transition: opacity .8s; }
.season[data-season="ete"] .season__floor { opacity: 0; }
.season__level { transform-box: fill-box; transform-origin: bottom; fill: #3ddc97; transform: scaleY(.6); }
.season__bulb { fill: #3ddc97; }
.season__label { font: 600 14px "Jakarta", system-ui, sans-serif; fill: #9fb0cb; }
.season__cap { margin-top: 14px; color: var(--muted); font-size: .98rem; min-height: 3em; }

/* Usages alimentés par le solaire */
.oe-uses { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 6px; }
.oe-uses span { padding: 8px 14px; border-radius: 999px; font-weight: 650; font-size: .88rem; color: #c9d4e6; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); animation: oe-power 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * .45s); }
.oe-uses .oe-uses__src { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); background: #ffd54a; border-color: #ffd54a; animation: none; }
.oe-uses__src svg { width: 16px; height: 16px; }
@keyframes oe-power { 0%, 60%, 100% { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #c9d4e6; box-shadow: none; } 15%, 40% { background: rgba(245, 183, 0, .16); border-color: #f5b700; color: #fff; box-shadow: 0 0 18px rgba(245, 183, 0, .35); } }

/* Graphique jour / nuit */
.dn { max-width: 1000px; margin: 0 auto; }
.dn__svg { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: 0 30px 80px rgba(10, 22, 40, .25); }
.dn__sky { animation: oe-sky 14s linear infinite; }
@keyframes oe-sky { 0%, 25% { fill: #0b1730; } 33%, 78% { fill: #133863; } 86%, 100% { fill: #0b1730; } }
.dn__hours text { font: 600 13px "Jakarta", system-ui, sans-serif; fill: #6f86ab; text-anchor: middle; }
.dn__line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.dn__line--prod { stroke: #f5b700; }
.dn__line--cons { stroke: #5fb4ff; }
.dn__surplus { fill: #3ddc97; opacity: .35; animation: oe-glow 3s ease-in-out infinite; }
.dn__rest { fill: #5fb4ff; opacity: .28; animation: oe-glow 3s ease-in-out infinite 1.5s; }
@keyframes oe-glow { 50% { opacity: .55; } }
.dn__tag { font: 700 14px "Jakarta", system-ui, sans-serif; }
.dn__tag--mint { fill: #3ddc97; }
.dn__tag--sky { fill: #8cc8ff; }
.dn__cursor { animation: oe-cursor 14s linear infinite; }
@keyframes oe-cursor { from { transform: translateX(0); } to { transform: translateX(700px); } }
.dn__sun { animation: oe-sun 14s linear infinite; }
.dn__moon { animation: oe-moon 14s linear infinite; }
@keyframes oe-sun { 0%, 27% { opacity: 0; } 31%, 81% { opacity: 1; } 85%, 100% { opacity: 0; } }
@keyframes oe-moon { 0%, 27% { opacity: 1; } 31%, 81% { opacity: 0; } 85%, 100% { opacity: 1; } }
.dn__charge { transform-box: fill-box; transform-origin: bottom; animation: oe-batt 14s linear infinite; }
@keyframes oe-batt { 0%, 38.5% { transform: scaleY(.12); } 72.9% { transform: scaleY(1); } 95.8%, 100% { transform: scaleY(.15); } }
.dn__legend { color: var(--muted); }
.dn__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* Pilotage : hub */
.hub { margin: 0; }
.hub__svg { width: 100%; height: auto; display: block; overflow: visible; }
.hub__spokes path { fill: none; stroke: #3ddc97; stroke-width: 2; stroke-dasharray: 1 8; stroke-linecap: round; animation: eco-flow .9s linear infinite reverse; opacity: .8; }
.hub__orbit { transform-box: fill-box; transform-origin: center; animation: eco-spin 30s linear infinite; }
.hub__glow { transform-box: fill-box; transform-origin: center; animation: eco-pulse 2.6s ease-out infinite; }
.hub__center { font: 800 14px "Jakarta", system-ui, sans-serif; fill: #3ddc97; letter-spacing: .04em; }
.hub__node circle { fill: #0f2447; stroke: #5fb4ff; stroke-width: 2; animation: oe-node 6s ease-in-out infinite; animation-delay: calc(var(--i) * 1s); }
.hub__node svg { fill: none; stroke: #dfe8f5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.hub__node text { font: 700 15px "Jakarta", system-ui, sans-serif; fill: #dfe8f5; }
@keyframes oe-node { 0%, 20%, 100% { fill: #0f2447; stroke: #5fb4ff; } 6%, 12% { fill: #14533f; stroke: #3ddc97; } }

/* Parcours en 6 étapes */
.route { --p: 0; position: relative; list-style: none; padding: 0; max-width: 760px; margin: 0 auto; display: grid; gap: 22px; }
.route::before, .route::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 3px; border-radius: 3px; background: var(--line); }
.route::after { background: linear-gradient(var(--blue), var(--mint)); transform: scaleY(var(--p)); transform-origin: top; }
.route__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.route__dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--blue); transition: background .5s, border-color .5s, color .5s, box-shadow .5s; }
.route__dot svg { width: 24px; height: 24px; }
.route__step.is-lit .route__dot { background: linear-gradient(135deg, var(--blue), var(--sky)); border-color: transparent; color: #fff; box-shadow: 0 10px 24px rgba(22, 101, 202, .3); }
.route__step > div { padding: 14px 22px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.route__n { font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--blue); }
.route__step h3 { margin: 4px 0 6px; }
.route__step p { color: var(--muted); font-size: .98rem; }

/* Équation « centrale énergétique » */
.oe-plant { background: radial-gradient(90% 120% at 50% 0%, #13305f 0%, var(--ink) 60%); }
.oe-eq { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; max-width: 980px; margin: 0 auto; }
.oe-eq span { padding: 14px 22px; border-radius: 14px; font-weight: 800; font-size: clamp(1rem, 1.8vw, 1.25rem); letter-spacing: .02em; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * .22s); }
.oe-eq b { color: var(--mint); font-size: 1.4rem; opacity: 0; transition: opacity .5s; transition-delay: calc(var(--i) * .22s + .15s); }
.oe-eq.is-in span, .oe-eq.is-in b { opacity: 1; transform: none; }
.oe-eq.is-in span { animation: oe-chip 6s ease-in-out infinite; animation-delay: calc(1.6s + var(--i) * .4s); }
@keyframes oe-chip { 0%, 30%, 100% { border-color: rgba(255, 255, 255, .16); box-shadow: none; } 10%, 18% { border-color: var(--mint); box-shadow: 0 0 24px rgba(61, 220, 151, .35); } }
.oe-eq__result { text-align: center; max-width: 40ch; margin: 36px auto 0; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 750; line-height: 1.3; letter-spacing: -.02em; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .oe-swap__col--new li, .oe-eq span, .oe-eq b { opacity: 1; transform: none; }
  .route::after { transform: scaleY(1); }
}

/* Ajustements Optimisation énergétique */
.oe-eq { max-width: none; gap: 10px; }
.oe-eq span { padding: 12px 18px; font-size: clamp(.95rem, 1.45vw, 1.1rem); }
@media (max-width: 760px) {
  .dn__hours text { font-size: 24px; }
  .dn__tag { font-size: 24px; }
  .hub__node text { font-size: 22px; }
  .hub__center { font-size: 18px; }
  .season__label { font-size: 19px; }
}

/* Accueil : bloc Optimisation énergétique + 4 métiers */
.home-oe { background: radial-gradient(80% 120% at 85% 50%, #13305f 0%, var(--ink) 65%); }
.home-oe__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-oe .eyebrow { color: var(--mint); }
.home-oe__verbs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.home-oe__verbs li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-weight: 650; font-size: .92rem; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.home-oe__verbs svg { width: 16px; height: 16px; color: var(--mint); }
.dn--home { margin: 0; max-width: none; }
.dn--home .dn__svg { box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .08); }
.dn--home .dn__legend, .dn--home .dn__note { color: #9fb0cb; }
@media (max-width: 960px) { .home-oe__grid { grid-template-columns: 1fr; } }
.metier-list--4 { grid-template-columns: repeat(4, 1fr); }
.metier-list--4 .metier { min-height: 400px; padding: 24px; }
.metier-list--4 .metier h3 { font-size: 1.3rem; }
@media (max-width: 1100px) { .metier-list--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .metier-list--4 { grid-template-columns: 1fr; } }
