/* ============================================================
   HYDREVAL — Design system
   Glassmorphisme clair & aérien · dégradé bleu→magenta · Poppins
   ============================================================ */

:root {
  /* Brand */
  --blue:    #0000FF;
  --magenta: #F915FF;
  --brand-grad: linear-gradient(118deg, var(--blue) 0%, #6A2BFF 48%, var(--magenta) 100%);
  --brand-grad-soft: linear-gradient(118deg, #2A3BFF 0%, #8A3BFF 50%, #F915FF 100%);

  /* Ink (indigo-tinted near-black for institutional calm) */
  --ink:        #0c1230;
  --ink-soft:   #34406b;
  --ink-faint:  #6a749c;
  --line:       rgba(12,18,48,0.10);

  /* Luminous backdrop */
  --bg:        #eef1ff;
  --bg-2:      #f7f5ff;

  /* Glass — controlled live by the Tweaks panel */
  --glass-bg:     0.55;   /* white alpha            */
  --glass-blur:   12px;   /* backdrop blur          */
  --glass-sat:    150%;   /* backdrop saturation    */
  --glass-border: 0.85;   /* white border alpha     */
  --glass-shadow: 0.14;   /* drop shadow strength   */
  --glass-tint:   0.00;   /* brand tint mixed in    */

  --radius:   22px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---------- Lava-lamp animated backdrop ---------- */
.aurora {
  --aurora-speed: 1;          /* tweakable multiplier (smaller = faster) */
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
/* faint ambient wash so the glass always has some colour behind it */
.aurora::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 40% at 22% 24%, rgba(0,0,255,0.10),   transparent 70%),
    radial-gradient(38% 38% at 82% 78%, rgba(249,21,255,0.08), transparent 70%);
  animation: auroraDrift calc(48s * var(--aurora-speed)) ease-in-out infinite alternate;
}
/* the rising wax bubbles — soft radial gradients (no CSS filter: cheap to paint
   AND cheap for backdrop-filter glass to sample through), transform-only motion */
.aurora .blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  transform-origin: 50% 50%;
}
.aurora .blob.b1 { left: 6%;  width: 52vmin; height: 52vmin; background: radial-gradient(circle at 50% 50%, rgba(0,0,255,.30),   transparent 66%); animation: lavaA calc(30s * var(--aurora-speed)) ease-in-out infinite; }
.aurora .blob.b2 { left: 66%; width: 60vmin; height: 60vmin; background: radial-gradient(circle at 50% 50%, rgba(249,21,255,.26), transparent 66%); animation: lavaB calc(38s * var(--aurora-speed)) ease-in-out infinite; animation-delay: -6s; }
.aurora .blob.b3 { left: 36%; width: 68vmin; height: 68vmin; background: radial-gradient(circle at 50% 50%, rgba(106,43,255,.26), transparent 66%); animation: lavaC calc(46s * var(--aurora-speed)) ease-in-out infinite; animation-delay: -12s; }
.aurora .blob.b4 { left: 18%; width: 44vmin; height: 44vmin; background: radial-gradient(circle at 50% 50%, rgba(0,80,255,.22),  transparent 66%); animation: lavaB calc(26s * var(--aurora-speed)) ease-in-out infinite; animation-delay: -4s; }
.aurora .blob.b5, .aurora .blob.b6 { display: none; }

/* slow vertical rise/fall with a squash at the turning points */
@keyframes lavaA {
  0%, 100% { transform: translateY(78vh)  scaleX(1.08) scaleY(.92); }
  8%       { transform: translateY(64vh)  scaleX(.94)  scaleY(1.1); }
  50%      { transform: translateY(-22vh) scaleX(1.06) scaleY(.95); }
  58%      { transform: translateY(-8vh)  scaleX(.96)  scaleY(1.08); }
}
@keyframes lavaB {
  0%, 100% { transform: translateY(-20vh) scaleX(1.05) scaleY(.95); }
  10%      { transform: translateY(-4vh)  scaleX(.95)  scaleY(1.09); }
  52%      { transform: translateY(80vh)  scaleX(1.08) scaleY(.9); }
  60%      { transform: translateY(66vh)  scaleX(.94)  scaleY(1.1); }
}
@keyframes lavaC {
  0%, 100% { transform: translateY(70vh)  scaleX(1.04) scaleY(.96); }
  50%      { transform: translateY(-26vh) scaleX(1.07) scaleY(.94); }
}
/* organic edge morphing so the bubbles read as soft wax, not circles */
@keyframes wobbleA {
  0%, 100% { border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%; }
  33%      { border-radius: 60% 40% 42% 58% / 58% 56% 44% 42%; }
  66%      { border-radius: 38% 62% 56% 44% / 50% 60% 40% 50%; }
}
@keyframes wobbleB {
  0%, 100% { border-radius: 55% 45% 38% 62% / 52% 44% 56% 48%; }
  33%      { border-radius: 40% 60% 58% 42% / 44% 58% 42% 56%; }
  66%      { border-radius: 62% 38% 45% 55% / 60% 48% 52% 40%; }
}
@keyframes auroraDrift {
  0%   { transform: translate3d(-4%, -3%, 0) scale(1.05); }
  100% { transform: translate3d(4%, 4%, 0)   scale(1.12); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNDAnIGhlaWdodD0nMTQwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44JyBudW1PY3RhdmVzPScyJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
}
/* While the user is actively scrolling, freeze every continuous decorative
   animation. Their per-frame paint/composite work (especially the aurora and the
   SVG flow dashes) is what makes scrolling stutter — pausing it for the duration
   of the scroll gesture keeps the framerate smooth, then motion resumes when idle. */
html.scrolling .aurora .blob,
html.scrolling .aurora::before,
html.scrolling .float-a,
html.scrolling .float-b,
html.scrolling .flip-hint .fh-spin,
html.scrolling .sankey .s-flow,
html.scrolling .cplan .pl-flow,
html.scrolling .svc-card .svc-ico,
html.scrolling .sd-hint .sd-spin,
html.scrolling .rings .r1,
html.scrolling .rings .r2 { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .aurora::before, .aurora .blob { animation: none; }
}

/* ---------- Glass primitive ---------- */
.glass {
  background:
    linear-gradient(180deg,
      rgba(255,255,255, calc(var(--glass-bg) + .08)),
      rgba(255,255,255, var(--glass-bg)));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid rgba(255,255,255, var(--glass-border));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.65) inset,
    0 18px 50px -20px rgba(12,18,48, var(--glass-shadow)),
    0 2px 8px -4px rgba(12,18,48, calc(var(--glass-shadow) * .6));
  border-radius: var(--radius);
}
.glass-tinted {
  background:
    linear-gradient(135deg,
      rgba(0,0,255, calc(var(--glass-tint) + .04)),
      rgba(249,21,255, var(--glass-tint))),
    linear-gradient(180deg,
      rgba(255,255,255, calc(var(--glass-bg) + .06)),
      rgba(255,255,255, var(--glass-bg)));
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }
section { position: relative; }
.section-pad { padding-block: clamp(108px, 13vw, 200px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand-grad);
}
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.18rem, 1.7vw, 1.5rem); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.3rem); color: var(--ink-soft); font-weight: 400; }
p { text-wrap: pretty; }
.grad-text {
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: .98rem; font-weight: 600; cursor: pointer;
  padding: 14px 24px; border-radius: 100px; border: 0; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-primary {
  color: #fff; background: var(--brand-grad);
  box-shadow: 0 10px 26px -10px rgba(70,20,255,.65), 0 2px 6px -2px rgba(249,21,255,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(70,20,255,.7); }
.btn-ghost {
  color: var(--ink); background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.8); }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(var(--maxw), calc(100% - 32px));
  display: flex; align-items: center; gap: 22px;
  padding: 11px 12px 11px 22px;
  border-radius: 100px;
}
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: 9px 13px; border-radius: 100px; transition: .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.55); }
.nav-cta { margin-left: 4px; flex-shrink: 0; }

