/* Be Energy · maquette de refonte du site (ExoGroupe)
   Charte reprise du logo : rouge, bleu, jaune, vert. La régénération se lit comme une charge : du rouge au vert. */

:root {
  --red: #e63327;
  --red-deep: #b8231a;
  --blue: #154c99;
  --blue-light: #3d7fe0;
  --yellow: #fbb900;
  --green: #88bd46;
  --green-deep: #008137;
  --ink: #07090c;
  --ink-2: #0d1015;
  --ink-3: #151920;
  --ink-line: rgba(255, 255, 255, .09);
  --on-ink: #f3f4f6;
  --on-ink-2: #a9afba;
  --paper: #f5f3ee;
  --paper-2: #ebe8e0;
  --white: #ffffff;
  --text: #15181d;
  --text-2: #50565f;
  --line: rgba(21, 24, 29, .1);
  --regen: linear-gradient(90deg, var(--red) 0%, var(--yellow) 50%, var(--green) 100%);
  --radius: 22px;
  --radius-s: 14px;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--on-ink);
  font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow {
  font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; color: var(--on-ink-2);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--regen); }
.light .eyebrow { color: var(--text-2); }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: var(--b); color: #fff; font: 600 15px/1.1 var(--f-body); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s;
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--b) 80%, transparent);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--b) 90%, transparent); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.light .btn.ghost:hover { background: rgba(0, 0, 0, .05); }
.btn.white { --b: #fff; color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.topbar { background: #000; font-size: 13px; color: var(--on-ink-2); position: relative; z-index: 60; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 22px; height: 36px; align-items: center; }
.topbar a { text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .lang { display: flex; gap: 4px; }
.topbar .lang a { padding: 3px 8px; border-radius: 6px; }
.topbar .lang a.on { background: rgba(255, 255, 255, .1); color: #fff; }

.site-head { position: sticky; top: 0; z-index: 50; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.site-head.solid { background: rgba(7, 9, 12, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--ink-line); }
.overlay-head .site-head { position: fixed; top: 36px; left: 0; right: 0; }
.overlay-head .site-head.solid { top: 0; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav { margin: 0; padding: 0; }
.nav > li > a {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font: 600 15px/1 var(--f-body); color: #fff; transition: background .2s;
}
.nav > li > a:hover, .nav > li:focus-within > a { background: rgba(255, 255, 255, .09); }
.nav > li.on > a { box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav .chev { width: 9px; height: 9px; transition: transform .25s; opacity: .7; }
.nav > li:hover .chev { transform: rotate(180deg); }
.nav .menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px); min-width: 280px;
  background: rgba(13, 16, 21, .96); backdrop-filter: blur(18px); border: 1px solid var(--ink-line); border-radius: 18px;
  padding: 10px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}
.nav .menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav > li:hover .menu, .nav > li:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .menu a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: #fff; transition: background .2s; }
.nav .menu a:hover { background: rgba(255, 255, 255, .07); }
.nav .menu .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--red)) 20%, transparent); color: var(--c, var(--red)); }
.nav .menu .ic svg { width: 18px; height: 18px; }
.nav .menu b { display: block; font-weight: 600; font-size: 15px; }
.nav .menu small { display: block; color: var(--on-ink-2); font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
.nav .cta { margin-left: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .3s; }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0;
    padding: 110px var(--pad) 40px; overflow-y: auto; transform: translateX(100%); transition: transform .45s var(--ease); z-index: -1;
  }
  .nav-open .nav { transform: none; }
  .nav > li > a { font-size: 24px; font-family: var(--f-display); padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--ink-line); }
  .nav .menu { position: static; transform: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; padding: 4px 0 12px; min-width: 0; }
  .nav > li:hover .menu { transform: none; }
  .nav .chev { display: none; }
  .nav .cta { margin: 24px 0 0; justify-content: center; }
  .nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Héros des pages ---------- */
.hero-page {
  position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding: 180px 0 72px;
}
.hero-page .bg { position: absolute; inset: 0; z-index: -2; }
.hero-page .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: slowzoom 18s var(--ease) forwards; }
.hero-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(7, 9, 12, .55) 0%, rgba(7, 9, 12, .2) 35%, rgba(7, 9, 12, .92) 100%),
  linear-gradient(90deg, rgba(7, 9, 12, .85) 0%, rgba(7, 9, 12, .1) 70%); }
