/* ===== MSR Environnement — main stylesheet =============================
   Editorial / refined-institutional redesign.
   Personality carried by Spectral (display serif) + Inter (body), a strict
   editorial grid, hairline rules and a numbered "index" section device.
   ====================================================================== */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
strong { font-weight: 600; }

::selection { background: color-mix(in srgb, var(--green) 22%, transparent); color: var(--navy); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2*var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--grey { background: var(--grey); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- The editorial "index" section device ---------- */
.rubric { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 1rem; margin-bottom: clamp(2rem, 3.4vw, 2.75rem); }
.rubric-no {
  font-family: var(--font-body); font-weight: 600; font-size: var(--step--1);
  font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--green-600);
}
.rubric-label {
  font-family: var(--font-body); font-weight: 600; font-size: var(--step--1);
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}
.rubric-rule { flex: 1; height: 0; border: 0; border-top: 1px solid var(--line-strong); }
.rubric--light .rubric-no { color: var(--solar); }
.rubric--light .rubric-label { color: #cdddf1; }
.rubric--light .rubric-rule { border-top-color: rgba(255,255,255,.22); }

.section-head { max-width: 38ch; margin-bottom: clamp(2.75rem, 5.5vw, 4rem); }
.section-head.is-wide { max-width: 56ch; }
.section-title { font-size: var(--step-3); font-weight: 500; line-height: 1.15; text-wrap: balance; }
.section-title em { font-style: italic; color: var(--blue); }
.section-intro { color: var(--ink-55); margin-top: 1.1rem; font-size: var(--step-1); line-height: 1.55; max-width: 52ch; }

/* Serif accent word helper */
.accent-blue { color: var(--blue); }
.accent-green { color: var(--green-600); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--navy); color: #fff; padding: .7rem 1.1rem; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ======================================================================
   Header / nav
   ====================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.80);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(255,255,255,.93); box-shadow: 0 8px 30px rgba(20,58,107,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 4vw, 3.5rem); min-height: 88px; }
.brand { display: flex; align-items: center; gap: .7rem; transition: opacity .2s var(--ease); }
.brand:hover { opacity: .82; }
.brand img { height: 48px; width: auto; }
.brand .brand-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.2rem; line-height: 1; }
.brand .brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin-top: 4px; }

.nav-list { display: flex; align-items: center; gap: clamp(.25rem, 1vw, .9rem); list-style: none; }
.nav-list > li { position: relative; }
.nav-list a, .nav-list button.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: .34rem;
  padding: .6rem .35rem; color: var(--navy); font-weight: 500; font-size: .95rem;
  background: none; border: 0; cursor: pointer; border-radius: 7px;
  transition: color .2s var(--ease);
}
/* Animated underline indicator — grows from the centre on hover / active */
.nav-list a::after, .nav-list button.nav-link::after {
  content: ""; position: absolute; left: .35rem; right: .35rem; bottom: .28rem;
  height: 2px; border-radius: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: center; opacity: 0;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-list a:hover, .nav-list button.nav-link:hover,
.has-menu[data-open="true"] > .nav-link,
.nav-list a[aria-current="true"] { color: var(--blue); }
.nav-list a:hover::after, .nav-list button.nav-link:hover::after,
.has-menu[data-open="true"] > .nav-link::after,
.nav-list a[aria-current="true"]::after { transform: scaleX(1); opacity: 1; }
.nav-link .chev { transition: transform .25s var(--ease); }
.has-menu[data-open="true"] .chev { transform: rotate(180deg); }

/* Dropdowns */
.submenu {
  position: absolute; top: calc(100% + .55rem); left: 50%; transform: translate(-50%, 6px);
  min-width: 244px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift); padding: .5rem; list-style: none;
  opacity: 0; visibility: hidden; transition: .24s var(--ease);
}
.has-menu[data-open="true"] .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* Small pointer connecting the menu to its trigger */
.submenu::before {
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px;
  margin-left: -6px; background: #fff; border-left: 1px solid var(--line);
  border-top: 1px solid var(--line); transform: rotate(45deg); border-radius: 3px 0 0 0;
}
.submenu a { display: block; padding: .6rem .8rem; border-radius: 8px; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.submenu a::after { display: none; }
.submenu a:hover { background: var(--blue-050); color: var(--blue); }

/* Wide two-column mega menu for the long Départements list */
.submenu--mega {
  display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .4rem;
  min-width: 460px; left: 50%;
}

/* Buttons */
.btn {
  --btn-bg: var(--green); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .8rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: .96rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .22s, background .2s;
  box-shadow: 0 6px 18px rgba(46,158,79,.22);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46,158,79,.28); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.45); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn--navy { --btn-bg: var(--navy); box-shadow: 0 6px 18px rgba(20,58,107,.2); }
.btn--navy:hover { box-shadow: 0 12px 26px rgba(20,58,107,.28); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line-strong); box-shadow: none; }
.btn--outline:hover { background: var(--grey); box-shadow: none; }