/* Brand mark */
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo { height: 30px; width: auto; display: block; }
.site-header .brand-logo { height: 50px; }
.site-header .brand { gap: 13px; }
.site-header .drop { width: 33px; height: 33px; }
.site-header .brand-name { font-size: 1.52rem; }
.drop {
  width: 26px; height: 26px; flex: none;
  background: var(--brand-grad);
  border-radius: 50% 50% 50% 6px;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px -3px rgba(70,20,255,.6), inset 0 2px 4px rgba(255,255,255,.5);
}
.brand-name {
  font-weight: 700; font-size: 1.24rem; letter-spacing: -.02em; color: var(--ink);
}
.brand-name b { font-weight: 700; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  padding: 7px 14px; border-radius: 100px;
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.8);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-grad); flex: none; }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(135deg, rgba(12,18,48,.05) 0 12px, rgba(12,18,48,.02) 12px 24px),
    linear-gradient(135deg, rgba(0,0,255,.10), rgba(249,21,255,.10));
  display: grid; place-items: center; min-height: 180px;
}
.ph span {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: .72rem; letter-spacing: .05em; color: var(--ink-faint);
  background: rgba(255,255,255,.7); padding: 5px 11px; border-radius: 100px;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 56px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; font-size: .92rem; display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--ink); }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin: 0 0 12px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-faint); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-legal a { position: relative; }