.hero-page::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--regen); background-size: 200% 100%; animation: flow 6s linear infinite; }
.hero-page h1 { font-size: clamp(40px, 6.4vw, 92px); max-width: 16ch; margin-top: 18px; }
.hero-page .sub { font: 400 clamp(18px, 1.8vw, 23px)/1.45 var(--f-body); color: #dfe2e7; max-width: 52ch; margin-top: 22px; }
.hero-page .btns { margin-top: 32px; }
.crumbs { display: flex; gap: 8px; font: 500 13px/1 var(--f-mono); color: var(--on-ink-2); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
@keyframes slowzoom { to { transform: scale(1); } }
@keyframes flow { to { background-position: -200% 0; } }

/* ---------- Sections de contenu ---------- */
.sec { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.light { background: var(--paper); color: var(--text); }
.light.alt { background: var(--white); }
.dark { background: var(--ink); color: var(--on-ink); }
.dark.alt { background: var(--ink-2); }
.sec-title { font-size: clamp(32px, 4.3vw, 60px); max-width: 20ch; }
.sec-title em { font-style: normal; background: var(--regen); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; max-width: 60ch; }
.light .muted, .light .lead { color: var(--text-2); }
.dark .muted { color: var(--on-ink-2); }

.edito { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.edito .side { position: sticky; top: 120px; display: grid; gap: 22px; }
.edito .side .ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.edito .side .ph img { width: 100%; height: 100%; object-fit: cover; }
.flow { display: grid; gap: 18px; font-size: 18px; }
.flow h3 { font-size: clamp(22px, 2vw, 28px); margin-top: 18px; }
.flow h4, .flow h5 { font-size: 19px; margin-top: 10px; letter-spacing: -.01em; }
.flow ul { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.flow li { position: relative; padding-left: 34px; }
.flow li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 10px; border-radius: 3px;
  background: linear-gradient(90deg, var(--green) 0 70%, transparent 70%), rgba(136, 189, 70, .25);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.flow li::after { content: ""; position: absolute; left: 19px; top: calc(.42em + 3px); width: 2px; height: 4px; background: var(--green); border-radius: 1px; }
.flow .btns { margin-top: 10px; }
.flow a:not(.btn) { color: var(--red); text-underline-offset: 3px; }
.dark .flow a:not(.btn) { color: #ff6a5f; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 56px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 48px; }
.logos .lg { background: #fff; border-radius: var(--radius-s); aspect-ratio: 3 / 1.5; display: grid; place-items: center; padding: 14px 18px; box-shadow: 0 1px 0 var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.logos .lg:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
.logos img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.logos-title { font: 600 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; margin-top: 52px; color: var(--text-2); }
.dark .logos-title { color: var(--on-ink-2); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 48px; }
.card {
  position: relative; border-radius: var(--radius); padding: 26px; background: var(--white); border: 1px solid var(--line);
  display: grid; gap: 12px; align-content: start; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.dark .card { background: var(--ink-3); border-color: var(--ink-line); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .45); }
.card h3, .card h4 { font-size: 21px; letter-spacing: -.01em; }
.card p { color: var(--text-2); font-size: 16px; }
.dark .card p { color: var(--on-ink-2); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--c, var(--red)); }
.card .ic svg { width: 24px; height: 24px; }
.card img.thumb { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .8s var(--ease), opacity .3s; }
.video:hover img { transform: scale(1.04); opacity: 1; }
.video .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(230, 51, 39, .6); animation: pulse 2.4s infinite; }
.video .play svg { width: 28px; height: 28px; margin-left: 4px; color: #fff; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(230, 51, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 51, 39, 0); } }

/* Bandeau d'appel */
.band { padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; isolation: isolate; }
.band.red { background: var(--red); color: #fff; }
.band.red::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 120% at 90% 0%, rgba(251, 185, 0, .45), transparent 60%),
  radial-gradient(50% 120% at 0% 100%, rgba(0, 0, 0, .35), transparent 60%); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band h2 { font-size: clamp(30px, 4vw, 54px); max-width: 18ch; }
.band p { max-width: 56ch; margin-top: 12px; opacity: .92; font-size: 18px; }

/* Actualités */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 48px; }
.post { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
.dark .post { background: var(--ink-3); border-color: var(--ink-line); }
.post:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .5); }
.post .ph { aspect-ratio: 16 / 10; overflow: hidden; }
.post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .ph img { transform: scale(1.06); }
.post .tx { padding: 22px 24px 26px; display: grid; gap: 10px; }
.post time { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.post h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.01em; }
.post p { font-size: 15.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dark .post p { color: var(--on-ink-2); }
.news.feature .post:first-child { grid-column: span 2; }
.news.feature .post:first-child h3 { font-size: 30px; }
@media (max-width: 700px) { .news.feature .post:first-child { grid-column: auto; } }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 48px; }
.member { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.member .ph { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); transition: transform .8s var(--ease), filter .4s; }
.member:hover .ph img { transform: scale(1.05); filter: none; }
.member .tx { padding: 20px 22px 22px; display: grid; gap: 6px; }
.member h3 { font-size: 22px; }
.member .role { color: var(--red); font-weight: 600; font-size: 15px; }
.member .mail { font: 500 13px/1.3 var(--f-mono); color: var(--text-2); text-decoration: none; }
.member details { margin-top: 8px; }
.member summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--text); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.member summary::after { content: "+"; font-size: 18px; color: var(--red); }
.member details[open] summary::after { content: "−"; }
.member .bio { display: grid; gap: 10px; margin-top: 10px; font-size: 14.5px; color: var(--text-2); }
.member .bio ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

/* Formulaire */
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
form.f { background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .5); border: 1px solid var(--line); }
form.f label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
form.f label.full { grid-column: 1 / -1; }
form.f input, form.f textarea, form.f select { font: 400 16px/1.4 var(--f-body); padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(21, 24, 29, .16); background: var(--paper); color: var(--text); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
form.f input:focus, form.f textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(230, 51, 39, .12); }
form.f textarea { min-height: 140px; resize: vertical; }
form.f .check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; }
form.f .check input { width: auto; margin-top: 3px; }
form.f .btn { justify-self: start; }
@media (max-width: 860px) { .form-grid, .edito { grid-template-columns: 1fr; } .edito .side { position: static; } form.f { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 12px; margin-top: 28px; }
.contact-cards .cc { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ink-line); }
.light .contact-cards .cc { background: var(--white); border-color: var(--line); }
.cc .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.cc .ic svg { width: 20px; height: 20px; }

/* Palmarès */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 48px; }
.award { border-radius: 18px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 8px; position: relative; overflow: hidden; }
.award .yr { font: 700 13px/1 var(--f-mono); color: var(--red); letter-spacing: .06em; }
.award h3 { font-size: 19px; line-height: 1.2; letter-spacing: -.01em; }
.award p { font-size: 15px; color: var(--text-2); }
.award::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--regen); background-size: 100% 300%; }