/* Text link with arrow */
.textlink { display: inline-flex; align-items: center; gap: .4rem; color: var(--blue); font-weight: 600; font-size: .92rem; }
.textlink svg { transition: transform .25s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle svg { stroke: var(--navy); }

/* ======================================================================
   Hero — editorial, real interior photograph, text over calm left space
   ====================================================================== */
.hero { position: relative; min-height: min(92vh, 840px); display: grid; align-items: center; overflow: hidden; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,32,62,.94) 0%, rgba(14,42,80,.82) 38%, rgba(14,42,80,.30) 66%, rgba(14,42,80,.06) 100%),
    linear-gradient(180deg, rgba(11,32,62,.30), transparent 30%, transparent 70%, rgba(11,32,62,.35));
}
.hero-inner { padding-block: clamp(4rem, 12vh, 8rem); max-width: min(90vw, 620px); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 600; font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: #bcd0ec;
}
.hero-eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--green); }
.hero h1 {
  color: #fff; font-family: var(--font-display); font-weight: 500;
  margin: 1.1rem 0 1.3rem; hyphens: none; overflow-wrap: normal;
  display: flex; flex-direction: column;
}
/* Deliberate two-line wordmark: dominant mark + refined tracked descriptor */
.hero-brand-mark {
  font-size: clamp(3.3rem, 2.4rem + 4vw, 6.2rem);
  line-height: .92; letter-spacing: -0.015em;
}
.hero-brand-word {
  font-size: clamp(1.55rem, 1.1rem + 2vw, 2.85rem);
  line-height: 1; letter-spacing: .04em; color: #dfe8f6; font-weight: 500;
  margin-top: .28rem; padding-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.16); align-self: start;
}
.hero-slogan {
  margin: 0 0 1.4rem; color: var(--green);
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: var(--step-1); letter-spacing: .01em; line-height: 1.3;
}
.hero-lead { color: #c3d2e8; margin: 1.4rem 0 2.2rem; font-size: var(--step-0); line-height: 1.65; letter-spacing: .005em; max-width: 46ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* 3R rendered with the site's editorial system — numbered index device,
   hairline dividers and colored-dot tags, on a quiet glass panel */
.hero-pillars {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2rem, 5vh, 3rem); max-width: 540px;
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; overflow: hidden;
}
.hero-pillar {
  position: relative; padding: 1.05rem 1.15rem 1.15rem; display: grid; gap: .32rem;
  transition: background .3s var(--ease);
}
.hero-pillar + .hero-pillar { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-pillar:hover { background: rgba(255, 255, 255, .06); }
.hp-no {
  font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1;
  letter-spacing: -.02em; color: rgba(255, 255, 255, .32);
  font-variant-numeric: tabular-nums; transition: color .3s var(--ease);
}
.hero-pillar:hover .hp-no { color: rgba(255, 255, 255, .5); }
.hp-label {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: var(--step--1); letter-spacing: .01em; color: #fff;
}
.hp-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.hero-pillar[data-tag="revalorisation"] .hp-label::before { background: #7fb2e8; }
.hero-pillar[data-tag="reemploi"] .hp-label::before { background: #d7e3f3; }
.hp-desc { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #a9bcd8; }

@media (max-width: 560px) {
  .hero-pillars { grid-template-columns: 1fr; max-width: 320px; }
  .hero-pillar { display: flex; align-items: baseline; gap: .7rem; padding: .8rem 1.1rem; }
  .hero-pillar + .hero-pillar { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .hp-no { font-size: 1.15rem; }
  .hp-label { flex: 1; }
  .hero-media img, .hero-media video { object-position: right; }
}
.hero .hero-inner [data-reveal] { transition-duration: .85s; }

.scroll-cue { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: #b9c8de; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; display: grid; justify-items: center; gap: .5rem; }
.scroll-cue .dot { width: 20px; height: 32px; border: 1px solid rgba(255,255,255,.45); border-radius: 12px; position: relative; }
.scroll-cue .dot::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%,100%{opacity:0;transform:translate(-50%,0)} 50%{opacity:1;transform:translate(-50%,8px)} }

/* ======================================================================
   Matières / filières — icon-led editorial grid of waste families
   ====================================================================== */
.matieres .rubric { grid-template-columns: auto 1fr auto; }
.rubric-aside { font-size: var(--step--1); font-weight: 500; letter-spacing: .04em; color: var(--ink-40); white-space: nowrap; }

/* ======================================================================
   Carousel primitives — shared by Matières & Départements (mobile + desktop)
   ====================================================================== */
/* Section head becomes a two-part row: copy on the left, arrows on the right */
.crsl-head { display: grid; gap: 1.5rem; align-items: end; grid-template-columns: 1fr; }
.crsl-head-copy { max-width: 60ch; }
@media (min-width: 720px) {
  .crsl-head { grid-template-columns: 1fr auto; }
}

/* Arrow controls — hidden on touch-first small screens, dots carry there */
.crsl-nav { display: none; gap: .6rem; padding-bottom: .3rem; }
@media (min-width: 720px) { .crsl-nav { display: inline-flex; } }
.crsl-arrow {
  inline-size: 46px; block-size: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-strong); background: #fff;
  color: var(--navy); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.crsl-arrow svg { width: 20px; height: 20px; }
.crsl-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.crsl-arrow:active { transform: scale(.94); }
.crsl-arrow:disabled { opacity: .35; cursor: default; background: #fff; color: var(--navy); border-color: var(--line); }

/* ---- Carousel viewport + scroll-snap track (works mobile + desktop) ---- */
.crsl {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  /* bleed to the viewport edge so cards can peek at the container border */
  margin-inline: calc(var(--gutter, 24px) * -1);
  padding-inline: var(--gutter, 24px);
}
.crsl-track {
  list-style: none; display: flex; gap: clamp(1rem, 1.8vw, 1.4rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter, 24px);
  padding-block: .5rem 1.25rem; margin: 0;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.crsl-track::-webkit-scrollbar { display: none; }

/* ---- Pagination dots ---- */
.crsl-dots { display: flex; justify-content: center; gap: .55rem; margin-top: .4rem; }
.crsl-dot {
  inline-size: 8px; block-size: 8px; padding: 0; border: none; border-radius: 999px;
  background: var(--line-strong); cursor: pointer;
  transition: inline-size .3s var(--ease), background .3s var(--ease);
}
.crsl-dot[aria-selected="true"] { inline-size: 26px; background: var(--green); }

/* ======================================================================
   Matières / filières — icon-led cards
   ====================================================================== */
.mat-card {
  position: relative; overflow: hidden; scroll-snap-align: start;
  flex: 0 0 auto;
  inline-size: clamp(268px, 78vw, 320px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.6rem, 2.4vw, 2rem);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
@media (min-width: 720px) { .mat-card { inline-size: 322px; } }
/* soft gradient wash that fades in on hover — quieter than a hard accent bar */
.mat-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 90% at 100% 0%, var(--green-050) 0%, transparent 55%);
  transition: opacity .35s var(--ease);
}
.mat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.mat-card:hover::after { opacity: 1; }
.mat-card > * { position: relative; z-index: 1; }

.mat-card-top {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin-bottom: 1.4rem;
}
.mat-no {
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--line); font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  transition: color .3s var(--ease);
}
.mat-card:hover .mat-no { color: var(--green-050); }

.mat-icon {
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 50%; color: var(--navy);
  background: #fff; border: 1.5px solid var(--line-strong);
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.mat-icon svg { width: 26px; height: 26px; }
.mat-card:hover .mat-icon { background: var(--navy); color: #fff; border-color: var(--navy); }

.mat-name { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--navy); margin: 0 0 .45rem; }
.mat-desc { font-size: .92rem; line-height: 1.55; color: var(--ink-55); margin: 0 0 1.4rem; }

.mat-tag {
  margin-top: auto; font-size: var(--step--2); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .8rem; border-radius: 999px;
  background: var(--paper, #F5F7FA); border: 1px solid var(--line);
}
.mat-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mat-tag[data-tag="recyclage"]::before   { background: var(--green); }
.mat-tag[data-tag="revalorisation"]::before { background: var(--blue, #2E6BB5); }
.mat-tag[data-tag="reemploi"]::before     { background: var(--navy); }

@media (max-width: 560px) {
  .matieres .rubric { grid-template-columns: auto 1fr; }
  .rubric-aside { display: none; }
}

/* ======================================================================
   À Propos — editorial two-column with serif lead + measured prose
   ====================================================================== */
.apropos-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 940px) { .apropos-grid { grid-template-columns: 0.82fr 1.18fr; } }

.apropos-aside { position: sticky; top: 108px; display: grid; gap: 1.75rem; }
.figurehead { border-top: 2px solid var(--navy); padding-top: 1.4rem; }
.figurehead .fig-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 8vw, 5.2rem); line-height: .9; color: var(--navy); letter-spacing: -0.03em; }
.figurehead .fig-num .plus { color: var(--green); }
.figurehead .fig-label { margin-top: .4rem; font-size: var(--step-1); color: var(--ink); font-family: var(--font-display); font-style: italic; }
.figurehead .fig-sub { margin-top: .9rem; color: var(--ink-55); font-size: .95rem; max-width: 30ch; }
.leader-card { border-left: 2px solid var(--green); padding: .2rem 0 .2rem 1.2rem; }
.leader-card .role { font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.leader-card .name { font-family: var(--font-display); font-size: var(--step-2); color: var(--navy); margin-top: .2rem; }

.apropos-body { max-width: var(--measure); }
.apropos-body .lead { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; color: var(--navy); font-weight: 400; margin-bottom: 1.4rem; }
.apropos-body .lead strong { font-weight: 600; }
.apropos-body p { margin-bottom: 1.1rem; color: var(--ink-70); }
.apropos-body strong { color: var(--navy); }
.apropos-body h3 { color: var(--navy); font-size: var(--step-1); font-weight: 600; margin: 2rem 0 .6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.apropos-body ol { margin: 1.1rem 0; list-style: none; counter-reset: aim; display: grid; gap: .85rem; }
.apropos-body ol li { position: relative; padding-left: 2.4rem; counter-increment: aim; color: var(--ink-70); }
.apropos-body ol li::before { content: counter(aim,decimal-leading-zero); position: absolute; left: 0; top: .05em; font-family: var(--font-display); font-weight: 700; color: var(--green); font-size: 1.1rem; }

/* ======================================================================
   Services — numbered editorial cards (01–04 is a real sequence: study →
   sell/install → maintain → reuse)
   ====================================================================== */
.svc-grid { display: grid; gap: clamp(1.1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.svc-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--grey); }
.svc-card .thumb img, .svc-card .thumb .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .thumb img, .svc-card:hover .thumb .ph { transform: scale(1.05); }
.svc-card .body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.svc-card .svc-no { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--green-600); letter-spacing: .02em; }
.svc-card h3 { font-size: var(--step-1); font-weight: 600; }
.svc-card p { color: var(--ink-55); font-size: .95rem; }
.svc-card .accent-rule { position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc-card:hover .accent-rule { transform: scaleX(1); }

/* ======================================================================
   Nos Partenaires — logo grid on hairline cards
   ====================================================================== */
#partenaires { padding-bottom: 0; }
.partners-grid {
  list-style: none; display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.partner-card {
  display: grid; place-items: center; padding: clamp(1.4rem, 3vw, 2.2rem);
  min-height: 150px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.partner-card img {
  max-width: 100%; max-height: 88px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .7;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .5s var(--ease);
}
.partner-card:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }

/* ======================================================================
   Départements — 7 bespoke SVG illustrations on hairline cards
   ====================================================================== */
/* Layout comes from .crsl-track; .dept-grid only tunes the gap here. */
.dept-grid { gap: clamp(1rem, 1.8vw, 1.4rem); }
.dept-card {
  display: flex; flex-direction: column; scroll-snap-align: start;
  flex: 0 0 auto; inline-size: clamp(272px, 82vw, 340px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.7rem, 2.4vw, 2rem); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
@media (min-width: 720px) { .dept-card { inline-size: 340px; } }
/* soft gradient wash on hover — same quiet accent as the matières cards */
.dept-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 90% at 100% 0%, var(--green-050) 0%, transparent 55%);
  transition: opacity .4s var(--ease);
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.dept-card:hover::after { opacity: 1; }
.dept-card > * { position: relative; z-index: 1; }

.dept-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.dept-illus {
  width: 72px; height: 72px; padding: 11px; border-radius: 18px;
  background: linear-gradient(150deg, var(--paper), #fff);
  border: 1px solid var(--line-strong);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.dept-card:hover .dept-illus { transform: translateY(-2px) scale(1.03); border-color: rgba(46,158,79,.45); box-shadow: 0 10px 24px rgba(20,58,107,.10); }
.dept-illus svg { width: 100%; height: 100%; }
.dept-no {
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--line); font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  transition: color .35s var(--ease);
}
.dept-card:hover .dept-no { color: var(--green-050); }
.dept-card h3 { font-size: var(--step-1); font-weight: 600; color: var(--navy); line-height: 1.25; }
.dept-card p { color: var(--ink-55); font-size: .93rem; margin-top: .6rem; line-height: 1.55; }
.dept-card .textlink { margin-top: auto; padding-top: 1.4rem; }

/* ======================================================================
   Occasions
   ====================================================================== */
.occ-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.occ-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.occ-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--grey); }
.occ-card .thumb .ph, .occ-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.occ-card:hover .thumb img { transform: scale(1.05); }
.occ-card:hover .thumb .ph { transform: scale(1.05); }
.occ-tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 1;
  background: rgba(255,255,255,.94); color: var(--green-600); font-size: .72rem; font-weight: 600;
  padding: .32rem .7rem; border-radius: 999px; letter-spacing: .02em; border: 1px solid var(--green-050);
}
.occ-card .body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.occ-card h3 { font-size: var(--step-1); font-weight: 600; }
.occ-card p { color: var(--ink-55); font-size: .95rem; }
.occ-note { margin-top: 2.2rem; color: var(--ink-55); font-size: var(--step-0); }
.occ-note a { color: var(--blue); font-weight: 600; }

/* ======================================================================
   SoliZé — dedicated solar sub-brand world (dark)
   ====================================================================== */
.solize { background: var(--navy-900); color: #e6eefb; padding-block: clamp(4rem, 8vw, 7.5rem); position: relative; overflow: hidden; isolation: isolate; }
.solize-aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 660px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(440px 440px at 82% 10%, rgba(244,183,64,.20), transparent 60%),
    radial-gradient(560px 560px at 10% 84%, rgba(46,107,181,.32), transparent 62%);
  animation: solizeDrift 24s var(--ease) infinite alternate;
}
@keyframes solizeDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(0,-26px,0) scale(1.06); } }
.solize .container { position: relative; }

/* --- Header: brand lockup (left) + status badge (right) --- */
.solize-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem; padding-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.solize-logo { display: inline-flex; align-items: center; gap: .85rem; padding: .2rem; border-radius: 14px; transition: transform .3s var(--ease); }
.solize-logo:hover { transform: translateY(-2px); }
.solize-sun { width: clamp(42px, 5.5vw, 54px); height: clamp(42px, 5.5vw, 54px); display: block; flex: 0 0 auto; filter: drop-shadow(0 6px 18px rgba(244,183,64,.42)); }
.solize-sun svg { width: 100%; height: 100%; animation: sunSpin 44s linear infinite; }
@keyframes sunSpin { to { transform: rotate(360deg); } }
.solize-lockup { display: flex; flex-direction: column; gap: .28rem; }
.solize-wordmark { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1; color: #fff; }
.solize-wordmark .sz { background: linear-gradient(120deg, #FFD672 0%, #F4B740 60%, #FFA62E 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.solize-by { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #93aed0; }

/* --- Section hero: intro (left) + video (right) --- */
.solize-hero { display: grid; gap: clamp(2rem, 4vw, 3.2rem); align-items: center; }
@media (min-width: 900px) { .solize-hero { grid-template-columns: 1fr 1.05fr; } }
.solize-intro .rubric { margin-bottom: 1.4rem; }
.solize-intro h2 { color: #fff; font-size: var(--step-3); font-weight: 500; max-width: 16ch; }
.solize-intro h2 em { font-style: italic; color: var(--solar); }
.solize-lead { color: #c4d4ea; margin-top: 1.2rem; max-width: 48ch; line-height: 1.65; }
.solize-lead strong { color: #fff; }

/* Plyr player frame */
.solize-media { position: relative; }
.solize-media::before {
  content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: calc(var(--radius-lg) + 12px);
  background: radial-gradient(60% 80% at 50% 0%, rgba(244,183,64,.22), transparent 70%);
  filter: blur(6px);
}
.solize-player {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,0,0,.42);
}

/* --- Comment ça marche : 3-step flow --- */
.solize-how { margin-top: clamp(3rem, 6vw, 5rem); }
.solize-how-title {
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--solar); text-align: center; margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.solize-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; position: relative; }
@media (min-width: 720px) {
  .solize-steps { grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
  /* connecting line behind the icons */
  .solize-steps::before {
    content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 2px; z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(244,183,64,.5) 20%, rgba(244,183,64,.5) 80%, transparent);
  }
}
.solize-step { position: relative; z-index: 1; display: flex; gap: 1rem; align-items: flex-start; }
@media (min-width: 720px) { .solize-step { flex-direction: column; text-align: center; align-items: center; } }
.step-ico {
  flex: 0 0 auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px;
  background: var(--navy-900); border: 1px solid rgba(244,183,64,.3);
  box-shadow: 0 8px 26px rgba(0,0,0,.4), inset 0 0 0 4px rgba(244,183,64,.05);
}
.step-ico svg { width: 40px; height: 40px; }
.step-no { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--solar); }
.step-txt { display: flex; flex-direction: column; gap: .35rem; }
.solize-step b { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.step-desc { color: #aec2dc; font-size: .9rem; line-height: 1.5; max-width: 30ch; }

/* --- Spotlight: seamless auto-switching (the innovation) --- */
.solize-spot {
  position: relative; overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; gap: clamp(2rem, 4vw, 3.2rem); align-items: center;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244,183,64,.30);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(244,183,64,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
@media (min-width: 880px) { .solize-spot { grid-template-columns: 1.1fr .9fr; } }
.solize-spot-glow {
  position: absolute; z-index: 0; right: -12%; top: -40%;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,183,64,.22), transparent 66%);
  filter: blur(12px); pointer-events: none;
}
.solize-spot-copy { position: relative; z-index: 1; }
.solize-spot-title {
  font-family: var(--font-display); color: #fff; font-weight: 600;
  font-size: var(--step-3); line-height: 1.12; margin: 1rem 0 .7rem;
}
.solize-spot-title em { font-style: italic; color: var(--solar); }
.solize-spot-lead { color: #c4d4ea; font-size: 1rem; line-height: 1.6; max-width: 44ch; }
.solize-spot-lead strong { color: #fff; font-weight: 600; }
.solize-spot-stat {
  display: flex; align-items: baseline; gap: .6rem; margin-top: 1.4rem;
  color: #aec2dc; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
}
.solize-spot-figure {
  font-family: var(--font-display); font-weight: 700; color: var(--solar);
  font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.01em;
  text-transform: none;
}
.solize-spot-unit { font-size: .42em; font-weight: 600; margin-left: .1em; }

/* Energy-flow visual + live "always on" overlay */
.solize-spot-fig {
  position: relative; z-index: 1; margin: 0; justify-self: center;
  width: 100%; max-width: 520px;
}
.solize-spot-img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid rgba(244,183,64,.22);
}
.solize-spot-live {
  position: absolute; left: .9rem; bottom: .9rem;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem .8rem; border-radius: 999px;
  background: rgba(10,20,34,.62); border: 1px solid rgba(244,183,64,.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .78rem; color: #dbe7f5;
}
.solize-spot-live b { color: #fff; font-weight: 600; }
.solize-spot-live-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: var(--solar); box-shadow: 0 0 0 0 rgba(244,183,64,.6);
  animation: badgePulse 2.2s var(--ease) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .solize-spot-live-dot { animation: none; box-shadow: 0 0 0 3px rgba(244,183,64,.25); }
}

/* --- Supporting benefits strip --- */
.solize-feats { list-style: none; margin-top: clamp(3rem, 6vw, 5rem); padding: 0; display: grid; gap: 1.2rem; }
@media (min-width: 560px) { .solize-feats { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; } }
@media (min-width: 940px) { .solize-feats { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }
.solize-feats li {
  display: flex; gap: .95rem; align-items: flex-start; padding: 1.3rem 1.2rem;
  border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.solize-feats li:hover { transform: translateY(-4px); background: rgba(244,183,64,.06); border-color: rgba(244,183,64,.28); }
.solize-feats .feat-ico { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(244,183,64,.13); border: 1px solid rgba(244,183,64,.24); color: var(--solar); }
.solize-feats .feat-ico svg { width: 24px; height: 24px; }
.solize-feats b { display: block; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-bottom: .2rem; }
.solize-feats li span { color: #aec2dc; font-size: .88rem; line-height: 1.45; }

/* --- CTA --- */
.solize-actions { margin-top: clamp(2.6rem, 5vw, 3.6rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.solize-cta-note { color: #c4d4ea; font-family: var(--font-display); font-style: italic; font-size: var(--step-1); }
.solize-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 600; color: var(--solar); border: 1px solid rgba(244,183,64,.42); padding: .45rem .85rem; border-radius: 999px; }
.solize-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--solar); box-shadow: 0 0 0 0 rgba(244,183,64,.6); animation: badgePulse 2.4s var(--ease) infinite; }
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(244,183,64,.5); } 50% { box-shadow: 0 0 0 6px rgba(244,183,64,0); } }
.btn--solar { --btn-bg: var(--solar); --btn-fg: #3a2a00; box-shadow: 0 8px 24px rgba(244,183,64,.30); }
.btn--solar:hover { background: #ffca55; box-shadow: 0 12px 30px rgba(244,183,64,.38); }
/* Theme Plyr to the solar accent, only inside SoliZé */
.solize-media .plyr { --plyr-color-main: #F4B740; --plyr-video-control-color: #fff; border-radius: var(--radius-lg); }
.solize-media .plyr__control--overlaid { background: rgba(244,183,64,.92); color: #2a1d00; }
.solize-media .plyr__control--overlaid:hover { background: #ffca55; }

/* "SoliZé" nav highlight */
.nav-list a.nav-new {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700;
  background: linear-gradient(100deg, var(--green) 0%, var(--solar) 42%, var(--green) 84%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: navSolizeShift 5s linear infinite;
  transition: transform .2s var(--ease);
}
.nav-list a.nav-new:hover {
  background: none; -webkit-text-fill-color: var(--green); color: var(--green);
  transform: translateY(-1px);
}
.nav-new .new-dot {
  width: 7px; height: 7px; background: var(--solar);
  box-shadow: 0 0 0 0 rgba(244,183,64,.7);
  animation: navSolizeDot 2.4s var(--ease) infinite;
}
@keyframes navSolizeShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
@keyframes navSolizeDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,183,64,.6); }
  50% { box-shadow: 0 0 0 5px rgba(244,183,64,0); }
}
.new-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--solar); display: inline-block; box-shadow: 0 0 0 0 rgba(244,183,64,.6); animation: badgePulse 2.4s var(--ease) infinite; }
@media (prefers-reduced-motion: reduce) {
  .nav-list a.nav-new { animation: none; }
  .nav-new .new-dot { animation: none; }
}

/* ======================================================================
   Contact
   ====================================================================== */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-intro .section-title { font-size: var(--step-3); }
.contact-intro p { color: var(--ink-55); margin-top: 1.1rem; max-width: 44ch; }
.contact-points { list-style: none; margin-top: 2.2rem; display: grid; gap: 1.2rem; }
.contact-points li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-points .ico { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; background: var(--blue-050); border: 1px solid var(--line); border-radius: 10px; color: var(--blue); }
.contact-points b { display: block; color: var(--navy); font-family: var(--font-display); font-weight: 600; }
.contact-points a, .contact-points span { color: var(--ink-55); font-size: .95rem; }
.contact-points a:hover { color: var(--blue); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow-card); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .88rem; color: var(--navy); }
.field input, .field textarea { padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 9px; background: var(--white); font: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,107,181,.14); outline: none; }
.field textarea { resize: vertical; min-height: 128px; }
.form .btn { width: 100%; margin-top: .3rem; }
.form-note { font-size: .82rem; color: var(--ink-55); }

/* ======================================================================
   Footer
   ====================================================================== */
.site-footer { background: var(--navy-900); color: #c9d8ea; padding-block: clamp(3.5rem, 6vw, 5rem) 1.75rem; border-top: 3px solid var(--green); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; } }
.footer-brand img { height: 56px; width: auto; background: #fff; padding: 8px 14px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.footer-brand p { margin-top: 1.1rem; max-width: 34ch; color: #a6bdd8; }
.footer-brand .tagline { color: var(--green); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; margin-top: .8rem; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: .65rem; }
.footer-col a, .footer-col address { color: #c9d8ea; font-size: .93rem; font-style: normal; }
.footer-col a:hover { color: #fff; }
.footer-col address { line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .84rem; color: #93aecb; }
.footer-bottom .tagline { color: #93aecb; }

/* ======================================================================
   Placeholder blocks (swap real assets later)
   ====================================================================== */
.ph {
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, rgba(20,58,107,.04) 0 12px, transparent 12px 24px), var(--grey);
  color: var(--ink-55); font-family: var(--font-body); font-size: .72rem; letter-spacing: .03em; padding: 1rem;
}
.ph[data-tone="navy"] { background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px), var(--navy); color: #cfe0f3; }
.ph .ph-name { font-weight: 600; opacity: .9; }
.ph .ph-hint { opacity: .6; margin-top: .25rem; }

/* ======================================================================
   Scroll reveal + SVG draw-on
   ====================================================================== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.dept-illus [data-draw] { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.1s var(--ease) var(--reveal-delay, 0ms); }
.is-visible .dept-illus [data-draw], .dept-card.is-visible [data-draw] { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .dept-illus [data-draw] { stroke-dashoffset: 0; }
}

/* ======================================================================
   Mobile nav
   ====================================================================== */
@media (max-width: 900px) {
  /* Detached, smaller floating navbar — the header itself goes transparent
     and the inner .nav becomes a rounded pill with breathing room. */
  .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; padding-block: .6rem; }
  .site-header.is-scrolled { background: transparent; box-shadow: none; border: 0; }
  .nav {
    min-height: 58px; gap: 1rem; padding-inline: .5rem .5rem;
    background: rgba(255,255,255,.85);
    -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
    border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 10px 30px rgba(20,58,107,.10);
    padding-left: .9rem;
  }
  .site-header.is-scrolled .nav { background: rgba(255,255,255,.95); box-shadow: 0 12px 34px rgba(20,58,107,.14); }
  .brand img { height: 40px; }

  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: fixed; top: 74px; left: var(--gutter); right: var(--gutter); bottom: auto;
    flex-direction: column; align-items: stretch;
    gap: .1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: .8rem 1rem 1.1rem;
    box-shadow: 0 20px 44px rgba(20,58,107,.16);
    transform: translateY(-12px); opacity: 0;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s var(--ease);
    max-height: calc(100vh - 90px); overflow-y: auto;
    visibility: hidden;
  }
  .nav[data-menu-open="true"] .nav-list { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list > li { position: static; }
  .nav-list a, .nav-list button.nav-link { padding: .75rem .8rem; font-size: 1rem; }
  .nav-list a::after, .nav-list button.nav-link::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: .1rem 0 .4rem .9rem; padding-left: .4rem; display: none; min-width: 0; grid-template-columns: 1fr; }
  .submenu::before { display: none; }
  .has-menu[data-open="true"] .submenu { display: block; transform: none; }
  .nav-cta-wrap { display: none; }
  .apropos-aside { position: static; }
}

/* ======================================================================
   Mobile carousels — services, occasions, départements, partenaires
   Horizontal scroll-snap sliders instead of stacked grids.
   ====================================================================== */
@media (max-width: 700px) {
  .svc-grid,
  .partners-grid {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    /* Let cards bleed to the screen edges and hint the next slide */
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: .75rem;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .svc-grid::-webkit-scrollbar,
  .partners-grid::-webkit-scrollbar { display: none; }

  .svc-card,
  .occ-card,
  .partner-card {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
  }
  .partner-card { flex-basis: 60%; max-width: 60%; }

  /* Cards further along the track would otherwise stay hidden by the
     scroll-reveal observer, which only fires on vertical intersection. */
  .svc-grid [data-reveal],
  .crsl [data-reveal],
  .partners-grid [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   PYROLYSE — dark band, eco accent.
   Mirrors the SoliZé block's rhythm, but keyed to --green so the
   two feature sections stay visually distinct.
   ============================================================ */
.pyro {
  background: var(--navy-900);
  color: #e6eefb;
  padding-block: clamp(4rem, 8vw, 7.5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pyro::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 30% 0%, rgba(46,158,79,.22), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.pyro .rubric--light .rubric-no { color: var(--green); }

.pyro-head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.pyro-head .rubric { flex: 1; min-width: 260px; margin-bottom: 0; }

.pyro-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .76rem; font-weight: 600; color: #7fd79a;
  border: 1px solid rgba(46,158,79,.5);
  padding: .45rem .85rem; border-radius: 999px; white-space: nowrap;
}

.pyro-intro { max-width: 60ch; margin-top: clamp(2rem, 3.4vw, 2.75rem); }
.pyro-intro h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--step-3); line-height: 1.15; text-wrap: balance; color: #fff;
}
.pyro-intro h2 em { font-style: italic; color: #7fd79a; }
.pyro-lead { margin-top: 1.2rem; font-size: var(--step-1); line-height: 1.6; color: #b9c9e0; }
.pyro-lead strong { color: #fff; font-weight: 600; }

/* ---- Le gisement ---- */
.pyro-stats {
  display: grid; gap: clamp(1.2rem, 2.4vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-block: clamp(1.8rem, 3vw, 2.4rem);
  border-block: 1px solid rgba(255,255,255,.14);
}
.pyro-figure {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.pyro-unit { font-size: .42em; font-weight: 500; margin-left: .28em; color: #7fd79a; }
.pyro-stat-desc { display: block; margin-top: .85rem; font-size: .95rem; line-height: 1.55; color: #a8b8d0; max-width: 30ch; }

/* ---- Le procédé ---- */
.pyro-how { margin-top: clamp(3.4rem, 6vw, 5rem); }
.pyro-how-title {
  font-size: var(--step--1); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #7fd79a; margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.pyro-flow { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); align-items: center; }
@media (min-width: 980px) {
  .pyro-flow { grid-template-columns: 1fr auto 1.15fr auto 1.5fr; }
}
.pyro-in, .pyro-core {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: clamp(1.2rem, 2vw, 1.6rem);
  background: rgba(255,255,255,.03);
}
.pyro-core { border-color: rgba(46,158,79,.42); background: rgba(46,158,79,.07); }
.pyro-core-ico { display: block; width: 44px; height: 44px; color: #7fd79a; margin-bottom: .9rem; }
.pyro-core-ico svg { width: 100%; height: 100%; }
.pyro-step-no {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #8296b4; margin-bottom: .5rem;
}
.pyro-in b, .pyro-core b { display: block; font-size: var(--step-0); color: #fff; margin-bottom: .5rem; }
.pyro-step-desc { display: block; font-size: .9rem; line-height: 1.55; color: #a8b8d0; }

.pyro-arrow { display: block; justify-self: center; width: 40px; color: rgba(127,215,154,.6); }
.pyro-arrow svg { width: 100%; height: auto; }
@media (max-width: 979px) { .pyro-arrow { transform: rotate(90deg); } }

.pyro-outs { display: grid; gap: .9rem; }
.pyro-outs li {
  display: flex; gap: .9rem; align-items: flex-start;
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  padding: .9rem 1.05rem; background: rgba(255,255,255,.03);
}
.pyro-out-ico { flex: 0 0 24px; width: 24px; height: 24px; color: #7fd79a; margin-top: .15rem; }
.pyro-out-ico svg { width: 100%; height: 100%; }
.pyro-outs b { display: block; font-size: .98rem; color: #fff; margin-bottom: .2rem; }
.pyro-outs span { font-size: .88rem; line-height: 1.5; color: #a8b8d0; }

/* ---- Spotlight : la boucle énergétique ---- */
.pyro-spot {
  position: relative; margin-top: clamp(3.4rem, 6vw, 5rem);
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(46,158,79,.3); border-radius: 20px;
  padding: clamp(1.8rem, 3.6vw, 3rem);
  background: linear-gradient(180deg, rgba(46,158,79,.08), rgba(255,255,255,.02));
  overflow: hidden; isolation: isolate;
}
@media (min-width: 880px) { .pyro-spot { grid-template-columns: 1.05fr .95fr; align-items: center; } }
.pyro-spot-glow {
  position: absolute; inset: auto -20% -60% 30%; height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(46,158,79,.28), transparent 70%);
  pointer-events: none; z-index: -1;
}
.pyro-spot-title {
  font-family: var(--font-display); font-weight: 500; font-size: var(--step-2);
  line-height: 1.2; color: #fff; margin: 1rem 0 0;
}
.pyro-spot-title em { font-style: italic; color: #7fd79a; }
.pyro-spot-lead { margin-top: 1rem; font-size: var(--step-0); line-height: 1.65; color: #b9c9e0; }
.pyro-spot-lead strong { color: #fff; font-weight: 600; }
.pyro-spot-stat { margin-top: 1.6rem; font-size: .92rem; color: #a8b8d0; }
.pyro-spot-figure {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); line-height: 1; color: #7fd79a; margin-right: .6rem;
}
.pyro-spot-unit { font-size: .45em; margin-left: .1em; }

.pyro-pillars { display: grid; gap: 1.1rem; }
.pyro-pillars li { display: flex; gap: .95rem; align-items: flex-start; }
.pyro-pill-ico { flex: 0 0 24px; width: 24px; height: 24px; color: #7fd79a; margin-top: .15rem; }
.pyro-pill-ico svg { width: 100%; height: 100%; }
.pyro-pillars b { display: block; font-size: .98rem; color: #fff; margin-bottom: .25rem; }
.pyro-pillars span { font-size: .88rem; line-height: 1.55; color: #a8b8d0; }

/* ---- CTA ---- */
.pyro-actions {
  margin-top: clamp(2.6rem, 4.5vw, 3.6rem);
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem 1.6rem; flex-wrap: wrap;
}
.pyro-cta-note { font-size: var(--step-0); color: #b9c9e0; }
.btn--eco { --btn-bg: var(--green); --btn-fg: #fff; box-shadow: 0 8px 24px rgba(46,158,79,.30); }
.btn--eco:hover { background: var(--green-600); box-shadow: 0 12px 30px rgba(46,158,79,.38); }