.footer-legal a + a::before { content: '·'; position: absolute; left: -9px; opacity: .5; }

/* ---------- Reveal: settled base + one-shot slide-up when scrolled into view.
   Resting state = visible and in place (opacity 1, no transform), so any block that
   is never revealed simply shows normally. The slide-up plays once via .in (added by
   IntersectionObserver as the block enters the viewport). ---------- */
@keyframes revealUp { from { transform: translateY(28px); } to { transform: none; } }
.reveal { opacity: 1; transform: none; }
.reveal.in { animation: revealUp .5s var(--ease) both; }
.reveal.in:nth-child(2) { animation-delay: .05s; }
.reveal.in:nth-child(3) { animation-delay: .1s; }
.reveal.in:nth-child(4) { animation-delay: .15s; }
.reveal.in:nth-child(5) { animation-delay: .2s; }

/* ---------- Continuous, freeze-safe decorative motion ---------- */
/* flowing brand gradient on text — calme au repos, le flux s'active au survol */
.grad-text { background-size: 100% auto; }
.grad-text:hover { background-size: 220% auto; animation: gradFlow 1.4s linear infinite; }
@keyframes gradFlow { to { background-position: 220% center; } }

/* logo droplet breathing */
.drop { animation: dropPulse 3.6s var(--ease) infinite; }
@keyframes dropPulse {
  0%, 100% { transform: rotate(45deg) scale(1); box-shadow: 0 4px 12px -3px rgba(70,20,255,.6), inset 0 2px 4px rgba(255,255,255,.5); }
  50%      { transform: rotate(45deg) scale(1.08); box-shadow: 0 8px 20px -4px rgba(249,21,255,.6), inset 0 2px 4px rgba(255,255,255,.6); }
}

/* sheen sweeping across photo placeholders */
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%); animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }

/* primary button light sweep on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* scroll-reading progress bar (element injected by anim.js) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80;
  background: var(--brand-grad); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .1s linear;
}

/* nav condenses on scroll */
.nav { transition: padding .35s var(--ease), box-shadow .35s var(--ease); }
.nav.scrolled { padding-top: 8px; padding-bottom: 8px; }