/* Avant-pied : les trois métiers */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.trio a { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; display: flex; align-items: flex-end; padding: 26px; isolation: isolate; }
.trio a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.trio a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(7, 9, 12, .92)); }
.trio a:hover img { transform: scale(1.07); }
.trio h3 { font-size: 26px; }
.trio p { color: #d5d9df; font-size: 15px; margin-top: 8px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } .trio a { aspect-ratio: 16 / 10; } }

/* ---------- Pied de page ---------- */
.site-foot { background: #000; color: var(--on-ink-2); padding: 80px 0 34px; font-size: 15px; position: relative; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--regen); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.site-foot h4 { color: #fff; font: 600 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { text-decoration: none; transition: color .2s; }
.site-foot a:hover { color: #fff; }
.site-foot .brand img { height: 56px; }
.site-foot .socials { display: flex; gap: 10px; margin-top: 20px; }
.site-foot .socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ink-line); }
.site-foot .socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.site-foot .socials svg { width: 17px; height: 17px; }
.foot-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--ink-line); }
.foot-logos .lg { background: #fff; border-radius: 10px; padding: 8px 12px; height: 58px; display: grid; place-items: center; }
.foot-logos img { max-height: 42px; width: auto; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 26px; font-size: 13px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Bandeau « maquette » ---------- */
.mock-note { position: fixed; left: 16px; bottom: 16px; z-index: 80; font: 500 12px/1.3 var(--f-mono); background: rgba(13, 16, 21, .9); color: var(--on-ink-2); border: 1px solid var(--ink-line); border-radius: 999px; padding: 9px 14px; backdrop-filter: blur(10px); }
.mock-note b { color: #fff; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; z-index: 90; background: var(--ink-3); color: #fff; padding: 14px 20px; border-radius: 14px; border: 1px solid var(--ink-line); transition: .4s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Apparition au défilement ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; } .rv.d5 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =================================================================== Accueil */
.hero-home { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 170px 0 110px; }
.hero-home .bg { position: absolute; inset: 0; z-index: -3; }
.hero-home .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.1); animation: slowzoom 20s var(--ease) forwards; filter: saturate(.9); }
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(7, 9, 12, .96) 0%, rgba(7, 9, 12, .78) 42%, rgba(7, 9, 12, .35) 75%, rgba(7, 9, 12, .6) 100%),
  linear-gradient(180deg, rgba(7, 9, 12, .4) 0%, transparent 30%, transparent 70%, var(--ink) 100%); }
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.glow.g1 { width: 520px; height: 520px; left: -160px; top: 10%; background: var(--red); animation: drift 14s ease-in-out infinite alternate; opacity: .28; }
.glow.g2 { width: 440px; height: 440px; right: 5%; bottom: -120px; background: var(--green); animation: drift 18s ease-in-out infinite alternate-reverse; opacity: .22; }
@keyframes drift { to { transform: translate(80px, -60px) scale(1.15); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-home h1 { font-size: clamp(46px, 7.2vw, 108px); font-weight: 800; letter-spacing: -.035em; line-height: .96; margin-top: 22px; max-width: 12ch; }
.regen-word { background: linear-gradient(90deg, var(--red), var(--yellow) 45%, var(--green) 75%, var(--red)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 7s linear infinite; }
.hero-home .sub { font-size: clamp(19px, 1.8vw, 24px); color: #d9dde3; max-width: 34ch; margin-top: 26px; line-height: 1.45; }
.hero-home .btns { margin-top: 36px; }

.battery-card { background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 28px; padding: 24px; backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); display: grid; gap: 20px; }
.bc-head { display: flex; justify-content: space-between; align-items: center; font: 500 12.5px/1 var(--f-mono); color: var(--on-ink-2); letter-spacing: .04em; }
.bc-tag { display: inline-flex; gap: 8px; align-items: center; color: #fff; text-transform: uppercase; letter-spacing: .12em; }
.bc-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(136, 189, 70, .7); animation: pulse-g 1.8s infinite; }
@keyframes pulse-g { 70% { box-shadow: 0 0 0 10px rgba(136, 189, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(136, 189, 70, 0); } }
.battery { position: relative; padding-right: 14px; }
.battery .cells { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; padding: 8px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .5); height: 118px; }
.battery .cap { position: absolute; right: 0; top: 50%; width: 10px; height: 40px; transform: translateY(-50%); border-radius: 0 6px 6px 0; background: rgba(255, 255, 255, .5); }
.cell { --fill: 0; --c: var(--red); position: relative; border-radius: 7px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.cell::after { content: ""; position: absolute; inset: 0; transform-origin: bottom; transform: scaleY(var(--fill)); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 0 22px var(--c); transition: transform .45s var(--ease), background .45s, box-shadow .45s; }
.bc-foot { display: flex; gap: 18px; align-items: center; }
.bc-foot b { font: 800 64px/1 var(--f-display); letter-spacing: -.04em; min-width: 3.3ch; }
.bc-foot b small { font-size: 26px; margin-left: 2px; color: var(--on-ink-2); }
.bc-foot > span { color: var(--on-ink-2); font-size: 14.5px; line-height: 1.45; }
.bc-x2 { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(136, 189, 70, .12); border: 1px solid rgba(136, 189, 70, .3); }
.bc-x2 span { font-size: 14px; color: #dbe9c8; }
.bc-x2 b { font: 800 30px/1 var(--f-display); color: var(--green); }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .4); transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolly 1.8s ease-in-out infinite; }
@keyframes scrolly { 60% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .battery-card { max-width: 460px; } .scroll-hint { display: none; } }

/* Bandeau défilant */
.marquee { overflow: hidden; border-block: 1px solid var(--ink-line); background: var(--ink); padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 42s linear infinite; }
.marquee span { font: 700 clamp(18px, 2vw, 26px)/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; border-radius: 3px; background: var(--regen); transform: rotate(45deg); flex: none; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-strip { background: #fff; }
.marquee.light-m { background: #fff; border: 0; padding: 26px 0; }
.marquee.light-m .track { gap: 18px; animation-duration: 50s; }
.marquee.light-m .lg { display: grid; place-items: center; width: 170px; height: 76px; flex: none; }
.marquee.light-m img { max-height: 64px; max-width: 160px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee.light-m .lg:hover img { filter: none; opacity: 1; }

/* Acteur majeur */
.acteur { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile { --c: var(--red); position: relative; background: var(--white); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.tile::before { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .35); }
.tile:hover::before { transform: scaleX(1); }
.tile .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--c); }
.tile .ic svg { width: 24px; height: 24px; }
.tile h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.12; }
.tile p { font-size: 15px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 960px) { .acteur { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* Chiffres */
.stats-band { background: var(--ink); padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(230, 51, 39, .14), transparent 70%); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.stat { padding: 10px 28px; border-left: 1px solid var(--ink-line); display: grid; gap: 12px; align-content: start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font: 800 clamp(54px, 6.6vw, 96px)/.9 var(--f-display); letter-spacing: -.045em; background: var(--regen); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b small { font-size: .5em; }
.stat > span { color: var(--on-ink-2); font-size: 15.5px; line-height: 1.4; max-width: 26ch; }
.stat.wide ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font: 700 clamp(20px, 2vw, 26px)/1.1 var(--f-display); }
.sec.dark .stats { margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

/* Têtes de section en deux colonnes */
.split-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }

/* Les solutions */
.chem { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.chem a { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4.3; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; text-decoration: none; isolation: isolate; border: 1px solid var(--ink-line); }
.chem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85) brightness(.9); }
.chem a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 9, 12, .1) 20%, rgba(7, 9, 12, .95) 85%); transition: background .5s; }
.chem a:hover img { transform: scale(1.08); filter: saturate(1.1) brightness(1); }
.chem .tag { --c: var(--red); position: absolute; top: 18px; left: 18px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; background: var(--c); color: #0b0d10; }
.chem .tag[style*="red"], .chem a:first-child .tag { color: #fff; }
.chem h3 { font-size: 24px; }
.chem p { font-size: 14.5px; color: #cfd3da; margin-top: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.chem a:hover p, .chem a:focus-visible p { max-height: 160px; opacity: 1; }
@media (max-width: 1000px) { .chem { grid-template-columns: 1fr 1fr; } .chem p { max-height: none; opacity: 1; } }
@media (max-width: 560px) { .chem { grid-template-columns: 1fr; } .chem a { aspect-ratio: 4 / 3; } }

/* Le monde */
.world { overflow: hidden; }
.map-bg { position: absolute; inset: 0; background: url("img/2022-03-MAP-2.jpg") center / cover; opacity: .07; filter: grayscale(1) contrast(1.4); }
.world-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.big52 { display: flex; align-items: baseline; gap: 16px; margin: 26px 0 18px; }
.big52 b { font: 800 clamp(96px, 13vw, 190px)/.8 var(--f-display); letter-spacing: -.06em; background: linear-gradient(120deg, var(--blue-light), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big52 span { font: 600 clamp(18px, 2vw, 26px)/1.1 var(--f-display); color: #fff; }
@media (max-width: 960px) { .world-grid { grid-template-columns: 1fr; } }

/* Vision et cycle de vie */
.vision { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.cycle { margin: 0; display: grid; gap: 12px; justify-items: center; }
.cycle svg { width: 100%; max-width: 460px; overflow: visible; }
.cycle .ring { transition: stroke-dashoffset 2.6s var(--ease); }
.cycle.in .ring { stroke-dashoffset: 0; }
.cycle .steps circle { fill: #fff; stroke: rgba(21, 24, 29, .12); stroke-width: 1.5; }
.cycle .steps text { font: 600 11px var(--f-body); text-anchor: middle; fill: var(--text); }
.cycle .steps .hl circle { fill: var(--green); stroke: none; }
.cycle .steps .hl text { fill: #fff; font-weight: 700; font-size: 11.5px; }
.cycle .c-big { font: 800 46px var(--f-display); fill: var(--text); letter-spacing: -.02em; }
.cycle .c-small { font: 500 14px var(--f-body); fill: var(--text-2); }
.cycle figcaption { font-size: 13.5px; color: var(--text-2); }
@media (max-width: 960px) { .vision { grid-template-columns: 1fr; } }

/* Palmarès en frise */
.timeline { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--regen); opacity: .7; }
.timeline li { position: relative; padding: 42px 18px 0 0; display: grid; gap: 8px; }
.timeline li::before { content: ""; position: absolute; top: 5px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--yellow); }
.timeline b { font: 800 34px/1 var(--f-display); letter-spacing: -.03em; }
.timeline span { color: var(--on-ink-2); font-size: 15px; line-height: 1.4; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 30px; } .timeline::before { display: none; } }

/* Actualités : filtres et lettre d'information */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; cursor: default; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
form.f.inline { display: flex; gap: 10px; padding: 10px; border-radius: 999px; background: #fff; flex-wrap: wrap; box-shadow: none; }
form.f.inline input { border-radius: 999px; min-width: 180px; flex: 1; }

/* =================================================================== Pages intérieures : compléments */
.banner { margin: 8px 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.banner img { width: 100%; height: auto; }
.statement .sec-title { font-size: clamp(28px, 3.4vw, 46px); }
.faq { display: grid; gap: 10px; margin-top: 22px; max-width: 960px; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .3s; }
.light.alt .qa { background: var(--paper); }
.qa[open] { box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .4); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 700 19px/1.3 var(--f-display); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa .flow { padding: 0 0 22px; font-size: 16.5px; color: var(--text-2); }
.card .flow { font-size: 15.5px; gap: 10px; }
.card .flow .btn { padding: 10px 16px; font-size: 14px; }
.kiosk { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px 18px; margin-top: 44px; }
.issue { display: grid; gap: 10px; align-content: start; }
.issue .cover { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-2); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); }
.issue:hover .cover { transform: translateY(-6px) rotate(-1deg); }
.issue .cover img { width: 100%; height: 100%; object-fit: cover; }
.issue time { font: 600 12px/1 var(--f-mono); color: var(--red); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.issue h3 { font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.filiales { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.filiale { display: grid; grid-template-columns: 2fr 3fr; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.filiale img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.filiale > div { padding: 26px; display: grid; gap: 12px; align-content: start; }
.filiale h3 { font-size: 30px; }
.filiale p:not(.eyebrow) { color: var(--text-2); font-size: 15.5px; }
.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 40px; }
.country { background: var(--paper); border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); position: relative; }
.country::before { content: ""; position: absolute; left: 22px; top: 0; width: 40px; height: 3px; background: var(--regen); border-radius: 0 0 3px 3px; }
.country h3 { font-size: 22px; }
.country .flow { font-size: 14.5px; gap: 8px; color: var(--text-2); word-break: break-word; }
.country .btn { padding: 9px 14px; font-size: 13px; }
.country.soon { opacity: .7; }
@media (max-width: 860px) { .filiales, .filiale { grid-template-columns: 1fr; } }
.edito .sec-title { font-size: clamp(28px, 3.3vw, 46px); }
.flow > figure.gallery figure { aspect-ratio: 16 / 9; }
.team { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
/* Menu mobile ouvert : pas de flou sur l'en-tête, sinon il devient le cadre du menu en position fixe */
.nav-open .site-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); top: 0; }
.nav-open { overflow: hidden; }

/* =================================================================== Vidéos du procédé */
.player-wrap { margin-top: 48px; display: grid; gap: 18px; justify-items: center; }
.ptabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--ink-line); }
.light .ptabs { background: var(--white); border-color: var(--line); }
.ptabs button { border: 0; background: none; color: inherit; font: 600 15px/1 var(--f-body); padding: 12px 20px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.ptabs button.on { background: var(--red); color: #fff; }
.player { position: relative; margin: 0; width: 100%; max-width: 1180px; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); isolation: isolate; }
.player::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 28px; background: var(--regen); opacity: .55; filter: blur(30px); }
.player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.player .pp { position: absolute; left: 18px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(7, 9, 12, .7); backdrop-filter: blur(8px); cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.player:hover .pp, .player.paused .pp { opacity: 1; }
.player .pp span { width: 14px; height: 16px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.player.paused .pp span { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.player .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.player .prog i { display: block; height: 100%; width: 100%; background: var(--regen); transform-origin: left; transform: scaleX(0); }
.edito + .player-wrap { margin-top: 64px; }