/* floating hero stat cards gently bob */
.float-a { animation: bob 6.5s ease-in-out infinite; }
.float-b { animation: bob 8s ease-in-out infinite; animation-direction: alternate-reverse; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* card hover glow (applies to interactive glass cards) */
.levier, .feature, .benefit, .method, .accomp, .stat-card {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.levier:hover, .feature:hover, .benefit:hover, .method:hover, .accomp:hover, .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1px 0 rgba(255,255,255,.65) inset, 0 26px 60px -22px rgba(70,20,255,.4), 0 4px 14px -6px rgba(249,21,255,.3);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { transform: none; animation: none; }
  .grad-text, .drop, .ph::before, .float-a, .float-b, .aurora::after { animation: none !important; }
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60;
  max-width: 540px; margin-inline: auto;
  padding: 18px 20px; display: flex; gap: 16px; align-items: center;
  transition: transform .5s var(--ease), opacity .5s;
}
.cookie.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cookie p { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.cookie a { color: var(--ink); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie .btn { padding: 9px 16px; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { padding: 30px 22px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-logo { height: 48px; }
}

/* ---------- Mobile nav (hamburger + glass drawer) ---------- */
.nav-toggle { display: none; }
@media (max-width: 1040px) {
  .site-header .brand-logo { height: 42px; }
  .nav { gap: 10px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 10px; font-size: .88rem; }
}
@media (max-width: 860px) {
  .nav { padding: 10px 10px 10px 20px; }
  .nav-links { display: none; }
  .nav .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    justify-content: center; align-items: center; flex: none; margin-left: auto;
    width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
    border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.5);
    transition: background .2s;
  }
  .nav-toggle span { width: 19px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column;
  padding: 104px 26px 40px;
  background: rgba(238,241,255,.72);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu-inner { display: flex; flex-direction: column; }
.mobile-menu .mlink {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink);
  text-decoration: none; padding: 20px 2px; border-bottom: 1px solid var(--line);
}
.mobile-menu .mlink::after { content: "→"; color: var(--ink-faint); font-weight: 400; transition: transform .25s var(--ease); }
.mobile-menu .mlink:active::after { transform: translateX(4px); }
.mobile-menu .mobile-cta { margin-top: auto; justify-content: center; width: 100%; font-size: 1.05rem; padding: 17px 24px; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .nav-toggle span { transition: none; }
}

/* ============================================================
   SECTOR PAGES (shared)
   ============================================================ */
.subhero { padding-top: clamp(128px, 15vw, 190px); }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.subhero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); margin: 16px 0 20px; }
.sector-tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; color: #fff; background: var(--brand-grad); }
.subhero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.subhero-visual .glass { padding: 14px; }
.subhero-visual .ph { min-height: 360px; }

/* feature trio (réglementation, leviers...) */
.feature-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 30px 28px; }
.feature .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-grad); display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 18px -8px rgba(70,20,255,.55); }
.feature .ico span { display: block; width: 18px; height: 18px; border-radius: 50% 50% 50% 4px; transform: rotate(45deg); background: rgba(255,255,255,.92); }
.feature h3 { margin: 0 0 10px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* quote band (article CSP) */
.quote-band { padding: clamp(30px, 4vw, 48px); display: flex; gap: 22px; align-items: center; }
.quote-band .qmark { font-size: 3.4rem; line-height: 1; font-weight: 700; flex: none; }
.quote-band p { margin: 0; font-size: 1.18rem; font-weight: 500; color: var(--ink); }
.quote-band cite { display: block; margin-top: 8px; font-style: normal; font-size: .86rem; color: var(--ink-faint); }

/* accompaniment list (2-col cards) */
.accomp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.accomp { padding: 28px 26px; display: flex; gap: 18px; align-items: flex-start; }
.accomp .num { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--blue); background: rgba(0,0,255,.08); border: 1px solid rgba(0,0,255,.16); }
.accomp h3 { font-size: 1.08rem; margin: 0 0 6px; }
.accomp p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { padding: 30px 28px; }
.benefit h3 { font-size: 1.1rem; margin: 0 0 10px; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* phases timeline (industriels) */
.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.phase { padding: 30px 22px; position: relative; }
.phase .pnum { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 8px 18px -8px rgba(70,20,255,.6); }
.phase h3 { font-size: 1.1rem; margin: 0 0 8px; }
.phase ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.phase li { position: relative; padding-left: 18px; font-size: .86rem; color: var(--ink-soft); }
.phase li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); }

.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); text-decoration: none; font-size: .9rem; font-weight: 500; }
.back-link:hover { color: var(--ink); }

@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .feature-3, .benefit-grid { grid-template-columns: 1fr; }
  .accomp-grid { grid-template-columns: 1fr; }
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-band { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 560px) {
  .phase-grid { grid-template-columns: 1fr; }
}

/* ---------- Shared section heads, stat bands & CTA (used on every page) ---------- */
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { margin: 14px 0 16px; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat-card { padding: 36px 30px; }
.stat-num { font-size: clamp(2.6rem, 4.5vw, 3.6rem); font-weight: 700; display: block; line-height: 1; margin-bottom: 16px; }
.stat-card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- VigiEau live map card ---------- */
.vigieau-card { padding: clamp(26px, 3vw, 38px); margin-top: 30px; }
.vigieau-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.vigieau-live { margin-bottom: 12px; }
.vigieau-head h3 { margin: 0 0 8px; }
.vigieau-head p { margin: 0; color: var(--ink-soft); font-size: .96rem; max-width: 560px; }
.vigieau-link { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 11px 18px; border-radius: 100px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); transition: .2s; }
.vigieau-link:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }

.vg-search { display: flex; gap: 10px; margin-bottom: 16px; }
.vg-input-wrap { position: relative; flex: 1; min-width: 0; }
.vg-suggest { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(12,18,48,.35); max-height: 260px; overflow-y: auto; }
.vg-suggest li { padding: 10px 14px; border-radius: 10px; font-size: .92rem; color: var(--ink); cursor: pointer; }
.vg-suggest li:hover, .vg-suggest li.active { background: rgba(70,20,255,.08); }
.vg-search input { display: block; width: 100%; box-sizing: border-box; min-width: 0; font: inherit; font-size: clamp(.84rem, 1.6vw, .96rem); color: var(--ink); padding: 14px 18px; border-radius: 100px; border: 1px solid var(--line); background: rgba(255,255,255,.75); outline: none; transition: .2s; text-overflow: ellipsis; }
.vg-search input:focus { border-color: rgba(70,20,255,.4); background: #fff; }
.vg-search button { flex: none; font: inherit; font-weight: 600; font-size: .94rem; color: #fff; padding: 14px 26px; border-radius: 100px; border: 0; background: var(--brand-grad); cursor: pointer; transition: .2s; box-shadow: 0 10px 24px -12px rgba(70,20,255,.6); }
.vg-search button:hover { transform: translateY(-1px); }
.vg-search button:disabled { opacity: .6; cursor: default; transform: none; }

.vg-result { min-height: 30px; margin-bottom: 20px; }
.vg-hint { margin: 0; font-size: .88rem; color: var(--ink-faint); padding: 4px 4px; }
.vg-hint.vg-error { color: #b5442a; }
.vg-hint.vg-error a { color: inherit; text-decoration: underline; }
.vg-card { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); }
.vg-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vg-card-body strong { font-size: .98rem; color: var(--ink); }
.vg-card-body span { font-size: .86rem; color: var(--ink-soft); }
.vg-card-body .vg-card-city { font-size: .86rem; font-weight: 600; color: var(--ink); }
.vg-pdf a { color: var(--ink); text-decoration: underline; font-weight: 500; }

.vg-aquifer { margin-bottom: 20px; }

.vg-nv-card { display: flex; align-items: center; gap: 24px; padding: 20px 22px; border-radius: 16px; background: rgba(70,20,255,.05); border: 1px solid rgba(70,20,255,.12); margin-bottom: 14px; flex-wrap: wrap; }
.vg-nv-gauge { flex: none; width: 92px; height: 92px; border-radius: 50%; padding: 6px;
  background: conic-gradient(var(--nv-gauge-color, #e28a2b) calc(var(--pct) * 1%), rgba(12,18,48,.08) 0); }
.vg-nv-gauge-ring { width: 100%; height: 100%; border-radius: 50%; background: var(--bg-2); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.vg-nv-gauge-ring strong { font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1; }
.vg-nv-gauge-ring span { font-size: .66rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.vg-nv-main { flex: 1; min-width: 220px; }
.vg-nv-main h4 { margin: 0 0 6px; font-size: 1.14rem; font-weight: 700; }
.vg-nv-main p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.vg-nv-trend { display: inline-block; margin-top: 8px; font-size: .84rem; font-weight: 600; color: var(--ink-soft); }

.vg-nv-critique,
.vg-nv-basse,
.vg-nv-moyenne,
.vg-nv-haute,
.vg-nv-tres-haute { color: var(--ink); }
.vg-nv-card:has(.vg-nv-critique)    { --nv-gauge-color: #c0392b; }
.vg-nv-card:has(.vg-nv-basse)       { --nv-gauge-color: #e28a2b; }
.vg-nv-card:has(.vg-nv-moyenne)     { --nv-gauge-color: #6a749c; }
.vg-nv-card:has(.vg-nv-haute)       { --nv-gauge-color: #2b7fe2; }
.vg-nv-card:has(.vg-nv-tres-haute)  { --nv-gauge-color: #1a7a4c; }

.vg-nv-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.vg-nv-tile { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.vg-nv-tile strong { display: block; font-size: 1.2rem; font-weight: 700; color: var(--ink); font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; }
.vg-nv-tile strong sup { font-size: .6em; }
.vg-nv-tile span { font-size: .72rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .03em; }
.vg-nv-meta { margin: 0; font-size: .78rem; color: var(--ink-faint); }
.vg-nv-meta strong { color: var(--ink-soft); font-weight: 600; }

.vg-river { margin-bottom: 20px; }
.vg-coherence { margin-bottom: 20px; padding: 16px 20px; border-radius: 14px; background: rgba(12,18,48,.04); border: 1px dashed var(--line); }
.vg-coherence p { margin: 0; font-size: .84rem; line-height: 1.55; color: var(--ink-soft); }
.vg-coherence strong { color: var(--ink); }.vg-riv-card { display: flex; gap: 16px; padding: 20px 22px; border-radius: 16px; background: rgba(226,138,43,.06); border: 1px solid rgba(226,138,43,.16); }
.vg-riv-body { flex: 1; min-width: 0; }
.vg-riv-body h4 { margin: 0 0 6px; font-size: 1.06rem; font-weight: 700; color: var(--ink); }
.vg-riv-body p { margin: 0 0 12px; font-size: .9rem; color: var(--ink-soft); }
.vg-riv-pct { display: inline-flex; align-items: baseline; gap: 3px; font-size: 2.1rem; font-weight: 700; color: var(--ink); font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; }
.vg-riv-pct span { font-size: 1rem; font-weight: 600; color: var(--ink-faint); }
.vg-riv-pct-label { display: block; font-size: .74rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.vg-riv-bar { height: 8px; border-radius: 100px; background: linear-gradient(90deg, #2b8fa1, #6ab6c2); overflow: hidden; margin-bottom: 12px; }
.vg-riv-bar span { display: block; height: 100%; background: linear-gradient(90deg, #e28a2b, #c0392b); border-radius: 0 100px 100px 0; }

@media (max-width: 720px) {
  .vg-nv-tiles { grid-template-columns: repeat(1, 1fr); }
  .vg-nv-card { flex-direction: column; align-items: flex-start; }
}

.vigieau-legend { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.vg-tag { flex: none; font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: 7px 14px; border-radius: 100px; color: #fff; white-space: nowrap; }
.vg-none { background: #cfae3a; color: #3a2e05; }
.vg-vigilance { background: #f4d35e; color: #3a2e05; }
.vg-alerte { background: #f2994a; }
.vg-renforcee { background: #eb5757; }
.vg-crise { background: #7a1f1f; }
@media (max-width: 640px) {
  .vg-search { flex-direction: column; }
  .vg-search button { width: 100%; }
}

.cta-band { padding: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.cta-copy h2 { margin: 14px 0 26px; }
.cta-contacts { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta-direct { display: flex; gap: 22px; flex-wrap: wrap; }
.cta-direct a { color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.cta-direct a:hover { border-color: var(--magenta); }
.cta-stats { display: flex; flex-direction: column; gap: 22px; }
.cta-stat { display: flex; align-items: baseline; gap: 14px; }
.cta-stat strong { font-size: 2rem; font-weight: 700; flex: none; min-width: 96px; }
.cta-stat span { font-size: .9rem; color: var(--ink-soft); }
.footer-inner { padding: 40px 40px 28px; }

/* ---------- Footer sombre — identique sur toutes les pages (reprend le logo sur fond foncé) ---------- */
.footer-inner {
  background: linear-gradient(180deg, #161d42 0%, #0c1230 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 70px -30px rgba(12,18,48,.6);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.footer-inner .brand-name { color: #fff; }
.footer-inner .footer-grid > div > p { color: rgba(255,255,255,.62) !important; }
.footer-inner h4 { color: rgba(255,255,255,.46); }
.footer-inner .footer-grid a { color: rgba(255,255,255,.7); }
.footer-inner .footer-grid a:hover { color: #fff; }
.footer-inner .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); }
.footer-inner .footer-bottom a { color: rgba(255,255,255,.62); }
.footer-inner .footer-bottom a:hover { color: #fff; }

/* Footer : logo image avec ombre portée (repris du menu) */
.footer-brand { display: inline-flex; margin-bottom: 16px; }
.footer-logo { height: 60px; width: auto; display: block; filter: drop-shadow(0 6px 14px rgba(70,20,255,.55)); }

@media (max-width: 980px) {
  .stat-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; gap: 32px; }
}
